Compare commits

..

No commits in common. "696ce4cd052b8f18cd81dcc1c28f5a009278c939" and "c5f3a74a3147c9228f4512f74843bdb42c53e9f5" have entirely different histories.

2 changed files with 4 additions and 6 deletions

View file

@ -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 :|

View file

@ -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