-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdata.lua
More file actions
113 lines (98 loc) · 2.44 KB
/
data.lua
File metadata and controls
113 lines (98 loc) · 2.44 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
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
data:extend({
-- graphics for four corners
{
type = 'simple-entity-with-owner',
name = 'top-left-radar-grid-guide',
order = 'z[top-left-radarguide]',
flags = {"not-blueprintable", "not-deconstructable"},
render_layer = "explosion",
map_color = {r=1, g=1, b=1, a=0.8},
selectable_in_game = false,
mined_sound = nil,
minable = nil,
collision_box = nil,
selection_box = nil,
collision_mask = {},
pictures =
{
filename = "__RadarGridGuide__/graphics/top-left.png",
priority = "extra-high",
width = 64,
height = 64,
shift = {1,1},
},
},
{
type = 'simple-entity-with-owner',
name = 'top-right-radar-grid-guide',
order = 'z[top-right-radarguide]',
flags = {"not-blueprintable", "not-deconstructable"},
render_layer = "explosion",
map_color = {r=1, g=1, b=1, a=0.8},
selectable_in_game = false,
mined_sound = nil,
minable = nil,
collision_box = nil,
selection_box = nil,
collision_mask = {},
pictures =
{
filename = "__RadarGridGuide__/graphics/top-right.png",
priority = "extra-high",
width = 64,
height = 64,
shift = {-1,1},
},
},
{
type = 'simple-entity-with-owner',
name = 'bottom-left-radar-grid-guide',
order = 'z[bottom-left-radarguide]',
flags = {"not-blueprintable", "not-deconstructable"},
render_layer = "explosion",
map_color = {r=1, g=1, b=1, a=0.8},
selectable_in_game = false,
mined_sound = nil,
minable = nil,
collision_box = nil,
selection_box = nil,
collision_mask = {},
pictures =
{
filename = "__RadarGridGuide__/graphics/bottom-left.png",
priority = "extra-high",
width = 64,
height = 64,
shift = {1,-1},
},
},
{
type = 'simple-entity-with-owner',
name = 'bottom-right-radar-grid-guide',
order = 'z[bottom-right-radarguide]',
flags = {"not-blueprintable", "not-deconstructable"},
render_layer = "explosion",
map_color = {r=1, g=1, b=1, a=0.8},
selectable_in_game = false,
mined_sound = nil,
minable = nil,
collision_box = nil,
selection_box = nil,
collision_mask = {},
pictures =
{
filename = "__RadarGridGuide__/graphics/bottom-right.png",
priority = "extra-high",
width = 64,
height = 64,
shift = {-1,-1},
},
},
-- hotkey to toggle mode
{
type = "custom-input",
name = "radar-grid-guide-hotkey",
key_sequence = "CONTROL + G",
consuming = "script-only",
},
})