From 1595a77c3d77a8258c8e258acae7bde91ba21ed8 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 15:00:33 +0200 Subject: [PATCH] Update to bz mods version 2 --- IntermediatesForYou2/info.json | 18 +++++++++--------- IntermediatesForYou2/prototypes/recipes.lua | 6 +++--- IntermediatesForYou2/recipe-final-fix.lua | 8 ++++---- IntermediatesForYou2/recipe-modify.lua | 16 ++++++++-------- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/IntermediatesForYou2/info.json b/IntermediatesForYou2/info.json index f1058ab..469cbee 100644 --- a/IntermediatesForYou2/info.json +++ b/IntermediatesForYou2/info.json @@ -14,15 +14,15 @@ "? BrassTacks-Updated", "? bobassembly", "? BrimStuff-Updated", - "? bzaluminum", - "? bzcarbon", - "? bzchlorine", - "? bzfoundry", - "? bzgas", - "? bzgold", - "? bzlead", - "? bzsilicon", - "? bztin", + "? bzaluminum2", + "? bzcarbon2", + "? bzchlorine2", + "? bzfoundry2", + "? bzgas2", + "? bzgold2", + "? bzlead2", + "? bzsilicon2", + "? bztin2", "? EndgameCombat", "? IfNickel-Updated", "? Nylon2", diff --git a/IntermediatesForYou2/prototypes/recipes.lua b/IntermediatesForYou2/prototypes/recipes.lua index 49a5439..4a9724b 100644 --- a/IntermediatesForYou2/prototypes/recipes.lua +++ b/IntermediatesForYou2/prototypes/recipes.lua @@ -7,7 +7,7 @@ end if mods["Krastorio2"] then local electronic_ingredients = {{type="item", name="kr-electronic-components", amount=3}} - if mods["bzgold"] then + if mods["bzgold2"] then electronic_ingredients = {{type="item", name="kr-electronic-components", amount=1}, (mods["ThemTharHills-Updated"] and {type="item", name="integrated-circuit", amount=5}) or (mods["MDbobelectronics2"] and {type="item", name="intergrated-electronics", amount=2}), {type="item", name="cpu", amount=1}} elseif mods["MDbobelectronics2"] then electronic_ingredients = {{type="item", name="kr-electronic-components", amount=1}, {type="item", name="intergrated-electronics", amount=2}, {type="item", name="processing-electronics", amount=1}} @@ -67,7 +67,7 @@ local satellite_body_ingredients = {{type="item", name="low-density-structure", if mods["bismuth"] then table.insert(satellite_body_ingredients, {type="item", name="bismuth-glass", amount=100}) end -if mods["bzcarbon"] then +if mods["bzcarbon2"] then table.insert(satellite_body_ingredients, {type="item", name="graphene", amount=100}) end if data.raw.item["gimbaled-thruster"] then @@ -190,7 +190,7 @@ util.add_unlock("logistics", "spring") util.add_unlock("rocket-silo","satellite-body") util.add_unlock("fast-inserter", "shock-absorber") -if mods["bzfoundry"] and data.raw.item["bronze-plate"] then +if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then data:extend({ { type = "recipe", diff --git a/IntermediatesForYou2/recipe-final-fix.lua b/IntermediatesForYou2/recipe-final-fix.lua index 125f44e..6380420 100644 --- a/IntermediatesForYou2/recipe-final-fix.lua +++ b/IntermediatesForYou2/recipe-final-fix.lua @@ -4,14 +4,14 @@ if mods["MDbobelectronics2"] then util.remove_ingredient("advanced-processing-unit", "processing-electronics") end -if (mods["Krastorio2"] and mods["bzgas"]) or false then - if mods["bzgold"] then +if (mods["Krastorio2"] and mods["bzgas2"]) or false then + if mods["bzgold2"] then util.remove_ingredient("chemical-plant", "silver-plate") end - if mods["bzaluminum"] then + if mods["bzaluminum2"] then util.remove_ingredient("kr-filtration-plant", "aluminum-plate") end - if mods["bztin"] then + if mods["bztin2"] then util.remove_ingredient("kr-filtration-plant", "solder") end util.remove_ingredient("kr-filtration-plant", "pipe") diff --git a/IntermediatesForYou2/recipe-modify.lua b/IntermediatesForYou2/recipe-modify.lua index 28ab3c9..2d52475 100644 --- a/IntermediatesForYou2/recipe-modify.lua +++ b/IntermediatesForYou2/recipe-modify.lua @@ -22,7 +22,7 @@ util.add_ingredient("car", "shock-absorber", 4) util.add_ingredient("artillery-turret", "shock-absorber", 10) -- Mod changes -if mods["bztin"] then +if mods["bztin2"] then util.remove_ingredient("fast-inserter", "bronze-plate") if data.raw.item["motorized-articulator"] then util.remove_ingredient("motorized-articulator", "bronze-plate") @@ -34,7 +34,7 @@ if mods["bismuth"] then util.remove_ingredient("satellite", "bismuth-glass") end -if mods["bzcarbon"] then +if mods["bzcarbon2"] then util.remove_ingredient("satellite", "graphene") end @@ -47,7 +47,7 @@ else util.remove_ingredient("gun-turret", "iron-gear-wheel") end -if mods["bzlead"] then +if mods["bzlead2"] then util.remove_ingredient("flamethrower-turret", "lead-plate") util.remove_ingredient("pipe-to-ground", "lead-plate") @@ -100,7 +100,7 @@ if mods["RampantArsenal"] then util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "steel-plate") util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "concrete") util.add_ingredient("suppression-cannon-item-rampant-arsenal", "turret-large-base", 1) - if mods["bzlead"] then + if mods["bzlead2"] then util.remove_ingredient("rapid-cannon-item-rampant-arsenal", "lead-plate") util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "lead-plate") end @@ -115,12 +115,12 @@ if mods["EndgameCombat"] then end --chemical plant -if mods["bzgas"] then +if mods["bzgas2"] then util.remove_ingredient("chemical-plant", "stone-brick") util.remove_ingredient("chemical-plant", "pipe") util.add_ingredient("chemical-plant", "basic-chemical-plant", 1) - if (mods["bzlead"] and mods["bztin"]) or false then + if (mods["bzlead2"] and mods["bztin2"]) or false then util.remove_ingredient("basic-chemical-plant", "tin-plate") util.remove_ingredient("basic-chemical-plant", "lead-plate") util.add_ingredient("basic-chemical-plant", "solder", 8) @@ -188,7 +188,7 @@ if mods["Krastorio2"] then util.add_ingredient("kr-rocket-turret", "turret-large-base", 1) util.add_ingredient("kr-railgun-turret", "turret-large-base", 1) util.remove_ingredient("kr-railgun-turret", "steel-beam") - if mods["bzlead"] then + if mods["bzlead2"] then util.remove_ingredient("kr-laser-artillery-turret", "lead-plate") util.remove_ingredient("kr-rocket-turret", "lead-plate") util.remove_ingredient("kr-railgun-turret", "lead-plate") @@ -212,7 +212,7 @@ if mods["space-exploration"] then util.set_ingredient("speed-module-4", "se-iridium-plate", 90) util.add_ingredient("speed-module-4", "elementium-plate", 30) - if mods["bztin"] then + if mods["bztin2"] then util.remove_ingredient("se-space-biochemical-laboratory", "solder") end