Mod compatibility fixes

This commit is contained in:
Simon Brodtmann 2025-10-11 18:23:07 +02:00
parent 5c588c915e
commit d23c195fa8
4 changed files with 8 additions and 25 deletions

View file

@ -30,15 +30,6 @@ data:extend(
allow_productivity = true,
ingredients = {util.item("stone-crushed", 4)},
results = {util.item("silica", 5)},
-- } or mods["aai-industry"] and {
-- type = "recipe",
-- name = "silica",
-- category = mods["space-age"] and "basic-crushing" or "crafting",
-- enabled = false,
-- energy_required = 0.5,
-- allow_productivity = true,
-- ingredients = {util.item("sand", 1)},
-- results = {util.item("silica", 1)},
} or
{
type = "recipe",

View file

@ -6,7 +6,7 @@ if util.k2() then
util.remove_raw("recipe", "kr-silicon")
util.remove_recipe_effect("kr-silicon-processing", "kr-silicon")
if mods["Sebs-Electrics"] then
util.add_unlock("kr-silicon-processing", "silicon")
util.add_unlock("kr-silicon-processing", "kr-silicon")
end
end
local prerequisites = {}
@ -40,15 +40,6 @@ data:extend(
allow_productivity = true,
ingredients = {util.item("silica", 10)},
results = {util.item("silicon", 1)}
-- expensive =
-- {
-- enabled = false,
-- energy_required = 3.2,
-- ingredients = {{"silica", 10}},
-- result = "silicon",
-- result_count = 1
-- },
},
(not util.k2()) and
{
@ -209,7 +200,7 @@ if not mods["space-age"] then
end
end
util.add_effect("kr-fluids-chemistry", {type="unlock-recipe", recipe="kr-hydrogen-chloride"})
util.add_unlock("kr-silicon-processing", "silicon")
util.add_unlock("kr-silicon-processing", mods.Krastorio2 and "kr-silicon" or "silicon")
if util.me.more_intermediates() and not mods["space-age"] then