Page 1 of 1

game.entity_prototypes empty during on_init?

Posted: Fri Jun 10, 2016 10:49 pm
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?