Compare commits

..

No commits in common. "5e2f97fb98799aeaaa19848e8f34ed57e9286f58" and "45424220ed49c15d4750630dff712bea8b4c16d1" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View file

@ -1748,8 +1748,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

@ -183,7 +183,7 @@ end
if mods.bztungsten2 and not mods.bzaluminum2 then
util.replace_ingredient("small-lamp", "copper-cable", "tinned-cable")
util.add_prerequisite("lamp", "tinned-cable")
util.add_prerequisite("optics", "tinned-cable")
end
if mods.bobassembly then