1 ;;----------------------------------------------------------------------------
4 ;; Big underground complex; created by some civilized race, now a ruin
5 ;; inhabited by trolls and other monsters.
6 ;;----------------------------------------------------------------------------
8 (kern-load "warritrix.scm")
12 'p_lost_halls_entrance
13 "Gate to the Lost Halls"
15 (kern-mk-map nil 21 21 pal_expanded
17 "rn rn rn r4 {8 .. bb .. {8 .. .. .. .. .. .. {8 r2 rn rn rn rn "
18 "rn rn rn r4 {{ bb .. {c {{ {2 .. .. .. bb {c {{ r2 rn rn rn rn "
19 "rn rn rn r4 {{ {2 {4 {{ {{ bb .. .. .. {4 {{ rb r8 rn rn rn rn "
20 "rn rn rn rn r5 .. .. {5 {{ {2 .. .. .. {4 {{ {{ {2 r2 rn rn rn "
21 "rn rn rn rn rn rd .. .. {1 .. .. .. .. r7 {{ {{ {a r2 rn rn rn "
22 "rn rn rn rn r4 .. .. bb .. .. .. .. .. ra rd {{ {{ r2 rn rn rn "
23 "rn rn rn rn r8 rd {8 .. .. .. .. .. {4 {{ {{ {7 {{ r2 rn rn rn "
24 "rn rn rn rc {{ {6 {{ {a .. .. .. .. .. {1 bb .. rb rn rn rn rn "
25 "rn rn r4 {{ {3 {4 {{ {{ {2 .. .. .. .. .. .. {4 {{ r2 rn rn rn "
26 "rn rn r4 {1 xx xx xx {{ {2 .. .. .. .. xx xx xx {{ r2 rn rn rn "
27 "rn xx xx xx xx xx xx {1 .. .. .. .. .. xx xx xx xx xx xx rn rn "
28 "^^ ^^ ^^ {{ xx xx xx .. .. .. .. .. .. xx xx xx {{ ^^ ^^ ^^ rn "
29 "^^ ^^ ^^ {{ {a {8 .. .. .. .. .. .. .. .. {4 {{ {{ ^^ ^^ ^^ rn "
30 "^^ {{ {{ {{ {{ {{ {2 .. .. .. .. .. tf {8 bb {{ {{ ^^ ^^ ^^ ^^ "
31 "{{ {{ {C bb {{ {{ {2 .. .. .. .. {4 {{ {{ {{ {{ {{ {{ {{ ^^ ^^ "
32 "{1 t3 t5 .. {9 {9 .. tf .. .. .. .. {1 {5 {{ bb {{ ^^ ^^ ^^ ^^ "
33 "{8 ta tt bb {{ {{ {2 .. .. .. .. .. .. .. {5 {{ {{ {{ ^^ ^^ ^^ "
34 "{{ t% te {# {{ {3 .. .. .. .. .. .. {8 {8 .. {1 tf {{ ^^ ^^ ^^ "
35 "{{ {{ {e {{ {3 {8 .. bb .. .. .. {4 {{ {{ {a {8 {4 {{ {{ {{ {{ "
36 "{{ {{ {{ {C t7 {A {2 .. .. .. .. .. {5 {{ {{ {{ {2 tf {{ {7 {{ "
37 "{A {{ {3 tb tt td .. .. .. .. .. .. {4 {{ {{ {3 .. .. {1 {4 {C "
44 #f ; large-scale (wilderness)
51 (put (spawn-pt 'cave-goblin-slinger-m) 8 7)
52 (put (spawn-pt 'cave-goblin-berserker-m) 9 13)
53 (put (spawn-pt 'cave-goblin-slinger-m) 12 8)
54 (put (spawn-pt 'cave-goblin-berserker-m) 13 14)
55 (put (spawn-pt 'troll-m) 10 10)
59 'losthalls-room-handle-start
60 'on-entry-to-dungeon-room
62 (list ;; edge entrances
70 (kern-mk-map nil 21 21 pal_expanded
72 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
73 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
74 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
75 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
76 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
77 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
78 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
79 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
80 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
81 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
82 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
83 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
84 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
85 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
86 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
87 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
88 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
89 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
90 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
91 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
92 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
97 #f ; large-scale (wilderness)
105 'losthalls-room-handle-deeps
114 (kern-mk-map nil 21 21 pal_expanded
116 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
117 "rn rn rn rn ,,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,, ,, ,, ,, "
133 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
134 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
135 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
136 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
141 #f ; large-scale (wilderness)
142 #f ; tmp combat place
149 'losthalls-room-handle-deeps
158 (kern-mk-map nil 21 21 pal_expanded
160 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
161 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
162 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
163 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
164 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
165 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
166 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
167 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
168 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
169 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
170 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
171 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
172 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
173 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
174 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
175 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
176 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
177 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
178 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
179 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
180 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
185 #f ; large-scale (wilderness)
186 #f ; tmp combat place
193 'losthalls-room-handle-deeps
202 (kern-mk-map nil 21 21 pal_expanded
204 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
205 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
206 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
207 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
208 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,,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,, ,, ,, ,, ,, rn rn rn rn "
229 #f ; large-scale (wilderness)
230 #f ; tmp combat place
237 'losthalls-room-handle-deeps
246 (kern-mk-map nil 21 21 pal_expanded
248 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
249 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
250 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
251 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
252 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
253 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
254 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
255 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
256 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
257 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
258 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
259 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
260 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
261 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
262 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
263 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
264 ",, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, "
265 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
266 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
267 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
268 "rn rn rn rn ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, rn rn rn rn "
273 #f ; large-scale (wilderness)
274 #f ; tmp combat place
281 'losthalls-room-handle-deeps
290 (kern-mk-map nil 21 21 pal_expanded
292 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
293 "rn rn rn rn rn rn rn rn r8 rn rn rn rn rn rn rn rn rn rn rn rn "
294 "rn rn rn rn rn xx xx xx bb xx xx r8 xx xx xx rn rn rn rn rn rn "
295 "rn rn rn rn r8 rc .. .. .. .. .. .. .. .. ra r8 r8 rn rn rn rn "
296 "rn rn rn r4 .. .. .. .. .. .. .. .. .. .. .. .. .. r2 rn rn rn "
297 "rn rn r4 {{ {2 .. .. .. .. r2 rn rn r4 .. .. .. .. ra rn rn rn "
298 "rn rn xx {1 .. .. .. r3 r1 rn rn rn rn r5 .. .. .. .. xx rn rn "
299 "rn rn xx .. .. .. r3 rn xx d, d, d, xx rn r5 .. .. .. bb r2 rn "
300 "rn rn xx bb .. .. r2 rn xx ,, ,, ,, xx rn rc .. .. .. xx rn rn "
301 "rn r4 bb .. .. .. ra rn xx cc cc cc xx r4 .. .. .. .. xx rn rn "
302 "rn rn r5 .. .. .. .. r2 xx ,, ,, ,, xx r4 .. .. .. .. xx rn rn "
303 "rn rn xx bb .. .. .. r2 xx cc cc cc xx xx .. .. .. .. r2 rn rn "
304 "rn rn xx .. .. .. .. xx xx ,, ,, ,, xx xx .. .. .. .. r2 rn rn "
305 "rn rn r4 .. .. .. xx xx xx cc cc cc xx xx xx .. .. .. xx rn rn "
306 "rn rn xx .. .. .. xx xx xx ,, ,, ,, xx xx xx .. .. {8 xx rn rn "
307 "rn rn rn r5 .. .. .. .. .. .. .. .. .. .. .. .. {4 {{ xx rn rn "
308 "rn rn rn r4 .. {8 {8 .. .. .. .. .. .. .. .. .. .. r2 rn rn rn "
309 "rn rn rn rn r1 {{ {{ {2 .. .. .. .. .. .. .. r3 r1 rn rn rn rn "
310 "rn rn rn rn rn r1 xx xx r1 r1 xx r1 xx xx xx xx rn rn rn rn rn "
311 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
312 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
318 #f ; large-scale (wilderness)
319 #f ; tmp combat place
324 (put (mk-monman) 0 0)
325 (put (mk-bump-door 'p_lost_halls_stairu 10 18) 9 7)
326 (put (mk-bump-door 'p_lost_halls_stairu 10 18) 10 7)
327 (put (mk-bump-door 'p_lost_halls_stairu 10 18) 11 7)
328 (put (mk-step-trig 'one-off-message "A huge stairway leads down into the darkness" "losthalls_staird") 9 15)
329 (put (mk-step-trig 'one-off-message "A huge stairway leads down into the darkness" "losthalls_staird") 10 15)
330 (put (mk-step-trig 'one-off-message "A huge stairway leads down into the darkness" "losthalls_staird") 11 15)
331 (put (spawn-pt 'giant-spider) 4 11)
332 (put (spawn-pt 'giant-spider) 5 10)
333 (put (spawn-pt 'giant-spider) 6 12)
334 (put (spawn-pt 'gint-warrior) 15 11)
335 (put (spawn-pt 'gint-warrior) 15 11)
336 (put (spawn-pt 'gint-mage) 14 10)
341 'on-entry-to-dungeon-room
342 'losthalls-room-handle-staird
351 (kern-mk-map nil 21 21 pal_expanded
353 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
354 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
355 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
356 "rn rn rn rn xx xx xx xx xx xx xx xx xx xx xx xx xx rn rn rn rn "
357 "rn rn rn xx xx .. .. .. .. .. .. .. .. .. .. .. xx xx rn rn rn "
358 "rn rn rn xx .. .. .. .. .. .. .. .. .. .. .. .. .. xx rn rn rn "
359 "rn rn rn xx .. .. .. .. ,, .. ,, .. .. .. ,, .. .. xx rn rn rn "
360 "rn rn rn xx .. .. .. .. .. .. .. .. ,, .. .. .. .. xx rn rn rn "
361 "rn rn rn xx .. .. .. ,, ,, ,, ,, .. .. .. .. .. .. xx rn rn rn "
362 "rn rn rn xx .. .. .. ,, .. .. .. ,, ,, ,, ,, .. .. xx rn rn rn "
363 "rn rn rn xx .. .. xx ,, ,, ,, ,, ,, ,, ,, xx .. .. xx rn rn rn "
364 "rn rn rn xx .. xx xx xx cc cc cc cc cc xx xx xx .. xx rn rn rn "
365 "rn rn rn xx .. xx xx xx ,, ,, ,, ,, ,, xx xx xx .. xx rn rn rn "
366 "rn rn rn xx .. .. xx xx cc cc cc cc cc xx xx .. .. xx rn rn rn "
367 "rn rn rn xx .. .. xx xx xx ,, ,, ,, xx xx xx .. .. xx rn rn rn "
368 "rn rn rn xx .. .. .. xx xx cc cc cc xx xx .. .. .. xx rn rn rn "
369 "rn rn rn xx xx .. .. xx xx ,, ,, ,, xx xx .. .. xx xx rn rn rn "
370 "rn rn rn rn xx xx xx xx xx cc cc cc xx xx xx xx xx rn rn rn rn "
371 "rn rn rn rn rn rn rn rn xx ,, ,, ,, xx rn rn rn rn rn rn rn rn "
372 "rn rn rn rn rn rn rn rn xx d, d, d, xx rn rn rn rn rn rn rn rn "
373 "rn rn rn rn rn rn rn rn xx xx xx xx xx rn rn rn rn rn rn rn rn "
378 #f ; large-scale (wilderness)
379 #f ; tmp combat place
384 (put (mk-monman) 0 0)
385 (put (mk-bump-door 'p_lost_halls_staird 10 8) 9 19)
386 (put (mk-bump-door 'p_lost_halls_staird 10 8) 10 19)
387 (put (mk-bump-door 'p_lost_halls_staird 10 8) 11 19)
388 (put (spawn-pt 'cave-goblin-slinger-m) 11 8)
389 (put (spawn-pt 'cave-goblin-berserker-m) 8 12)
390 (put (spawn-pt 'troll-m) 9 10)
391 (put (spawn-pt 'gint-warrior-m) 12 9)
397 'on-entry-to-dungeon-room
398 'losthalls-room-handle-stairu
407 (kern-mk-map nil 21 21 pal_expanded
409 "rn rn rn rn rn rn rn xx r8 rn rn r8 rn rn rn rn rn rn rn rn rn "
410 "rn rn rn rn rn rn rn xx bb ra rc bb ra xx rn rn rn rn rn rn rn "
411 "rn rn rn rn rn rn rn xx rd bb .. .. bb xx rn rn rn rn rn rn rn "
412 "rn rn rn rn xx xx xx xx .. .. .. .. .. xx xx xx xx rn rn rn rn "
413 "rn rn rn xx xx .. .. .. .. .. .. .. .. .. .. .. xx xx rn rn rn "
414 "rn rn rn xx .. .. .. .. .. .. .. .. .. .. .. {8 .. xx rn rn rn "
415 "rn rn rn xx .. .. .. @@ ,R @@ ,I @@ ,P bb {4 {{ {2 xx rn rn rn "
416 "rn xx xx xx .. .. .. .. .. .. .. .. .. .. .. {1 .. xx xx xx rn "
417 "r4 bb .. bb .. .. 00 .. 00 .. 00 .. 00 .. 00 .. .. .. bb ra rn "
418 "rn r5 bb .. .. {4 {{ {6 {{ {6 {{ {e {{ {6 {{ {2 .. .. bb .. r2 "
419 "rn rn rd .. .. {4 {{ {6 bb {6 {{ {{ {{ {6 {{ {2 .. .. bb r3 rn "
420 "rn r4 bb .. .. .. {1 .. {1 .. {1 {1 {1 .. {1 .. .. bb .. ra rn "
421 "rn rn r5 .. .. .. 00 .. 00 .. 00 .. bb .. 00 .. .. .. .. bb r2 "
422 "rn xx xx xx .. {4 {{ {6 {{ {6 {{ {6 {{ {6 {{ {2 .. xx xx xx rn "
423 "rn rn rn xx .. {c {{ {6 {{ {6 {{ {6 {{ {6 {{ {2 .. xx rn rn rn "
424 "rn rn rn xx {4 {{ {3 .. {1 .. {1 .. {1 .. {1 .. .. xx rn rn rn "
425 "rn rn rn xx xx {{ {2 .. .. .. .. .. bb .. bb .. xx xx rn rn rn "
426 "rn rn rn rn xx xx xx xx bb .. .. .. bb xx xx xx xx rn rn rn rn "
427 "rn rn rn rn rn rn rn xx .. .. bb .. r3 xx rn rn rn rn rn rn rn "
428 "rn rn rn rn rn rn rn xx bb r3 r5 bb r2 xx rn rn rn rn rn rn rn "
429 "rn rn rn rn rn rn rn xx r1 rn rn r1 rn xx rn rn rn rn rn rn rn "
434 #f ; large-scale (wilderness)
435 #f ; tmp combat place
440 (put (mk-monman) 0 0)
441 (put (spawn-pt 'lich) 11 9)
442 (put (spawn-pt 'ghast) 7 11)
443 (put (spawn-pt 'ghast) 13 9)
444 (put (spawn-pt 'skeletal-warrior) 7 7)
445 (put (spawn-pt 'skeletal-warrior) 10 15)
446 (put (spawn-pt 'skeletal-spear-thrower) 15 8)
447 (put (spawn-pt 'skeletal-spear-thrower) 9 13)
452 'on-entry-to-dungeon-room
453 'losthalls-room-handle-croom
458 (drop-random-corpses p_lost_halls_graves 5)
461 'p_lost_halls_rshrine
462 "The Broken Sactuary"
464 (kern-mk-map nil 21 21 pal_expanded
466 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
467 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
468 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
469 "rn rn rn rn xx xx xx xx xx xx xx xx xx xx xx xx xx rn rn rn rn "
470 "rn rn rn xx xx @@ @@ @@ @@ ,, ++ ,, @@ @@ @@ @@ xx xx rn rn rn "
471 "rn rn rn xx ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, bb xx rn rn rn "
472 "rn rn rn xx ,, ~~ ~~ ~~ ,, ,, ,, ,, ,, ~~ ~~ ~~ ,, xx rn rn rn "
473 "rn xx xx xx ,, b~ _! ~~ ,, ,, aa ,, ,, ~~ _! ~~ ,, xx xx xx rn "
474 "r4 bb .. bb ,, ~~ ~~ ~~ ,, ,, ,, ,, ,, ~~ ~~ ~~ ,, ,, bb ra rn "
475 "rn r5 bb ,, ,, ,, ,, ,, ,, ,, ,, .. ,, bb ,, ,, ,, ,, bb .. r2 "
476 "rn rn rd ,, ,, ,, .. ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, ,, bb r3 rn "
477 "rn r4 bb ,, ,, ,, ,, ,, ,, bb .. ,, ,, ,, ,, .. ,, bb ,, ra rn "
478 "rn rn r5 ,, ,, ,, ,, ,, ,, ,, ,, ,, .. ,, ,, ,, ,, ,, ,, bb r2 "
479 "rn xx xx xx ,, ,, .. ,, ,, .. ,, ,, ,, ,, ,, ,, ,, xx xx xx rn "
480 "rn rn rn xx ,, .. .. ,, ,, ,, ,, ,, ,, ,, ,, bb ,, xx rn rn rn "
481 "rn rn rn xx ,, ,, ,, ,, .. ,, ,, .. ,, ,, ,, ,, ,, xx rn rn rn "
482 "rn rn rn xx xx ,, bb ,, ,, ,, ,, .. ,, ,, ,, ,, xx xx rn rn rn "
483 "rn rn rn rn xx xx xx xx bb ,, ,, ,, bb xx xx xx xx rn rn rn rn "
484 "rn rn rn rn rn rn rn xx ,, ,, bb ,, r3 xx rn rn rn rn rn rn rn "
485 "rn rn rn rn rn rn rn xx bb r3 r5 bb r2 xx rn rn rn rn rn rn rn "
486 "rn rn rn rn rn rn rn xx r1 rn rn r1 rn xx rn rn rn rn rn rn rn "
491 #f ; large-scale (wilderness)
492 #f ; tmp combat place
497 (put (mk-monman) 0 0)
498 (put (spawn-pt 'yellow-slime) 8 9)
499 (put (spawn-pt 'yellow-slime) 13 11)
504 'on-entry-to-dungeon-room
505 'losthalls-room-handle-rroom
506 'losthalls-handle-rshrine
512 'p_lost_halls_fountains
515 (kern-mk-map nil 21 21 pal_expanded
517 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
518 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
519 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
520 "rn rn rn rn xx xx xx xx xx xx xx xx xx xx xx xx xx rn rn rn rn "
521 "rn rn rn xx xx ,, .. .. .. .. .. .. %f .. .. ,, xx xx rn rn rn "
522 "rn rn rn xx ,, .. ,, .. .. .. .. .. .. ,, ,, .. .. xx rn rn rn "
523 "rn rn rn xx .. .. ~2 ~~ ~1 ,, ,, .. _s _s _s .. bb xx rn rn rn "
524 "rn xx xx xx .. .. ~2 __ ~~ .. .. .. _s _s _s .. .. xx xx xx rn "
525 "r4 bb .. xx .. .. ~a ~8 ~c .. .. .. _s _s _s %% %d xx bb ra rn "
526 "rn r5 bb xx .. %f .. .. .. .. %7 .. .. %% %% %c .. xx bb .. r2 "
527 "rn rn r9 xx .. .. .. .. .. bb %% %% ,, .. %e .. .. xx bb r3 rn "
528 "rn r4 bb xx .. .. .. %% ,, %% %c .. .. .. .. .. %7 xx ,, ra rn "
529 "rn rn r1 xx ,, .. _s _s _s %% .. .. _s _s _s .. %e xx ,, bb r2 "
530 "rn xx xx xx .. .. _s _s bb .. .. %% _s _s _s %% .. xx xx xx rn "
531 "rn rn rn xx .. %% _s _s _s .. %b %% _s _s _s %% %5 xx rn rn rn "
532 "rn rn rn xx ,, %% %% %% .. ,, .. .. %% %% .. %% %c xx rn rn rn "
533 "rn rn rn xx xx .. .. .. .. .. .. .. .. .. %b %c xx xx rn rn rn "
534 "rn rn rn rn xx xx xx xx xx xx xx xx xx xx xx xx xx rn rn rn rn "
535 "rn rn rn rn rn rn rn xx xx xx xx ,, r2 xx rn rn rn rn rn rn rn "
536 "rn rn rn rn rn rn rn xx bb r2 r4 bb r2 xx rn rn rn rn rn rn rn "
537 "rn rn rn rn rn rn rn xx r1 rn rn r1 rn xx rn rn rn rn rn rn rn "
542 #f ; large-scale (wilderness)
543 #f ; tmp combat place
548 (put (mk-monman) 0 0)
549 (put (spawn-pt 'yellow-slime) 12 8)
550 (put (spawn-pt 'yellow-slime) 12 12)
551 (put (spawn-pt 'green-slime) 9 13)
552 (put (spawn-pt 'green-slime) 7 8)
557 'on-entry-to-dungeon-room
558 'losthalls-room-handle-rroom
563 (drop-random-corpses p_lost_halls_fountains 3)
566 'p_lost_halls_storage
569 (kern-mk-map nil 21 21 pal_expanded
571 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
572 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
573 "rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn "
574 "rn rn rn rn xx xx xx xx xx xx xx xx xx xx xx xx xx rn rn rn rn "
575 "rn rn rn xx xx .. 00 .. ,, 00 xx bb .. .. .. 00 xx xx rn rn rn "
576 "rn rn rn xx .. .. .. ,, .. .. rr .. 00 .. ,, .. .. xx rn rn rn "
577 "rn rn rn xx .. .. .. .. 00 .. xx ,, 00 .. .. .. ,, xx rn rn rn "
578 "rn xx xx xx xx d, xx rr xx xx xx xx xx rr xx d, xx xx xx xx rn "
579 "r4 bb .. xx xx .. xx ,S ,T ,O ,R ,A ,G ,E xx .. xx xx bb ra rn "
580 "rn r5 bb xx .. .. .. .. .. .. .. .. .. .. .. .. .. xx bb .. r2 "
581 "rn rn r9 xx ,, .. .. .. .. ,, .. bb .. .. ,, .. ,, xx bb r3 rn "
582 "rn r4 bb xx .. bb .. ,, .. .. .. .. .. .. .. .. .. xx ,, ra rn "
583 "rn rn r1 xx xx rr d, xx xx xx d, xx xx xx d, rr xx xx ,, bb r2 "
584 "rn xx xx xx xx 00 .. .. rr .. .. .. bb .. .. .. xx xx xx xx rn "
585 "rn rn rn xx .. .. .. .. xx .. .. .. xx .. ,, ,, .. xx rn rn rn "
586 "rn rn rn xx 00 .. ,, .. xx .. ,, .. rr .. .. ,, .. xx rn rn rn "
587 "rn rn rn xx xx .. .. xx xx .. .. .. xx r5 .. 00 xx xx rn rn rn "
588 "rn rn rn rn xx xx xx xx xx xx xx xx xx xx xx xx xx rn rn rn rn "
589 "rn rn rn rn rn rn rn xx xx xx xx ,, r2 xx rn rn rn rn rn rn rn "
590 "rn rn rn rn rn rn rn xx bb r2 r4 bb r2 xx rn rn rn rn rn rn rn "
591 "rn rn rn rn rn rn rn xx r1 rn rn r1 rn xx rn rn rn rn rn rn rn "
596 #f ; large-scale (wilderness)
597 #f ; tmp combat place
602 (put (mk-monman) 0 0)
603 (put (spawn-pt 'rat) 7 4)
604 (put (spawn-pt 'rat) 7 5)
605 (put (spawn-pt 'rat) 7 6)
606 (put (spawn-pt 'rat) 6 5)
607 (put (spawn-pt 'rat) 13 4)
608 (put (spawn-pt 'rat) 13 5)
609 (put (spawn-pt 'rat) 13 5)
610 (put (spawn-pt 'rat) 14 5)
611 (put (spawn-pt 'rat) 5 15)
612 (put (spawn-pt 'rat) 6 15)
613 (put (spawn-pt 'rat) 7 15)
614 (put (spawn-pt 'rat) 6 14)
615 (put (spawn-pt 'rat) 14 15)
616 (put (spawn-pt 'rat) 15 15)
617 (put (spawn-pt 'rat) 16 15)
618 (put (spawn-pt 'rat) 15 14)
623 'on-entry-to-dungeon-room
624 'losthalls-room-handle-rroom
630 (mk-place-music p_lost_halls_entrance 'ml-outdoor-adventure)
631 (mk-place-music p_lost_halls_r1 'ml-dungeon-adventure)
632 (mk-place-music p_lost_halls_r2 'ml-dungeon-adventure)
633 (mk-place-music p_lost_halls_r3 'ml-dungeon-adventure)
634 (mk-place-music p_lost_halls_r4 'ml-dungeon-adventure)
635 (mk-place-music p_lost_halls_r5 'ml-dungeon-adventure)
636 (mk-place-music p_lost_halls_staird 'ml-dungeon-adventure)
637 (mk-place-music p_lost_halls_stairu 'ml-dungeon-adventure)
638 (mk-place-music p_lost_halls_graves 'ml-creepy-area)
639 (mk-place-music p_lost_halls_rshrine 'ml-creepy-area)
640 (mk-place-music p_lost_halls_fountains 'ml-dungeon-adventure)
641 (mk-place-music p_lost_halls_storage 'ml-dungeon-adventure)
644 (drop-random-corpses p_lost_halls_storage 2)
647 (prmap-linkrooms-2d 'p_lost_halls_r1 'p_lost_halls_r2 'p_lost_halls_r3 'p_lost_halls_r4 'p_lost_halls_r5)
649 ;; 2 mapdata objects to allow different terrain types in different areas
650 (prmap-set-mapdata p_lost_halls_r1 (prmap-mk-mapdata "losthalls" losthalls-random-type-ns losthalls-random-type-ew losthalls-random-type-area 'losthalls-terrain-edges 'losthalls-terrain-area 'losthalls-room-blitstats 'losthalls-room-custom-hardlinks))
651 (prmap-set-mapdata p_lost_halls_r2 (prmap-mk-mapdata "losthalls" losthalls-random-type-ns losthalls-random-type-ew losthalls-random-type-area 'losthalls-ruin-edges 'losthalls-ruin-area 'losthalls-ruin-blitstats 'losthalls-ruin-custom-hardlinks))
653 ;; random locations must not clash
654 (define (lost-halls-grave-x stair-x stair-y)
657 ((> stair-y 6) (kern-dice-roll "1d2-1"))
660 (#t (kern-dice-roll "1d2-1"))
662 (kern-dice-roll "1d2-4")
663 (kern-dice-roll "1d2+1")
666 (let* ((losthalls-hardlinks (prmap-params-hardlinks (prmap-get-mapdata p_lost_halls_r1)))
667 (stairdown-x (kern-dice-roll "1d5-3"))
668 (stairdown-y (kern-dice-roll "1d2+5"))
669 (grave-x (lost-halls-grave-x stairdown-x stairdown-y))
670 (grave-y (kern-dice-roll "1d5"))
672 (define (link-rm xloc yloc zloc dir target maptemplate passable . hooks)
673 (prmap-room-hardlink-set! xloc yloc zloc losthalls-hardlinks dir target maptemplate passable hooks)
676 ;;---------------------------------------------------------
679 ;; x y z dir target template passable hooks
681 (link-rm 0 0 0 north nil 'm_losthalls_cpassage #t)
682 (link-rm 0 1 0 south nil 'm_losthalls_cpassage #t)
683 (link-rm 0 0 0 south 'p_lost_halls_entrance 'm_losthalls_special #t)
685 ;; stair down in random loc
686 (prmap-mk-roomdata 'p_lost_halls_staird stairdown-x stairdown-y 0 (list 'p_lost_halls_r1 'p_lost_halls_r2 'p_lost_halls_r3 'p_lost_halls_r4))
688 (link-rm stairdown-x (- stairdown-y 1) 0 north 'p_lost_halls_staird 'm_losthalls_cpassage #t)
689 (link-rm stairdown-x stairdown-y 0 south nil 'm_losthalls_cpassage #t)
690 (link-rm stairdown-x (+ stairdown-y 1) 0 south 'p_lost_halls_staird nil #t)
691 (link-rm (- stairdown-x 1) stairdown-y 0 east 'p_lost_halls_staird nil #t)
692 (link-rm (+ stairdown-x 1) stairdown-y 0 west 'p_lost_halls_staird nil #t)
694 (println "stair at " stairdown-x " " stairdown-y)
696 ;; cemetary in random loc
697 (prmap-mk-roomdata 'p_lost_halls_graves grave-x grave-y 0 (list 'p_lost_halls_r1 'p_lost_halls_r2 'p_lost_halls_r3 'p_lost_halls_r4))
699 (link-rm grave-x (- grave-y 1) 0 north 'p_lost_halls_graves 'm_losthalls_cruin #t)
700 (link-rm grave-x grave-y 0 south nil 'm_losthalls_cruin #t)
701 (link-rm grave-x (+ grave-y 1) 0 south 'p_lost_halls_graves nil #t)
702 (link-rm (- grave-x 1) grave-y 0 east 'p_lost_halls_graves nil #t)
703 (link-rm (+ grave-x 1) grave-y 0 west 'p_lost_halls_graves nil #t)
707 (let ((losthalls-hardlinks (prmap-params-hardlinks (prmap-get-mapdata p_lost_halls_r2)))
708 (stairup-x (kern-dice-roll "1d3+1")))
709 (define (link-rm xloc yloc zloc dir target maptemplate passable . hooks)
710 (prmap-room-hardlink-set! xloc yloc zloc losthalls-hardlinks dir target maptemplate passable hooks)
713 ;; stair up in random loc
714 (prmap-mk-roomdata 'p_lost_halls_stairu stairup-x 0 1 (list 'p_lost_halls_r1 'p_lost_halls_r2 'p_lost_halls_r3 'p_lost_halls_r4))
715 (link-rm stairup-x 0 1 south nil 'm_losthalls_stairu #f)
716 (link-rm stairup-x 1 1 south 'p_lost_halls_stairu nil #t)
717 (link-rm (- stairup-x 1) 0 1 east 'p_lost_halls_stairu nil #t)
718 (link-rm (+ stairup-x 1) 0 1 west 'p_lost_halls_stairu nil #t)
720 ;; warritrix' resting place
721 (prmap-mk-roomdata 'p_lost_halls_rshrine 3 5 1 (list 'p_lost_halls_r1 'p_lost_halls_r2 'p_lost_halls_r3 'p_lost_halls_r4))
722 (link-rm 3 5 1 north nil 'm_losthalls_rwall #f)
723 (link-rm 3 5 1 south nil 'm_losthalls_rrooms #t)
724 (link-rm 3 4 1 north 'p_lost_halls_rshrine 'm_losthalls_rrooms #t)
725 (link-rm 2 5 1 east 'p_lost_halls_rshrine nil #t)
726 (link-rm 4 5 1 west 'p_lost_halls_rshrine nil #t)
729 (prmap-mk-roomdata 'p_lost_halls_fountains 5 3 1 (list 'p_lost_halls_r1 'p_lost_halls_r2 'p_lost_halls_r3 'p_lost_halls_r4))
730 (link-rm 5 3 1 west nil 'm_losthalls_rhall #t)
731 (link-rm 5 4 1 south 'p_lost_halls_fountains nil #t)
732 (link-rm 4 3 1 east 'p_lost_halls_fountains 'm_losthalls_rhall #t)
733 (link-rm 5 2 1 north 'p_lost_halls_fountains nil #t)
736 (prmap-mk-roomdata 'p_lost_halls_storage 2 4 1 (list 'p_lost_halls_r1 'p_lost_halls_r2 'p_lost_halls_r3 'p_lost_halls_r4))
737 (link-rm 2 4 1 north nil 'm_losthalls_rwall #f)
738 (link-rm 3 4 1 west 'p_lost_halls_storage nil #t)
739 (link-rm 2 5 1 south 'p_lost_halls_storage 'm_losthalls_rwall #t)
740 (link-rm 1 4 1 east 'p_lost_halls_storage nil #t)
741 (link-rm 2 3 1 north 'p_lost_halls_storage nil #t)
744 ;;flag for checking if cohesion check still needs to be performed
745 (mutable-list-set (prmap-get-mapdata p_lost_halls_r1) 10 #t)