Update to bz mods version 2

This commit is contained in:
Simon Brodtmann 2025-10-21 14:58:53 +02:00
parent 06f525b28a
commit adc2cdeea1
4 changed files with 37 additions and 37 deletions

View file

@ -12,15 +12,15 @@
"? BrassTacks-Updated", "? BrassTacks-Updated",
"? bobassembly", "? bobassembly",
"? BrimStuff-Updated", "? BrimStuff-Updated",
"? bzaluminum", "? bzaluminum2",
"? bzchlorine", "? bzchlorine2",
"? bzfoundry", "? bzfoundry2",
"? bzgas", "? bzgas2",
"? bzgold", "? bzgold2",
"? bzlead", "? bzlead2",
"? bzsilicon", "? bzsilicon2",
"? bztin", "? bztin2",
"? bztungsten", "? bztungsten2",
"? Chromium2", "? Chromium2",
"? Cobalt2", "? Cobalt2",
"? GasGasGases2", "? GasGasGases2",

View file

@ -19,7 +19,7 @@ else
end end
if mods["ThemTharHills-Updated"] then if mods["ThemTharHills-Updated"] then
if (mods["bzfoundry"] and mods["BrassTacks-Updated"]) and (mods["bzlead"] and mods["bzgold"]) then if (mods["bzfoundry2"] and mods["BrassTacks-Updated"]) and (mods["bzlead2"] and mods["bzgold2"]) then
data:extend({ data:extend({
{ {
type = "recipe", type = "recipe",
@ -59,13 +59,13 @@ local alumHydroxideSmeltIcon = (mods["Krastorio2"] and
{ icon = "__base__/graphics/icons/iron-plate.png", icon_size = 64}, { icon = "__base__/graphics/icons/iron-plate.png", icon_size = 64},
}) })
if mods["bzaluminum"] then if mods["bzaluminum2"] then
alumHydroxideSmeltIcon = (mods["Krastorio2"] and alumHydroxideSmeltIcon = (mods["Krastorio2"] and
{ {
{ icon = "__bzaluminum__/graphics/icons/alumina.png", icon_size = 128}, { icon = "__bzaluminum2__/graphics/icons/alumina.png", icon_size = 128},
{ icon = "__ChemistryForYou2__/graphics/icons/aluminium-hydroxide.png", icon_size = 128, scale=0.125, shift= {-8, -8}}, { icon = "__ChemistryForYou2__/graphics/icons/aluminium-hydroxide.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
} or { } or {
{ icon = "__bzaluminum__/graphics/icons/alumina.png", icon_size = 128}, { icon = "__bzaluminum2__/graphics/icons/alumina.png", icon_size = 128},
}) })
end end
local sodaLimeGlassCategory = "crafting" local sodaLimeGlassCategory = "crafting"
@ -846,7 +846,7 @@ if mods["Cobalt2"] then
}) })
end end
if mods["bzsilicon"] then if mods["bzsilicon2"] then
data:extend({ data:extend({
{ {
type = "recipe", type = "recipe",
@ -877,10 +877,10 @@ if mods["bzsilicon"] then
order = "g", order = "g",
icons = (mods["Krastorio2"] and icons = (mods["Krastorio2"] and
{ {
{ icon = "__bzsilicon__/graphics/icons/silicon.png", icon_size = 64}, { icon = "__bzsilicon2__/graphics/icons/silicon.png", icon_size = 64},
{ icon = "__bzaluminum__/graphics/icons/aluminum-plate.png", icon_size = 128, scale=0.125, shift= {-8, -8}}, { icon = "__bzaluminum2__/graphics/icons/aluminum-plate.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
} or { } or {
{ icon = "__bzsilicon__/graphics/icons/silicon.png", icon_size = 64}, { icon = "__bzsilicon2__/graphics/icons/silicon.png", icon_size = 64},
}), }),
main_product = mods["Krastorio2"] and "kr-silicon" or "silicon", main_product = mods["Krastorio2"] and "kr-silicon" or "silicon",
subgroup = "intermediate-product", subgroup = "intermediate-product",
@ -891,7 +891,7 @@ if mods["bzsilicon"] then
} }
}) })
end end
if mods["bzgas"] then if mods["bzgas2"] then
data:extend({ data:extend({
{ {
type = "recipe", type = "recipe",
@ -900,10 +900,10 @@ if mods["bzsilicon"] then
order = "a[fluid]-g[formaldaehyde]", order = "a[fluid]-g[formaldaehyde]",
icons = (mods["Krastorio2"] and icons = (mods["Krastorio2"] and
{ {
{ icon = "__bzgas__/graphics/icons/formaldehyde.png", icon_size = 128}, { icon = "__bzgas2__/graphics/icons/formaldehyde.png", icon_size = 128},
{ icon = "__ChemistryForYou2__/graphics/icons/zeolite.png", icon_size = 128, scale=0.125, shift= {-8, -8}}, { icon = "__ChemistryForYou2__/graphics/icons/zeolite.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
} or { } or {
{ icon = "__bzgas__/graphics/icons/formaldehyde.png", icon_size = 128}, { icon = "__bzgas2__/graphics/icons/formaldehyde.png", icon_size = 128},
}), }),
main_product = "formaldehyde", main_product = "formaldehyde",
subgroup = "fluid-recipes", subgroup = "fluid-recipes",
@ -933,7 +933,7 @@ if mods["bzsilicon"] then
}) })
end end
end end
if mods["bzchlorine"] then if mods["bzchlorine2"] then
data:extend({ data:extend({
{ {
type = "recipe", type = "recipe",
@ -942,10 +942,10 @@ if mods["bzchlorine"] then
order = "s", order = "s",
icons = (mods["Krastorio2"] and icons = (mods["Krastorio2"] and
{ {
{ icon = "__bzchlorine__/graphics/icons/salt.png", icon_size = 128}, { icon = "__bzchlorine2__/graphics/icons/salt.png", icon_size = 128},
{ icon = "__ChemistryForYou2__/graphics/icons/sodium-hydroxide.png", icon_size = 128, scale=0.125, shift= {-8, -8}}, { icon = "__ChemistryForYou2__/graphics/icons/sodium-hydroxide.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
} or { } or {
{ icon = "__bzchlorine__/graphics/icons/salt.png", icon_size = 128}, { icon = "__bzchlorine2__/graphics/icons/salt.png", icon_size = 128},
}), }),
main_product = "salt", main_product = "salt",
subgroup = "chemical", subgroup = "chemical",
@ -1154,7 +1154,7 @@ if mods["space-exploration"] then
}) })
util.add_productivity("deep-space-ore-enrichment") util.add_productivity("deep-space-ore-enrichment")
end end
if mods["bztungsten"] then if mods["bztungsten2"] then
local smart_glass_ingredients = {{type="item", name="tungsten-trioxide", amount=10}, {type="item", name=mods["Krastorio2"] and "kr-glass" or "glass", amount=10}} local smart_glass_ingredients = {{type="item", name="tungsten-trioxide", amount=10}, {type="item", name=mods["Krastorio2"] and "kr-glass" or "glass", amount=10}}
if data.raw.item["graphene"] then if data.raw.item["graphene"] then
table.insert(smart_glass_ingredients, {type="item", name="graphene", amount=4}) table.insert(smart_glass_ingredients, {type="item", name="graphene", amount=4})
@ -1198,10 +1198,10 @@ if mods["space-exploration"] then
name = "tungsten-trioxide-smelting", name = "tungsten-trioxide-smelting",
icons = (mods["Krastorio2"] and icons = (mods["Krastorio2"] and
{ {
{ icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128}, { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128},
{ icon = "__ChemistryForYou2__/graphics/icons/tungsten-trioxide.png", icon_size = 128, scale=0.125, shift= {-8, -8}}, { icon = "__ChemistryForYou2__/graphics/icons/tungsten-trioxide.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
} or { } or {
{ icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128}, { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128},
}), }),
category = "smelting", category = "smelting",
subgroup = "chemical", subgroup = "chemical",

View file

@ -17,11 +17,11 @@ if mods["Krastorio2"] then
end end
local saltpeterPrerequ = {"chemical-science-pack"} local saltpeterPrerequ = {"chemical-science-pack"}
if mods["bztin"] then if mods["bztin2"] then
saltpeterPrerequ = {"organic-chemistry"} saltpeterPrerequ = {"organic-chemistry"}
end end
if mods["bzgas"] and mods["bzsilicon"] then if mods["bzgas2"] and mods["bzsilicon2"] then
rich_water_filtration_pre = {"water-filtration"} rich_water_filtration_pre = {"water-filtration"}
end end
@ -369,7 +369,7 @@ if mods["Krastorio2"] then
} }
} }
}) })
if mods["bzgas"] then if mods["bzgas2"] then
data:extend( data:extend(
{ {
{ {
@ -431,7 +431,7 @@ if mods["Krastorio2"] then
} }
} }
}) })
if mods["bzchlorine"] then if mods["bzchlorine2"] then
util.add_unlock("aluminium-chemistry", "sodium-hydroxide-reaction") util.add_unlock("aluminium-chemistry", "sodium-hydroxide-reaction")
end end
--Apperently I need electrolysis-2 tech for compatibility with EndgameCombat --Apperently I need electrolysis-2 tech for compatibility with EndgameCombat
@ -458,7 +458,7 @@ if mods["Krastorio2"] then
}, },
}) })
end end
if mods["bzsilicon"] then if mods["bzsilicon2"] then
data:extend( data:extend(
{ {
{ {
@ -617,13 +617,13 @@ if mods["248k-Redux"] then
end end
if mods["ThemTharHills-Updated"] then if mods["ThemTharHills-Updated"] then
if (mods["bzfoundry"] and mods["BrassTacks-Updated"]) and (mods["bzlead"] and mods["bzgold"]) then if (mods["bzfoundry2"] and mods["BrassTacks-Updated"]) and (mods["bzlead2"] and mods["bzgold2"]) then
data:extend( data:extend(
{ {
{ {
type = "technology", type = "technology",
name = "silver-pyrometallurgi", name = "silver-pyrometallurgi",
icon = "__bzgold__/graphics/icons/silver-ore.png", icon = "__bzgold2__/graphics/icons/silver-ore.png",
icon_size = 128, icon_size = 128,
prerequisites = {"productivity-science-pack"}, prerequisites = {"productivity-science-pack"},
effects = { effects = {
@ -700,7 +700,7 @@ if mods["space-exploration"] then
} }
}, },
}) })
if mods["bztungsten"] then if mods["bztungsten2"] then
data:extend( data:extend(
{ {
{ {

View file

@ -91,7 +91,7 @@ if mods["ShockTurret"] then
} }
end end
if mods["bzgold"] and mods["ThemTharHills-Updated"] then if mods["bzgold2"] and mods["ThemTharHills-Updated"] then
util.add_product("trace-gold-from-copper", { type = "item", name = "platinum-powder", amount=1, probability=0.1}) util.add_product("trace-gold-from-copper", { type = "item", name = "platinum-powder", amount=1, probability=0.1})
util.add_unlock("gold-processing", "platinum-ingot") util.add_unlock("gold-processing", "platinum-ingot")
end end
@ -100,7 +100,7 @@ if mods["LasingAround-Updated"] then
util.replace_ingredient("carbon-dioxide-laser", "petroleum-gas", "carbon-dioxide", 100) util.replace_ingredient("carbon-dioxide-laser", "petroleum-gas", "carbon-dioxide", 100)
end end
if mods["bzgas"] then if mods["bzgas2"] then
util.add_product("gas-reforming", { type = "fluid", name = "carbon-dioxide", amount = 50 }) util.add_product("gas-reforming", { type = "fluid", name = "carbon-dioxide", amount = 50 })
end end
@ -131,7 +131,7 @@ if mods["space-exploration"] then
util.add_product("calcium-plate", { type = "fluid", name = "carbon-dioxide", amount = 10 }) util.add_product("calcium-plate", { type = "fluid", name = "carbon-dioxide", amount = 10 })
end end
if mods["bztungsten"] then if mods["bztungsten2"] then
util.remove_ingredient("se-space-biochemical-laboratory", "graphene") util.remove_ingredient("se-space-biochemical-laboratory", "graphene")
util.replace_ingredient("se-space-biochemical-laboratory", glass_name, "smart-glass", 80) util.replace_ingredient("se-space-biochemical-laboratory", glass_name, "smart-glass", 80)