Skip to content

Commit

Permalink
Apply linting to big mines prototypes code.
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jun 25, 2024
1 parent 9a58634 commit d4bb25d
Show file tree
Hide file tree
Showing 15 changed files with 875 additions and 875 deletions.
208 changes: 104 additions & 104 deletions prototypes/buildings/big-mines/aluminium-mine.lua
Original file line number Diff line number Diff line change
@@ -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 =
{
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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
}
}
Loading

0 comments on commit d4bb25d

Please sign in to comment.