Mod compatibility

This commit is contained in:
Simon Brodtmann 2025-10-10 21:31:11 +02:00
parent 8dd9c6a547
commit 11474b74dd
3 changed files with 8 additions and 5 deletions

View file

@ -16,11 +16,11 @@
"? bzgas", "? bzgas",
"? bzsilicon", "? bzsilicon",
"? IfNickel-Updated", "? IfNickel-Updated",
"? Indium", "? Indium2",
"? Krastorio2", "? Krastorio2",
"? RampantArsenal", "? RampantArsenal",
"? space-exploration", "? space-exploration",
"? Tantalite", "? Tantalite2",
"? ThemTharHills-Updated" "? ThemTharHills-Updated"
], ],
"description": "Chromium is a mod adding the element chromium.\n\nThis mod is inspired by Brevven's BZ mods." "description": "Chromium is a mod adding the element chromium.\n\nThis mod is inspired by Brevven's BZ mods."

View file

@ -214,9 +214,12 @@ data:extend({
} }
}) })
local inconel_ingredients = {{type="item", name="steel-plate", amount=5}, {type="item", name="chromium-plate", amount=3}, {type="item", name="iron-plate", amount=1}, mods["Tantalite"] and {type="item", name="niobium-plate", amount=1}} local inconel_ingredients = {{type="item", name="steel-plate", amount=5}, {type="item", name="chromium-plate", amount=3}, {type="item", name="iron-plate", amount=1}}
if mods["IfNickel-Updated"] then if mods["IfNickel-Updated"] then
inconel_ingredients = {{type="item", name="nickel-plate", amount=5}, {type="item", name="chromium-plate", amount=3}, {type="item", name="iron-plate", amount=1}, mods["Tantalite"] and {type="item", name="niobium-plate", amount=1}} inconel_ingredients = {{type="item", name="nickel-plate", amount=5}, {type="item", name="chromium-plate", amount=3}, {type="item", name="iron-plate", amount=1}}
end
if mods["Tantalite2"] then
table.insert(inconel_ingredients, {type="item", name="niobium-plate", amount=1})
end end
local inconel_category = "crafting" local inconel_category = "crafting"
local inconel_subgroup = "intermediate-product" local inconel_subgroup = "intermediate-product"

View file

@ -38,7 +38,7 @@ if mods["space-exploration"] then
util.replace_ingredient("se-thruster-suit", "low-density-structure", "chromel-r-fabric") util.replace_ingredient("se-thruster-suit", "low-density-structure", "chromel-r-fabric")
end end
if mods["Indium"] then if mods["Indium2"] then
util.replace_ingredient("cryogenic-seal", "steel-plate", "stainless-steel-plate") util.replace_ingredient("cryogenic-seal", "steel-plate", "stainless-steel-plate")
end end