Recycling in Factoriopedia


A mod that adds the recycling recipes to factoripedia.

Utilities
9 days ago
2.0
1.17K

b Error On Load

14 days ago

I have been encountering an error for a while now, believing it was known and would get fixed, but it seems to be relevant to my - quite mixed - mod collection. Most likely due to the Fulgora Extended mod which changes the recycling recipes.

Seems there is a missing nil value check, should be a simple fix?

Failed to load mods: recycling-factoriopedia/data-final-fixes.lua:30: attempt to index local 'item' (a nil value)
stack traceback:
recycling-factoriopedia/data-final-fixes.lua:30: in main chunk

14 days ago

So sorry, I had no idea about the issue as I've not tested this mod with any others that modify any of the recipes or items.

14 days ago

All good! Thanks for the quick response! Im getting into Factorio modding myself, coming from RimWorld modding, so I know how easy it is to miss trivial sanity checks ^^

14 days ago

Ok, it should hopefully work better now. It won't touch recycling recipes that it can't find the corresponding item form. So if the mod has hidden such aecipe it will stay hidden. (I wasn't sure what the best thing to do in such a case was).
It also won't touch recipes that don't end in "-recycling" and don't have a category of "recycling" (previously it looked for "-recycling" anywhere in the recipes name).

Let me know if you don't like the way it's behaving with other mods (e.g. you would like it to hide/unhide a recycling recipe added by a mod).
(Note: it should still work fine for mods that use the quality mod's code to generate a recycling recipe, as long as it doesn't get loaded after this mod, and does the recycling recipe generation in data-final-fixes)

New response