Update bz mods to version 2

This commit is contained in:
Simon Brodtmann 2025-10-19 16:31:06 +02:00
parent 027f668982
commit 58b29d041d
6 changed files with 9 additions and 9 deletions

View file

@ -175,7 +175,7 @@ if util.k2() then
util.add_ingredient("tungsten-carbide", "graphite", 4) util.add_ingredient("tungsten-carbide", "graphite", 4)
util.replace_some_ingredient("kr-s-c-steel-beam", "iron-plate", 4, "graphite", 8) util.replace_some_ingredient("kr-s-c-steel-beam", "iron-plate", 4, "graphite", 8)
util.replace_some_ingredient("kr-s-c-steel-gear-wheel", "iron-plate", 2, "graphite", 4) util.replace_some_ingredient("kr-s-c-steel-gear-wheel", "iron-plate", 2, "graphite", 4)
elseif mods.bzfoundry and util.me.foundry_enable() then elseif mods.bzfoundry2 and util.me.foundry_enable() then
util.replace_some_ingredient("steel-plate", "iron-plate", 1, "graphite", 1) util.replace_some_ingredient("steel-plate", "iron-plate", 1, "graphite", 1)
util.replace_some_ingredient("tungsten-carbide", "tungsten-plate", 1, "graphite", 1) util.replace_some_ingredient("tungsten-carbide", "tungsten-plate", 1, "graphite", 1)
end end

View file

@ -94,7 +94,7 @@ if not util.me.use_flake_graphite() then
type = "recipe", type = "recipe",
name = "graphite", name = "graphite",
icon = "__bzcarbon__/graphics/icons/graphite.png", icon_size=128, icon = "__bzcarbon__/graphics/icons/graphite.png", icon_size=128,
category = mods.bzfoundry and "founding" or "crafting", category = mods.bzfoundry2 and "founding" or "crafting",
order = "d[graphite]", order = "d[graphite]",
enabled = false, enabled = false,
energy_required = 0.5, energy_required = 0.5,
@ -108,7 +108,7 @@ if not util.me.use_flake_graphite() then
type = "recipe", type = "recipe",
name = "graphite", name = "graphite",
icon = "__bzcarbon__/graphics/icons/graphite.png", icon_size=128, icon = "__bzcarbon__/graphics/icons/graphite.png", icon_size=128,
category = mods.bzfoundry and "founding" or "crafting", category = mods.bzfoundry2 and "founding" or "crafting",
subgroup = data.raw.item.graphite.subgroup, subgroup = data.raw.item.graphite.subgroup,
order = "d[graphite]", order = "d[graphite]",
enabled = false, enabled = false,

View file

@ -119,7 +119,7 @@ end
util.remove_ingredient("electric-furnace", "cuw") -- support new tungsten util.remove_ingredient("electric-furnace", "cuw") -- support new tungsten
-- Vanilla burner phase tweaks -- green circuits after electronics -- Vanilla burner phase tweaks -- green circuits after electronics
if not util.k2() and not mods["aai-industry"] and not mods.bzaluminum then if not util.k2() and not mods["aai-industry"] and not mods.bzaluminum2 then
util.replace_ingredient("electric-mining-drill", "electronic-circuit", "copper-cable", 6) util.replace_ingredient("electric-mining-drill", "electronic-circuit", "copper-cable", 6)
-- Most of this can go post 2.0 -- Most of this can go post 2.0
@ -151,7 +151,7 @@ end
util.add_prerequisite("nanobots", "electronics") util.add_prerequisite("nanobots", "electronics")
if not mods.bzaluminum then if not mods.bzaluminum2 then
util.replace_ingredients_prior_to("electronics", "electronic-circuit", "copper-cable", 2) util.replace_ingredients_prior_to("electronics", "electronic-circuit", "copper-cable", 2)
end end

View file

@ -99,7 +99,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

@ -1,6 +1,6 @@
{ {
"name": "bzcarbon", "name": "bzcarbon",
"version": "2.0.20", "version": "2.0.21",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Graphite & Diamonds", "title": "Graphite & Diamonds",
"author": "Brevven", "author": "Brevven",
@ -12,7 +12,7 @@
"? bztitanium", "? bztitanium",
"? bzsilicon", "? bzsilicon",
"? bzzirconium", "? bzzirconium",
"? bzfoundry", "? bzfoundry2",
"? space-exploration", "? space-exploration",
"? aai-industry", "? aai-industry",
"? Krastorio2", "? Krastorio2",

View file

@ -62,7 +62,7 @@ if not mods["space-age"] and not mods["rso-mod"] then
}, },
}) })
end end
if mods.bzchlorine then if mods.bzchlorine2 then
data:extend({ data:extend({
{ {
type = "string-setting", type = "string-setting",