diff --git a/bzlead2/info.json b/bzlead2/info.json index 748c635..7379079 100644 --- a/bzlead2/info.json +++ b/bzlead2/info.json @@ -8,7 +8,7 @@ "homepage": "https://discord.gg/ufvFUJtVwk", "dependencies": [ "base >= 2.0.0", - "? bzsilicon", + "? bzsilicon2", "? hot-metals", "? space-exploration", "? Krastorio2", diff --git a/bzlead2/lead-recipe-updates.lua b/bzlead2/lead-recipe-updates.lua index 1ea9603..ce6526b 100644 --- a/bzlead2/lead-recipe-updates.lua +++ b/bzlead2/lead-recipe-updates.lua @@ -32,7 +32,7 @@ if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting util.add_ingredient("large-electric-pole", leb, 2) --modded util.add_ingredient("substation", leb, 4) util.replace_some_ingredient("electric-furnace", "steel-plate", 2, leb, 4) - if not (mods.bzsilicon and util.has_ingredient("solar-panel", "solar-cell")) then + if not (mods["bzsilicon2"] and util.has_ingredient("solar-panel", "solar-cell")) then util.add_ingredient("solar-panel", "lead-plate", 5) end