Compare commits
2 commits
45424220ed
...
5e2f97fb98
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e2f97fb98 | ||
|
|
0110b1985e |
2 changed files with 3 additions and 3 deletions
|
|
@ -1748,8 +1748,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 :|
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@ end
|
||||||
|
|
||||||
if mods.bztungsten2 and not mods.bzaluminum2 then
|
if mods.bztungsten2 and not mods.bzaluminum2 then
|
||||||
util.replace_ingredient("small-lamp", "copper-cable", "tinned-cable")
|
util.replace_ingredient("small-lamp", "copper-cable", "tinned-cable")
|
||||||
util.add_prerequisite("optics", "tinned-cable")
|
util.add_prerequisite("lamp", "tinned-cable")
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods.bobassembly then
|
if mods.bobassembly then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue