im trying to add three crops:
beans, white_carrots, and cabbage to my nordlingmod, and telling my nordlings they should start with them.
problem: if i now let a farmer make a field i get this error:
release-892 (x64)[M]
...nehearth/services/server/farming/farming_service.lua:83: attempt to index local 'catalog_data' (a nil value)
stack traceback:
[C]: ?
...nehearth/services/server/farming/farming_service.lua:83: in function 'get_crop_details'
...nehearth/services/server/farming/farming_service.lua:180: in function <...nehearth/services/server/farming/farming_service.lua:163>
(tail call): ?
stonehearth/call_handlers/farming_call_handler.lua:63: in function <stonehearth/call_handlers/farming_call_handler.lua:62>
and i dont get any crops to choose from.
im not quite sure where i messed up, could someone take a look?
mod is up on github