-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.lua
More file actions
34 lines (29 loc) · 1.08 KB
/
data.lua
File metadata and controls
34 lines (29 loc) · 1.08 KB
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
data:extend({
{
-- Hidden electric pole used for keeping track of a removed pole
type = "electric-pole",
name = "dummy-hidden-pole",
icon = "__base__/graphics/icons/small-electric-pole.png",
icon_size = 64,
-- Flags to keep it off-map and unselectable:
flags = {"placeable-off-grid", "not-on-map", "not-blueprintable"},
selectable_in_game = false,
minable = nil, -- so it can't be mined
max_health = 100,
corpse = "small-electric-pole-remnants",
-- No collision or selection box:
collision_box = {{0, 0}, {0, 0}},
selection_box = {{0, 0}, {0, 0}},
drawing_box = {{0, 0}, {0, 0}}, -- so there's no visible bounding
-- Don't want it distributing power or connecting wires automatically:
maximum_wire_distance = 0,
supply_area_distance = 0,
-- Needs at least one connection point, even if it won't be used:
connection_points = {
{
wire = { copper = {0, -0.5} },
shadow = { copper = {0, -0.5} }
}
},
}
})