From d4bb25d20149bb141255c5943fbb563af691e736 Mon Sep 17 00:00:00 2001 From: notnotmelon Date: Tue, 25 Jun 2024 11:28:52 -0500 Subject: [PATCH] Apply linting to big mines prototypes code. --- .../buildings/big-mines/aluminium-mine.lua | 208 +++++++++--------- .../buildings/big-mines/chromium-mine.lua | 94 ++++---- prototypes/buildings/big-mines/coal-mine.lua | 148 ++++++------- .../buildings/big-mines/copper-mine.lua | 104 ++++----- prototypes/buildings/big-mines/iron-mine.lua | 106 ++++----- prototypes/buildings/big-mines/lead-mine.lua | 88 ++++---- .../buildings/big-mines/nexelit-mine.lua | 172 +++++++-------- .../buildings/big-mines/nickel-mine.lua | 108 ++++----- .../buildings/big-mines/phosphate-mine-02.lua | 96 ++++---- .../buildings/big-mines/quartz-mine.lua | 98 ++++----- prototypes/buildings/big-mines/salt-mine.lua | 118 +++++----- prototypes/buildings/big-mines/tin-mine.lua | 110 ++++----- .../buildings/big-mines/titanium-mine.lua | 118 +++++----- .../buildings/big-mines/uranium-mine.lua | 92 ++++---- prototypes/buildings/big-mines/zinc-mine.lua | 90 ++++---- 15 files changed, 875 insertions(+), 875 deletions(-) diff --git a/prototypes/buildings/big-mines/aluminium-mine.lua b/prototypes/buildings/big-mines/aluminium-mine.lua index b20bc05f..57662d7d 100644 --- a/prototypes/buildings/big-mines/aluminium-mine.lua +++ b/prototypes/buildings/big-mines/aluminium-mine.lua @@ -1,52 +1,52 @@ RECIPE { - type = "recipe", - name = "aluminium-mine", + type = 'recipe', + name = 'aluminium-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"aramid", 40}, - {"aluminium-plate", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'aramid', 40}, + {'aluminium-plate', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"aluminium-mine", 1} + {'aluminium-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "aluminium-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-aluminium.png", - icon_size = 32, + type = 'item', + name = 'aluminium-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-aluminium.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "aluminium-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'aluminium-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "aluminium-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-aluminium.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "aluminium-mine"}, - fast_replaceable_group = "aluminium-mine", + type = 'mining-drill', + name = 'aluminium-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-aluminium.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'aluminium-mine'}, + fast_replaceable_group = 'aluminium-mine', max_health = 600, - resource_categories = {"aluminium-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'aluminium-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-9.3, -9.3}, {9.3, 9.3}}, selection_box = {{-9.5, -9.5}, {9.5, 9.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -55,77 +55,77 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, - smoke = - { + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, + smoke = { - name = "turbine-smoke", --top - north_position = {5.5, -15.5}, - east_position = {5.5, -15.5}, - west_position = {5.5, -15.5}, - south_position = {5.5, -15.5}, - frequency = 40, - starting_vertical_speed = 0.1, - slow_down_factor = 1, - starting_frame_deviation = 60 - }, - { - name = "smoke", --chamine direita - north_position = {8.33, -10}, - east_position = {8.33, -10}, - west_position = {8.33, -10}, - south_position = {8.33, -10}, - frequency = 90, - starting_vertical_speed = 0.15, - slow_down_factor = 1, - starting_frame_deviation = 60 - }, - { - name = "light-smoke", -- chamine esquerda topo - north_position = {-3, -10.9}, - east_position = {-3, -10.9}, - west_position = {-3, -10.9}, - south_position = {-3, -10.9}, - frequency = 40, - starting_vertical_speed = 0.00, - slow_down_factor = 1, - starting_frame_deviation = 60 - }, - { - name = "light-smoke", --chamine esquerda bot - north_position = {-5.2, -4.0}, - east_position = {-5.2, -4.0}, - west_position = {-5.2, -4.0}, - south_position = {-5.2, -4.0}, - frequency = 20, - starting_vertical_speed = 0.02, - slow_down_factor = 1, - starting_frame_deviation = 60 + { + name = 'turbine-smoke', --top + north_position = {5.5, -15.5}, + east_position = {5.5, -15.5}, + west_position = {5.5, -15.5}, + south_position = {5.5, -15.5}, + frequency = 40, + starting_vertical_speed = 0.1, + slow_down_factor = 1, + starting_frame_deviation = 60 + }, + { + name = 'smoke', --chamine direita + north_position = {8.33, -10}, + east_position = {8.33, -10}, + west_position = {8.33, -10}, + south_position = {8.33, -10}, + frequency = 90, + starting_vertical_speed = 0.15, + slow_down_factor = 1, + starting_frame_deviation = 60 + }, + { + name = 'light-smoke', -- chamine esquerda topo + north_position = {-3, -10.9}, + east_position = {-3, -10.9}, + west_position = {-3, -10.9}, + south_position = {-3, -10.9}, + frequency = 40, + starting_vertical_speed = 0.00, + slow_down_factor = 1, + starting_frame_deviation = 60 + }, + { + name = 'light-smoke', --chamine esquerda bot + north_position = {-5.2, -4.0}, + east_position = {-5.2, -4.0}, + west_position = {-5.2, -4.0}, + south_position = {-5.2, -4.0}, + frequency = 20, + starting_vertical_speed = 0.02, + slow_down_factor = 1, + starting_frame_deviation = 60 + }, }, - }, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -9.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["aluminium-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["aluminium-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['aluminium-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['aluminium-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/raw.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/raw.png', width = 672, height = 864, repeat_count = 50, @@ -135,7 +135,7 @@ ENTITY { shift = util.by_pixel(-0, -128) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/ao.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/ao.png', width = 672, height = 864, repeat_count = 50, @@ -145,7 +145,7 @@ ENTITY { shift = util.by_pixel(-0, -128) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/sh.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/sh.png', width = 704, height = 608, repeat_count = 50, @@ -156,7 +156,7 @@ ENTITY { shift = util.by_pixel(45, 32) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/r1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/r1.png', width = 128, height = 512, line_length = 16, @@ -165,7 +165,7 @@ ENTITY { shift = util.by_pixel(-240, 16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/r2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/r2.png', width = 128, height = 512, line_length = 16, @@ -174,7 +174,7 @@ ENTITY { shift = util.by_pixel(-112, 16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/r3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/r3.png', width = 128, height = 512, line_length = 16, @@ -183,7 +183,7 @@ ENTITY { shift = util.by_pixel(16, 16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/r4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/r4.png', width = 96, height = 512, line_length = 16, @@ -192,7 +192,7 @@ ENTITY { shift = util.by_pixel(128, 16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/a1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/a1.png', width = 128, height = 512, line_length = 16, @@ -201,7 +201,7 @@ ENTITY { shift = util.by_pixel(-240, 16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/a2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/a2.png', width = 128, height = 512, line_length = 16, @@ -210,7 +210,7 @@ ENTITY { shift = util.by_pixel(-112, 16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/a3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/a3.png', width = 128, height = 512, line_length = 16, @@ -219,7 +219,7 @@ ENTITY { shift = util.by_pixel(16, 16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/a4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/a4.png', width = 96, height = 512, line_length = 16, @@ -228,7 +228,7 @@ ENTITY { shift = util.by_pixel(128, 16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/smoke.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/smoke.png', width = 256, height = 288, line_length = 8, @@ -237,7 +237,7 @@ ENTITY { shift = util.by_pixel(-80, -96) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/sparkle.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/sparkle.png', width = 128, height = 160, line_length = 10, @@ -246,7 +246,7 @@ ENTITY { shift = util.by_pixel(-160, 208) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/pof.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/pof.png', width = 96, height = 64, line_length = 16, @@ -255,7 +255,7 @@ ENTITY { shift = util.by_pixel(128, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/l1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/l1.png', width = 128, height = 128, repeat_count = 50, @@ -266,7 +266,7 @@ ENTITY { shift = util.by_pixel(272, -144) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/l-bottom.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/l-bottom.png', width = 128, height = 128, repeat_count = 50, @@ -277,7 +277,7 @@ ENTITY { shift = util.by_pixel(-48, 208) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/l-top.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/aluminium-mine/l-top.png', width = 160, height = 128, repeat_count = 50, @@ -289,10 +289,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/aluminium-mine.ogg", volume = 1.0}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/aluminium-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/aluminium-mine.ogg', volume = 1.0}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/aluminium-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/chromium-mine.lua b/prototypes/buildings/big-mines/chromium-mine.lua index 56496db2..5026cca3 100644 --- a/prototypes/buildings/big-mines/chromium-mine.lua +++ b/prototypes/buildings/big-mines/chromium-mine.lua @@ -1,83 +1,83 @@ RECIPE { - type = "recipe", - name = "chromium-mine", + type = 'recipe', + name = 'chromium-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"chromium", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'chromium', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"chromium-mine", 1} + {'chromium-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "chromium-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-chromium.png", - icon_size = 32, + type = 'item', + name = 'chromium-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-chromium.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "chromium-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'chromium-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "chromium-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-chromium.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "chromium-mine"}, - fast_replaceable_group = "chromium-mine", + type = 'mining-drill', + name = 'chromium-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-chromium.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'chromium-mine'}, + fast_replaceable_group = 'chromium-mine', max_health = 600, - resource_categories = {"chromium-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'chromium-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-5.3, -5.3}, {5.3, 5.3}}, selection_box = {{-5.5, -5.5}, {5.5, 5.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, energy_source = { - type = "burner", - fuel_category = "drill", - effectivity = 0.4, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 0.4, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, light_flicker = { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_speed = 20, resource_searching_radius = 0.49, vector_to_place_result = {0, -5.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["chromium-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["chromium-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['chromium-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['chromium-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s1.png', width = 64, height = 384, line_length = 32, @@ -86,7 +86,7 @@ ENTITY { shift = util.by_pixel(-144, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s2.png', width = 64, height = 384, line_length = 32, @@ -95,7 +95,7 @@ ENTITY { shift = util.by_pixel(-80, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s3.png', width = 64, height = 384, line_length = 32, @@ -104,7 +104,7 @@ ENTITY { shift = util.by_pixel(-16, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s4.png', width = 64, height = 384, line_length = 32, @@ -113,7 +113,7 @@ ENTITY { shift = util.by_pixel(48, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s5.png', width = 64, height = 384, line_length = 32, @@ -122,7 +122,7 @@ ENTITY { shift = util.by_pixel(112, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/chromium-mine/s6.png', width = 64, height = 384, line_length = 32, @@ -132,10 +132,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/chromium-mine.ogg", volume = 1.4}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/chromium-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/chromium-mine.ogg', volume = 1.4}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/chromium-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/coal-mine.lua b/prototypes/buildings/big-mines/coal-mine.lua index 0a4b8c1a..92f6beb1 100644 --- a/prototypes/buildings/big-mines/coal-mine.lua +++ b/prototypes/buildings/big-mines/coal-mine.lua @@ -1,49 +1,49 @@ RECIPE { - type = "recipe", - name = "coal-mine", + type = 'recipe', + name = 'coal-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"aramid", 40}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'aramid', 40}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"coal-mine", 1} + {'coal-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "coal-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-coal.png", - icon_size = 32, + type = 'item', + name = 'coal-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-coal.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "coal-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'coal-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "coal-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-coal.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "coal-mine"}, - fast_replaceable_group = "coal-mine", + type = 'mining-drill', + name = 'coal-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-coal.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'coal-mine'}, + fast_replaceable_group = 'coal-mine', max_health = 600, - resource_categories = {"coal-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'coal-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-5.3, -5.3}, {5.3, 5.3}}, selection_box = {{-5.5, -5.5}, {5.5, 5.5}}, input_fluid_box = { - production_type = "input-output", + production_type = 'input-output', pipe_picture = _G.assembler2pipepictures(), pipe_covers = _G.pipecoverspictures(), base_area = 1, @@ -57,74 +57,74 @@ ENTITY { module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, - smoke = - { + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, + smoke = { - name = "smoke", - north_position = {1.0, -6.75}, - east_position = {1.0, -6.75}, - west_position = {1.0, -6.75}, - south_position = {1.0, -6.75}, - frequency = 90, - starting_vertical_speed = 0.08, - slow_down_factor = 1, - starting_frame_deviation = 60 + { + name = 'smoke', + north_position = {1.0, -6.75}, + east_position = {1.0, -6.75}, + west_position = {1.0, -6.75}, + south_position = {1.0, -6.75}, + frequency = 90, + starting_vertical_speed = 0.08, + slow_down_factor = 1, + starting_frame_deviation = 60 + }, }, - }, }, light_flicker = { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - energy_usage = "1000kW", + energy_usage = '1000kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -5.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12, }, - circuit_wire_connection_points = circuit_connector_definitions["coal-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["coal-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['coal-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['coal-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/coal-mine/h1.png", - priority = "high", - frame_count = 79, - line_length = 21, - width = 96, - height = 402, - animation_speed = 0.3, - shift = util.by_pixel(-128, -20) + filename = '__pyraworesgraphics__/graphics/entity/big-mines/coal-mine/h1.png', + priority = 'high', + frame_count = 79, + line_length = 21, + width = 96, + height = 402, + animation_speed = 0.3, + shift = util.by_pixel(-128, -20) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/coal-mine/h2.png", - priority = "high", - frame_count = 79, - line_length = 21, - width = 96, - height = 402, - animation_speed = 0.3, - shift = util.by_pixel(-32, -20) + filename = '__pyraworesgraphics__/graphics/entity/big-mines/coal-mine/h2.png', + priority = 'high', + frame_count = 79, + line_length = 21, + width = 96, + height = 402, + animation_speed = 0.3, + shift = util.by_pixel(-32, -20) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/coal-mine/h3.png", - priority = "high", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/coal-mine/h3.png', + priority = 'high', frame_count = 79, line_length = 21, width = 96, @@ -133,8 +133,8 @@ ENTITY { shift = util.by_pixel(64, -20) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/coal-mine/h4.png", - priority = "high", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/coal-mine/h4.png', + priority = 'high', frame_count = 79, line_length = 21, width = 64, @@ -144,10 +144,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/coal-mine.ogg", volume = 0.8}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/coal-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/coal-mine.ogg', volume = 0.8}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/coal-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/copper-mine.lua b/prototypes/buildings/big-mines/copper-mine.lua index 2a4e05d4..f0c34302 100644 --- a/prototypes/buildings/big-mines/copper-mine.lua +++ b/prototypes/buildings/big-mines/copper-mine.lua @@ -1,52 +1,52 @@ RECIPE { - type = "recipe", - name = "copper-mine", + type = 'recipe', + name = 'copper-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"aramid", 40}, - {"copper-plate", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'aramid', 40}, + {'copper-plate', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"copper-mine", 1} + {'copper-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "copper-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-copper.png", - icon_size = 32, + type = 'item', + name = 'copper-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-copper.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "copper-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'copper-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "copper-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-copper.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "copper-mine"}, - fast_replaceable_group = "copper-mine", + type = 'mining-drill', + name = 'copper-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-copper.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'copper-mine'}, + fast_replaceable_group = 'copper-mine', max_health = 600, - resource_categories = {"copper-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'copper-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-6.3, -6.3}, {6.3, 6.3}}, selection_box = {{-6.5, -6.5}, {6.5, 6.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -55,30 +55,30 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -6.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["copper-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["copper-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['copper-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['copper-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c1.png', width = 96, height = 448, line_length = 20, @@ -87,7 +87,7 @@ ENTITY { shift = util.by_pixel(-160, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c2.png', width = 96, height = 448, line_length = 20, @@ -96,7 +96,7 @@ ENTITY { shift = util.by_pixel(-64, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c3.png', width = 96, height = 448, line_length = 20, @@ -105,7 +105,7 @@ ENTITY { shift = util.by_pixel(32, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c4.png', width = 96, height = 448, line_length = 20, @@ -114,7 +114,7 @@ ENTITY { shift = util.by_pixel(128, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/c5.png', width = 32, height = 448, line_length = 20, @@ -123,7 +123,7 @@ ENTITY { shift = util.by_pixel(192, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s1.png', width = 96, height = 363, line_length = 20, @@ -133,7 +133,7 @@ ENTITY { shift = util.by_pixel(-136, 14) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s2.png', width = 96, height = 363, line_length = 20, @@ -143,7 +143,7 @@ ENTITY { shift = util.by_pixel(-40, 14) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s3.png', width = 96, height = 363, line_length = 20, @@ -153,7 +153,7 @@ ENTITY { shift = util.by_pixel(56, 14) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s4.png', width = 96, height = 363, line_length = 20, @@ -163,7 +163,7 @@ ENTITY { shift = util.by_pixel(152, 14) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/copper-mine/s5.png', width = 31, height = 363, line_length = 20, @@ -174,10 +174,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/copper-mine.ogg", volume = 1.3}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/copper-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/copper-mine.ogg', volume = 1.3}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/copper-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/iron-mine.lua b/prototypes/buildings/big-mines/iron-mine.lua index e83b5631..63c30261 100644 --- a/prototypes/buildings/big-mines/iron-mine.lua +++ b/prototypes/buildings/big-mines/iron-mine.lua @@ -1,52 +1,52 @@ RECIPE { - type = "recipe", - name = "iron-mine", + type = 'recipe', + name = 'iron-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"aramid", 40}, - {"iron-plate", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'aramid', 40}, + {'iron-plate', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"iron-mine", 1} + {'iron-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "iron-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-iron.png", - icon_size = 32, + type = 'item', + name = 'iron-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-iron.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "iron-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'iron-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "iron-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-iron.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "iron-mine"}, - fast_replaceable_group = "iron-mine", + type = 'mining-drill', + name = 'iron-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-iron.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'iron-mine'}, + fast_replaceable_group = 'iron-mine', max_health = 600, - resource_categories = {"iron-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'iron-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-6.3, -6.3}, {6.3, 6.3}}, selection_box = {{-6.5, -6.5}, {6.5, 6.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -55,30 +55,30 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -6.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["iron-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["iron-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['iron-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['iron-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/botleft.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/botleft.png', width = 128, height = 128, line_length = 16, @@ -87,7 +87,7 @@ ENTITY { shift = util.by_pixel(-144, 112) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/botmid.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/botmid.png', width = 128, height = 128, line_length = 16, @@ -96,7 +96,7 @@ ENTITY { shift = util.by_pixel(-16, 112) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/botright.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/botright.png', width = 128, height = 128, line_length = 16, @@ -105,7 +105,7 @@ ENTITY { shift = util.by_pixel(112, 112) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/midleft.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/midleft.png', width = 128, height = 128, line_length = 16, @@ -114,7 +114,7 @@ ENTITY { shift = util.by_pixel(-144, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/midmid.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/midmid.png', width = 128, height = 128, line_length = 16, @@ -123,7 +123,7 @@ ENTITY { shift = util.by_pixel(-16, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/midright.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/midright.png', width = 128, height = 128, line_length = 16, @@ -132,7 +132,7 @@ ENTITY { shift = util.by_pixel(112, -16) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/topleft.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/topleft.png', width = 128, height = 128, line_length = 16, @@ -141,7 +141,7 @@ ENTITY { shift = util.by_pixel(-144, -144) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/topmid.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/topmid.png', width = 128, height = 128, line_length = 16, @@ -150,7 +150,7 @@ ENTITY { shift = util.by_pixel(-16, -144) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/topright.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/topright.png', width = 128, height = 128, line_length = 16, @@ -159,7 +159,7 @@ ENTITY { shift = util.by_pixel(112, -144) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/botline.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/botline.png', width = 416, height = 32, line_length = 4, @@ -168,7 +168,7 @@ ENTITY { shift = util.by_pixel(0, 192) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/rightline.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/iron-mine/rightline.png', width = 32, height = 416, line_length = 64, @@ -178,10 +178,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/iron-mine.ogg", volume = 1.0}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/iron-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/iron-mine.ogg', volume = 1.0}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/iron-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/lead-mine.lua b/prototypes/buildings/big-mines/lead-mine.lua index 12b3132a..cf8db2be 100644 --- a/prototypes/buildings/big-mines/lead-mine.lua +++ b/prototypes/buildings/big-mines/lead-mine.lua @@ -1,51 +1,51 @@ RECIPE { - type = "recipe", - name = "lead-mine", + type = 'recipe', + name = 'lead-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"lead-plate", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'lead-plate', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"lead-mine", 1} + {'lead-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "lead-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-lead.png", - icon_size = 32, + type = 'item', + name = 'lead-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-lead.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "lead-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'lead-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "lead-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-lead.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "lead-mine"}, - fast_replaceable_group = "lead-mine", + type = 'mining-drill', + name = 'lead-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-lead.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'lead-mine'}, + fast_replaceable_group = 'lead-mine', max_health = 600, - resource_categories = {"lead-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'lead-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-5.3, -5.3}, {5.3, 5.3}}, selection_box = {{-5.5, -5.5}, {5.5, 5.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -54,30 +54,30 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -5.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["lead-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["lead-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['lead-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['lead-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/lead-mine/h1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/lead-mine/h1.png', width = 128, height = 384, line_length = 16, @@ -86,7 +86,7 @@ ENTITY { shift = util.by_pixel(-112, -10) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/lead-mine/h2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/lead-mine/h2.png', width = 128, height = 384, line_length = 16, @@ -95,7 +95,7 @@ ENTITY { shift = util.by_pixel(16, -10) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/lead-mine/h3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/lead-mine/h3.png', width = 101, height = 384, line_length = 16, @@ -105,10 +105,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/lead-mine.ogg", volume = 1.4}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/lead-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/lead-mine.ogg', volume = 1.4}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/lead-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/nexelit-mine.lua b/prototypes/buildings/big-mines/nexelit-mine.lua index 7dfda384..aef91cd2 100644 --- a/prototypes/buildings/big-mines/nexelit-mine.lua +++ b/prototypes/buildings/big-mines/nexelit-mine.lua @@ -1,50 +1,50 @@ RECIPE { - type = "recipe", - name = "nexelit-mine", + type = 'recipe', + name = 'nexelit-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"nexelit-mine", 1} + {'nexelit-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "nexelit-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-nexelit.png", - icon_size = 32, + type = 'item', + name = 'nexelit-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-nexelit.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "nexelit-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'nexelit-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "nexelit-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-nexelit.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "nexelit-mine"}, - fast_replaceable_group = "nexelit-mine", + type = 'mining-drill', + name = 'nexelit-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-nexelit.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'nexelit-mine'}, + fast_replaceable_group = 'nexelit-mine', max_health = 600, - resource_categories = {"nexelit-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'nexelit-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-5.3, -5.3}, {5.3, 5.3}}, selection_box = {{-5.5, -5.5}, {5.5, 5.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 8, energy_source = { @@ -53,66 +53,66 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, - smoke = - { + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, + smoke = { - name = "light-smoke", - north_position = {-4.0, -2.0}, - east_position = {-4.0, -2.0}, - west_position = {-4.0, -2.0}, - south_position = {-4.0, -2.0}, - frequency = 80, - starting_vertical_speed = 0.12, - slow_down_factor = 1, - starting_frame_deviation = 60 + { + name = 'light-smoke', + north_position = {-4.0, -2.0}, + east_position = {-4.0, -2.0}, + west_position = {-4.0, -2.0}, + south_position = {-4.0, -2.0}, + frequency = 80, + starting_vertical_speed = 0.12, + slow_down_factor = 1, + starting_frame_deviation = 60 + }, + { + name = 'smoke', + north_position = {4.5, -2.1}, + east_position = {4.5, -2.1}, + west_position = {4.5, -2.1}, + south_position = {4.5, -2.1}, + frequency = 40, + starting_vertical_speed = 0.08, + slow_down_factor = 1, + starting_frame_deviation = 60 + }, + { + name = 'turbine-smoke', + north_position = {-4.0, 1.5}, + east_position = {-4.0, 1.5}, + west_position = {-4.0, 1.5}, + south_position = {-4.0, 1.5}, + frequency = 3, + starting_vertical_speed = 0.03, + slow_down_factor = 3, + starting_frame_deviation = 60 + }, }, - { - name = "smoke", - north_position = {4.5, -2.1}, - east_position = {4.5, -2.1}, - west_position = {4.5, -2.1}, - south_position = {4.5, -2.1}, - frequency = 40, - starting_vertical_speed = 0.08, - slow_down_factor = 1, - starting_frame_deviation = 60 - }, - { - name = "turbine-smoke", - north_position = {-4.0, 1.5}, - east_position = {-4.0, 1.5}, - west_position = {-4.0, 1.5}, - south_position = {-4.0, 1.5}, - frequency = 3, - starting_vertical_speed = 0.03, - slow_down_factor = 3, - starting_frame_deviation = 60 - }, - }, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -5.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["nexelit-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["nexelit-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['nexelit-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['nexelit-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i1.png', width = 64, height = 352, line_length = 32, @@ -121,7 +121,7 @@ ENTITY { shift = util.by_pixel(-144, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i2.png', width = 64, height = 352, line_length = 32, @@ -130,7 +130,7 @@ ENTITY { shift = util.by_pixel(-80, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i3.png', width = 64, height = 352, line_length = 32, @@ -139,7 +139,7 @@ ENTITY { shift = util.by_pixel(-16, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i4.png', width = 64, height = 352, line_length = 32, @@ -148,7 +148,7 @@ ENTITY { shift = util.by_pixel(48, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i5.png', width = 64, height = 352, line_length = 32, @@ -157,7 +157,7 @@ ENTITY { shift = util.by_pixel(112, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/i6.png', width = 32, height = 352, line_length = 32, @@ -167,7 +167,7 @@ ENTITY { }, --SHADOWS { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh1.png', width = 64, height = 320, line_length = 32, @@ -177,7 +177,7 @@ ENTITY { shift = util.by_pixel(-134, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh2.png', width = 64, height = 320, line_length = 32, @@ -187,7 +187,7 @@ ENTITY { shift = util.by_pixel(-70, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh3.png', width = 64, height = 320, line_length = 32, @@ -197,7 +197,7 @@ ENTITY { shift = util.by_pixel(-6, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh4.png', width = 64, height = 320, line_length = 32, @@ -207,7 +207,7 @@ ENTITY { shift = util.by_pixel(58, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh5.png', width = 64, height = 320, line_length = 32, @@ -217,7 +217,7 @@ ENTITY { shift = util.by_pixel(122, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nexelit-mine/sh6.png', width = 59, height = 320, line_length = 32, @@ -228,10 +228,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/nexelit-mine.ogg", volume = 1.2}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/nexelit-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/nexelit-mine.ogg', volume = 1.2}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/nexelit-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/nickel-mine.lua b/prototypes/buildings/big-mines/nickel-mine.lua index 4328cf9b..f63f817c 100644 --- a/prototypes/buildings/big-mines/nickel-mine.lua +++ b/prototypes/buildings/big-mines/nickel-mine.lua @@ -1,51 +1,51 @@ RECIPE { - type = "recipe", - name = "nickel-mine", + type = 'recipe', + name = 'nickel-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"nickel-plate", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'nickel-plate', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"nickel-mine", 1} + {'nickel-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "nickel-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-nickel.png", - icon_size = 32, + type = 'item', + name = 'nickel-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-nickel.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "nickel-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'nickel-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "nickel-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-nickel.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "nickel-mine"}, - fast_replaceable_group = "nickel-mine", + type = 'mining-drill', + name = 'nickel-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-nickel.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'nickel-mine'}, + fast_replaceable_group = 'nickel-mine', max_health = 600, - resource_categories = {"nickel-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'nickel-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-6.3, -6.3}, {6.3, 6.3}}, selection_box = {{-6.5, -6.5}, {6.5, 6.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -54,30 +54,30 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -6.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["nickel-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["nickel-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['nickel-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['nickel-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a1.png', width = 32, height = 416, line_length = 64, @@ -86,7 +86,7 @@ ENTITY { shift = util.by_pixel(-192, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a2.png', width = 32, height = 416, line_length = 64, @@ -95,7 +95,7 @@ ENTITY { shift = util.by_pixel(-160, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a3.png', width = 32, height = 416, line_length = 64, @@ -104,7 +104,7 @@ ENTITY { shift = util.by_pixel(-128, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a4.png', width = 32, height = 416, line_length = 64, @@ -113,7 +113,7 @@ ENTITY { shift = util.by_pixel(-96, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a5.png', width = 32, height = 416, line_length = 64, @@ -122,7 +122,7 @@ ENTITY { shift = util.by_pixel(-64, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a6.png', width = 32, height = 416, line_length = 64, @@ -131,7 +131,7 @@ ENTITY { shift = util.by_pixel(-32, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a7.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a7.png', width = 32, height = 416, line_length = 64, @@ -140,7 +140,7 @@ ENTITY { shift = util.by_pixel(0, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a8.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a8.png', width = 32, height = 416, line_length = 64, @@ -149,7 +149,7 @@ ENTITY { shift = util.by_pixel(32, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a9.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a9.png', width = 32, height = 416, line_length = 64, @@ -158,7 +158,7 @@ ENTITY { shift = util.by_pixel(64, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a10.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a10.png', width = 32, height = 416, line_length = 64, @@ -167,7 +167,7 @@ ENTITY { shift = util.by_pixel(96, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a11.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a11.png', width = 32, height = 416, line_length = 64, @@ -176,7 +176,7 @@ ENTITY { shift = util.by_pixel(128, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a12.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a12.png', width = 32, height = 416, line_length = 64, @@ -185,7 +185,7 @@ ENTITY { shift = util.by_pixel(160, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a13.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/nickel-mine/a13.png', width = 32, height = 416, line_length = 64, @@ -195,10 +195,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/nickel-mine.ogg", volume = 1.5}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/nickel-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/nickel-mine.ogg', volume = 1.5}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/nickel-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/phosphate-mine-02.lua b/prototypes/buildings/big-mines/phosphate-mine-02.lua index 7d0162d5..3ce6dc3e 100644 --- a/prototypes/buildings/big-mines/phosphate-mine-02.lua +++ b/prototypes/buildings/big-mines/phosphate-mine-02.lua @@ -1,51 +1,51 @@ RECIPE { - type = "recipe", - name = "phosphate-mine-02", + type = 'recipe', + name = 'phosphate-mine-02', energy_required = 2, enabled = false, ingredients = { - {"phosphate-mine", 1}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"aramid", 40}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'phosphate-mine', 1}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'aramid', 40}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"phosphate-mine-02", 1} + {'phosphate-mine-02', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "phosphate-mine-02", - icon = "__pyraworesgraphics__/graphics/icons/mega-phosphate.png", - icon_size = 32, + type = 'item', + name = 'phosphate-mine-02', + icon = '__pyraworesgraphics__/graphics/icons/mega-phosphate.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "phosphate-mine-02", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'phosphate-mine-02', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "phosphate-mine-02", - icon = "__pyraworesgraphics__/graphics/icons/mega-phosphate.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "phosphate-mine-02"}, - fast_replaceable_group = "phosphate-mine-02", + type = 'mining-drill', + name = 'phosphate-mine-02', + icon = '__pyraworesgraphics__/graphics/icons/mega-phosphate.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'phosphate-mine-02'}, + fast_replaceable_group = 'phosphate-mine-02', max_health = 600, - resource_categories = {"phosphate-rock-02"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'phosphate-rock-02'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-6.3, -6.3}, {6.3, 6.3}}, selection_box = {{-6.5, -6.5}, {6.5, 6.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -54,30 +54,30 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -6.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["phosphate-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["phosphate-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['phosphate-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['phosphate-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i1.png', width = 64, height = 429, line_length = 32, @@ -86,7 +86,7 @@ ENTITY { shift = util.by_pixel(-178, 6) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i2.png', width = 64, height = 429, line_length = 32, @@ -95,7 +95,7 @@ ENTITY { shift = util.by_pixel(-114, 6) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i3.png', width = 64, height = 429, line_length = 32, @@ -104,7 +104,7 @@ ENTITY { shift = util.by_pixel(-50, 6) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i4.png', width = 64, height = 429, line_length = 32, @@ -113,7 +113,7 @@ ENTITY { shift = util.by_pixel(14, 6) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i5.png', width = 64, height = 429, line_length = 32, @@ -122,7 +122,7 @@ ENTITY { shift = util.by_pixel(78, 6) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i6.png', width = 64, height = 429, line_length = 32, @@ -131,7 +131,7 @@ ENTITY { shift = util.by_pixel(142, 6) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i7.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/phosphate-mine-02/i7.png', width = 32, height = 429, line_length = 32, @@ -141,10 +141,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/tin-mine.ogg", volume = 0.9}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/tin-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/tin-mine.ogg', volume = 0.9}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/tin-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/quartz-mine.lua b/prototypes/buildings/big-mines/quartz-mine.lua index e6c8fc98..142cdb2f 100644 --- a/prototypes/buildings/big-mines/quartz-mine.lua +++ b/prototypes/buildings/big-mines/quartz-mine.lua @@ -1,50 +1,50 @@ RECIPE { - type = "recipe", - name = "quartz-mine", + type = 'recipe', + name = 'quartz-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"aramid", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'aramid', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"quartz-mine", 1} + {'quartz-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "quartz-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-quartz.png", - icon_size = 32, + type = 'item', + name = 'quartz-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-quartz.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "quartz-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'quartz-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "quartz-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-quartz.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "quartz-mine"}, - fast_replaceable_group = "quartz-mine", + type = 'mining-drill', + name = 'quartz-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-quartz.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'quartz-mine'}, + fast_replaceable_group = 'quartz-mine', max_health = 600, - resource_categories = {"quartz-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'quartz-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-6.3, -6.3}, {6.3, 6.3}}, selection_box = {{-6.5, -6.5}, {6.5, 6.5}}, --match_animation_speed_to_activity = false, input_fluid_box = { - production_type = "input-output", + production_type = 'input-output', pipe_picture = _G.assembler2pipepictures(), pipe_covers = _G.pipecoverspictures(), base_area = 1, @@ -57,7 +57,7 @@ ENTITY { module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -66,30 +66,30 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -6.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["quartz-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["quartz-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['quartz-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['quartz-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h1.png', width = 64, height = 446, line_length = 25, @@ -98,7 +98,7 @@ ENTITY { shift = util.by_pixel(-177, -12) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h2.png', width = 64, height = 446, line_length = 25, @@ -107,7 +107,7 @@ ENTITY { shift = util.by_pixel(-113, -12) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h3.png', width = 64, height = 446, line_length = 25, @@ -116,7 +116,7 @@ ENTITY { shift = util.by_pixel(-49, -12) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h4.png', width = 64, height = 446, line_length = 25, @@ -125,7 +125,7 @@ ENTITY { shift = util.by_pixel(15, -12) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h5.png', width = 64, height = 446, line_length = 25, @@ -134,7 +134,7 @@ ENTITY { shift = util.by_pixel(79, -12) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h6.png', width = 64, height = 446, line_length = 25, @@ -143,7 +143,7 @@ ENTITY { shift = util.by_pixel(143, -12) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h7.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/quartz-mine/h7.png', width = 40, height = 446, line_length = 25, @@ -153,10 +153,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/quartz-mine.ogg", volume = 2.5}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/quartz-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/quartz-mine.ogg', volume = 2.5}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/quartz-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/salt-mine.lua b/prototypes/buildings/big-mines/salt-mine.lua index 2939dcf5..061b337e 100644 --- a/prototypes/buildings/big-mines/salt-mine.lua +++ b/prototypes/buildings/big-mines/salt-mine.lua @@ -1,98 +1,98 @@ RECIPE { - type = "recipe", - name = "salt-mine", + type = 'recipe', + name = 'salt-mine', energy_required = 2, enabled = false, ingredients = { - {"electric-mining-drill", 5}, - {"iron-plate", 60}, - {"jaw-crusher", 1}, - {"electronic-circuit", 40} + {'electric-mining-drill', 5}, + {'iron-plate', 60}, + {'jaw-crusher', 1}, + {'electronic-circuit', 40} }, results = { - {"salt-mine", 1} + {'salt-mine', 1} } -}:add_unlock("electrolysis") +}:add_unlock('electrolysis') ITEM { - type = "item", - name = "salt-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-salt.png", - icon_size = 32, + type = 'item', + name = 'salt-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-salt.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "salt-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'salt-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "salt-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-salt.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "salt-mine"}, - fast_replaceable_group = "salt-mine", + type = 'mining-drill', + name = 'salt-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-salt.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'salt-mine'}, + fast_replaceable_group = 'salt-mine', max_health = 600, - resource_categories = {"salt-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'salt-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-5.3, -5.3}, {5.3, 5.3}}, selection_box = {{-5.5, -5.5}, {5.5, 5.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 10, energy_source = { - type = "burner", - fuel_category = "jerry", - --fuel_categories = {"chemical", "biomass"}, - effectivity = 1, - fuel_inventory_size = 1, - burnt_inventory_size = 1, - emissions_per_minute = 0.06, - smoke = - { + type = 'burner', + fuel_category = 'jerry', + --fuel_categories = {"chemical", "biomass"}, + effectivity = 1, + fuel_inventory_size = 1, + burnt_inventory_size = 1, + emissions_per_minute = 0.06, + smoke = { - name = "smoke", - north_position = {2.48, -3.75}, - east_position = {2.48, -3.75}, - west_position = {2.48, -3.75}, - south_position = {2.48, -3.75}, - frequency = 90, - starting_vertical_speed = 0.09, - slow_down_factor = 1, - starting_frame_deviation = 60 + { + name = 'smoke', + north_position = {2.48, -3.75}, + east_position = {2.48, -3.75}, + west_position = {2.48, -3.75}, + south_position = {2.48, -3.75}, + frequency = 90, + starting_vertical_speed = 0.09, + slow_down_factor = 1, + starting_frame_deviation = 60 + }, }, - }, }, light_flicker = { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - energy_usage = "800kW", + energy_usage = '800kW', mining_power = 3, resource_searching_radius = 0.49, vector_to_place_result = {0, -5.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["salt-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["salt-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['salt-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['salt-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/i1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/i1.png', width = 96, height = 352, line_length = 20, @@ -101,7 +101,7 @@ ENTITY { shift = util.by_pixel(-129, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/i2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/i2.png', width = 96, height = 352, line_length = 20, @@ -110,7 +110,7 @@ ENTITY { shift = util.by_pixel(-33, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/i3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/i3.png', width = 96, height = 352, line_length = 20, @@ -119,7 +119,7 @@ ENTITY { shift = util.by_pixel(63, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/i4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/i4.png', width = 64, height = 352, line_length = 20, @@ -128,7 +128,7 @@ ENTITY { shift = util.by_pixel(143, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/is3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/is3.png', width = 96, height = 352, line_length = 20, @@ -138,7 +138,7 @@ ENTITY { shift = util.by_pixel(72, 13) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/is4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/salt-mine/is4.png', width = 64, height = 352, line_length = 20, @@ -150,10 +150,10 @@ ENTITY { } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/salt-mine.ogg", volume = 0.8}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/salt-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/salt-mine.ogg', volume = 0.8}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/salt-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/tin-mine.lua b/prototypes/buildings/big-mines/tin-mine.lua index ef91e825..fc438a60 100644 --- a/prototypes/buildings/big-mines/tin-mine.lua +++ b/prototypes/buildings/big-mines/tin-mine.lua @@ -1,51 +1,51 @@ RECIPE { - type = "recipe", - name = "tin-mine", + type = 'recipe', + name = 'tin-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"tin-plate", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'tin-plate', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"tin-mine", 1} + {'tin-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "tin-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-tin.png", - icon_size = 32, + type = 'item', + name = 'tin-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-tin.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "tin-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'tin-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "tin-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-tin.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "tin-mine"}, - fast_replaceable_group = "tin-mine", + type = 'mining-drill', + name = 'tin-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-tin.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'tin-mine'}, + fast_replaceable_group = 'tin-mine', max_health = 600, - resource_categories = {"tin-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'tin-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-6.3, -6.3}, {6.3, 6.3}}, selection_box = {{-6.5, -6.5}, {6.5, 6.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -54,30 +54,30 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -6.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["tin-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["tin-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['tin-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['tin-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/1.png', width = 64, height = 416, line_length = 32, @@ -86,7 +86,7 @@ ENTITY { shift = util.by_pixel(-176, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/2.png', width = 64, height = 416, line_length = 32, @@ -95,7 +95,7 @@ ENTITY { shift = util.by_pixel(-112, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/3.png', width = 64, height = 416, line_length = 32, @@ -104,7 +104,7 @@ ENTITY { shift = util.by_pixel(-48, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/4.png', width = 64, height = 416, line_length = 32, @@ -113,7 +113,7 @@ ENTITY { shift = util.by_pixel(16, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/5.png', width = 64, height = 416, line_length = 32, @@ -122,7 +122,7 @@ ENTITY { shift = util.by_pixel(80, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/6.png', width = 64, height = 416, line_length = 32, @@ -131,7 +131,7 @@ ENTITY { shift = util.by_pixel(144, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/7.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/7.png', width = 32, height = 416, line_length = 32, @@ -140,7 +140,7 @@ ENTITY { shift = util.by_pixel(176, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h1.png', width = 64, height = 416, line_length = 32, @@ -150,7 +150,7 @@ ENTITY { shift = util.by_pixel(-166, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h2.png', width = 64, height = 416, line_length = 32, @@ -160,7 +160,7 @@ ENTITY { shift = util.by_pixel(-102, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h3.png', width = 64, height = 416, line_length = 32, @@ -170,7 +170,7 @@ ENTITY { shift = util.by_pixel(-38, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h4.png', width = 64, height = 416, line_length = 32, @@ -180,7 +180,7 @@ ENTITY { shift = util.by_pixel(26, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h5.png', width = 64, height = 416, line_length = 32, @@ -190,7 +190,7 @@ ENTITY { shift = util.by_pixel(90, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h6.png', width = 64, height = 416, line_length = 32, @@ -200,7 +200,7 @@ ENTITY { shift = util.by_pixel(154, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h7.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/tin-mine/h7.png', width = 32, height = 416, line_length = 32, @@ -211,10 +211,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/tin-mine.ogg", volume = 1.1}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/tin-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/tin-mine.ogg', volume = 1.1}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/tin-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/titanium-mine.lua b/prototypes/buildings/big-mines/titanium-mine.lua index a9cb629e..1bd315c3 100644 --- a/prototypes/buildings/big-mines/titanium-mine.lua +++ b/prototypes/buildings/big-mines/titanium-mine.lua @@ -1,51 +1,51 @@ RECIPE { - type = "recipe", - name = "titanium-mine", + type = 'recipe', + name = 'titanium-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"titanium-plate", 50}, - {"advanced-circuit", 30} + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'titanium-plate', 50}, + {'advanced-circuit', 30} }, results = { - {"titanium-mine", 1} + {'titanium-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "titanium-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-titanium.png", - icon_size = 32, + type = 'item', + name = 'titanium-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-titanium.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "titanium-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'titanium-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "titanium-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-titanium.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "titanium-mine"}, - fast_replaceable_group = "titanium-mine", + type = 'mining-drill', + name = 'titanium-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-titanium.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'titanium-mine'}, + fast_replaceable_group = 'titanium-mine', max_health = 600, - resource_categories = {"titanium-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'titanium-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-11.3, -11.3}, {11.3, 11.3}}, selection_box = {{-11.5, -11.5}, {11.5, 11.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -54,31 +54,31 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -11.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["titanium-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["titanium-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['titanium-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['titanium-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/cover.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/cover.png', width = 736, height = 672, frame_count = 1, @@ -88,7 +88,7 @@ ENTITY { shift = util.by_pixel(-0, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/1.png', width = 32, height = 480, line_length = 64, @@ -97,7 +97,7 @@ ENTITY { shift = util.by_pixel(-224, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/2.png', width = 32, height = 480, line_length = 64, @@ -106,7 +106,7 @@ ENTITY { shift = util.by_pixel(-192, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/3.png', width = 32, height = 480, line_length = 64, @@ -115,7 +115,7 @@ ENTITY { shift = util.by_pixel(-160, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/4.png', width = 32, height = 480, line_length = 64, @@ -124,7 +124,7 @@ ENTITY { shift = util.by_pixel(-128, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/5.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/5.png', width = 32, height = 480, line_length = 64, @@ -133,7 +133,7 @@ ENTITY { shift = util.by_pixel(-96, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/6.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/6.png', width = 32, height = 480, line_length = 64, @@ -142,7 +142,7 @@ ENTITY { shift = util.by_pixel(-64, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/7.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/7.png', width = 32, height = 480, line_length = 64, @@ -151,7 +151,7 @@ ENTITY { shift = util.by_pixel(-32, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/8.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/8.png', width = 32, height = 480, line_length = 64, @@ -160,7 +160,7 @@ ENTITY { shift = util.by_pixel(0, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/9.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/9.png', width = 32, height = 480, line_length = 64, @@ -169,7 +169,7 @@ ENTITY { shift = util.by_pixel(32, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/10.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/10.png', width = 32, height = 480, line_length = 64, @@ -178,7 +178,7 @@ ENTITY { shift = util.by_pixel(64, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/11.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/11.png', width = 32, height = 480, line_length = 64, @@ -187,7 +187,7 @@ ENTITY { shift = util.by_pixel(96, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/12.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/12.png', width = 32, height = 480, line_length = 64, @@ -196,7 +196,7 @@ ENTITY { shift = util.by_pixel(128, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/13.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/13.png', width = 32, height = 480, line_length = 64, @@ -205,7 +205,7 @@ ENTITY { shift = util.by_pixel(160, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/14.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/14.png', width = 32, height = 480, line_length = 64, @@ -214,7 +214,7 @@ ENTITY { shift = util.by_pixel(192, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/15.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/15.png', width = 32, height = 480, line_length = 64, @@ -223,7 +223,7 @@ ENTITY { shift = util.by_pixel(224, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/16.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/16.png', width = 32, height = 480, line_length = 64, @@ -232,7 +232,7 @@ ENTITY { shift = util.by_pixel(256, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/17.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/titanium-mine/17.png', width = 32, height = 480, line_length = 64, @@ -242,10 +242,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/titanium-mine.ogg", volume = 1.5}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/titanium-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/titanium-mine.ogg', volume = 1.5}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/titanium-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/uranium-mine.lua b/prototypes/buildings/big-mines/uranium-mine.lua index 3a4cdfeb..5a001c7f 100644 --- a/prototypes/buildings/big-mines/uranium-mine.lua +++ b/prototypes/buildings/big-mines/uranium-mine.lua @@ -1,49 +1,49 @@ RECIPE { - type = "recipe", - name = "uranium-mine", + type = 'recipe', + name = 'uranium-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"aramid", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'aramid', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"uranium-mine", 1} + {'uranium-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "uranium-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-uranium.png", - icon_size = 32, + type = 'item', + name = 'uranium-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-uranium.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "uranium-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'uranium-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "uranium-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-uranium.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "uranium-mine"}, - fast_replaceable_group = "uranium-mine", + type = 'mining-drill', + name = 'uranium-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-uranium.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'uranium-mine'}, + fast_replaceable_group = 'uranium-mine', max_health = 600, - resource_categories = {"uranium-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'uranium-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-5.3, -5.3}, {5.3, 5.3}}, selection_box = {{-5.5, -5.5}, {5.5, 5.5}}, input_fluid_box = { - production_type = "input-output", + production_type = 'input-output', pipe_picture = _G.assembler2pipepictures(), pipe_covers = _G.pipecoverspictures(), base_area = 1, @@ -56,7 +56,7 @@ ENTITY { module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 15, energy_source = { @@ -65,31 +65,31 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -5.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["uranium-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["uranium-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['uranium-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['uranium-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/uranium-mine/left.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/uranium-mine/left.png', width = 192, height = 399, line_length = 10, @@ -98,7 +98,7 @@ ENTITY { shift = util.by_pixel(-80, -22) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/uranium-mine/right.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/uranium-mine/right.png', width = 160, height = 399, line_length = 10, @@ -108,7 +108,7 @@ ENTITY { }, --SHADOWS { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/uranium-mine/shadow-left.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/uranium-mine/shadow-left.png', width = 192, height = 373, line_length = 10, @@ -118,7 +118,7 @@ ENTITY { shift = util.by_pixel(-80, -4) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/uranium-mine/shadow-right.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/uranium-mine/shadow-right.png', width = 191, height = 373, line_length = 10, @@ -129,10 +129,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/uranium-mine.ogg", volume = 1}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/uranium-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/uranium-mine.ogg', volume = 1}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/uranium-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } } diff --git a/prototypes/buildings/big-mines/zinc-mine.lua b/prototypes/buildings/big-mines/zinc-mine.lua index c58ba4d7..05fb80e1 100644 --- a/prototypes/buildings/big-mines/zinc-mine.lua +++ b/prototypes/buildings/big-mines/zinc-mine.lua @@ -1,51 +1,51 @@ RECIPE { - type = "recipe", - name = "zinc-mine", + type = 'recipe', + name = 'zinc-mine', energy_required = 2, enabled = false, ingredients = { - {"automated-factory-mk01", 2}, - {"electric-mining-drill", 20}, - {"stainless-steel", 50}, - {"nexelit-plate", 50}, - {"zinc-plate", 50}, - {"advanced-circuit", 30} --add mo plates, vanadium + {'automated-factory-mk01', 2}, + {'electric-mining-drill', 20}, + {'stainless-steel', 50}, + {'nexelit-plate', 50}, + {'zinc-plate', 50}, + {'advanced-circuit', 30} --add mo plates, vanadium }, results = { - {"zinc-mine", 1} + {'zinc-mine', 1} } -}:add_unlock("big-mines") +}:add_unlock('big-mines') ITEM { - type = "item", - name = "zinc-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-zinc.png", - icon_size = 32, + type = 'item', + name = 'zinc-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-zinc.png', + icon_size = 32, flags = {}, - subgroup = "py-rawores-mines", - order = "a", - place_result = "zinc-mine", + subgroup = 'py-rawores-mines', + order = 'a', + place_result = 'zinc-mine', stack_size = 10 } ENTITY { - type = "mining-drill", - name = "zinc-mine", - icon = "__pyraworesgraphics__/graphics/icons/mega-zinc.png", - icon_size = 32, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "zinc-mine"}, - fast_replaceable_group = "zinc-mine", + type = 'mining-drill', + name = 'zinc-mine', + icon = '__pyraworesgraphics__/graphics/icons/mega-zinc.png', + icon_size = 32, + flags = {'placeable-neutral', 'player-creation'}, + minable = {mining_time = 1, result = 'zinc-mine'}, + fast_replaceable_group = 'zinc-mine', max_health = 600, - resource_categories = {"zinc-rock"}, - corpse = "big-remnants", - dying_explosion = "medium-explosion", + resource_categories = {'zinc-rock'}, + corpse = 'big-remnants', + dying_explosion = 'medium-explosion', collision_box = {{-5.3, -5.3}, {5.3, 5.3}}, selection_box = {{-5.5, -5.5}, {5.5, 5.5}}, module_specification = { module_slots = 1 }, - allowed_effects = {"consumption", "speed", "productivity"}, + allowed_effects = {'consumption', 'speed', 'productivity'}, mining_speed = 20, energy_source = { @@ -54,31 +54,31 @@ ENTITY { minimum_intensity = 0, maximum_intensity = 0, light_intensity_to_size_coefficient = 0, - color = {0,0,0}, + color = {0, 0, 0}, }, - type = "burner", - fuel_category = "drill", - effectivity = 1, - fuel_inventory_size = 1, - emissions_per_minute = 0.06, + type = 'burner', + fuel_category = 'drill', + effectivity = 1, + fuel_inventory_size = 1, + emissions_per_minute = 0.06, }, - energy_usage = "2500kW", + energy_usage = '2500kW', mining_power = 6, resource_searching_radius = 0.49, vector_to_place_result = {0, -5.65}, radius_visualisation_picture = { - filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png", + filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png', width = 12, height = 12 }, - circuit_wire_connection_points = circuit_connector_definitions["zinc-mine"].points, - circuit_connector_sprites = circuit_connector_definitions["zinc-mine"].sprites, + circuit_wire_connection_points = circuit_connector_definitions['zinc-mine'].points, + circuit_connector_sprites = circuit_connector_definitions['zinc-mine'].sprites, circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/zinc-mine/i1.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/zinc-mine/i1.png', width = 96, height = 352, line_length = 21, @@ -87,7 +87,7 @@ ENTITY { shift = util.by_pixel(-128, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/zinc-mine/i2.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/zinc-mine/i2.png', width = 96, height = 352, line_length = 21, @@ -96,7 +96,7 @@ ENTITY { shift = util.by_pixel(-32, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/zinc-mine/i3.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/zinc-mine/i3.png', width = 96, height = 352, line_length = 21, @@ -105,7 +105,7 @@ ENTITY { shift = util.by_pixel(64, 0) }, { - filename = "__pyraworesgraphics__/graphics/entity/big-mines/zinc-mine/i4.png", + filename = '__pyraworesgraphics__/graphics/entity/big-mines/zinc-mine/i4.png', width = 69, height = 352, line_length = 21, @@ -115,10 +115,10 @@ ENTITY { }, } }, - vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65}, + vehicle_impact_sound = {filename = '__base__/sound/car-metal-impact.ogg', volume = 0.65}, working_sound = { - sound = {filename = "__pyraworesgraphics__/sounds/zinc-mine.ogg", volume = 1.0}, - idle_sound = {filename = "__pyraworesgraphics__/sounds/zinc-mine.ogg", volume = 0.3}, + sound = {filename = '__pyraworesgraphics__/sounds/zinc-mine.ogg', volume = 1.0}, + idle_sound = {filename = '__pyraworesgraphics__/sounds/zinc-mine.ogg', volume = 0.3}, apparent_volume = 2.5 } }