Recipe Tweaker


Make changes to any number of recipes, export/copy the exchange string, and paste it into the startup setting to see them take effect. (Ctrl + \)

Utilities
16 days ago
1.1 - 2.0
2.57K
Manufacturing Cheats

b ✅ Error with mod options

18 days ago

recipe-tweaker/data-final-fixes.lua:31: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
recipe-tweaker/data-final-fixes.lua:31: in function <recipe-tweaker/data-final-fixes.lua:29>
(...tail calls...)
recipe-tweaker/data-final-fixes.lua:80: in main chunk
Got this error when loading "Recipe exchange string" in mod options

18 days ago

Something similar is happening to me.

Error loading the mod: recipe-tweaker/data-final-fixes.lua:31: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
recipe-tweaker/data-final-fixes.lua:31: in function <recipe-tweaker/data-final-fixes.lua:29>
(...tail calls...)
recipe-tweaker/data-final-fixes.lua:128: in main chunk
I only modified items from the base game.

18 days ago

This happens when the string pasted into the mod setting is invalid in some way, I've just updated the mod to have a human readable error message for it.

18 days ago
(updated 18 days ago)

One of the major problems with the mod as it is now is if something happens that would cause a startup error, there's nothing you can do to fix it because you can't load into the game to edit the tweaks - I'm not sure if there's even a solution for that besides saving your tweak strings in a text file or something, that way if you make new changes and something goes wrong, you can still at least go back to something that worked.

18 days ago

isn't there a startup option to reset mod settings instead of simply disabling them, or am I hallucinating that

18 days ago

_CodeGreen okey Well, thanks, and sorry for the confusion :(

18 days ago
(updated 18 days ago)

isn't there a startup option to reset mod settings instead of simply disabling them, or am I hallucinating that

yeah there is, but that just clears it to nothing and all of the tweaks go away, and you have no way of recovering them unless you have the previous tweak string you used saved somewhere

New response