Update to bz mods version 2

This commit is contained in:
Simon Brodtmann 2025-10-21 15:03:55 +02:00
parent edf04b3089
commit e889dbf7fb
4 changed files with 12 additions and 12 deletions

View file

@ -11,9 +11,9 @@
"? aai-industry",
"? bobassembly",
"? BrimStuff-Updated",
"? bzcarbon",
"? bzchlorine",
"? bzgas",
"? bzcarbon2",
"? bzchlorine2",
"? bzgas2",
"? Cobalt2",
"? IfNickel-Updated",
"? Limestone2",

View file

@ -17,7 +17,7 @@ end
local ketone_alcohol_oil_ingredients = {{type="item", name="coal", amount = 5}, (data.raw.fluid["kr-hydrogen"] and { type = "fluid", name = "kr-hydrogen", amount = 10 }) or ({ type = "fluid", name = "water", amount = 10 }), (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}}
if mods["bzgas"] then
if mods["bzgas2"] then
ketone_alcohol_oil_ingredients = {{type="item", name="phenol", amount = 5}, (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}}
if data.raw.fluid["kr-hydrogen"] then
table.insert(ketone_alcohol_oil_ingredients, { type = "fluid", name = "kr-hydrogen", amount = 10 })
@ -393,7 +393,7 @@ if mods["Krastorio2"] then
results = {{ type = "fluid", name = "kr-nitric-acid", amount = 10 }},
}
})
if mods["bzchlorine"] then
if mods["bzchlorine2"] then
local ethylene_oxide_epoxy_ingredients = {{ type = "fluid", name = "ethylene-oxide", amount = 10 }}
if mods["Limestone2"] then
table.insert(ethylene_oxide_epoxy_ingredients, {type="item", name="quicklime", amount=4})
@ -404,7 +404,7 @@ if mods["bzchlorine"] then
type = "recipe",
name = "ethylene-oxide-epoxy",
icons = {
{ icon = "__bzchlorine__/graphics/icons/epoxy.png", icon_size = 128},
{ icon = "__bzchlorine2__/graphics/icons/epoxy.png", icon_size = 128},
{ icon = "__Nylon2__/graphics/icons/ethylene-oxide.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
},
category = "chemistry",
@ -420,7 +420,7 @@ end
util.add_productivity("bio-nitric-acid")
end
if mods["bzcarbon"] and mods["Krastorio2"] then
if mods["bzcarbon2"] and mods["Krastorio2"] then
data:extend({
{
type = "item",
@ -451,10 +451,10 @@ if mods["bzcarbon"] and mods["Krastorio2"] then
order = "d[graphite]",
icons = (mods["Krastorio2"] and
{
{ icon = "__bzcarbon__/graphics/icons/graphite.png", icon_size = 128},
{ icon = "__bzcarbon2__/graphics/icons/graphite.png", icon_size = 128},
{ icon = "__Nylon2__/graphics/icons/raw-graphite.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
} or {
{ icon = "__bzcarbon__/graphics/icons/graphite.png", icon_size = 128},
{ icon = "__bzcarbon2__/graphics/icons/graphite.png", icon_size = 128},
}),
enabled = false,
energy_required = 12,

View file

@ -94,7 +94,7 @@ data:extend({
})
util.add_prerequisite("logistics-2","nylon-processing")
if mods["bzcarbon"] and mods["Krastorio2"] then
if mods["bzcarbon2"] and mods["Krastorio2"] then
data:extend(
{
{

View file

@ -32,7 +32,7 @@ if mods["space-exploration"] then
end
end
if mods["Krastorio2"] or (mods["bzcarbon"] and mods["bzgas"]) then
if mods["Krastorio2"] or (mods["bzcarbon2"] and mods["bzgas2"]) then
util.add_unlock("nylon-processing","destructive-distillation")
end
@ -40,7 +40,7 @@ if mods["Krastorio2"] then
util.add_unlock("nylon-processing","bio-nitric-acid")
util.add_unlock("kr-fuel","solid-fuel-coal-tar")
util.replace_ingredient("kr-advanced-lab", "copper-cable", "nylon-machine-parts", 10)
if mods["bzchlorine"] then
if mods["bzchlorine2"] then
util.add_unlock("organic-chemistry","ethylene-oxide-epoxy")
end
end