Fix missing module slots for various entities

This commit is contained in:
Simon Brodtmann 2026-02-24 22:15:13 +01:00
parent 233eb08b0b
commit 95969446d1
3 changed files with 5 additions and 13 deletions

View file

@ -506,7 +506,7 @@ data:extend({
resistances = { { type = "fire", percent = 95 } },
collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } },
selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } },
module_specification = { module_slots = 2 },
module_slots = 2,
allowed_effects = { "consumption", "speed", "pollution" },
graphics_set = {
-- Working animation (16 frames)

View file

@ -195,9 +195,7 @@ data:extend({
ingredient_count = 3,
crafting_speed = 1,
energy_usage = "10kW",
module_specification = {
module_slots = 3
},
module_slots = 3,
allowed_effects = { "consumption", "speed", "productivity", "pollution" },
},

View file

@ -84,9 +84,7 @@ data:extend({
-- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens!
-- (Efficiency modules are also meant to reduce pollution, but as the base value
-- is negative, the resulting value is greater than the base value! )
module_specification = {
module_slots = 1
},
module_slots = 1,
-- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens
-- won't be affected by beacons!
allowed_effects = { "consumption", "speed" },
@ -224,9 +222,7 @@ data:extend({
-- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens!
-- (Efficiency modules are also meant to reduce pollution, but as the base value
-- is negative, the resulting value is greater than the base value! )
module_specification = {
module_slots = 2
},
module_slots = 2,
-- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens
-- won't be affected by beacons!
allowed_effects = { "consumption", "speed" },
@ -406,9 +402,7 @@ data:extend({
-- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens!
-- (Efficiency modules are also meant to reduce pollution, but as the base value
-- is negative, the resulting value is greater than the base value! )
module_specification = {
module_slots = 4
},
module_slots = 4,
-- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens
-- won't be affected by beacons!
allowed_effects = { "consumption", "speed" },