game.entity_prototypes empty during on_init?

Place to get help with not working mods / modding interface.
sparr
Smart Inserter
Smart Inserter
Posts: 1521
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

game.entity_prototypes empty during on_init?

Post by sparr »

I'm trying to do some initialization of values based on the entity prototypes, but it seems like the table is empty when I try to access it in on_init. Should it be usable there? Is there somewhere else I should be doing this sort of thing?
Post Reply

Return to “Modding help”