krastorio2 2.0 compatibility

This commit is contained in:
Matt Grogan 2025-05-01 12:29:39 -04:00 committed by brevven
parent a15f4fe5b6
commit c0d9c352e8
7 changed files with 34 additions and 22 deletions

View file

@ -6,11 +6,11 @@ data:extend(
mods["Krastorio2"] and {
type = "recipe",
name = "silica",
category = "crushing",
category = "kr-crushing",
enabled = false,
energy_required = 4,
allow_productivity = true,
ingredients = {util.item("quartz", 10)},
ingredients = {util.item("kr-quartz", 10)},
results = {util.item("silica", 30)}
} or util.me.use_bio_crushed_stone() and {
type = "recipe",
@ -84,7 +84,7 @@ data:extend(
},
{
type = "unlock-recipe",
recipe = "quartz"
recipe = "kr-quartz"
},
},
prerequisites = {"kr-fluids-chemistry", "kr-stone-processing"},

View file

@ -20,16 +20,16 @@ data:extend(
{
mods["Krastorio2"] and {
type = "recipe",
name = "silicon",
name = "kr-silicon",
category = "smelting",
enabled = false,
energy_required = 14.4,
allow_productivity = true,
ingredients = {
util.item("silica", 18),
util.item("coke", 1),
util.item("kr-coke", 1),
},
results = {util.item("silicon", 3)}
results = {util.item("kr-silicon", 3)}
} or {
type = "recipe",
name = "silicon",