author | unC0Rr |
Sun, 02 Feb 2025 17:47:54 +0100 | |
changeset 16108 | 65c017453e83 |
parent 16107 | e12d9a4d0e04 |
child 16109 | 2fc37552b587 |
permissions | -rw-r--r-- |
16094 | 1 |
# Templates for wavefront collapse map generator in hedgewars |
2 |
||
3 |
################ TILES ################ |
|
4 |
# round120 tiles |
|
5 |
[[tiles.round120]] |
|
6 |
name = "120_filled.png" |
|
7 |
edges = [ "f", "f", "f", "f" ] |
|
8 |
is_negative = true |
|
9 |
||
10 |
[[tiles.round120]] |
|
11 |
name = "120_bar.png" |
|
12 |
edges = [ "f", "fe", "e", "ef" ] |
|
13 |
is_negative = true |
|
14 |
can_rotate90 = true |
|
15 |
can_rotate180 = true |
|
16 |
can_rotate270 = true |
|
17 |
||
18 |
[[tiles.round120]] |
|
19 |
name = "120_filled.png" |
|
20 |
edges = [ "e", "e", "e", "e" ] |
|
21 |
is_negative = false |
|
22 |
||
23 |
[[tiles.round120]] |
|
24 |
name = "120_corner.png" |
|
25 |
edges = [ "fe", "e", "e", "ef" ] |
|
26 |
is_negative = true |
|
27 |
can_rotate90 = true |
|
28 |
can_rotate180 = true |
|
29 |
can_rotate270 = true |
|
30 |
||
31 |
[[tiles.round120]] |
|
32 |
name = "120_corner.png" |
|
33 |
edges = [ "ef", "f", "f", "fe" ] |
|
34 |
is_negative = false |
|
35 |
can_rotate90 = true |
|
36 |
can_rotate180 = true |
|
37 |
can_rotate270 = true |
|
38 |
||
39 |
[[tiles.round120]] |
|
40 |
name = "120_two_corners.png" |
|
41 |
edges = [ "fe", "ef", "fe", "ef" ] |
|
42 |
is_negative = true |
|
43 |
can_mirror = true |
|
44 |
can_flip = false |
|
45 |
||
46 |
# Rooms tiles |
|
47 |
[[tiles.Rooms]] |
|
48 |
name = "bend_120.png" |
|
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
49 |
edges = [ "fee", "eef", "f", "f" ] |
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
50 |
is_negative = true |
16094 | 51 |
can_rotate90 = true |
52 |
can_rotate180 = true |
|
53 |
can_rotate270 = true |
|
54 |
||
55 |
[[tiles.Rooms]] |
|
56 |
name = "corner_120.png" |
|
57 |
edges = [ "eef", "fee", "e", "e" ] |
|
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
58 |
is_negative = true |
16094 | 59 |
can_rotate90 = true |
60 |
can_rotate180 = true |
|
61 |
can_rotate270 = true |
|
62 |
||
63 |
[[tiles.Rooms]] |
|
64 |
name = "corridor_120.png" |
|
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
65 |
edges = [ "efe", "e", "efe", "e" ] |
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
66 |
is_negative = true |
16094 | 67 |
can_rotate90 = true |
68 |
can_rotate180 = false |
|
69 |
can_rotate270 = false |
|
70 |
||
71 |
[[tiles.Rooms]] |
|
72 |
name = "door_120.png" |
|
73 |
edges = [ "f", "fee", "efe", "eef" ] |
|
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
74 |
is_negative = true |
16094 | 75 |
can_rotate90 = true |
76 |
can_rotate180 = true |
|
77 |
can_rotate270 = true |
|
78 |
||
79 |
[[tiles.Rooms]] |
|
80 |
name = "empty_120.png" |
|
81 |
edges = [ "f", "f", "f", "f" ] |
|
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
82 |
is_negative = true |
16094 | 83 |
|
84 |
[[tiles.Rooms]] |
|
85 |
name = "side_120.png" |
|
86 |
edges = [ "e", "eef", "f", "fee" ] |
|
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
87 |
is_negative = true |
16094 | 88 |
can_rotate90 = true |
89 |
can_rotate180 = true |
|
90 |
can_rotate270 = true |
|
91 |
||
92 |
[[tiles.Rooms]] |
|
93 |
name = "t_120.png" |
|
94 |
edges = [ "e", "efe", "efe", "efe" ] |
|
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
95 |
is_negative = true |
16094 | 96 |
can_rotate90 = true |
97 |
can_rotate180 = true |
|
98 |
can_rotate270 = true |
|
99 |
||
100 |
[[tiles.Rooms]] |
|
101 |
name = "turn_120.png" |
|
102 |
edges = [ "efe", "efe", "e", "e" ] |
|
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
103 |
is_negative = true |
16094 | 104 |
can_mirror = false |
105 |
can_flip = false |
|
106 |
can_rotate90 = true |
|
107 |
can_rotate180 = true |
|
108 |
can_rotate270 = true |
|
109 |
||
110 |
[[tiles.Rooms]] |
|
111 |
name = "wall_120.png" |
|
112 |
edges = [ "e", "e", "e", "e" ] |
|
16100
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
113 |
is_negative = true |
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
114 |
|
16105 | 115 |
# shoppa tiles |
116 |
[[tiles.Shoppa]] |
|
117 |
name = "120_filled.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
118 |
weight = 0 |
16105 | 119 |
edges = [ "first_layer_reyal_tsrif", "f", "f", "f" ] |
120 |
is_negative = true |
|
121 |
||
122 |
[[tiles.Shoppa]] |
|
123 |
name = "120_filled.png" |
|
124 |
edges = [ "e", "e", "e", "e" ] |
|
125 |
||
126 |
[[tiles.Shoppa]] |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
127 |
# forced space |
16105 | 128 |
name = "120_filled.png" |
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
129 |
weight = 0 |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
130 |
edges = [ "E", "e", "e", "e" ] |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
131 |
can_rotate90 = true |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
132 |
can_rotate180 = true |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
133 |
can_rotate270 = true |
16105 | 134 |
|
135 |
[[tiles.Shoppa]] |
|
136 |
name = "120_filled.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
137 |
weight = 10 |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
138 |
edges = [ "e", "e", "first_layer_reyal_tsrif", "e" ] |
16105 | 139 |
|
140 |
[[tiles.Shoppa]] |
|
141 |
name = "shoppa_bar.png" |
|
16107 | 142 |
weight = 15 |
16105 | 143 |
edges = [ "e", "efe", "e", "efe" ] |
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
144 |
anti_match = [1, 0, 1, 0] |
16105 | 145 |
can_rotate90 = true |
146 |
||
147 |
[[tiles.Shoppa]] |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
148 |
# used as end piece |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
149 |
name = "shoppa_bar.png" |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
150 |
weight = 10 |
16105 | 151 |
edges = [ "e", "e", "e", "efe" ] |
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
152 |
anti_match = [1, 1, 1, 0] |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
153 |
can_mirror = true |
16105 | 154 |
|
155 |
[[tiles.Shoppa]] |
|
156 |
name = "shoppa_roundedendpiece.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
157 |
weight = 8 |
16107 | 158 |
edges = [ "e", "e", "e", "efe" ] |
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
159 |
anti_match = [1, 1, 1, 0] |
16105 | 160 |
can_rotate90 = true |
161 |
can_rotate270 = true |
|
162 |
can_mirror = true |
|
163 |
||
164 |
[[tiles.Shoppa]] |
|
165 |
name = "shoppa_t.png" |
|
16107 | 166 |
weight = 4 |
16105 | 167 |
edges = [ "e", "efe", "efe", "efe" ] |
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
168 |
anti_match = [1, 1, 1, 1] |
16105 | 169 |
can_rotate90 = true |
170 |
can_rotate270 = true |
|
171 |
||
172 |
[[tiles.Shoppa]] |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
173 |
# first layer semicircle |
16105 | 174 |
name = "shoppa_sector.png" |
16107 | 175 |
weight = 5 |
176 |
edges = [ "e", "sector_rotces", "first_layer_reyal_tsrif", "e" ] |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
177 |
anti_match = [1, 0, 0, 1] |
16107 | 178 |
can_mirror = true |
16105 | 179 |
|
180 |
[[tiles.Shoppa]] |
|
181 |
name = "shoppa_sector.png" |
|
182 |
edges = [ "e", "sector", "rotces", "e" ] |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
183 |
anti_match = [1, 0, 0, 1] |
16105 | 184 |
can_rotate90 = true |
185 |
can_rotate180 = true |
|
186 |
can_rotate270 = true |
|
187 |
||
188 |
[[tiles.Shoppa]] |
|
189 |
name = "shoppa_hill_center_1.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
190 |
weight = 0 |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
191 |
edges = [ "E", "E", "retnecllih", "E" ] |
16105 | 192 |
|
193 |
[[tiles.Shoppa]] |
|
194 |
name = "shoppa_hill_center_2.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
195 |
weight = 0 |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
196 |
edges = [ "hillcenter", "hillside2", "H", "2edisllih" ] |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
197 |
anti_match = [0, 2, 0, 2] |
16105 | 198 |
|
199 |
[[tiles.Shoppa]] |
|
200 |
name = "shoppa_hill_side_2.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
201 |
weight = 0 |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
202 |
edges = [ "e", "hillside2", "3edisllih", "e" ] |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
203 |
anti_match = [0, 1, 0, 0] |
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
204 |
can_mirror = true |
16105 | 205 |
|
206 |
[[tiles.Shoppa]] |
|
207 |
name = "shoppa_hill_side_3.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
208 |
weight = 0 |
16105 | 209 |
edges = [ "hillside3", "H", "4edisllih", "e" ] |
210 |
can_mirror = true |
|
211 |
||
212 |
[[tiles.Shoppa]] |
|
213 |
name = "shoppa_hill_side_4.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
214 |
weight = 6 |
16105 | 215 |
edges = [ "hillside4", "H", "first_layer_reyal_tsrif", "e" ] |
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
216 |
anti_match = [0, 4, 0, 0] |
16105 | 217 |
can_mirror = true |
218 |
||
219 |
[[tiles.Shoppa]] |
|
220 |
name = "120_filled.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
221 |
weight = 0 |
16105 | 222 |
edges = [ "H", "H", "first_layer_reyal_tsrif", "H" ] |
223 |
is_negative = true |
|
224 |
||
225 |
[[tiles.Shoppa]] |
|
226 |
name = "120_filled.png" |
|
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
227 |
weight = 10 |
16105 | 228 |
edges = [ "H", "H", "H", "H" ] |
16108
65c017453e83
Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents:
16107
diff
changeset
|
229 |
anti_match = [0, 2, 0, 2] |
16105 | 230 |
is_negative = true |
231 |
||
16094 | 232 |
################ EDGES ################ |
233 |
[edges.bottom_row] |
|
234 |
top = { begin = "e", fill = "e", end = "e" } |
|
235 |
right = { begin = "e", fill = "e", end = "e" } |
|
236 |
bottom = { begin = "ef", fill = "f", end = "fe" } |
|
237 |
left = { begin = "e", fill = "e", end = "e" } |
|
238 |
||
16105 | 239 |
[edges.bottom_fill] |
240 |
bottom.fill = "f" |
|
241 |
||
16094 | 242 |
[edges.top_bottom] |
243 |
top.fill = "f" |
|
244 |
bottom.fill = "f" |
|
245 |
||
16100
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
246 |
[edges.full_top_bottom] |
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
247 |
top = { begin = "f", fill = "f", end = "f" } |
16100
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
248 |
bottom = { begin = "f", fill = "f", end = "f" } |
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
249 |
|
16094 | 250 |
################ TEMPLATES ################ |
251 |
[[templates]] |
|
252 |
# 0 |
|
253 |
width = 3960 |
|
254 |
height = 1920 |
|
255 |
can_invert = false |
|
256 |
is_negative = false |
|
257 |
put_girders = true |
|
258 |
max_hedgehogs = 40 |
|
259 |
wrap = true |
|
260 |
edges = "top_bottom" |
|
261 |
tiles = [ "round120" ] |
|
262 |
||
263 |
[[templates]] |
|
264 |
# 1 |
|
265 |
width = 3960 |
|
266 |
height = 1920 |
|
267 |
can_invert = false |
|
268 |
is_negative = false |
|
269 |
put_girders = true |
|
270 |
max_hedgehogs = 40 |
|
271 |
wrap = false |
|
272 |
edges = "bottom_row" |
|
273 |
tiles = [ "round120" ] |
|
274 |
||
275 |
[[templates]] |
|
276 |
# 2 |
|
277 |
width = 1200 |
|
278 |
height = 600 |
|
279 |
can_invert = false |
|
280 |
is_negative = false |
|
281 |
put_girders = true |
|
282 |
max_hedgehogs = 24 |
|
283 |
wrap = false |
|
284 |
edges = "bottom_row" |
|
285 |
tiles = [ "round120" ] |
|
286 |
||
287 |
[[templates]] |
|
288 |
# 3 |
|
289 |
width = 720 |
|
290 |
height = 7920 |
|
291 |
can_invert = false |
|
292 |
is_negative = false |
|
293 |
put_girders = true |
|
294 |
max_hedgehogs = 64 |
|
295 |
wrap = false |
|
296 |
edges = "bottom_row" |
|
297 |
tiles = [ "round120" ] |
|
298 |
||
299 |
[[templates]] |
|
300 |
# 4 |
|
301 |
width = 2200 |
|
302 |
height = 960 |
|
303 |
can_invert = false |
|
304 |
is_negative = false |
|
305 |
put_girders = true |
|
306 |
max_hedgehogs = 24 |
|
307 |
wrap = false |
|
308 |
edges = "bottom_row" |
|
309 |
tiles = [ "round120" ] |
|
310 |
||
311 |
[[templates]] |
|
16100
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
312 |
# 5 |
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
313 |
width = 2280 |
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
314 |
height = 1200 |
16100
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
315 |
can_invert = false |
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
316 |
put_girders = true |
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
317 |
max_hedgehogs = 40 |
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
318 |
wrap = true |
fba762376a07
- Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents:
16094
diff
changeset
|
319 |
edges = "full_top_bottom" |
16103
fff7c8e36f7b
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents:
16100
diff
changeset
|
320 |
tiles = [ "Rooms" ] |
16094 | 321 |
|
16105 | 322 |
[[templates]] |
323 |
# 6 |
|
324 |
width = 3960 |
|
325 |
height = 1920 |
|
326 |
can_invert = false |
|
327 |
is_negative = false |
|
328 |
put_girders = true |
|
329 |
max_hedgehogs = 64 |
|
330 |
wrap = true |
|
331 |
edges = "bottom_fill" |
|
332 |
tiles = [ "Shoppa" ] |
|
333 |
||
16094 | 334 |
[template_types] |
335 |
small = [ 2 ] |
|
336 |
medium = [ 4 ] |
|
337 |
large = [ 1 ] |
|
338 |
cavern = [ 0, 5 ] |
|
16105 | 339 |
wacky = [ 6 ] |