diff --git a/Bio_Industries_2/locale/en/entity-name.cfg b/Bio_Industries_2/locale/en/entity-name.cfg index 2889bc2..45744c7 100644 --- a/Bio_Industries_2/locale/en/entity-name.cfg +++ b/Bio_Industries_2/locale/en/entity-name.cfg @@ -14,7 +14,6 @@ bi-bio-reactor=Bio-reactor bi-cokery=Cokery bi-stone-crusher=Stone crusher - ## Power bi-bio-accumulator=Huge accumulator bi-bio-boiler=Bio-boiler @@ -23,12 +22,10 @@ bi-large-substation=Huge substation bi-solar-boiler=Solar power plant & boiler bi-solar-mat=Musk floor - ## Weaponry bi-bio-cannon=Prototype artillery bi-dart-turret=Dart turret - ## Rail stuff bi-power-to-rail-pole=Powered rails connector bi-rail-power=Powered rails @@ -41,6 +38,29 @@ bi-half-diagonal-rail-wood=Wooden rails rail-remnants-wood-bridge=Remnants of a wooden rail bridge rail-remnants-wood=Remnants of wooden rails +# Entity remnants names +bi-bio-cannon-remnants=Remnants of prototype artillery +bi-arboretum-area-remnant=Remnants of terraformer +bi-bio-accumulator-remnant=Remnants of huge accumulator +bi-bio-farm-remnant=Remnants of bio farm +bi-bio-garden-huge-remnant=Remnants of huge bio garden +bi-bio-garden-large-remnant=Resto de large bio garden +bi-bio-garden-remnant=Remnants of bio garden +bi-bio-greenhouse-remnant=Remnants of bio nursery +bi-bio-reactor-remnant=Remnants of bio-reactor +bi-bio-solar-farm-remnant=Remnants of solar farm +bi-cokery-remnant=Remnants of cokery +bi-dart-turret-remnant=Remnants of dart turret +bi-large-substation-remnant=Remnants of huge substation +bi-solar-boiler-remnant=Remnants of solar power plant & boiler +bi-stone-crusher-remnant=Remnants of stone crusher +bi-wood-pipe-remnant=Remnants of wood pipe +bi-wooden-chest-giga-remnant=Remnants of huge wooden chest +bi-wooden-chest-huge-remnant=Remnants of huge large chest +bi-wooden-chest-large-remnant=Remnants of medium wooden chest +bi-wooden-fence-remnant=Remnants of wooden fence +bi-wooden-pole-big-remnant=Remnants of big wooden pole +bi-wooden-pole-huge-remnant=Remnants of huge wooden pole ## Miscallenous wooden products bi-wood-pipe-to-ground=Wood pipe to ground diff --git a/Bio_Industries_2/locale/en/recipe-description.cfg b/Bio_Industries_2/locale/en/recipe-description.cfg index 7c3747e..edd32f9 100644 --- a/Bio_Industries_2/locale/en/recipe-description.cfg +++ b/Bio_Industries_2/locale/en/recipe-description.cfg @@ -116,7 +116,7 @@ bi-crushed-stone_IR=Excess __ITEM__concrete__ in all variations can be recycled #~ bi-power-to-rail-pole=Connect your power rail to the power grid -#~ bi-production-science-pack=Use more, but cheaper wooden rails to make production science packs! +bi-production-science-pack=Use more, but cheaper wooden rails to make production science packs! #~ bi-rail-power=Rail that also conducts electricity (connect to power grid using "power to rail" connector) #~ bi-rail-wood-bridge=Rail that can bridge water\nNote: You can't walk on this! #~ bi-rail-wood-to-concrete=Upgrade wooden rails to default rails diff --git a/Bio_Industries_2/locale/en/recipe-name.cfg b/Bio_Industries_2/locale/en/recipe-name.cfg index 7563a82..96b83f6 100644 --- a/Bio_Industries_2/locale/en/recipe-name.cfg +++ b/Bio_Industries_2/locale/en/recipe-name.cfg @@ -12,7 +12,6 @@ bob-fertiliser=__ITEM__fertilizer__ # Added for 0.18.32/1.1.2 bi-fertilizer-fluid=Liquid __ITEM__fertilizer__ - bi-arboretum-r1=Plant trees bi-arboretum-r2=Change terrain with __ITEM__fertilizer__ bi-arboretum-r3=Change terrain with __ITEM__bi-adv-fertilizer__ @@ -59,7 +58,6 @@ bi-logs-2=Improved __ITEM__wood__ production with __ITEM__bi-ash__ bi-logs-3=Advanced __ITEM__wood__ production with __ITEM__fertilizer__ bi-logs-4=Super __ITEM__wood__ production with __ITEM__bi-adv-fertilizer__ - ## Resources bi-cellulose-1=Basic __ITEM__bi-cellulose__ production bi-cellulose-2=Advanced __ITEM__bi-cellulose__ production @@ -96,6 +94,8 @@ bi-sulfur=Bio-__ITEM__sulfur__ bi-plastic-1=__ITEM__plastic-bar__ from __ITEM__wood__ bi-plastic-2=__ITEM__plastic-bar__ from __ITEM__bi-cellulose__ +## Research +bi-production-science-pack=Production science pack ## Disassemble bi-burner-inserter-disassemble=Disassemble __ENTITY__burner-inserter__ @@ -104,7 +104,6 @@ bi-long-handed-inserter-disassemble=Disassemble __ENTITY__long-handed-inserter__ bi-steel-furnace-disassemble=Disassemble __ENTITY__steel-furnace__ bi-stone-furnace-disassemble=Disassemble __ENTITY__stone-furnace__ - ## Compatibility with other mods ## angelsrefining bi-mineralized-sulfuric-waste=Mineralized water diff --git a/Bio_Industries_2/locale/pt-BR/entity-name.cfg b/Bio_Industries_2/locale/pt-BR/entity-name.cfg index a53e326..82bafe9 100644 --- a/Bio_Industries_2/locale/pt-BR/entity-name.cfg +++ b/Bio_Industries_2/locale/pt-BR/entity-name.cfg @@ -14,7 +14,6 @@ bi-bio-reactor=Biorreator bi-cokery=Coqueria bi-stone-crusher=Triturador de pedras - ## Power bi-bio-accumulator=Acumulador imenso bi-bio-boiler=Biocaldeira @@ -23,12 +22,10 @@ bi-large-substation=Subestação imensa bi-solar-boiler=Usina solar com caldeira bi-solar-mat=Chão Musk - ## Weaponry bi-bio-cannon=Protótipo de artilharia bi-dart-turret=Torre de dardos - ## Rail stuff bi-power-to-rail-pole=Conector de trilho elétrico bi-rail-power=Trilho elétrico @@ -41,6 +38,29 @@ bi-half-diagonal-rail-wood=Trilho de madeira rail-remnants-wood-bridge=Restos de ponte ferroviária de madeira rail-remnants-wood=Restos de triho de madeira +# Entity remnants names +bi-bio-cannon-remnants=Restos de protótipo de artilharia +bi-arboretum-area-remnant=Restos de terraformador +bi-bio-accumulator-remnant=Restos de acumulador imenso +bi-bio-farm-remnant=Restos de fazenda biológica +bi-bio-garden-huge-remnant=Restos de jardim biológico imenso +bi-bio-garden-large-remnant=Resto de jardim biológico grande +bi-bio-garden-remnant=Restos de jardim biológico +bi-bio-greenhouse-remnant=Restos de viveiro biológico +bi-bio-reactor-remnant=Restos de biorreator +bi-bio-solar-farm-remnant=Restos de fazenda solar +bi-cokery-remnant=Restos de coqueria +bi-dart-turret-remnant=Restos de torre de dardos +bi-large-substation-remnant=Restos de substação imensa +bi-solar-boiler-remnant=Restos de usina solar com caldeira +bi-stone-crusher-remnant=Restos de triturador de pedras +bi-wood-pipe-remnant=Restos de cano de madeira +bi-wooden-chest-giga-remnant=Restos de baú de madeira imenso +bi-wooden-chest-huge-remnant=Restos de baú de madeira grande +bi-wooden-chest-large-remnant=Restos de baú de madeira médio +bi-wooden-fence-remnant=Restos de cerca de madeira +bi-wooden-pole-big-remnant=Restos de poste de madeira grande +bi-wooden-pole-huge-remnant=Restos de poste de madeira imenso ## Miscallenous wooden products bi-wood-pipe-to-ground=Cano de madeira subterrâneo diff --git a/Bio_Industries_2/locale/pt-BR/recipe-description.cfg b/Bio_Industries_2/locale/pt-BR/recipe-description.cfg index e2323c5..b25bcbd 100644 --- a/Bio_Industries_2/locale/pt-BR/recipe-description.cfg +++ b/Bio_Industries_2/locale/pt-BR/recipe-description.cfg @@ -116,7 +116,7 @@ bi-crushed-stone_IR=O excesso de __ITEM__concrete__ e todas as suas variantes po #~ bi-power-to-rail-pole=Conecte seu trilho elétrico à rede elétrica -#~ bi-production-science-pack=Utiliza mais trilhos de madeira (mais baratos), para fazer pacotes científicos de produção! +bi-production-science-pack=Utilize mais trilhos de madeira (mais baratos), para fazer pacotes científicos de produção! #~ bi-rail-power=Trilho que também conduz eletricidade (conecte-o à rede elétrica utilizando o conector "energia para trilho") #~ bi-rail-wood-bridge=Trilho que pode atravessar a água\nObservação: Você não pode andar sobre ele! #~ bi-rail-wood-to-concrete=Atualizar trilhos de madeira para trilhos normais diff --git a/Bio_Industries_2/locale/pt-BR/recipe-name.cfg b/Bio_Industries_2/locale/pt-BR/recipe-name.cfg index e9a311a..1226b67 100644 --- a/Bio_Industries_2/locale/pt-BR/recipe-name.cfg +++ b/Bio_Industries_2/locale/pt-BR/recipe-name.cfg @@ -12,7 +12,6 @@ bob-fertiliser=__ITEM__fertilizer__ # Added for 0.18.32/1.1.2 bi-fertilizer-fluid=__ITEM__fertilizer__ líquido - bi-arboretum-r1=Cultivo de árvores bi-arboretum-r2=Terraformar utilizando __ITEM__fertilizer__ bi-arboretum-r3=Terraformar utilizando __ITEM__bi-adv-fertilizer__ @@ -59,7 +58,6 @@ bi-logs-2=Produção melhorada de __ITEM__wood__ utilizando __ITEM__bi-ash__ bi-logs-3=Produção avançada de __ITEM__wood__ utilizando __ITEM__fertilizer__ bi-logs-4=Superprodução de __ITEM__wood__ utilizando __ITEM__bi-adv-fertilizer__ - ## Resources bi-cellulose-1=Produção básica de __ITEM__bi-cellulose__ bi-cellulose-2=Produção avançada de __ITEM__bi-cellulose__ @@ -96,6 +94,8 @@ bi-sulfur=Bio-__ITEM__sulfur__ bi-plastic-1=__ITEM__plastic-bar__ de __ITEM__wood__ bi-plastic-2=__ITEM__plastic-bar__ de __ITEM__bi-cellulose__ +## Research +bi-production-science-pack=Pacote científico de produção ## Disassemble bi-burner-inserter-disassemble=Desmantelamento de __ENTITY__burner-inserter__ @@ -104,7 +104,6 @@ bi-long-handed-inserter-disassemble=Desmantelamento de __ENTITY__long-handed-ins bi-steel-furnace-disassemble=Desmantelamento de __ENTITY__steel-furnace__ bi-stone-furnace-disassemble=Desmantelamento de __ENTITY__stone-furnace__ - ## Compatibility with other mods ## angelsrefining bi-mineralized-sulfuric-waste=Água mineralizada diff --git a/Bio_Industries_2/prototypes/Bio_Garden/entities.lua b/Bio_Industries_2/prototypes/Bio_Garden/entities.lua index 5356625..c18e8e3 100644 --- a/Bio_Industries_2/prototypes/Bio_Garden/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Garden/entities.lua @@ -1,449 +1,445 @@ local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" local ENTITYPATH_BIO = BioInd.modRoot .. "/graphics/entities/" local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" require("util") -local crafting_speed_quality_multiplier = mods["quality"] and { - uncommon = 0.83, - rare = 0.66, - epic = 0.50, - legendary = 0.16 -} or nil --- Bio Garden data:extend({ - { - type = "assembling-machine", - name = "bi-bio-garden", - icon = ICONPATH_E .. "bio_garden_icon.png", - icon_size = 64, - icons = { - { + { + type = "assembling-machine", + name = "bi-bio-garden", icon = ICONPATH_E .. "bio_garden_icon.png", icon_size = 64, - } + icons = { + { + icon = ICONPATH_E .. "bio_garden_icon.png", + icon_size = 64, + } + }, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-garden" }, + fast_replaceable_group = "bi-bio-garden", + max_health = 150, + corpse = "bi-bio-garden-remnant", + collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } }, + selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, + fluid_boxes = { + { + production_type = "input", + pipe_picture = assembler3pipepictures(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } } + }, + }, + fluid_boxes_off_when_no_fluid_recipe = true, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_anim_trees.png", + width = 256, height = 320, + frame_count = 20, line_length = 5, + animation_speed = 0.15, scale = 0.5, shift = {0, -0.75} + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_shadow.png", + width = 384, height = 320, + frame_count = 1, repeat_count = 20, -- repeat to match + draw_as_shadow = true, scale = 0.5, shift = {1, -0.75} + } + } + } + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 0.8 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 }, + apparent_volume = 1.5, + max_sounds_per_type = 3, + }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 1.0, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -1.5 * 60 }, -- Negative value: pollution is absorbed! + }, + energy_usage = "200kW", + ingredient_count = 1, + -- 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 + }, + -- 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" }, }, - flags = { "placeable-neutral", "placeable-player", "player-creation" }, - minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-garden" }, - fast_replaceable_group = "bi-bio-garden", - max_health = 150, - corpse = "bi-bio-garden-remnant", - collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } }, - selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, - fluid_boxes = { - { - production_type = "input", - pipe_picture = assembler3pipepictures(), - pipe_covers = pipecoverspictures(), - volume = 1000, - base_level = -1, - pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } } - }, - }, - fluid_boxes_off_when_no_fluid_recipe = true, - graphics_set = { - animation = { - layers = { - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_anim_trees.png", - width = 256, height = 320, - frame_count = 20, line_length = 5, - animation_speed = 0.15, scale = 0.5, shift = { 0, -0.75 } - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_shadow.png", - width = 384, height = 320, - frame_count = 1, repeat_count = 20, -- repeat to match - draw_as_shadow = true, scale = 0.5, shift = { 1, -0.75 } - } - } - } - }, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - working_sound = { - sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 0.8 } }, - idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 }, - apparent_volume = 1.5, - max_sounds_per_type = 3, - }, - crafting_categories = { "clean-air" }, - source_inventory_size = 1, - result_inventory_size = 1, - crafting_speed = 1.0, - crafting_speed_quality_multiplier = crafting_speed_quality_multiplier, - energy_source = { - type = "electric", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = -1.5 * 60 }, -- Negative value: pollution is absorbed! - }, - energy_usage = "200kW", - ingredient_count = 1, - -- 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 - }, - -- 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" }, - }, - - ---- corpse - { - type = "corpse", - name = "bi-bio-garden-remnant", - localised_name = { "entity-name.bi-bio-garden-remnant" }, - icon = "__base__/graphics/icons/remnants.png", - icon_size = 64, - icon_mipmaps = 4, - BI_add_icon = true, - flags = { "placeable-neutral", "building-direction-8-way", "not-on-map" }, - subgroup = "remnants", - order = "z-z-z", - selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, - tile_width = 3, - tile_height = 3, - selectable_in_game = false, - time_before_removed = 60 * 60 * 15, -- 15 minutes - final_render_layer = "remnants", - remove_on_tile_placement = false, - animation = { - { - filename = REMNANTSPATH .. "bio_garden_remnant.png", - line_length = 1, - width = 256, - height = 320, - frame_count = 1, - direction_count = 1, - shift = { 0, -0.75 }, - scale = 0.5 - } - } - }, - - - ---- Bio Garden Large - { - type = "assembling-machine", - name = "bi-bio-garden-large", - icon = ICONPATH_E .. "bio_garden_large_icon.png", - icon_size = 64, - icons = { - { + + ---- corpse + { + type = "corpse", + name = "bi-bio-garden-remnant", + localised_name = {"entity-name.bi-bio-garden-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, + tile_width = 3, + tile_height = 3, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_garden_remnant.png", + line_length = 1, + width = 256, + height = 320, + frame_count = 1, + direction_count = 1, + shift = {0, -0.75}, + scale = 0.5 + } + } + }, + + + +---- Bio Garden Large + { + type = "assembling-machine", + name = "bi-bio-garden-large", icon = ICONPATH_E .. "bio_garden_large_icon.png", icon_size = 64, - } - }, - flags = { "placeable-neutral", "placeable-player", "player-creation" }, - minable = { hardness = 0.6, mining_time = 1, result = "bi-bio-garden-large" }, - fast_replaceable_group = "bi-bio-garden-large", - max_health = 1200, - corpse = "bi-bio-garden-large-remnant", - collision_box = { { -4.3, -4.3 }, { 4.3, 4.3 } }, - selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, - scale_entity_info_icon = true, - fluid_boxes = { - { - production_type = "input", - pipe_covers = pipecoverspictures(), - base_area = 1, - base_level = -1, - volume = 1000, - filter = "water", - pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -4 } } }, - --pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 4 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -4, 0 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 4, 0 } } }, - - - }, - }, - off_when_no_fluid_recipe = false, - graphics_set = { - animation = { - layers = { - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large.png", - width = 640, - height = 704, - scale = 0.5, - shift = { 0, -0.5 }, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_shadow.png", - width = 704, - height = 640, - scale = 0.5, - shift = { 0.5, 0 }, - draw_as_shadow = true, - } - } - }, - - working_visualisations = { - { - light = { intensity = 1.2, size = 20 }, - draw_as_light = true, - effect = "flicker", - constant_speed = true, - fadeout = true, - animation = { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_light.png", - width = 640, - height = 640, - scale = 0.5, - shift = { 0, 0 }, - }, + icons = { + { + icon = ICONPATH_E .. "bio_garden_large_icon.png", + icon_size = 64, + } }, - }, - }, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - working_sound = { - sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1 } }, - idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.8 }, - apparent_volume = 1.5, - max_sounds_per_type = 3, - }, - crafting_categories = { "clean-air" }, - source_inventory_size = 1, - result_inventory_size = 1, - crafting_speed = 4.0, - crafting_speed_quality_multiplier = crafting_speed_quality_multiplier, - energy_source = { - type = "electric", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = -12 * 60 }, -- Negative value: pollution is absorbed! - }, - energy_usage = "800kW", - ingredient_count = 1, - -- 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 - }, - -- 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" }, - }, - - --- corpse - { - type = "corpse", - name = "bi-bio-garden-large-remnant", - localised_name = { "entity-name.bi-bio-garden-large-remnant" }, - icon = "__base__/graphics/icons/remnants.png", - icon_size = 64, - icon_mipmaps = 4, - BI_add_icon = true, - flags = { "placeable-neutral", "building-direction-8-way", "not-on-map" }, - subgroup = "remnants", - order = "z-z-z", - selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, - tile_width = 9, - tile_height = 9, - selectable_in_game = false, - time_before_removed = 60 * 60 * 15, -- 15 minutes - final_render_layer = "remnants", - remove_on_tile_placement = false, - animation = { - { - filename = REMNANTSPATH .. "bio_garden_large_remnant.png", - line_length = 1, - width = 640, - height = 704, - frame_count = 1, - direction_count = 1, - shift = { 0, -0.5 }, - scale = 0.5 - } - } - }, - ---- Bio Garden Huge - { - type = "assembling-machine", - name = "bi-bio-garden-huge", - icon = ICONPATH_E .. "bio_garden_huge_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH_E .. "bio_garden_huge_icon.png", - icon_size = 64, - } - }, - flags = { "placeable-neutral", "placeable-player", "player-creation" }, - minable = { hardness = 1.2, mining_time = 2, result = "bi-bio-garden-huge" }, - fast_replaceable_group = "bi-bio-garden-huge", - max_health = 2000, - corpse = "bi-bio-garden-huge-remnant", - collision_box = { { -13.3, -13.3 }, { 13.3, 13.3 } }, - selection_box = { { -13.5, -13.5 }, { 13.5, 13.5 } }, - scale_entity_info_icon = true, - fluid_boxes = { - { - production_type = "input", - pipe_covers = pipecoverspictures(), - base_area = 1, - base_level = -1, - volume = 1000, - filter = "water", - pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -13 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 13 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -13, 0 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 13, 0 } } }, - }, - }, - off_when_no_fluid_recipe = false, - graphics_set = { - animation = { - layers = { - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge.png", - width = 1792, - height = 1856, - scale = 0.5, - frame_count = 1, - line_length = 1, - repeat_count = 8, - animation_speed = 1, - shift = { 0, -0.5 }, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_shadow.png", - width = 256, - height = 1856, - scale = 0.5, - frame_count = 1, - line_length = 1, - repeat_count = 8, - animation_speed = 1, - shift = { 14, -0.5 }, - draw_as_shadow = true, - }, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 0.6, mining_time = 1, result = "bi-bio-garden-large" }, + fast_replaceable_group = "bi-bio-garden-large", + max_health = 1200, + corpse = "bi-bio-garden-large-remnant", + collision_box = {{-4.3, -4.3}, {4.3, 4.3}}, + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + scale_entity_info_icon = true, + fluid_boxes = { + { + production_type = "input", + pipe_covers = pipecoverspictures(), + base_area = 1, + base_level = -1, + volume = 1000, + filter = "water", + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -4 } } }, + --pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 4 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -4, 0 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 4, 0 } } }, + + + }, + }, + off_when_no_fluid_recipe = false, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large.png", + width = 640, + height = 704, + scale = 0.5, + shift = {0, -0.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_shadow.png", + width = 704, + height = 640, + scale = 0.5, + shift = {0.5, 0}, + draw_as_shadow = true, + } + } + }, + + working_visualisations = { + { + light = {intensity = 1.2, size = 20 }, + draw_as_light = true, + effect = "flicker", + constant_speed = true, + fadeout = true, + animation = { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_light.png", + width = 640, + height = 640, + scale = 0.5, + shift = {0, 0}, + }, + }, + }, + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.8 }, + apparent_volume = 1.5, + max_sounds_per_type = 3, }, - }, - - working_visualisations = { - { - constant_speed = true, - fadeout = true, - animation = { - layers = { - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", - width = 128, - height = 96, - scale = 0.5, - frame_count = 8, - line_length = 8, - repeat_count = 1, - animation_speed = 1, - shift = { -4.5, -4.5 }, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", - width = 128, - height = 96, - scale = 0.5, - frame_count = 8, - line_length = 8, - repeat_count = 1, - animation_speed = 1, - shift = { 4.5, 4.5 }, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", - width = 128, - height = 96, - scale = 0.5, - frame_count = 8, - line_length = 8, - repeat_count = 1, - animation_speed = 1, - shift = { 4.5, -4.5 }, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", - width = 128, - height = 96, - scale = 0.5, - frame_count = 8, - line_length = 8, - repeat_count = 1, - animation_speed = 1, - shift = { -4.5, 4.5 }, - }, - }, - }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 4.0, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -12 * 60 }, -- Negative value: pollution is absorbed! }, - }, + energy_usage = "800kW", + ingredient_count = 1, + -- 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 + }, + -- 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" }, }, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - working_sound = { - sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1.8 } }, - idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.9 }, - apparent_volume = 2, - max_sounds_per_type = 3, - }, - crafting_categories = { "clean-air" }, - source_inventory_size = 1, - result_inventory_size = 1, - crafting_speed = 16, - crafting_speed_quality_multiplier = crafting_speed_quality_multiplier, - energy_source = { - type = "electric", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = -96 * 60 }, -- Negative value: pollution is absorbed! - }, - energy_usage = "3200kW", - ingredient_count = 1, - -- 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 - }, - -- 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" }, - }, - ---- corpse - + + --- corpse + { + type = "corpse", + name = "bi-bio-garden-large-remnant", + localised_name = {"entity-name.bi-bio-garden-large-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + tile_width = 9, + tile_height = 9, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = { - type = "corpse", - name = "bi-bio-garden-huge-remnant", - localised_name = { "entity-name.bi-bio-garden-huge-remnant" }, - icon = "__base__/graphics/icons/remnants.png", - icon_size = 64, - icon_mipmaps = 4, - BI_add_icon = true, - flags = { "placeable-neutral", "building-direction-8-way", "not-on-map" }, - subgroup = "remnants", - order = "z-z-z", - selection_box = { { -13.5, -13.5 }, { 13.5, 13.5 } }, - tile_width = 27, - tile_height = 27, - selectable_in_game = false, - time_before_removed = 60 * 60 * 15, -- 15 minutes - final_render_layer = "remnants", - remove_on_tile_placement = false, - animation = { - { - filename = REMNANTSPATH .. "bio_garden_huge_remnant.png", - line_length = 1, - width = 896, - height = 928, - frame_count = 1, - direction_count = 1, - shift = { 0, -0.5 }, - } + { + filename = REMNANTSPATH .. "bio_garden_large_remnant.png", + line_length = 1, + width = 640, + height = 704, + frame_count = 1, + direction_count = 1, + shift = {0, -0.5}, + scale = 0.5 } } - +}, +---- Bio Garden Huge + { + type = "assembling-machine", + name = "bi-bio-garden-huge", + icon = ICONPATH_E .. "bio_garden_huge_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_garden_huge_icon.png", + icon_size = 64, + } + }, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 1.2, mining_time = 2, result = "bi-bio-garden-huge" }, + fast_replaceable_group = "bi-bio-garden-huge", + max_health = 2000, + corpse = "bi-bio-garden-huge-remnant", + collision_box = {{-13.3, -13.3}, {13.3, 13.3}}, + selection_box = {{-13.5, -13.5}, {13.5, 13.5}}, + scale_entity_info_icon = true, + fluid_boxes = { + { + production_type = "input", + pipe_covers = pipecoverspictures(), + base_area = 1, + base_level = -1, + volume = 1000, + filter = "water", + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -13 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 13 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -13, 0 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 13, 0 } } }, + }, + }, + off_when_no_fluid_recipe = false, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge.png", + width = 1792, + height = 1856, + scale = 0.5, + frame_count = 1, + line_length = 1, + repeat_count = 8, + animation_speed = 1, + shift = {0, -0.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_shadow.png", + width = 256, + height = 1856, + scale = 0.5, + frame_count = 1, + line_length = 1, + repeat_count = 8, + animation_speed = 1, + shift = {14, -0.5}, + draw_as_shadow = true, + }, + }, + }, + + working_visualisations = { + { + constant_speed = true, + fadeout = true, + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = {-4.5, -4.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = {4.5, 4.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = {4.5, -4.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = {-4.5, 4.5}, + }, + }, + }, + }, + }, + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1.8 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.9 }, + apparent_volume = 2, + max_sounds_per_type = 3, + }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 16, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -96 * 60 }, -- Negative value: pollution is absorbed! + }, + energy_usage = "3200kW", + ingredient_count = 1, + -- 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 + }, + -- 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" }, + }, + ---- corpse + +{ + type = "corpse", + name = "bi-bio-garden-huge-remnant", + localised_name = {"entity-name.bi-bio-garden-huge-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-13.5, -13.5}, {13.5, 13.5}}, + tile_width = 27, + tile_height = 27, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_garden_huge_remnant.png", + line_length = 1, + width = 896, + height = 928, + frame_count = 1, + direction_count = 1, + shift = {0, -0.5}, + } + } +} + })