Productivity Research for Everyone (FG)

by Buggi

FG version HIGHLY configurable. Adds a productivity research for every recipe that supports productivity and does not already have one.

Content
4 months ago
2.0
494
Manufacturing

b Error On Startup

7 months ago

Hello, I am receiving an error while trying to load the game:

Failed to load mods: ProductivityResearchForEveryoneFG/data-final-fixes.lua:235: bad argument #1 of 3 to 'insert' (table expected, got nil)
stack traceback:
[C]: in function 'insert'
ProductivityResearchForEveryoneFG/data-final-fixes.lua:235: in main chunk

6 months ago

What other mods do you have? I can load it just fine.

4 months ago

The only way this error happens is if you have a mod that adds an item that has no icon defined at all.

The call in question generates the productivity research icon off the icon of the prototype (item) being processed. If the item doesn't have a icon, the call to build and add the icon for the research bombs out.

New response