diff --git a/Bio_Industries_2/prototypes/Bio_Farm/entities.lua b/Bio_Industries_2/prototypes/Bio_Farm/entities.lua index c3c2189..8ff75d9 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/entities.lua @@ -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_slots = 2, + module_specification = { module_slots = 2 }, allowed_effects = { "consumption", "speed", "pollution" }, graphics_set = { -- Working animation (16 frames) diff --git a/Bio_Industries_2/prototypes/Bio_Fuel/entities.lua b/Bio_Industries_2/prototypes/Bio_Fuel/entities.lua index 7e87ac2..b35cb7b 100644 --- a/Bio_Industries_2/prototypes/Bio_Fuel/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Fuel/entities.lua @@ -195,7 +195,9 @@ data:extend({ ingredient_count = 3, crafting_speed = 1, energy_usage = "10kW", - module_slots = 3, + module_specification = { + module_slots = 3 + }, allowed_effects = { "consumption", "speed", "productivity", "pollution" }, }, diff --git a/Bio_Industries_2/prototypes/Bio_Fuel/recipe.lua b/Bio_Industries_2/prototypes/Bio_Fuel/recipe.lua index 5a0ca89..13f368a 100644 --- a/Bio_Industries_2/prototypes/Bio_Fuel/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Fuel/recipe.lua @@ -278,12 +278,11 @@ if BI.Settings.BI_Bio_Fuel then name = "bi-biomass-conversion-1", localised_name = {"recipe-name.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", enabled = false, always_show_made_in = true, allow_decomposition = false, - allow_productivity = true, energy_required = 5, ingredients = { {type = "fluid", name = "bi-biomass", amount = 100}, @@ -295,7 +294,7 @@ if BI.Settings.BI_Bio_Fuel then }, main_product = "", 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 @@ -309,7 +308,7 @@ if BI.Settings.BI_Bio_Fuel then enabled = false, always_show_made_in = true, allow_decomposition = false, - allow_productivity = true, + allow_productivity = true, energy_required = 5, ingredients = { {type = "fluid", name = "bi-biomass", amount = 10}, @@ -334,7 +333,7 @@ if BI.Settings.BI_Bio_Fuel then enabled = false, always_show_made_in = true, allow_decomposition = false, - allow_productivity = true, + allow_productivity = true, energy_required = 2.5, ingredients = { {type = "fluid", name = "bi-biomass", amount = 10}, diff --git a/Bio_Industries_2/prototypes/Bio_Garden/entities.lua b/Bio_Industries_2/prototypes/Bio_Garden/entities.lua index d0dfd0b..5356625 100644 --- a/Bio_Industries_2/prototypes/Bio_Garden/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Garden/entities.lua @@ -84,7 +84,9 @@ 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_slots = 1, + module_specification = { + 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" }, @@ -222,7 +224,9 @@ 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_slots = 2, + module_specification = { + 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" }, @@ -402,7 +406,9 @@ 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_slots = 4, + module_specification = { + 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" },