Page 1 of 1

How can I multiply only ingredient amount and not crashing the mod (Coding Problem)

Posted: Tue Apr 15, 2025 12:53 pm
by nattanang
This mod crash because all 3 types of ingredient input is multiply by local cost multiplier, causing crash in line 42 of the code.
My question is how can I multiply only "Ingredient Amount" input by local cost multiplier without crashing the mod
Thanks in advanced

Re: How can I multiply only ingredient amount and not crashing the mod (Coding Problem)

Posted: Tue Apr 15, 2025 6:36 pm
by Natha
For one of the ingredients, the "amount" field is not present. You need to make sure it is.