Hello.
First, awesome mod overall.
My problem is, my game is randomly crashing.
Here's the message I get:
Error while running event sosciencity::on_nth_tick(10)
sosciencity/classes/inventories.lua:575: bad argument #2 of 2 to 'find_item_stack' (string expected, got nil)
stack traceback:
[C]: in function 'find_item_stack'
sosciencity/classes/inventories.lua:575: in function 'consume_specific_food'
sosciencity/classes/inventories.lua:617: in function 'consume_food'
sosciencity/classes/inventories.lua:750: in function 'evaluate_diet'
sosciencity/classes/inhabitants.lua:1890: in function 'updater'
sosciencity/classes/register.lua:192: in function 'on_update'
sosciencity/classes/register.lua:431: in function 'update_entities'
sosciencity/control.lua:182: in function <sosciencity/control.lua:175>