Update bz mods to version 2

This commit is contained in:
Simon Brodtmann 2025-10-21 14:42:33 +02:00
parent d2c1425fcb
commit 86d9d6ea7a
8 changed files with 30 additions and 30 deletions

View file

@ -1,9 +1,9 @@
local util = require("data-util");
local nuclear_plate = mods.bzlead and "lead-plate" or "iron-plate"
local nuclear_plate = mods["bzlead2"] and "lead-plate" or "iron-plate"
local nuclear_z = data.raw.item["zircaloy-4"] and "zircaloy-4" or "zirconium-plate"
if mods.bzfoundry and data.raw.item["foundry"] then
if mods.bzfoundry2 and data.raw.item["foundry"] then
util.set_to_founding("zircaloy-4")
end
@ -15,7 +15,7 @@ end
util.replace_ingredient("metallurgic-science-pack", "tungsten-plate", "zirconium-tungstate")
util.add_ingredient("cryogenic-plant", "zirconium-tungstate", 20)
if mods["space-age"] and mods.bztin and util.me.basic_foundry() then
if mods["space-age"] and mods["bztin2"] and util.me.basic_foundry() then
util.copy_recipe("bronze-plate", "bronze-plate-basic")
util.set_category("bronze-plate-basic", "basic-metallurgy")
util.set_localised_name("bronze-plate-basic", {"item-name.bronze-plate"})
@ -34,7 +34,7 @@ if util.me.early() then
end
if not util.k2() then
util.replace_some_ingredient("steel-furnace", "stone-brick", 4, "zirconia", 6)
if mods.bzsilicon then -- this uses enough stone, we can just replace
if mods["bzsilicon2"] then -- this uses enough stone, we can just replace
util.replace_ingredient("electric-furnace", "stone-brick", "zirconia")
else
util.replace_some_ingredient("electric-furnace", "stone-brick", 5, "zirconia", 5)
@ -63,7 +63,7 @@ if not mods.Atomic_Overhaul then
util.replace_some_ingredient("uranium-fuel-cell", nuclear_plate, 5, nuclear_z, ufc_amt)
end
if not mods.bztungsten then
if not mods.bztungsten2 then
util.add_ingredient("nuclear-fuel", nuclear_z, 1)
end
@ -121,7 +121,7 @@ if util.k2() then
util.replace_some_ingredient("se-stone-brick-vulcanite", "stone", 2, "zircon", 2)
end
if not mods.bztungsten then
if not mods.bztungsten2 then
util.add_ingredient("matter-research-data", "zirconia", 5)
end
end
@ -136,7 +136,7 @@ if mods["space-exploration"] then
util.add_ingredient("se-quantum-processor", "cermet", 1)
util.add_ingredient("se-space-mechanical-laboratory", "cermet", 40)
end
if not mods.bztungsten then
if not mods.bztungsten2 then
util.add_ingredient("se-hot-thermodynamics-data", "zirconium-plate", 1)
util.add_product("se-hot-thermodynamics-data", {type="item", name="zirconium-plate", amount=1, probability=0.50})
end