Update to bz mods version 2

This commit is contained in:
Simon Brodtmann 2025-10-21 15:00:21 +02:00
parent 6fead72d97
commit 95bb0d90cb
4 changed files with 18 additions and 18 deletions

View file

@ -9,11 +9,11 @@
"base >= 2.0.0",
"? bismuth",
"? BrassTacks-Updated",
"? bzcarbon",
"? bzfoundry",
"? bzlead",
"? bzsilicon",
"? bztin",
"? bzcarbon2",
"? bzfoundry2",
"? bzlead2",
"? bzsilicon2",
"? bztin2",
"? IfNickel-Updated",
"? Krastorio2",
"? space-exploration"

View file

@ -40,12 +40,12 @@ data:extend({
})
local solder_ingredients = {{type="item", name="indium-plate", amount=6}}
if mods["bzlead"] then
if mods["bzlead2"] then
solder_ingredients = {{type="item", name="indium-plate", amount=3}, {type="item", name="lead-plate", amount=3}}
end
local solder_category = "crafting"
local solder_subgroup = "intermediate-product"
if mods["bzfoundry"] then
if mods["bzfoundry2"] then
solder_category = "founding"
solder_subgroup = "foundry-intermediate"
end
@ -94,7 +94,7 @@ data:extend({
}
})
if mods["bzsilicon"] and data.raw.item["solar-cell"] then
if mods["bzsilicon2"] and data.raw.item["solar-cell"] then
local solar_cell_ingredients = {{type="item", name="copper-plate", amount=1}, {type="item", name="indium-plate", amount=1}, {type="item", name="electronic-circuit", amount=2}}
if mods["Krastorio2"] then
table.insert(solar_cell_ingredients, {type="item", name="kr-rare-metals", amount=1})
@ -105,7 +105,7 @@ if mods["bzsilicon"] and data.raw.item["solar-cell"] then
name = "indium-solar-cell",
icons =
{
{ icon = "__bzsilicon__/graphics/icons/solar-cell.png", icon_size = 64 },
{ icon = "__bzsilicon2__/graphics/icons/solar-cell.png", icon_size = 64 },
{ icon = "__Indium2__/graphics/icons/indium-plate.png", icon_size = 64, scale=0.2, shift= {-8, -8}},
},
category = "advanced-crafting",
@ -121,22 +121,22 @@ if mods["bzsilicon"] and data.raw.item["solar-cell"] then
end
local solder_pcb_ingredients = {{type="item", name="indium-plate", amount=10}}
if mods["bztin"] then
if mods["bztin2"] then
solder_pcb_ingredients = {{type="item", name="indium-plate", amount=6}, {type="item", name="tin-plate", amount=5}}
end
local solder_pcb_category = "crafting"
local solder_pcb_subgroup = "intermediate-product"
if mods["bzfoundry"] then
if mods["bzfoundry2"] then
solder_pcb_category = "founding"
solder_pcb_subgroup = "foundry-intermediate"
end
if mods["bismuth"] and mods["bztin"] then
if mods["bismuth"] and mods["bztin2"] then
data:extend({
{
type = "recipe",
name = "indium-pcb-solder",
icons = {
{ icon = "__bztin__/graphics/icons/solder.png", icon_size = 128, tint = {r = 0.7, g = 0.5, b = 0.9, a = 1} },
{ icon = "__bztin2__/graphics/icons/solder.png", icon_size = 128, tint = {r = 0.7, g = 0.5, b = 0.9, a = 1} },
{ icon = "__Indium2__/graphics/icons/indium-plate.png", icon_size = 64, scale=0.2, shift= {-8, -8}},
},
group = "intermediate-products",
@ -166,7 +166,7 @@ if mods["BrassTacks-Updated"] and data.raw.item["airtight-seal"]then
order = "c",
enabled = false,
energy_required = 5,
ingredients = {{type="item", name="bolted-flange", amount=1},mods["bzcarbon"] and {type="item", name="graphite", amount=4}, {type="item", name="indium-solder", amount=2}},
ingredients = {{type="item", name="bolted-flange", amount=1}, mods["bzcarbon2"] and {type="item", name="graphite", amount=4}, {type="item", name="indium-solder", amount=2}},
results = {{type="item", name="airtight-seal", amount=2}},
}
})

View file

@ -57,7 +57,7 @@ data:extend(
}
},
})
if (mods["bztin"] and mods["bismuth"]) or false then
if (mods["bztin2"] and mods["bismuth"]) or false then
data:extend(
{
{
@ -65,7 +65,7 @@ data:extend(
name = "indium-pcb-solder",
icons =
{
{ icon = "__bztin__/graphics/icons/solder.png", icon_size = 128, tint = {r = 0.7, g = 0.5, b = 0.9, a = 1} },
{ icon = "__bztin2__/graphics/icons/solder.png", icon_size = 128, tint = {r = 0.7, g = 0.5, b = 0.9, a = 1} },
{ icon = "__Indium2__/graphics/icons/indium-plate.png", icon_size = 64, shift= {-8, -8}},
},
prerequisites = {"indium-processing"},

View file

@ -4,8 +4,8 @@ local util = require("data-util")
-- Mod changes
if mods["IfNickel-Updated"] then
if mods["IfNickel-Updated"] and mods["bztungsten"] then
util.replace_some_ingredient(mods["IfNickel-Updated"] and "gimbaled-thruster", mods["bztungsten"] and "rocket-engine-nozzle", 1, "cryogenic-seal", 1)
if mods["IfNickel-Updated"] and mods["bztungsten2"] then
util.replace_some_ingredient(mods["IfNickel-Updated"] and "gimbaled-thruster", mods["bztungsten2"] and "rocket-engine-nozzle", 1, "cryogenic-seal", 1)
end
util.remove_ingredient("satellite", "gimbaled-thruster")
end