Compare commits
2 commits
c5f3a74a31
...
696ce4cd05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
696ce4cd05 | ||
|
|
301530421d |
2 changed files with 6 additions and 4 deletions
|
|
@ -855,8 +855,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier)
|
||||||
end
|
end
|
||||||
util.remove_prior_unlocks(tech, old)
|
util.remove_prior_unlocks(tech, old)
|
||||||
for i, recipe in pairs(data.raw.recipe) do
|
for i, recipe in pairs(data.raw.recipe) do
|
||||||
if (recipe.enabled and recipe.enabled ~= 'false')
|
if (recipe.enabled and recipe.enabled ~= false)
|
||||||
and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes
|
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 :(
|
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
||||||
then
|
then
|
||||||
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,10 @@ if mods["space-exploration"] then
|
||||||
util.add_ingredient("se-chemical-gel","povidone", 2)
|
util.add_ingredient("se-chemical-gel","povidone", 2)
|
||||||
util.remove_ingredient("se-chemical-gel","toluene")
|
util.remove_ingredient("se-chemical-gel","toluene")
|
||||||
if mods["Krastorio2"] then
|
if mods["Krastorio2"] then
|
||||||
util.add_ingredient("se-space-coolant","ethylene-glycol", 5)
|
util.add_ingredient("se-space-coolant-hot","ethylene-glycol", 5)
|
||||||
util.remove_ingredient("se-space-coolant","salt")
|
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_unlock("se-space-radiator-1","ethylene-glycol")
|
util.add_unlock("se-space-radiator-1","ethylene-glycol")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue