Open klondikemarlen opened 6 years ago
Found this in error log example_consumable_error.txt
Looks like the JS is sending the ID of a consumable item to the Command code ... where it is crashing.
2018-04-10 19:32:13,416: File "/home/elthran/rpg_game/commands.py", line 226, in toggle_equip 2018-04-10 19:32:13,417: js_slots_used_by_item_type[item.type][0] 2018-04-10 19:32:13,417: KeyError: 'Consumable'
I'm guessing we need to make consumables Consume? Instead of Equip :P
Found this in error log example_consumable_error.txt
Looks like the JS is sending the ID of a consumable item to the Command code ... where it is crashing.
I'm guessing we need to make consumables Consume? Instead of Equip :P