Page 1 of 1

Trying to update mod, running into an error in Quality mod of Space Age

Posted: Tue Oct 22, 2024 12:08 am
by Gordon Shumway
So I am updating my mod for 2.0 and while it shows no errors for my module itself I get this error message when trying to enable it:

Code: Select all

Failed to load mods: __quality__/prototypes/recycling.lua:112: attempt to perform arithmetic on local 'final_amount' (a nil value)
stack traceback:
	__quality__/prototypes/recycling.lua:112: in function 'add_recipe_values'
	__quality__/prototypes/recycling.lua:191: in function 'generate_recycling_recipe'
	__quality__/data-updates.lua:5: in main chunk

Mods to be disabled:
• quality (2.0.8)
Any idea how to track this down?

Re: Trying to update mod, running into an error in Quality mod of Space Age

Posted: Tue Oct 22, 2024 12:52 am
by Gordon Shumway
And the problem was I had a couple ingredients left with no

Code: Select all

amount=
specified but just a bare number.

All fixed now.