Jump to content

Wigfrid and Webber Speech Impediments


Recommended Posts

I am attempting to put in a description of an item for all game characters but Webber and Wigfrid are causing problems.

 

 

 

GLOBAL.STRINGS.CHARACTERS.WATHGRITHR.DESCRIBE.<ITEM> = "Text."

GLOBAL.STRINGS.CHARACTERS.WEBBER.DESCRIBE.<ITEM> = "Text."

 

but I keep getting the error ..

 

...s/common/dont_starve/data/../mods/waiter/modmain.lua:374: attempt to index field 'WATHGRITHR' (a nil value)
 

All other characters seem to work fine

any thoughts or ideas?

Link to comment
Share on other sites

bcz GLOBAL.STRINGS.CHARACTERS.WATHGRITHR array is not exists

you have to create it before accessing to array keys

GLOBAL.STRINGS.CHARACTERS.WATHGRITHR = {}GLOBAL.STRINGS.CHARACTERS.WATHGRITHR.DESCRIBE = {}GLOBAL.STRINGS.CHARACTERS.WATHGRITHR.DESCRIBE.<ITEM> = "Text."
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...