Fix Angels compatibility

This commit is contained in:
Simon Brodtmann 2026-01-27 23:12:48 +01:00
parent 7ce072707c
commit d95e51113b

View file

@ -6,6 +6,7 @@ local ICONPATH_KR = BioInd.modRoot .. "/graphics/icons/mod_krastorio/"
local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/" local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/"
local nitrogen = data.raw.fluid["kr-nitrogen"] and "kr-nitrogen" or "nitrogen" local nitrogen = data.raw.fluid["kr-nitrogen"] and "kr-nitrogen" or "nitrogen"
local pellet_coke = data.raw.item["angels-pellet-coke"] and "angels-pellet-coke" or "pellet-coke"
data:extend({ data:extend({
{ {
@ -24,7 +25,7 @@ data:extend({
order = "a[bi]-a-g[bi-coke-coal]-2", order = "a[bi]-a-g[bi-coke-coal]-2",
energy_required = 4, energy_required = 4,
ingredients = {}, ingredients = {},
results = {{type="item", name="angels-pellet-coke", amount=1}}, results = {{type="item", name=pellet_coke, amount=1}},
always_show_made_in = true, always_show_made_in = true,
allow_decomposition = false, allow_decomposition = false,
allow_as_intermediate = false, allow_as_intermediate = false,