summaryrefslogtreecommitdiff
path: root/infrastructure/nodes_extension.lua
blob: efa802db433ea92c436def5f33ec4f41d0c78fd4 (plain)
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
-- **************************************************************************************************** MATERIALS

-- Galvanized steel stair, slab, panel and microblock
	stairsplus:register_all(
		"infrastructure",
		"galvanized_steel",
		"infrastructure:galvanized_steel",
		{
			groups = {not_in_creative_inventory=1, cracky=2},
			tiles = { "infrastructure_galvanized_steel.png" },
			description = "Galvanized steel",
		}
	)

-- **************************************************************************************************** CENTER LINES

-- Asphalt stair, slab, panel and microblock with center solid line
	stairsplus:register_all(
		"infrastructure",
		"asphalt_center_solid_line",
		"infrastructure:asphalt_center_solid_line",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^infrastructure_single_yellow_line.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png"
			},
			description = "Asphalt with center solid line",
		}
	)

-- Asphalt stair, slab, panel and microblock with center solid line on one side
	stairsplus:register_all(
		"infrastructure",
		"asphalt_center_solid_one_side",
		"infrastructure:asphalt_center_solid_one_side",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^infrastructure_solid_yellow_line_one_side.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png"
			},
			description = "Asphalt with center solid line on one side",
		}
	)

-- Asphalt stair, slab, panel and microblock with center solid double line
	stairsplus:register_all(
		"infrastructure",
		"asphalt_center_solid_double",
		"infrastructure:asphalt_center_solid_double",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^infrastructure_double_yellow_line.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png"
			},
			description = "Asphalt with center solid double line",
		}
	)

-- Asphalt block with center corner single line
	stairsplus:register_all(
		"infrastructure",
		"asphalt_center_corner_single",
		"infrastructure:asphalt_center_corner_single",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^infrastructure_single_yellow_line_corner.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png"
			},
			description = "Asphalt with center corner single line",
		}
	)

-- Asphalt block with center corner double line
	stairsplus:register_all(
		"infrastructure",
		"asphalt_center_corner_double",
		"infrastructure:asphalt_center_corner_double",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^infrastructure_solid_double_yellow_line_corner.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png",
				"streets_asphalt.png"
			},
			description = "Asphalt with center corner double line",
		}
	)

-- **************************************************************************************************** TRAFFIC MARKS

-- Asphalt stair, slab, panel and microblock with arrow straight
	stairsplus:register_all(
		"infrastructure",
		"asphalt_arrow_straight",
		"infrastructure:asphalt_arrow_straight",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_arrow_straight.png",
				"infrastructure_asphalt.png"
			},
			description = "Asphalt with arrow straight",
		}
	)

-- Asphalt stair, slab, panel and microblock with arrow straight + left
	stairsplus:register_all(
		"infrastructure",
		"asphalt_arrow_straight_left",
		"infrastructure:asphalt_arrow_straight_left",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^streets_arrow_straight_left.png",
				"infrastructure_asphalt.png"
			},
			description = "Asphalt with arrow straight + left",
		}
	)

-- Asphalt stair, slab, panel and microblock with arrow straight + right
	stairsplus:register_all(
		"infrastructure",
		"asphalt_arrow_straight_right",
		"infrastructure:asphalt_arrow_straight_right",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^streets_arrow_straight_right.png",
				"infrastructure_asphalt.png"
			},
			description = "Asphalt with arrow straight + right",
		}
	)

-- Asphalt stair, slab, panel and microblock with arrow left
	stairsplus:register_all(
		"infrastructure",
		"asphalt_arrow_left",
		"infrastructure:asphalt_arrow_left",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^streets_arrow_left.png",
				"infrastructure_asphalt.png"
			},
			description = "Asphalt with arrow left",
		}
	)

-- Asphalt stair, slab, panel and microblock with arrow right
	stairsplus:register_all(
		"infrastructure",
		"asphalt_arrow_right",
		"infrastructure:asphalt_arrow_right",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^streets_arrow_right.png",
				"infrastructure_asphalt.png"
			},
			description = "Asphalt with arrow right",
		}
	)

-- Asphalt stair, slab, panel and microblock with "P"-sign
	stairsplus:register_all(
		"infrastructure",
		"asphalt_parking",
		"infrastructure:asphalt_parking",
		{
			groups = {not_in_creative_inventory=1, cracky=1},
			tiles = {
				"streets_asphalt.png^streets_parking.png",
				"infrastructure_asphalt.png"
			},
			description = "Asphalt with a parking sign",
		}
	)