forked from credomane/FactorioMods_FactorioMaps
-
Notifications
You must be signed in to change notification settings - Fork 2
/
data-final-fixes.lua
148 lines (144 loc) · 4.35 KB
/
data-final-fixes.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
data.raw["utility-sprites"].default["ammo_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["danger_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["destroyed_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["electricity_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["electricity_icon_unplugged"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["fluid_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["fuel_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["no_building_material_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["no_storage_space_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["not_enough_construction_robots_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["not_enough_repair_packs_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["recharge_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["too_far_from_roboport_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["utility-sprites"].default["warning_icon"]["filename"] = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data.raw["item-request-proxy"]["item-request-proxy"].picture.filename = "__L0laapk3_FactorioMaps__/graphics/empty64.png"
data:extend({
{
type = "electric-pole",
name = "fakepoleforlamps",
order = "fakepoleforlamps",
icon = "__L0laapk3_FactorioMaps__/graphics/empty64.png",
icon_size = 64,
flags = {"placeable-neutral", "player-creation", "placeable-off-grid", "not-on-map"},
minable = {hardness = 0.2, mining_time = 0.5, result = "small-lamp"},
max_health = 150,
corpse = "medium-remnants",
resistances =
{
{
type = "fire",
percent = 100
}
},
collision_box = {{-0.2, -0.2}, {0.2, 0.2}},
selection_box = {{-0.4, -0.4}, {0.4, 0.4}},
selectable_in_game = false,
--drawing_box = {{-0.0,-0.0}, {0.0,0.0}},
maximum_wire_distance = 0,
supply_area_distance = 0.5,
pictures =
{
filename = "__L0laapk3_FactorioMaps__/graphics/empty64.png",
priority = "extra-high",
width = 12,
height = 12,
axially_symmetrical = false,
direction_count = 4,
shift = {0, 0}
},
connection_points =
{
{
shadow =
{
copper = {2.7, 0},
green = {1.8, 0},
red = {3.6, 0}
},
wire =
{
copper = {0, -3.1},
green = {-0.6,-3.1},
red = {0.6,-3.1}
}
},
{
shadow =
{
copper = {3.1, 0.2},
green = {2.3, -0.3},
red = {3.8, 0.6}
},
wire =
{
copper = {-0.08, -3.15},
green = {-0.55, -3.5},
red = {0.3, -2.87}
}
},
{
shadow =
{
copper = {2.9, 0.06},
green = {3.0, -0.6},
red = {3.0, 0.8}
},
wire =
{
copper = {-0.1, -3.1},
green = {-0.1, -3.55},
red = {-0.1, -2.8}
}
},
{
shadow =
{
copper = {3.1, 0.2},
green = {3.8, -0.3},
red = {2.35, 0.6}
},
wire =
{
copper = {0, -3.25},
green = {0.45, -3.55},
red = {-0.54, -3.0}
}
}
},
copper_wire_picture =
{
filename = "__base__/graphics/entity/small-electric-pole/copper-wire.png",
priority = "extra-high-no-scale",
width = 224,
height = 46
},
green_wire_picture =
{
filename = "__base__/graphics/entity/small-electric-pole/green-wire.png",
priority = "extra-high-no-scale",
width = 224,
height = 46
},
radius_visualisation_picture =
{
filename = "__L0laapk3_FactorioMaps__/graphics/empty64.png",
width = 12,
height = 12
},
red_wire_picture =
{
filename = "__base__/graphics/entity/small-electric-pole/red-wire.png",
priority = "extra-high-no-scale",
width = 224,
height = 46
},
wire_shadow_picture =
{
filename = "__base__/graphics/entity/small-electric-pole/wire-shadow.png",
priority = "extra-high-no-scale",
width = 224,
height = 46
}
},
})