Trying to add new crops, now no crops show up

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

Wait. Why do you have your crops indented like that?
image

founhd it, it was a typo in my manifest (an S too many, and a / too many.
thank god for a GF you tought how to code so she can look at your speghetti… :’)

1 Like

sheer accident, spaces and tabs are ignored by the code so it doesnt matter

2 Likes