Compare commits

..

No commits in common. "3d57c4f70ec01d3582a51b4888dbd791d6ddeeed" and "2de2ae2f0bdb8277566915f1162a6fad021ff310" have entirely different histories.

2 changed files with 180 additions and 181 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

@ -199,7 +199,6 @@ data:extend({
util.add_unlock("advanced-circuit", "tantalum-capacitor")
if mods["Krastorio2"] then
util.add_ingredient("kr-electronic-components", "tantalum-capacitor", 2)
util.add_ingredient("kr-electronic-components-with-lithium", "tantalum-capacitor", 3)
else
util.add_ingredient("advanced-circuit", "tantalum-capacitor", 2)
end