-
Notifications
You must be signed in to change notification settings - Fork 18
/
aluminium.lua
70 lines (67 loc) · 2.04 KB
/
aluminium.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
local resource_autoplace = require 'resource-autoplace'
data:extend{{
type = "autoplace-control",
category = "resource",
name = "ore-aluminium",
richness = true,
order = "p-alum"
}}
data:extend{{
type = "noise-layer",
name = "ore-aluminium"
}}
ENTITY {
type = "resource",
name = "ore-aluminium",
--category = "ore-aluminium",
icon = "__pyraworesgraphics__/graphics/icons/ore-aluminium.png",
icon_size = 32,
flags = {"placeable-neutral"},
order = "a-b-a",
map_color = {r = 1, g = 0.709, b = 0.286},
minable = {
-- mining_particle = "aluminium-ore-particle",
mining_time = 1,
results = {
{"ore-aluminium", 1}
},
fluid_amount = 100,
required_fluid = "coal-gas"
},
collision_box = {{-0.1, -0.1}, {0.1, 0.1}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
tree_removal_probability = 0.7,
tree_removal_max_distance = 32 * 32,
autoplace = resource_autoplace.resource_autoplace_settings {
name = "ore-aluminium",
order = "b",
base_density = 10,
base_spots_per_km2 = 1.25,
has_starting_area_placement = true,
random_spot_size_minimum = 2,
random_spot_size_maximum = 4,
regular_rq_factor_multiplier = 1,
starting_rq_factor_multiplier = 2,
candidate_spot_count = 20
},
stage_counts = {20000, 13000, 10000, 5000, 3000, 1000, 500, 100},
stages = {
sheet = {
filename = "__pyraworesgraphics__/graphics/entity/ores/aluminium/aluminium.png",
priority = "extra-high",
width = 64,
height = 64,
frame_count = 8,
variation_count = 8,
hr_version = {
filename = "__pyraworesgraphics__/graphics/entity/ores/aluminium/hr-aluminium.png",
priority = "extra-high",
width = 128,
height = 128,
frame_count = 8,
variation_count = 8,
scale = 0.5
}
}
}
}