Update bz mods to version 2

This commit is contained in:
Simon Brodtmann 2025-10-19 15:43:12 +02:00
parent 038e666ae8
commit a76870aed7
5 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
local futil = require("util"); local futil = require("util");
local util = require("__bztungsten__.data-util"); local util = require("__bztungsten__.data-util");
if util.me.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods.Krastorio2 and not mods.bzfoundry then if util.me.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods.Krastorio2 and not mods.bzfoundry2 then
log("Using advanced carbon furnace") log("Using advanced carbon furnace")
data:extend({ data:extend({
{ {

View file

@ -44,7 +44,7 @@ if get_setting("bz-recipe-bypass") then
end end
function util.is_foundry() function util.is_foundry()
return mods.bzfoundry and not me.get_setting("bzfoundry-minimal") return mods.bzfoundry2 and not me.get_setting("bzfoundry-minimal")
end end
function should_force(options) function should_force(options)

View file

@ -29,7 +29,7 @@ data:extend({
setting_type = "startup", setting_type = "startup",
default_value = "no", default_value = "no",
allowed_values = {"yes", "no"}, allowed_values = {"yes", "no"},
hidden = not not (mods.Krastorio2 or mods.bzfoundry), hidden = not not (mods.Krastorio2 or mods.bzfoundry2),
order = "aea", order = "aea",
}, },
}) })

View file

@ -224,7 +224,7 @@ else
end end
end end
if mods["aai-industry"] and not mods["Krastorio2"] and not mods.bzfoundry then if mods["aai-industry"] and not mods["Krastorio2"] and not mods.bzfoundry2 then
data:extend({ data:extend({
{ {
type = "recipe", type = "recipe",

View file

@ -22,7 +22,7 @@ util.replace_ingredient("cannon-shell", "copper-plate", "tungsten-plate")
-- Tooling -- Tooling
util.add_prerequisite("automation-2", util.me.tungsten_processing) util.add_prerequisite("automation-2", util.me.tungsten_processing)
if mods.bzaluminum or mods.bzcarbon or mods.bzgas then if mods.bzaluminum2 or mods.bzcarbon or mods.bzgas2 then
util.replace_ingredient("assembling-machine-2", "steel-plate", "tungsten-carbide") util.replace_ingredient("assembling-machine-2", "steel-plate", "tungsten-carbide")
else else
util.replace_some_ingredient("assembling-machine-2", "steel-plate", 1, "tungsten-carbide", 1) util.replace_some_ingredient("assembling-machine-2", "steel-plate", 1, "tungsten-carbide", 1)