From 801f5ddc376d121a236d31729ecbe7853cf0ef9a Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 14:59:11 +0200 Subject: [PATCH] Update to bz mods version 2 --- Chromium2/info.json | 8 ++++---- Chromium2/prototypes/chromium-recipe.lua | 10 +++++----- Chromium2/recipe-modify.lua | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Chromium2/info.json b/Chromium2/info.json index 369b6ac..133566c 100644 --- a/Chromium2/info.json +++ b/Chromium2/info.json @@ -11,10 +11,10 @@ "? aai-industry", "? BrassTacks-Updated", "? bobassembly", - "? bzaluminum", - "? bzfoundry", - "? bzgas", - "? bzsilicon", + "? bzaluminum2", + "? bzfoundry2", + "? bzgas2", + "? bzsilicon2", "? IfNickel-Updated", "? Indium2", "? Krastorio2", diff --git a/Chromium2/prototypes/chromium-recipe.lua b/Chromium2/prototypes/chromium-recipe.lua index 83620b5..7ac73c0 100644 --- a/Chromium2/prototypes/chromium-recipe.lua +++ b/Chromium2/prototypes/chromium-recipe.lua @@ -80,7 +80,7 @@ if mods["IfNickel-Updated"] then stainless_steel_ingredients = {{type="item", name="steel-plate", amount=8}, {type="item", name="chromium-plate", amount=1}, {type="item", name="nickel-plate", amount=1}} end local stainless_steel_category = "crafting" -if mods["bzfoundry"] then +if mods["bzfoundry2"] then stainless_steel_category = "founding" end data:extend({ @@ -110,7 +110,7 @@ local polyethylene_plastic_ingredients = { {type = "fluid", name = "steam", amount = 50}, {type = "item", name = "chromium-plate", amount = 2} } -if mods["bzgas"] and mods["bzsilicon"] then +if mods["bzgas2"] and mods["bzsilicon2"] then polyethylene_plastic_ingredients = { {type = "fluid", name = "gas", amount = 50}, {type = "fluid", name = "steam", amount = 50}, @@ -163,7 +163,7 @@ data:extend({ }) local basic_vehicle_frame_ingredients = {{type="item", name="steel-plate", amount=5}, {type="item", name="copper-plate", amount=10}} -if mods["bzaluminum"] then +if mods["bzaluminum2"] then basic_vehicle_frame_ingredients = {{type="item", name="steel-plate", amount=5}, {type="item", name="alumina", amount=10}} end data:extend({ @@ -189,7 +189,7 @@ data:extend({ }) local vehicle_frame_ingredients = {{type="item", name="basic-vehicle-frame", amount=1}, {type="item", name="stainless-steel-plate", amount=15}, {type="item", name="copper-plate", amount=20}} -if mods["bzaluminum"] then +if mods["bzaluminum2"] then vehicle_frame_ingredients = {{type="item", name="basic-vehicle-frame", amount=1}, {type="item", name="stainless-steel-plate", amount=15}, {type="item", name="aluminum-6061", amount=20}} end data:extend({ @@ -223,7 +223,7 @@ if mods["Tantalite2"] then end local inconel_category = "crafting" local inconel_subgroup = "intermediate-product" -if mods["bzfoundry"] then +if mods["bzfoundry2"] then inconel_category = "founding" inconel_subgroup = "foundry-intermediate" end diff --git a/Chromium2/recipe-modify.lua b/Chromium2/recipe-modify.lua index 2aaa1e2..9bb6679 100644 --- a/Chromium2/recipe-modify.lua +++ b/Chromium2/recipe-modify.lua @@ -15,7 +15,7 @@ if mods["248k-Redux"] then util.remove_ingredient("steam-turbine", "fi_materials_GFK") end -if mods["bzaluminum"] then +if mods["bzaluminum2"] then util.remove_ingredient("car", "aluminum-6061") util.remove_ingredient("vehicle-warden", "aluminum-6061") util.add_ingredient("vehicle-warden", "vehicle-frame", 1)