Open kirazy opened 2 months ago
Impacts 2.0-prep branch.
Issue: With the removal of normal and expensive ingredients, the optional ingredients field is now required. Which means that this block of code now gets processed by the recipe builder (RB.build and check_ingredients):
normal
expensive
ingredients
RB.build
check_ingredients
https://github.com/Arch666Angel/mods/blob/4fd9089018ee859cdcc6bece052884055b239d97/angelsrefining/prototypes/override/refining-override-water-treatment.lua#L318-L340
Whereupon it attempts to multiply a string "water" by a number and throws an exception.
"water"
Impacts 2.0-prep branch.
Issue: With the removal of
normal
andexpensive
ingredients, the optionalingredients
field is now required. Which means that this block of code now gets processed by the recipe builder (RB.build
andcheck_ingredients
):https://github.com/Arch666Angel/mods/blob/4fd9089018ee859cdcc6bece052884055b239d97/angelsrefining/prototypes/override/refining-override-water-treatment.lua#L318-L340
Whereupon it attempts to multiply a string
"water"
by a number and throws an exception.