From the wiki: "Either icons and optionally icon_size, or both icon and icon_size have to be specified".
So there are several options:
- some other mod isn't following this standard and leaves both icon and icons as nil
- some other mod only sets the icon in the final-fixes stage and loads after this mod (most likely option)
- in some case that I don't know about, IconSpecification isn't a mandatory property
Unless I know which mod/combination of mods is causing this, I can't figure out how to fix this properly. I don't want to blindly throw in safeguards without being able to test if they actually fix the problem.
It was just a polite request since I don't have much time on my hands right now - you seem to know how to code and this is a pretty small mod, so I thought that you might be able to help figure this out (narrowing down which item is causing this for example)
You could also give me a savegame so I can do this myself.
I honestly need more info than just a screenshot of the error message. Otherwise I'll have to treat this as not reproducible.