diff --git a/Nylon2/data-util.lua b/Nylon2/data-util.lua index a20f4b8..81def01 100644 --- a/Nylon2/data-util.lua +++ b/Nylon2/data-util.lua @@ -855,8 +855,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier) end util.remove_prior_unlocks(tech, old) for i, recipe in pairs(data.raw.recipe) do - if (recipe.enabled and recipe.enabled ~= false) - and (not recipe.hidden or recipe.hidden == true) -- probably don't want to change hidden recipes + if (recipe.enabled and recipe.enabled ~= 'false') + and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :( then -- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :| diff --git a/Nylon2/recipe-modify.lua b/Nylon2/recipe-modify.lua index c86f576..f6ab143 100644 --- a/Nylon2/recipe-modify.lua +++ b/Nylon2/recipe-modify.lua @@ -26,10 +26,8 @@ if mods["space-exploration"] then util.add_ingredient("se-chemical-gel","povidone", 2) util.remove_ingredient("se-chemical-gel","toluene") if mods["Krastorio2"] then - util.add_ingredient("se-space-coolant-hot","ethylene-glycol", 5) - util.remove_ingredient("se-space-coolant-hot","salt") - util.add_ingredient("se-space-coolant-hot-cryonite","ethylene-glycol", 5) - util.remove_ingredient("se-space-coolant-hot-cryonite","salt") + util.add_ingredient("se-space-coolant","ethylene-glycol", 5) + util.remove_ingredient("se-space-coolant","salt") util.add_unlock("se-space-radiator-1","ethylene-glycol") end end