Compare commits

...

2 commits

Author SHA1 Message Date
Simon Brodtmann
1eba1804d7 Allow productivity modules for Bio fuel conversion 1 2026-02-24 22:17:57 +01:00
Simon Brodtmann
95969446d1 Fix missing module slots for various entities 2026-02-24 22:15:13 +01:00
4 changed files with 10 additions and 17 deletions

View file

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

View file

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

View file

@ -278,11 +278,12 @@ if BI.Settings.BI_Bio_Fuel then
name = "bi-biomass-conversion-1", name = "bi-biomass-conversion-1",
localised_name = {"recipe-name.bi-biomass-conversion-1"}, localised_name = {"recipe-name.bi-biomass-conversion-1"},
localised_description = {"recipe-description.bi-biomass-conversion-1"}, localised_description = {"recipe-description.bi-biomass-conversion-1"},
icons = { {icon = ICONPATH .. "bio_conversion_1.png", icon_size = 64, } }, icons = { {icon = ICONPATH .. "bio_conversion_1.png", icon_size = 64, } },
category = "oil-processing", category = "oil-processing",
enabled = false, enabled = false,
always_show_made_in = true, always_show_made_in = true,
allow_decomposition = false, allow_decomposition = false,
allow_productivity = true,
energy_required = 5, energy_required = 5,
ingredients = { ingredients = {
{type = "fluid", name = "bi-biomass", amount = 100}, {type = "fluid", name = "bi-biomass", amount = 100},
@ -294,7 +295,7 @@ if BI.Settings.BI_Bio_Fuel then
}, },
main_product = "", main_product = "",
subgroup = "bio-bio-fuel-other", subgroup = "bio-bio-fuel-other",
order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-1]", order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-1]"
}, },
---- Biomass to PG ---- Biomass to PG
@ -308,7 +309,7 @@ if BI.Settings.BI_Bio_Fuel then
enabled = false, enabled = false,
always_show_made_in = true, always_show_made_in = true,
allow_decomposition = false, allow_decomposition = false,
allow_productivity = true, allow_productivity = true,
energy_required = 5, energy_required = 5,
ingredients = { ingredients = {
{type = "fluid", name = "bi-biomass", amount = 10}, {type = "fluid", name = "bi-biomass", amount = 10},
@ -333,7 +334,7 @@ if BI.Settings.BI_Bio_Fuel then
enabled = false, enabled = false,
always_show_made_in = true, always_show_made_in = true,
allow_decomposition = false, allow_decomposition = false,
allow_productivity = true, allow_productivity = true,
energy_required = 2.5, energy_required = 2.5,
ingredients = { ingredients = {
{type = "fluid", name = "bi-biomass", amount = 10}, {type = "fluid", name = "bi-biomass", amount = 10},

View file

@ -84,9 +84,7 @@ data:extend({
-- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! -- 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 -- (Efficiency modules are also meant to reduce pollution, but as the base value
-- is negative, the resulting value is greater than 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 -- 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! -- won't be affected by beacons!
allowed_effects = { "consumption", "speed" }, 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! -- 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 -- (Efficiency modules are also meant to reduce pollution, but as the base value
-- is negative, the resulting value is greater than 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 -- 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! -- won't be affected by beacons!
allowed_effects = { "consumption", "speed" }, 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! -- 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 -- (Efficiency modules are also meant to reduce pollution, but as the base value
-- is negative, the resulting value is greater than 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 -- 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! -- won't be affected by beacons!
allowed_effects = { "consumption", "speed" }, allowed_effects = { "consumption", "speed" },