python error

正在查看此主题的用户

状态
不接受进一步回复。

Tristan7

Regular
When i try to add a new item i keep getting a python error saying that the item is not defined if i give it to a troop.
 
    [itm_Lansing_Mail,itm_leather_jerkin,itm_leather_boot
er_gloves,itm_light_crossbow,itm_bolts],
NameError: name 'itm_Lansing_Mail' is not defined


It is in module_items and the name is right.
 
I'm guessing that it's not happy with the case of itm_Lansing_Mail.  Make sure that the case matches what's in module_items.py.  Most items are all lower case.
 
状态
不接受进一步回复。
后退
顶部 底部