Compare commits

..

2 commits

Author SHA1 Message Date
Simon Brodtmann
952346f504 Fix modules for farm and nursery 2026-01-27 23:14:06 +01:00
Simon Brodtmann
94e7b5a575 Fix Angels compatibility 2026-01-27 23:12:48 +01:00
2 changed files with 4 additions and 5 deletions

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,

View file

@ -327,9 +327,7 @@ data:extend({
ingredient_count = 3, ingredient_count = 3,
open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 },
close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 },
module_specification = { module_slots = 3,
module_slots = 3
},
allowed_effects = { "consumption", "speed", "productivity", "pollution" }, allowed_effects = { "consumption", "speed", "productivity", "pollution" },
}, },
@ -412,7 +410,7 @@ data:extend({
pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } } pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } }
}, },
}, },
module_specification = {module_slots = 2}, module_slots = 2,
allowed_effects = { "consumption", "speed", "productivity", "pollution" }, allowed_effects = { "consumption", "speed", "productivity", "pollution" },
graphics_set = { graphics_set = {
animation = { animation = {