This commit is contained in:
Simon Brodtmann 2025-10-16 00:17:40 +02:00
parent 0e3af88f76
commit bd9e2c2dcc
2 changed files with 3 additions and 3 deletions

View file

@ -88,7 +88,7 @@ data:extend({
-- If no graphite ore, make it from coal or coke
if not util.me.use_flake_graphite() then
if data.raw.item["coke"] then
if data.raw.item[mods["Krastorio2"] and "kr-coke" or "coke"] then
data:extend({
{
type = "recipe",
@ -98,7 +98,7 @@ if not util.me.use_flake_graphite() then
order = "d[graphite]",
enabled = false,
energy_required = 0.5,
ingredients = {util.item("coke", 1)},
ingredients = {util.item(mods["Krastorio2"] and "kr-coke" or "coke", 1)},
results = {util.item("graphite", 2)},
}
})