Compare commits

..

No commits in common. "4e33a22bec8ab773ea3b305c52705950f1ff66da" and "d04676403c0e81707f4dd752d9891637bca5efad" have entirely different histories.

2 changed files with 5 additions and 10 deletions

View file

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

View file

@ -8,8 +8,3 @@ end
if mods["Krastorio2"] and mods["space-exploration"] and mods["248k-Redux"] then if mods["Krastorio2"] and mods["space-exploration"] and mods["248k-Redux"] then
util.remove_ingredient("se-holmium-powder", "gr_materials_gold_wire") util.remove_ingredient("se-holmium-powder", "gr_materials_gold_wire")
end end
if mods["Krastorio2"] then
-- Conflicts with "limestone-powder"
data.raw.recipe["kr-crush-limestone"] = nil
end