summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/des/branches/spider.des
blob: ffc24485fbdf564b8198e47931a48612118ca47c (plain) (blame)
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
###############################################################################
# spider.des: All maps and branch endings relating to the Spider Nest.
# Bring lots of Raid!
###############################################################################

# Functions for the spider trap
{{
function callback.spider_nest_trap(data, triggerable, triggerer, marker, ev)
  local x, y = marker:pos()
  local youpos = dgn.point(you.pos())
  if youpos ~= marker:pos() then
    -- pretend the monster avoided it
    return
  end
  local spiders = 0
  for p in iter.rect_iterator(dgn.point(x-1, y-1), dgn.point(x+1, y+1)) do
    if (dgn.mons_at(p.x, p.y) == nil and p ~= youpos and dgn.is_passable(p.x, p.y)) then
      if (dgn.create_monster(p.x, p.y, "generate_awake spider")) then
        spiders = spiders + 1
      end
    end
  end
 if (spiders > 0) then
   crawl.mpr("A basket of spiders falls from above!")
 end
end

function callback.spider_trap_warn(data, triggerable, triggerer, marker, ev)
    crawl.mpr("You notice webbing strewn about the room and hear a chittering noise in the background." , 1)
    crawl.more()
end
}}

# Flavour text for Spiderweb map
{{
function callback.spiders_nest_cobweb_light(data, triggerable, triggerer, marker, ev)
    crawl.mpr("Something lightly brushes against you...",1)
    crawl.more()
    crawl.mpr("You realise it was just a hanging strand of cobweb; you push it aside and calm your nerves." , "talk_visual")
end
}}

{{
function callback.spiders_nest_web_lair(data, triggerable, triggerer, marker, ev)
    crawl.mpr("The chamber up ahead is thickly strewn with cobwebs." , "talk_visual")
end
}}

##############################################################################
# Spider Nest entry vaults
##############################################################################

NAME:   dummy_spider_entry
TAGS:   spider_entry
KFEAT:  O = enter_spider_nest
MAP
O
ENDMAP

NAME:   spider_nest_entry_a
TAGS:   spider_entry patrolling no_monster_gen
KFEAT:  O = enter_spider_nest
MONS:   spider
MAP
.WWW.WWW.
W.WW.WW.W
WW.W.W.WW
WWW111WWW
...1O1...
WWW111WWW
WW.W.W.WW
W.WW.WW.W
.WWW.WWW.
ENDMAP

NAME:   spider_nest_entry_webs
TAGS:   spider_entry patrolling no_monster_gen
KFEAT:  O = enter_spider_nest
KFEAT:  ^ = web
MONS:   trapdoor spider
MAP
.......x.....
..^...xxx.^..
...1.^xxx....
.^..^xx^x....
....xx^^^....
.1..x^^^...^.
..^..^O^..1..
.x...^^^^....
xx^.1.x^^^...
x^^^^..xxx...
.xx^^...xxx..
..xxx........
ENDMAP

NAME:   spider_nest_entry_funnel_web
TAGS:   spider_entry patrolling no_monster_gen
KFEAT:  O = enter_spider_nest
KFEAT:  ^ = web / floor
MONS:   spider / w:5 wolf spider / jumping spider / redback / nothing
MAP
      xxxxxx
     xx11.1x
   xxx.1O1xx
   x^^^...x
  xx^^^^^xx
 xx^^^^^xx
xx^^^^^xx
@.^^^xxx
@.^xxx
@.xx
@@x
ENDMAP

NAME:   spider_nest_entry_web_field
TAGS:   spider_entry patrolling no_monster_gen
KFEAT:  O = enter_spider_nest
KFEAT:  ^ = known web trap / floor
KFEAT:  ~ = known web trap / w:20 floor
MAP
...~~~~~...
.~~~~~~~~~.
.~~~^^^~~~.
~~~^^^^^~~~
~~^^^^^^^~~
~~^^^O^^^~~
~~^^^^^^^~~
~~~^^^^^~~~
.~~~^^^~~~.
.~~~~~~~~~.
...~~~~~...
ENDMAP

NAME:   spider_nest_entry_rubble
TAGS:   spider_entry patrolling no_monster_gen
KFEAT:  O = enter_spider_nest
KMONS:  O = wolf spider / tarantella / redback / jumping spider
SUBST:  x = ..xx^
KFEAT:  ^ = web
MAP
   xxxxx
 @xxxxxxxx
 x.xxxxxxx
xxx.xxxxxxx
xxxx.xxxxxx
xxxxxOxxxxx
xxxxxxxxxxx
xxxxxxxxxxx
 xxxxxxxxx
 xxxxxxxxx
   xxxxx
ENDMAP

NAME: nicolae_spider_entry_tight_spaces
TAGS: spider_entry no_pool_fixup no_monster_gen no_trap_gen
KFEAT: O = enter_spider_nest
NSUBST: A = 2:x / '
SUBST: X = xxx', ' = .....^^1
KFEAT: ^ = web
KMONS: 1 = spider
MAP
 xxxxxxxxx
xxXxXxXxXxx
xXx'x'x'xXx
xx'x'xAx'xxx
x'xXxXxXx'xx
@..x'xAx.1.w@
@..'x'x'1O1w@
@..x'xAx.1.w@
x'xXxXxXx'xx
xx'x'xAx'xxx
xXx'x'x'xXx
xxXxXxXxXxx
 xxxxxxxxx
ENDMAP

NAME: nicolae_spider_entry_non_spiders
TAGS: spider_entry ruin_lair
NSUBST: 1 = 21 / 1
KFEAT: O = enter_spider_nest
KMONS: 1 = scorpion / goliath beetle / worm / giant mite / giant cockroach
KMONS: 2 = demonic crawler / boulder beetle / yellow wasp
MAP
...........
..xx...xx..
.xxxx.xxxx.
.xx1x.x1xx.
..xx1.1xx..
.....O.....
..xx1.1xx..
.xx1x.x1xx.
.xxxx.xxxx.
..xx...xx..
...........
ENDMAP

NAME: nicolae_spider_entry_orb_guardian
TAGS: spider_entry no_monster_gen no_pool_fixup no_trap_gen
KPROP: 'W = no_rtele_into
NSUBST: a = ..x / .
SUBST: W = w', X = x., Q = xxx@, ' = ...x, . = .....^
KFEAT: O = enter_spider_nest
KFEAT: ^ = web
KMONS: O = orb spider
MAP
   QQQX@@XX
 xxxxxXX..XX
xxXXXXxxx..xx
xX.....a..''x
xx+wwW''''''xx
xX..wW''''''xx
xXO.wW''''''xx
xX..wW''''''xx
xx+wwW''''''xx
xX.....a..''x
xxXXXXxxx..xx
 xxxxxXX..XX
   QQQX@@XX
ENDMAP

##############################################################################
# Regular vaults (some adapted from the old portal vault)
##############################################################################

NAME:    spiders_nest_a
TAGS:    no_item_gen no_monster_gen no_pool_fixup
DEPTH:   Spider:1-4
WEIGHT:  5
ORIENT:  southeast
MONS:    giant mite / scorpion w:5
MONS:    scorpion / emperor scorpion w:1
MONS:    trapdoor spider generate_awake / nothing w:20
MONS:    redback / wolf spider
MONS:    jumping spider / tarantella w:20
MONS:    emperor scorpion / demonic crawler / nothing
MAP
@@@x
@..xxx
@...xxx       xxxxxxxx
xx...xxxxx   xxWWWWxxxxx
 xx...xxxxx xxxWW.Wxxxxxxxx
  xx...xxxxxxxxW.3.xxxxxxxxxxxxxxx
   xx....xxxxx......xxxxxxxxxxxxxxxxxx
   xxx...xxxx...xx...xxxxxxxxxxxxxxxxx
   xxx....xx...xxxx...xxxxxW4**xxxxxxxx
    xxxx.1111.xxxxxx..WWWxxWW4*xxxxxxxxx
     xxxx1111xxxxxxxx..WWxxWWW4xxxxxxxxxxx
      xxx1111xxxxxxxx...WxxWWWWxxxxxxxxxxx
     xxx.1111.xxxxxx..3.WxxxWWxxxxxxxxxxxx
    xxx...xx...xxxx.....xxxxWWxxxxxxxxxxxx
  xxxx...xxxx...xx...x..xxxxWWxxxxxxxxxxxx
  xW....xxxxxx.2222.xx..xxxWWWWxxxxxxxxxxx
 xx....xxxxxxxx2222xxx..xxxWWWWxxxxxxxxxxx
 xx..3.xxxxxxxx2222xxx..xxxW..Wxxxxxx.**xx
xxxW....xxxxxx.2222.xx..xx.....Wxxxxx..*xx
xxxxxx...xxxx...xx...x..x...xx..Wxxx....xx
 xxxxxx...xx...xxxx........xxxx..Wx...xxxx
  xxxxxx......xxxxxx..44..xxxxxx.55..xxxxx
  xxxxxxx............4554.......5665xxxxxx
  xxxxxxxW..3........4554.......5665xxxxxx
 xxxxxxxxWW..xxxxxxxW.44.Wxxxxxx.55.xxxxxx
 xxxxxxxxxxxxxxxxxxxWW..WWxxxxxxxxxxxxxxxx
 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ENDMAP

# Scorpion Pit Map by 7hm
# Two corridors leading into a scorpion pit.  Deep water pools showcase spider
# clinging.
NAME:   spiders_nest_scorpion_pit
TAGS:   no_item_gen no_monster_gen no_pool_fixup
ORIENT: southeast
DEPTH:  Spider:1-4
KMONS:  1 = spider
KMONS:  2 = scorpion / wolf spider w:3
KMONS:  3 = trapdoor spider generate_awake / nothing
KMONS:  74 = redback / wolf spider / nothing w:15
KMONS:  5 = jumping spider / tarantella w:20
KMONS:  6 = emperor scorpion / scorpion
KMONS:  M = fungus
KFEAT:  14 = W
SUBST:  W = WW. , * = %%**WM , X = xxW
SUBST:  _ : __x     , - : --x     , ' : ''x     , " : ""x
NSUBST: _ = 2:x/*:. , - = 1:x/*:. , ' = 1:x/*:. , " = 2:x/*:.
MAP
                          xxxxxxxxxxxx
          xxxxxxxxxxxxxxxxxxxxx''xxxxx
         xxxxxXXX...WWWWWWxwww4x'xxxxx
        xxxXWWWW...2WW....wwwww''xxxxx
    xxxxxxxW...WWXXXxxxxWW.wxxxxxxxxxx
   xxxxxxxX.WW2XXxxxx**xxWWxxxxxxxxxxx
   x1wxxxXWWXXxxxxxx7**xx++xxxxxxxxxxx
  xxwwwxxWWxxxxwwxxx+xxxx..Wxxxxxx""xx
xxxxxwwxx++xwwwwww4x6xxx5..*Wwwww4""xx
@..xxx.WW.WWWwwwww1x.3+...65*Wwwww4xxx
@..WWWWW.WWWWwwwww1x6xxx6..*Wwwww4""xx
@..xxx.WWWWWWwwwwxxx+xxxx..Wxxxxxx""xx
xxxxxxxxx++xwwww1xx**xxxx++xxxxxxxxxxx
   xxxxxx..xxwwwxx7**xxxxxWWxxxxxxxxxx
      xxXWWxxx1xxxxxxxxxxWWWxxxxxxxxxx
     xxxXWWxxxxxxX3WWWXXXWWxxxxxxxxxxx
   xxxxxXWWxxxxxxXWWWWW.WW.Wxxxxxxxxxx
  xxxxxxXWWWXxxxxXWWWWWW..WWwxxxxxxxxx
  x__xxxwW.WWWxxXXX..XXxxWWWwwxxxxxxxx
  x__xwwwwxW.WW.WW.3.Xxxxxxwwww--xxxxx
  x__4wwwxxxxx.WWWWxxxxxxxxxxw4x-xxxxx
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx--xxxxx
   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ENDMAP

# Spider Trap Map by 7hm
# Small winding map leading to a treasure room.  In the room is a
# basket of spiders trap.
NAME:   spiders_nest_spider_trap
TAGS:   no_item_gen no_monster_gen no_pool_fixup
DEPTH:  Spider
NSUBST: * = 1:z / *:*
KMONS:  M = fungus
{{
 local tm = TriggerableFunction:new{func="callback.spider_nest_trap"}
 local wm = TriggerableFunction:new{func="callback.spider_trap_warn"}
 tm:add_triggerer(DgnTriggerer:new{type="player_move"})
 wm:add_triggerer(DgnTriggerer:new{type="player_move"})
 lua_marker('z', tm)
 lua_marker('Z', wm)
}}
SUBST:  W = Ww , z : * , * = %%$*..M , . = WW.
MONS:   spider w:20 / wolf spider / trapdoor spider generate_awake / \
        redback / tarantella w:2
MAP
  xxxxx    xxxx
 xxxxxxx xxxxxxx
xx1....xxxWWWWxxx
xxW.1xW.x......1xx
xxW.xxxW..xxxxW.xx
 xxW.xx1xxxWWxx.xx
 xxxW.xxxxW....Wx
  xx1..xxxW.xx11xx
   xxxx.Wx1.Wxxxxx
    xxx.Wxxx.Wxxx
  xxxxW.xxxxx.W1xx
   xx1..x***xx.Wxx
 xxxx.Wxx****xx.xx
.....xxx******Z.xx
..xxxx xxxxxxxxxx
@..xx   xxxxxxxx
ENDMAP

NAME:   spiders_nest_the_unseen
TAGS:   no_item_gen no_monster_gen
DEPTH:  Spider:3-
MONS:   trapdoor spider, patrolling ghost moth
SUBST:  | = %%., * = ...%%
MAP
     ........
    ..xxxxxx..
   ..xx$$$$xx..
  ..xx......xx..
 ..xx........xx..
 .xx..........xx.
..x*..1........x.
.xx|2.1..........
.xx|..1..........
..x*..1........x.
 .xx..........xx.
 ..xx........xx..
  ..xx......xx..
   ..xx$$$$xx..
    ..xxxxxx..
     ........
ENDMAP

NAME:   spiders_nest_ghost_moth_duel
TAGS:   no_item_gen no_monster_gen
DEPTH:  Spider:3-
MONS:   ghost moth, tarantella
MAP
    ........
   ..xx..xx..
  ..xx....xx..
 ..xx......xx..
..xx........xx..
.xx....WW....xx.
.x....WxxW....x.
.x...WxxxxW...x.
.x.2.WxxxxW.2.x.
.x.22.WxxW.22.x.
.xx....WW....xx.
..xx...1....xx..
 ..xx......xx..
  ..xx....xx..
   ..xxxxxx..
    ........
ENDMAP

# Spider Web by Mumra
#
# Heavily edited from the original portal vault map.
NAME:    mumra_spider_spiderweb
TAGS:    no_item_gen no_monster_gen no_pool_fixup
ORIENT:  float
DEPTH:   Spider:1-4
WEIGHT:  5
NSUBST:  y = 1:y / *:.
{{
local ym = TriggerableFunction:new{func="callback.spiders_nest_cobweb_light"}
ym:add_triggerer(DgnTriggerer:new{type="player_move"})
lua_marker('y', ym)
local vm = TriggerableFunction:new{func="callback.spiders_nest_web_lair"}
vm:add_triggerer(DgnTriggerer:new{type="player_move"})
lua_marker('v', vm)
}}
SUBST:   y = .
SUBST:   v = .
# Water etc.
SUBST:   w = z
SUBST:   W = W w:15 x:4
SUBST:   . = .:6 W
SUBST:   z = W:5 w:50 .:2
SUBST:   X = w x
SUBST:   2 = 2 *:4
KMONS:   2 = tarantella / redback w:12 / jumping spider w:8 / wolf spider w:5
KMONS:   3 = redback
SUBST:   4 = 4 *:3
KMONS:   4 = jumping spider / wolf spider w:5 / spider w:20 / redback w:2
SUBST:   6 = 6 *:2
KMONS:   6 = spider / wolf spider w:4 / jumping spider w:1
SUBST:   7 = 7 .:50
KMONS:   7 = trapdoor spider
MAP
     ..........   ......  ........
     .xwxxxxxx3....xxxx....xxxxwx..
     .xxwxx66xx..xxxWWxxxxxx66wxxx.
     .x6xwwwxxxxxxWW.7.WWxxxxxw66x.
     .xxxxxxwxWW.7..WWW.7.WWWxxwxx.
     ..xxxxwW7..WWWXxxxWWW...7wxx3.
     ...xxxW.WwxxxxxxxxxxxXXWw.Wxx..
   ...xxxxW.Wxxwwx4xxxxxxxxxxwW.Wxx..
  .3xxxxxW.2xxxxxwwxxxxxxxxxwxxW.Wxx...
  .xxxxx7.WxxxxxxxxwwxxxxxxwxxxxW7Wxxx.
  .x4xx.WWxxxxxxx2...w.22.wxxxxxxW.www.
  .xxw.WXxxxxxx2..2|x2w..w.xxxxwwwW.Wx.
 ..xx7WXxxxxx2..2.x2www.w..2wwwxxxW7Wx.
..xxW.Wxxxxx2.x...wwwwwwxwww2xxxxxXW.x.
.xxW.Wxxxxxxx..wwwwwwwwww...2xxxxxXW.x.
3xW.Wxxxxx4wwww.x..www.x.www.2xxxxXW7x.
.xW.WWxxxwwxxxx....x........wxxxxXW.xx.
.wwW..WWwxxxxxxxxx......xxxxxw4xxW.Wx..
.xxWWW.7.WWWxxxxxxxxxxW.WWWWxwxxW7Wxx.
..xxxxWWW.7.WWXxxxxxxxxW7.v.WWwWW.Wx..
 ....xxxxWWW.WWWXXxxxWWWxxWW.....Wxx3
    ....xxxxW.7WWWWWWxxxx...WWWWWxx..
       ..3.xxxx...WWW.7..WWWWxxxwx..
          ...xxxx.......WWWWxx.....
            ....xxxxxxxxxxxxxx.
               ........3.......
ENDMAP

NAME:   hangedman_spider_trapstep
TAGS:   no_monster_gen no_pool_fixup patrolling allow_dup
DEPTH:  Spider:1-3, Zot:1-4
KMONS:  0 = patrolling spider
KMONS:  1 = tarantella
: if you.branch() == "Zot" then
KMONS:  2* = jumping spider / orb spider w:5
KMONS:  3| = ghost moth / moth of wrath
KITEM:  | = acquire any w:5 / any good_item
KFEAT:  ` = known zot trap
KFEAT:  ^ = web w:7 / known web trap w:1 / any trap w:1 / . w:7
KFEAT:  ~ = zot trap w:15 / shaft trap / web w:4 / known web trap w:1 / . w:5
NSUBST: 4 = 1:122 / 1:112
SUBST:  X = c
: else
KMONS:  2 = tarantella
KMONS:  3 = orb spider
KITEM:  | = superb_item / any good_item w:5
KFEAT:  ` = known shaft trap
KFEAT:  ^ = web w:9 / known web trap w:1 / . w:6
KFEAT:  ~ = shaft trap w:15 / web / . w:5
NSUBST: 4 = 1:2 / *:W
SUBST:  X = x
: end
KITEM:  * = star_item / superb_item w:5
KFEAT:  123*| = shallow_water
KMASK:  . = !no_monster_gen
SUBST:  ' = ..^
MAP
    ..''0''..
   ..XX'''XX..
  .0XX`'G'`XX0.
 ..XX~'''''~XX..
..XX~''^^^''~XX..
.XX~''^xxx^''~XX.
.X~''^Wx1xW^''~X.
.X~'^xxwxwxx^'~X.
.X~'^x4xwx4x^'~X.
.X~'^xWwxwWx^'~X.
.X~''^xW2Wx^''~X.
.XX^''^xxx^^'^XX.
..XXW''^^^''WXX..
 ..XX3'''''3XX..
  ..XXW*|*WXX..
   ..XXXXXXX..
    .........
ENDMAP

NAME:    hangedman_creepy_crawlies
TAGS:    no_monster_gen patrolling
ORIENT:  float
DEPTH:   Spider:1-4
WEIGHT:  5
KMONS:   1 = scorpion w:20 / spider w:13 / worker ant w:35 / \
             giant mite w:5 / giant cockroach w:1 / worm w:1
KMONS:   2 = soldier ant / goliath beetle / vampire mosquito w:5
KMONS:   3aAdD = brain worm / boulder beetle w:5
KMONS:   4bB = demonic crawler
KMONS:   5eE = place:Spider:$ zombie
KMONS:   6cCfF = wolf spider / emperor scorpion w:8
KMONS:   0% = crawling corpse hd:3 / nothing
KITEM:   fF = star_item w:8 / superb_item w:2
KITEM:   6 = superb_item w:5 / any armour good_item ego:poison_resistance w:5
KFEAT:   12345abcdefABCDEF% = web / shallow_water / . w:30
KFEAT:   . = . w:39 / web w:1
KMASK:   ' = !no_monster_gen
KPROP:   ` = no_rtele_into
SHUFFLE: ab, AB, cd, CD, ef, EF, gh, GH
SUBST:   ' = .:28 W:1 %:1, % = 00%%.
SUBST:   cC = c:13 4:1 3:1, 1 = 1:17 2:2 5:1
SUBST:   ` = .
:        dgn.delayed_decay(_G, '%', 'any corpse')
MAP
                  ' '     'xxx'     ' '
    . .  . .     ''''''  ''xDx''   '''''
   ..........   ''xxx''''''x2x''' ''xxx''
  ..xxx..xxx..   'xExx''xxxx1xxx'''xxBx'
  .xx1x..x1xx.  ''xx5xxxx.....%xxxxx1xx''
 ''x1xx%%xx1x''  ''xx4x%.........xx1xx''
 ''xx1%%%%1xx''   ''xx...xxx1xxx..%xx''
  ''xxx00xxx''    ''x...xx`x2x`xx%..x''
   ''xx..xx''   '''xx.%x4xxxCxxx1x..xx''
''''xx..xx''  '''''x.1xxx5xxxxx1xxx..x''
xxxxx..xx''   'xxx'x11x`xxFx'xAxx`x..x''
x21x..xxxx'' ''x6xxx%3xxxxxx'xxxxxx..xx''
xxx....12x'''''xx42%%%24xxx''''x21....xxx
''xx..xxxxxx'xxxxxx3%xxx6x'' ''xxxx..x12x
 ''x..x`xxax'xexx`x11x'xxx''  ''xx..xxxxx
 ''x..xxx1xxxxx5xxx1.x'''''  ''xx..xx''''
 ''xx..x1xxxcxxx4x%.xx''    ''xx..xx''
  ''x..%xx`x2x`xx...x''    ''xxx00xxx''
  ''xx%..xxx1xxx...xx''   ''xx1%%%%1xx''
 ''xx1x..........%x4xx''  ''x1xx%%xx1x''
''xx1xxxxx%......xxx5xx''  .xx1x..x1xx..
 'xbxx'''xxx1xxxxx'xxfx'   ..xxx..xxx..
''xxx'' '''x2x''''''xxx''   ..........
 '''''   ''xdx''  ''''''     . .  . .
  ' '     'xxx'     ' '
ENDMAP

# Some wasp vaults. Wasps eat spiders (and players).
NAME:   spiders_nest_wasp_nest
DEPTH:  Spider
MONS:   red wasp / w:5 yellow wasp
SUBST:  1 = %1
SUBST:  a = .a
SUBST:  A = a
COLOUR: a = brown
SUBST:  a = x
MAP
  ......
 ..aaaa..
..aAAAAA..
.aAA111Aa.
.aA1111Aa.
.aA1111Aa.
.aAA11AAa.
..aAAAAa..
 ..aaaa..
  ......
ENDMAP

NAME:   lemuel_wasp_nest
DEPTH:  Spider
MONS:   yellow wasp / weight:2 red wasp
WEIGHT: 1
SUBST:  1=1 .:15
SUBST:  ?=a.
COLOUR: a = brown
SUBST:  a = x
MAP
     a?@?a
     a?.?a
  aaaaa.aaaaa
 aa111a.a111aa
aa111aa.aa111aa
a111aaa.aaa111a
a?1.??a.a??.1?a
aa?...a.a...?aa
 aaa?.....?aaa
   aaa?.?aaa
     aa.aa
      a.a
      a.a
      a*a
      aaa
ENDMAP

NAME:   guppyfry_wasp_nest
TAGS:   no_monster_gen no_trap_gen
DEPTH:  Spider
MONS:   yellow wasp / red wasp / nothing
SUBST:  - = wW.%
MAP
@WxxxxxxxxxxxxxxW@
xWW....WWWW....WWx
xxWW--WW--WW--WWxx
 xxWWWW1111WWWWxx
  xxWW..11..WWxx
   xxxxxxxxxxxx
ENDMAP

# A few mining accidents
NAME:   nicolae_spider_mines_1
DEPTH:  Spider:1-4
ORIENT: southwest
TAGS:   uniq_spidermines
SUBST:  B = z..
RTILE:  O = wall_lair
FTILE:  Oz = floor_orc
RTILE:  X = wall_stone_brick
COLOUR: O = brown
COLOUR: z = brown
COLOUR: X = lightgrey
SUBST:  O = x
SUBST:  z = v:1 z:14
KMONS:  z = jumping spider w:5 / wolf spider w:3 / spider w:5 / redback w:1 / \
            tarantella w:1 /  nothing w:100
: dgn.delayed_decay(_G, 'v', 'orc skeleton')
KITEM: z = any armour w:5 / any weapon w:5 / gold w:1 / nothing w:50
KFEAT: z = web / floor w:60
MAP
xxxxxxxxxxxxxxx
xxxxxxxx......xx
xxxxxx.....x...xx
xxxx.......xx...@
xxxx....BBBxx...@
xxxx.xxxxBBOxx..@
xxxxxxOOOBBBOxxxx
xxxxxOOOzzzzOOOxx
xxxOOOOzzzzzzOOOx
xxOOOzzzzzzzzzOOx
xOOOzzzzzzzzzzOOx
xOOzzzzzzzzzzOOxx
xOOzzzzzzzzzOOxx
xOOzzzzzzzzzOOx
xxOOzzzzzzzzOOx
xxxOOzzzzzzOOxx
xxxOOzzzzzzOOxx
xxXXXXXXXXXXXXx
xxXXXXXXXXXXXXx
ENDMAP

NAME:   nicolae_spider_mines_2
DEPTH:  Spider:1-4
ORIENT: southeast
TAGS:   uniq_spidermines
SUBST:  B = z..
RTILE:  O = wall_lair
FTILE:  OzI_ = floor_orc
RTILE:  X = wall_stone_brick
COLOUR: O = brown
COLOUR: z = brown
COLOUR: X = lightgrey
SUBST:  O = x
SUBST:  z = v:1 z:14
KMONS:  z = jumping spider w:5 / wolf spider w:3 / spider w:5 / redback w:1 / \
            tarantella w:1 / nothing w:100
: dgn.delayed_decay(_G, 'v', 'orc skeleton')
KITEM: z = any armour w:5 / any weapon w:5 / gold w:1 / nothing w:50
KFEAT: z = web / floor w:60
KFEAT:  _ = altar_beogh

MAP
       xxxxxxxxxxxxx
       @.....xxxxxxx
       @........xxxx
       @xxxxxx..xxxx
       xxOBBBBBBxxxx
     xxxOOBBBOOOxxxx
   xxxOOOzzzzzzOOxxx
  xxOOOOzzzzzzzOOxxx
  xOOOOOzIzzzIzOOxxx
  xOzzzzzzz_zzzOOxxx
  xOzzzzzIzzzIzzOOxx
  xOzzzzzzzzzzzzOOxx
  xOOOOzzzzzzzzOOxxx
   xxOOOzzzzzzOOOxxx
   xXXXXXXXXXXXXXXxx
   xXXXXXXXXXXXXXXxx
ENDMAP

NAME:   nicolae_spider_mines_3
DEPTH:  Spider:1-4
ORIENT: southwest
TAGS:   uniq_spidermines
NSUBST: F = 1:Q / *:z
SUBST:  B = z..
RTILE:  O = wall_lair
FTILE:  OzQ = floor_orc
RTILE:  X = wall_stone_brick
COLOUR: O = brown
COLOUR: z = brown
COLOUR: X = lightgrey
SUBST:  O = x
SUBST:  z = v:1 z:14
KMONS:  z = jumping spider w:5 / wolf spider w:3 / spider w:5 / redback w:1 / \
            tarantella w:1 / nothing w:100
: dgn.delayed_decay(_G, 'v', 'orc skeleton')
KITEM: z = any armour w:5 / any weapon w:5 / gold w:1 / nothing w:50
KFEAT: z = web / floor w:60
KFEAT: Q = abandoned_shop
MAP
         xxxxxxxxx
xxxxxxxxxxOOOOOOOxx
xxxxxxxxxxOzzzzzOOxxx
xxxxxxxxxxOzzzFzzOxxxxx
xxxxxxxOOOOOzzzzzOx...@
xxOOOOOOOOOOzzzzOOx...@
xxOzzzzOOOOzzzzzOxx...@
xxOzzzzzOOzzzzzzOx....x
xxOzzFzzzzzzzzzzOx...xx
xxOzzzzzzzzzzzzBBBBB.x
xxOzzzzzzzFzzzBBBBBBxx
xxOOzzzzzzzzzOOxxxxxxx
xxxOOzzzzzzzzOOxxxxxxx
xxxOOzzzzzzzOOxxxxxxxxx
xxxxOOzzzzzzOOxxxxxxxxx
xxxxxOzzzzzzOOxxxxxxxxx
xxxxXXXXXXXXXXXxxxxxxxx
xxxxXXXXXXXXXXXxxxxxxxx
ENDMAP

# Misc minivaults
NAME:   guppyfry_spider_mini_1
DEPTH:  Spider
MONS:   spider / jumping spider, trapdoor spider / redback
MAP
x@.xxxxxxxx.
xx..xxxxx..@
xxx..xxx..xx
.xxx..x..xx.
@..xx.1.xx.@
xx...111...x
xxx..111...@
xx..x.1.x.xx
x..xx..xx..x
@.xxx..xxx.@
xxxx..xxxxx.
xxx.@xxxxxxx
ENDMAP

NAME:   guppyfry_spider_mini_2
DEPTH:  Spider
MONS:   spider / jumping spider / trapdoor spider / redback
MAP
xx..xxxx..xx
x....xx....x
xx..xxxx..xx
xxx11xx11xxx
xWWxxWWxxWWx
@WWWWWWWWWW@
xWWxxWWxxWWx
xxx11xx11xxx
xx..xxxx..xx
x....xx....x
xx..xxxx..xx
ENDMAP

NAME:   guppyfry_spider_mini_3
DEPTH:  Spider
MONS:   spider / jumping spider / trapdoor spider / redback
MAP
W....WW....W
xW...WW...Wx
.xWWWWWWWWx.
.WxW.WW.WxW.
.W.1WWWW1.W.
WWWW1111WWWW
.W.1WWWW1.W.
.WxW.WW.WxW.
.xWWWWWWWWx.
xW...WW...Wx
W....WW....W
ENDMAP

NAME:   nicolae_trapdoor_corridor
DEPTH:  Spider:1-3
MONS:   trapdoor spider
SUBST:  z = ....***
NSUBST: ! = 1:^ / *:.
NSUBST: ' = 1:^ / *:.
KFEAT:  * = shaft trap w:40 / web / floor
KFEAT:  ^ = known shaft trap
MAP
xxxxxxxxxxxxx
@!.1.xxzzzzxxx
@!.1.zzz1zzz.xxx
xxx.zzzxxzz.1.'@
  xxzzzzzzxx1.'@
   xxzz1zzxxxxxx
    xxzzzxx
     xxxxx
ENDMAP

NAME:   nicolae_orb_island
DEPTH:  Spider:2-
TAGS:   no_pool_fixup
MONS:   generate_awake orb spider
KPROP:  1'z = no_rtele_into
KMASK:  w = no_monster_gen
SUBST:  z = x
MAP
        ..
      ......
    ....x.....
   ..........w...
  ....x.www........
  ...x..wwwwwww.....
 ...w...w1''1www....
 .......w'z''www.x...
...w...ww'''zzww.....
....wwww1'''1wwww.....
 .....ww'zz''ww'ww...
 ...x.ww''''www'x..w.
  ..w.wwww'1wwwwx....
  ....xwwwwwww.......
   ........ww.w.....
    w..............
     ...xx.......
      ........w
       .....
ENDMAP

NAME:   nicolae_orb_stairs
TAGS:   no_pool_fixup no_monster_gen
DEPTH:  Spider:2-
MONS:   orb spider / nothing w:8
SUBST:  s = x.
SUBST:  w = www^
SUBST:  . = ...^
KFEAT:  ^ = web / floor
SHUFFLE: [{(
MAP
 ssss@@@ssss
sssxs^^^sxsss
ssx...1...xss
sx.1.www.1.xs
ss..^...^..ss
@^.w.....w.^@
@^1w..[..w1^@
@^.w.....w.^@
ss..^...^..ss
sx.1.www.1.xs
ssx...1...xss
sssxs^^^sxsss
 ssss@@@ssss
ENDMAP

NAME:   nicolae_spider_nook
DEPTH:  Spider
TAGS:   no_monster_gen
MONS:   wolf spider / redback / trapdoor spider / jumping spider / spider
KITEM:  d = | w:5 / * w:20 / $
KMONS:  d = orb spider
MAP
   xx+xx
  xx.x.xx
 xx1x1x1xx
xx.x.x.x.xx
x1x1x1x1x1x
xx.x.x.x.xx
 xx1x1x1xx
  xxdxdxx
   xx*xx
    xxx
ENDMAP

# Demonic crawler nest, maybe with a demonic farmer
NAME:   nicolae_crawler_farm
DEPTH:  Spider
TAGS:   no_monster_gen patrolling no_trap_gen
MONS:   crimson imp w:50 / white imp w:25 / shadow imp w:15 / \
        iron imp w:10 / nothing w:50
MONS:   demonic crawler
KPROP:  d' = no_rtele_into
SUBST:  d = c
NSUBST: c = 6:2 / *:.
MAP
    xxxxx
  xxxxxxxxx
  xxdl..ldxx
  xlll.cl'dx
 xxlc...ldxx
 xx..l1.lxxx
 xxc.ll.xxxx
 xxl...cxxx..
  xxcl..lxx...
  xxxc....l...
   xxxxl......
     xxxxlllx
       xxxxx
ENDMAP

NAME:   nicolae_spider_shape
DEPTH:  Spider
MAP
 ...........
 .xxx...xxx.
.....x0x.....
.xxx0xxx0xxx.
...0xxxxx....
....xxxxx0...
.xxx0xxx0xxx.
.....x0x.....
 .xxx...xxx.
 ...........
ENDMAP

NAME:   nicolae_arachne_temple
DEPTH:  Spider:2-
TAGS:   no_item_gen no_monster_gen no_trap_gen
MONS:   spider, tarantella, wolf spider, redback, jumping spider
FTILE:  -2 = FLOOR_SANDSTONE
FTILE:  'A435 = FLOOR_LIMESTONE
COLOUR: -2 = brown
COLOUR: 'A435 = yellow
KFEAT:  -' = web / floor w:40
KMONS:  A = Arachne, orb spider
MAP
         .1.
        cc'cc
    1.cc5'''5cc..
   .'c''--'--''c'1
   .c'--2-3-2--'c.
   c'-'-'''''-'-'c
   c'--'--'--'--'c
  c5-2'-'-'-'-'2-5c
 .c'--'--4'4--'--'c.
 1'''3''''A''''3'''1
 .c'--'--4'4--'--'c.
  c5-2'-'-'-'-'2-5c
   c'--'--'--'--'c
   c'-'-'''''-'-'c
   .c'--2-3-2--'c.
   1'c''--'--''c'.
    ..cc5'''5cc.1
        cc'cc
         .1.
ENDMAP

NAME:    lemuel_spider_zombies
DEPTH:   Spider:1-4
ORIENT:  float
TAGS:    no_monster_gen
MONS:    spider zombie / wolf spider zombie / tarantella zombie
MONS:    necromancer
MONS:    plant
SHUFFLE: {}
SUBST:   . = .:50 1:4 3:1
SUBST:   > = <>
SUBST:   }=} .:4
SHUFFLE: {}
SUBST:   == +:15 .:3
SUBST:   ? = x.
MAP
       xxxxxx
      xx?..?xx
xxxxxxx?....?xx
x{...........?xxx
xxxxxx?........?xxxx
     xx...........?xxxx
      x?..111........?xx
      x?.11111........?x
      xx.11111........?xx
       x?.111..........?xxxxxxxx
       x?.....................}x
cccccccx...............?xxxxxxxx
c|..=2.+...........??xxxx
cccccccxx?.......?xxxx
        xx?....?xxx
         xxx...xx
           x?.?x
         xxx??xx
       xxx????x
     xxx....?xx
    xx?.>..xxx
    x?....xx
    xx..?xx
     x?xxx
     xxx
ENDMAP

NAME:   nicolae_orb_stairs_large
TAGS:   no_pool_fixup no_monster_gen
DEPTH:  Spider:2-4
ORIENT: float
WEIGHT: 3
MONS:   orb spider / spider
SUBST:  s = x.
SUBST:  . = ...^
KFEAT:  ^ = web
SHUFFLE: [{(<
MAP
     xxx@@@xxx
    xxsx^^^xsxx
   xxsss...sssxx
  xxss...1...ssxx
 xxs1.........1sxx
xxss...wwwww...ssxx
xss...^.www.^...ssx
xxs..w.......w..sxx
@^...ww...(.ww...^@
@^.1.ww.[...ww.1.^@
@^...ww...{.ww...^@
xxs..w.......w..sxx
xss...^.www.^...ssx
xxss...wwwww...ssxx
 xxs1.........1sxx
  xxss...1...ssxx
   xxsss...sssxx
    xxsx^^^xsxx
     xxx@@@xxx
ENDMAP

NAME:   nicolae_spider_corner
DEPTH:  Spider:1-4
ORIENT: southwest
MONS:   orb spider
SHUFFLE: ABC, DEF, GH, IJ, abcdefghi
SUBST:  AEFGI = x, BCDHJ = .
NSUBST: a = 1:} / 1:] / 1:) / 1:1 / *:.
KMONS:  bcdefghi = tarantella / redback / wolf spider / \
        jumping spider / orb spider / demonic crawler / \
        scorpion / emperor scorpion / \
        trapdoor spider / yellow wasp / \
        red wasp / giant mite / nothing w:100
SUBST: X = xxxx^....0
KFEAT: ^ = web / floor w:20
MAP
xxxxxxxxX...
xxaaaa.xGG....XXX
xxa.0^^^xGX......X
xxxxHHxxxxxXX..0..X
xxc...xCCCxxxX.....X
xx0cc.CCCCCCxxXX^^..X
xxx..cxxxCCbbxxX..^..@@@@
xxAAAxxxx0.bbxxX...^...0.@
xxAAxxxx...bbxxX^^X.^^....
x.0^.BBB..xxxxX...X^^xXX...
x.^^.BBB.^.0.....^^..xxX...
xddXXxxxx^.......X....XxX..
xddXxxxxxxxxx^^^XXx....xx^^
xxxxxXXxDDD...0.xxxxx..xx..
xxeeee.DDDDD....xXXx^..xI..
xxX....DDDxEE...xX...^xxIIx
xx..0.xxxxEEEFFFxx.0.xxxIIx
xx..xxxEEEEEFFFFxx..Xx.^.xx
xx^^^EEEExxFFFFxx...Xxiiiix
xxx...EExx....xxx^^^xx.^.xx
xxff..^xx^^.ggxxh...XxxJJJx
xxff.^.0...xggxxhh...0^...x
xxxxx^....xxxxxxxxh...^..xx
xxxxxxxxxxxxxxxxxxxxxxxxxxx
ENDMAP

NAME: nicolae_spider_circle_web
TAGS: transparent extra
DEPTH: Spider
MAP
       ......x
     ...xxxxxx..
    ..xx.....xx..
   .xx......x..xx.
  .x....xxxxx....x.
 ..x...x....xx...x..
 .x...x....x..x...x.
xxx..x...xxx...x..x..
.x.xxx..x..xx...x..x.
.x..x.xxx.x..x..x..x.
.x..x..x.xxx.x..x..x.
.x..x..x..x.xxx.x..x.
.x..x...xx..x..xxx.x.
..x..x...xxx...x..xxx
 .x...x..x....x...x.
 ..x...xx....x...x..
  .x....xxxxx....x.
   .xx..x......xx.
    ..xx.....xx..
     ..xxxxxx...
       x......
ENDMAP

NAME: nicolae_spider_webs_and_nodes
TAGS: transparent extra
DEPTH: Spider
SUBST: A : .B, B : x .:5, C : .D, D : x .:5
MAP
             AAA
          ..ABBBA
       .....AxxBA
    ......xxxBxBA
 AAA...xxx...AAx..
ABBBxxx.x......x..
ABxxA....x.....x..
ABxBA....x......x..
 AAx.....xCC...xx..
 ..x....CDxDxxx.x..
 ..x....CxxxC....x..
  ..x.xxxDxDC....x..
  ..xx...CCx.....xAA
  ..x......x....ABxBA
   ..x.....x....AxxBA
   ..x......x.xxxBBBA
   ..xAA...xxx...AAA
    ABxBxxx......
    ABxxA.....
    ABBBA..
     AAA
ENDMAP

NAME: nicolae_spider_stair_cavern
DEPTH: Spider:2-
SHUFFLE: {[(
SUBST: X = .x, . = .:100 ^:5
KFEAT: ^ = web trap
MAP
  xxxxxxxxxx
 xxXXXXXXXXxxx
xxX.X...X.XXXxx
xX.X.XXX.X..XXxx
xXX.XXxXXXXX.XXxx
xX.XXXxxxxxXX.XXxx
xX.X.XXXXxxX.X.XXx
xXX.X...XXxXX.X..@
xxXXX.{..XxxXXXX.@
xXX.X...XXxXX.X..@
xX.X.XXXXxxX.X.XXx
xX.XXXxxxxxXX.XXxx
xXX.XXxXXXXX.XXxx
xX.X.XXX.X..XXxx
xxX.X...X.XXXxx
 xxXXXXXXXXxxx
  xxxxxxxxxx
ENDMAP

NAME: nicolae_spider_ant_collections
TAGS: uniq_anthill
DEPTH: Spider
NSUBST: % = 1:* / 5:% / 3:$ / *:1
SUBST: X = xxxx., 1 = 11102.
MONS: worker ant, soldier ant, queen ant
MAP
        xxxx      xxxxx
      xxxXXxxxx xxxxxxxx
  xxxxxXX%XxX%xxxXxxXXXxx
 xxXXxxX..XX.XX%x%XXX%Xxx
xxX.%xxXX.XX.XxX.X.XX.Xxx
xX.XXxxX.XX%X.XX.XxXX.Xxx
xxX..xX.xxxXX.XxX.Xx.xxx
 xxXX..x1.xxx.xxX.xx....
 xX%XXx......xxxxx...1..@
 xX.XXx.3.2.1..xx.......@
xxxX..x..........1..1xx.
xxX.Xx.x1.xx.1.1....xxxx
xxxX.xxxx.xxxx....xx.Xxxx
 xxxX%XX...XXx.xxxxXX.Xxx
  xxxXX.X.X.XxX.xx%XX.Xxx
   xxxXXX.XXxxXX..XxX%Xxx
     xxX%X%XxxxxXXxxxXxx
      xxxxxxx xxxxxxxxx
        xxxx     xxxx
ENDMAP

NAME: nicolae_spider_cling_halls
DEPTH: Spider, !Spider:1, !Spider:$
ORIENT: float
TAGS: no_pool_fixup extra
NSUBST: A = 2:w / *:x, B = 2:w / *:x, C = 2:w / *:x
SUBST: ' = ..wx, . = W...., [ = [{()}], X = x_, Q = xw
KMASK: Ww = no_monster_gen
CLEAR: _
MAP
 Xxx.......xxX
Xxxww'w'w'wwxxX
XxQwwAwBwCwwQxX
XxQwwAwBwCwwQxX
XxQwwAwBwCwwQxX
XxQwwAwBwCwwQxX
XxQwwAwBwCwwQxX
XxQww'w'w'wwQxX
XxQww.....wwQxX
XxQww..[..wwQxX
XxQww.....wwQxX
XxQwwwwwwwwwQxX
XxQwwwwwwwwwQxX
XxQQQQQQQQQQQxX
XxxxxxxxxxxxxxX
 XXXXXXXXXXXXX
ENDMAP

NAME: nicolae_spider_cling_ruins
DEPTH: Spider, !Spider:1
ORIENT: float
TAGS: no_pool_fixup extra
SHUFFLE: [{(
NSUBST: A = wx / x, B = wx / x, C = wx / x, D = wx / x, \
        E = 2:w / x, F = 2:w / x, G = 2:w / x, H = 2:w / x, I = ' / 1:'x / x
SUBST: X = x', ' = W..., Z = xw
KMASK: Ww = no_monster_gen
MAP
xxxX'''''''Xxxx
x'X'wwwwwww'X'x
xX'XwEEEEEwX'Xx
X'XXwwwwwwwXX'X
'wwwZwAAAwZwww'
'wHwwwwwwwwwFw'
'wHwDw'I'wBwFw'
'wHwDwI[IwBwFw'
'wHwDw'I'wBwFw'
'wHwwwwwwwwwFw'
'wwwZwCCCwZwww'
X'XXwwwwwwwXX'X
xX'XwGGGGGwX'Xx
x'X'wwwwwww'X'x
xxxX'''''''Xxxx
ENDMAP

NAME: nicolae_spider_hall_of_the_moth_king
DEPTH: Spider
ORIENT: west
TAGS: transparent
KMONS: M = moth of wrath / ghost moth / butterfly w:1
SHUFFLE: AB, CD
SUBST: B : ....c, D : ....c, AC : ., G : GGGc, G = GGGG., c : ccccx, \
       & = @...., 0 = 00., 0 = 0009
MAP
xxxxxxxxxxxxxxxxxxxxxxxxx.&.xx
xxxxcccccccccccccccccccccc+ccx
xxxxcG.GccG.GccG.GccG.GccG.Gcx
xcccc.0.cc.0.cc.0.cc.0.cc.0.cx
xc..9...AA...CC...AA...CC...cx
xc.G..G....G....G....G....G.cx
xc.M..0.BB.0.DD.0.BB.0.DD.0.cx
xc.G..G....G....G....G....G.cx
xc..9...AA...CC...AA...CC...cx
xcccc.0.cc.0.cc.0.cc.0.cc.0.cx
xxxxcG.GccG.GccG.GccG.GccG.Gcx
xxxxcccccccccccccccccccccc+ccx
xxxxxxxxxxxxxxxxxxxxxxxxx.@.xx
ENDMAP

NAME: cheibrodos_spider_creepycove
DEPTH: Spider, !Spider:$
TAGS: no_item_gen no_monster_gen patrolling
ORIENT: float
MONS: necromancer
KFEAT: ^ = known web trap
NSUBST: - = 5:defg / 3:^ / *:.
: dgn.delayed_decay(_G, 'd', 'wolf spider corpse')
: dgn.delayed_decay(_G, 'e', 'redback corpse')
: dgn.delayed_decay(_G, 'f', 'jumping spider corpse')
: dgn.delayed_decay(_G, 'g', 'tarantella corpse')
MAP
      xxxxxx
     xxxxxxxx
    xx--1--xx
 ...xx-----xx
@WWWxx-----xxx
WWWWxx-----xxx
xWWxxx--W--xx
xxWxxxxWWWxxx
xxWWxxxxWxxx
xxWWxxxWWxx
xxWWWxxWxxx
 xxWWWWWxx
 xxxxxxxxx
  xxxxxxx
ENDMAP

##############################################################################
# Rune vaults
##############################################################################

NAME:   spider_rune_water
PLACE:  Spider:$
WEIGHT: 20
ORIENT: northwest
KITEM:  O = gossamer rune of Zot
MONS:   ghost moth, red wasp / w:5 yellow wasp, emperor scorpion
MONS:   wolf spider / redback / tarantella / jumping spider / w:20 nothing
MONS:   trapdoor spider / nothing
MONS:   ghost moth
MONS:   orb spider
KMONS:  8 = moth of wrath / ghost moth
NSUBST: 6 = 1:6 / 1:46 / *:4
COLOUR: c = white
COLOUR: 18O+' = lightgrey
FTILE:  18cO+' = floor_pebble_lightgray
NSUBST: ' = 3:3 / 4:2 / 4=32'' / *:'
TILE:   c = wall_brick_gray
SUBST:  x : cccx
SUBST:  X = x
: if crawl.coinflip() then
SUBST:  W = WW.
: else
SUBST:  W = W..
: end
KFEAT:  Ww = shallow_water
SUBST:  = : .+
SUBST:  9 : 7.
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxX
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxX
xxxxxxxxxxxxxxxxxxxxxxWWWxxxxxxxxxxxxxxxxxxxxxX
xxxxxxxxxxxwwxxxxxxx..5.WxxxxxxxxxxxxxxxxxxxxxX
xxxxxxxxx644wwwxWW7.W..W.WWWWxxxxxxxxxxxxxxxxxX
xxxxxxxxxx44wwwW..WxxW.xx.57.WWxxxxxxxxxxxxxxxX
xxxxxxxxxxx4xxW..Wxxx.WxxWWxW..WxwwwxxxxxxxxxxX
xxxxxxxxxxxxxW.5WxxxxW..xxxxxW..Wwwwww46xxxxxxX
xxxxxxxxxxxxxW..Wxcccc..ccccxW.5.Wxxw444xxxxxxX
xxxxxxxxxxxxxW.Wxxc1'c++c'8cxxWW..Wxxxx4xxxxxxX
xxxxxxxxxxxxW.Wxxxc'''cc'''cxxxxW.WxxxxxxxxxxxX
xxxxxxxxxxxW5Wxxxxc''''''''ccccxxW.WWxxxxxxxxxX
xxxxxxxxxxxW.Wx44xc''''''''+'OcxxWW5.WxxxxxxxxX
xxxxxxxxxxx.Wwww4xcccccccccccccxxxwW..WxxxxxxxX
xxxxxxxxxWW.Wwww4xxxxxxxxxxxxxx44wwwW.WxxxxxxxX
xxxxxxxxW..Wxx46xxxWWWWxxWWWxxx444xxxW.WWxxxxxX
xxxxxxxxW5.WxxxxxWW...4WW4..WWxx6xxxxxW..WxxxxX
xxxxxxxxxW.WxxxxxW.WxW44444W..WxxxxxxxW5.WxxxxX
xxxxxxxxW..WxxxW.5WxxW.4.WxxW5WxxxxxW...WxxxxxX
xxxxxxxxxW..WxW..WxxxxW..WxxW..WxxW..WWWxxxxxxX
xxxxxxxxxxW.5.W..WxxxxxW...WxxW..W..WWxxxxxxXXX
xxxxxxxxxxxWW...Wxxxxxxx...xxxxWW5WWxxxxxXXXX
xxxxxxxxxxxxxWWWxxxxxxxx===xxxxxxWxxxxxXXX
xxxxxxxxxxxxxxxxxxxxxxxx+++xxxxxxxxxxxXX
XXXXXXXXXXXXXXXXXXXXX99.....99XXXXXXXXX
XXXXXXXXXXXXXXXXXX@@@@@@@@@@@@@@@XXXXXX
ENDMAP

NAME:   grunt_spider_rune_circles
TAGS:   no_pool_fixup
WEIGHT: 20
PLACE:  Spider:$
ORIENT: northwest
KITEM:  O = gossamer rune of Zot
MONS:   ghost moth / w:7 nothing, moth of wrath / ghost moth, emperor scorpion
MONS:   wolf spider / redback / tarantella / jumping spider / w:20 nothing
MONS:   orb spider / nothing, trapdoor spider / nothing
NSUBST: 7 = 3:1 / 1:2
SUBST:  W = W..
SUBST:  - = ....WWW^
KFEAT:  ^ = known web trap
TILE:   c = wall_brick_gray
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcx
xxxxxxxxxxxxwwxWxxxxxxxxwwxxxxxxwxxxwxxxxxxxxxxxxcx
xxxxxxxxxx.W..4..x..x........x..4.--.-wxxxxxxxxxxcx
xxxxxxxxw.4....x......4.xx....5WxW.4..xxxxxxxxxxxcx
xxxxxxxx..4.xcxxx.xxxxxxxxxxxwxxxwxx...Wxxxxxxxxxcx
xxxxxxxW4W.4WcccxxxccxxxccccxxxcxxxxxW..--xxxxxxxcx
xxxxxxx...4W6W6ccccWWccccWWcccccccccxxxx4.-xxxxxxcx
xxxxxxW54.x6W6WcWWW.4..........444.ccccxx..Wxxxxxcx
xxxxxxwW.xcccW666....W5.W....WWWWW..cccxx.W.xxxxxcx
xxxxxxx4Wxcc66..wwwwcccccccc..444....cccxx...Wxxxcx
xxxxxx.WxxcW-..wwcccc--575.ccccc..-.-.cccxx..-xxxcx
xxxxxx..xxcW-4.wcc-.575dwww4.--ccc.-..cccxx.4-xxxcx
xxxxxx.4WxcW-..5c.4wwwww3Oww474-3c..W5cccxxxW.xxxcx
xxxxxw..xxccW.4.c-74.wwwwwww4..ccc6-.Wcccxx..Wxxxcx
xxxxxx.4.xxccW4Wcccc...4...4---6-6-6ccccxx..-xxxxcx
xxxxxxx...xxcW45..-cccc-3cc-66-6-ccccxxxx4.Wxxxxxcx
xxxxxxxxW..xcccW-...44cccc6-6-6-ccxxxxxx..Wxxxxxxcx
xxxxxxxxwW4xxxcccccc4.....-6-ccccxxWWxx.Wxxxxxxxxcx
xxxxxxxxxx-..xxxxxxccc-----cccxxxx..4..Wxxxxxxxxxcx
xxxxxxxxxxx-.W..--xxxcccccccxxx6x4.xxwwxxxxxxxxxxcx
xxxxxxxxxxxxx-.4..--xxxxxxxxx-6-66xxxxxxxxxxxxxxxcx
xxxxxxxxxxxxxxxx-.4.W.x..xxx-6-w-xxxxxxxxxxxxxxxxcx
xxxxxxxxxxxxxxxxxxxx-...4....xx-4.xxxxxxxxxxxxxxxcx
xxxxxxxxxxxxxxxxxxxxx--xx-W-xxxx.4xxxxxxxxxxxxxxxcx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.4xxxxxxxxxxxxxxcx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx4.xxxxxxxxxxxxxxcx
xcccccccccccccccccccccccccccccxx4.4.xxccccccccccccx
xccccccccccccccccccccccccccccxx..4.4.xxcccccccccccx
xcccccccccccccccccccccccccccxx........xxccccccccccx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@@@@@@@@xxxxxxxxxxxxx
ENDMAP

NAME:   guppyfry_spider_rune
PLACE:  Spider:$
TAGS:   no_pool_fixup
ORIENT: southwest
KITEM:  O = gossamer rune of zot
KMONS:  O = ghost moth
KMONS:  * = emperor scorpion
MONS:   ghost moth, ghost moth / moth of wrath
MONS:   yellow wasp / red wasp / w:5 nothing
MONS:   w:2 demonic crawler / w:4 emperor scorpion
MONS:   tarantella / w:22 wolf spider / jumping spider / w:8 demonic crawler / \
        w:7 nothing
MONS:   trapdoor spider / nothing
MONS:   orb spider
NSUBST: 8 = 2:c / *:7, " = 1:. / 1:c. / *:c
SUBST:  - = .....WWW^
KFEAT:  ^ = known web trap
SHUFFLE: O12*
TILE:   C = wall_brick_gray
SUBST:  C = c
MAP
xxxxxxxxxxxxxxxxxxx@@@@@@@@@@xxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxx......xxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxx....xxxxxxxxxxxxxxxxx
xxxxxxxxxxccccccccccccc..cccccccccccccxxxxxx
xxxxxxxxxxcccccccccccc-..-ccccccccccccxxxxxxx
xxxxxxxxxxc6Wccccccccc-x.-cccccccccW6cxxxxxxxx
xxxxxxxxxxc6..c...CCCcx..xcCCC...c..6cxxxxxxxx
xxxxxxxxxxcW.-..c.45Oc6..6c154.c..-.Wcxxxxxxxx
xxxxxxxxxxcc..-c"c55Ccx..xcC55c"c-..ccxxxxxxxx
xxxxxxxxxxcccW.-ccCCCc-..-cCCCcc-.Wcccxxxxxxxx
xxxxxxxxxxcccc..-cccccx.-xccccc-..ccccxxxxxxxx
xxxxxxxxxxccccxW.-c8cc--.-cc8c-.Wxccccxxxxxxxx
xxxxxxxxxxcccc-.-xx--x-xx.x--xx-.-ccccxxxxxxxx
xxxxxxxxxxccc--3-x--.--55--.--x-3--cccxxxxxxxx
xxxxxxxxxxccc.333.-.-.5445.-.-.333.cccxxxxxxxx
xxxxxxxxxxccc--3-x--.--55--.--x-3--cccxxxxxxxx
xxxxxxxxxxcccc-.-xx--x.xx-x--xx-.-ccccxxxxxxxx
xxxxxxxxxxccccxW.-c8cc-.--cc8c-.Wxccccxxxxxxxx
xxxxxxxxxxcccc..-cccccx-.xccccc-..ccccxxxxxxxx
xxxxxxxxxxcccW.-ccCCCc-...cCCCcc-.Wcccxxxxxxxx
xxxxxxxxxxcc..-c"c55Ccx-.xcC55c"c-..ccxxxxxxxx
xxxxxxxxxxcW.-..c.45*c7--7c254.c..-.Wcxxxxxxxx
xxxxxxxxxxc6..c...CCCcc..ccCCC...c..6cxxxxxxxx
xxxxxxxxxxc6WccccccccccccccccccccccW6cxxxxxxxx
xxxxxxxxxxccccccccccccccccccccccccccccxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ENDMAP

NAME:   grunt_spider_rune_parallel
PLACE:  Spider:$
ORIENT: east
NSUBST: O = 1:O / *:P
KITEM:  O = gossamer rune of Zot
MONS:   ghost moth, moth of wrath, emperor scorpion
MONS:   wolf spider w:11 / redback / tarantella / jumping spider
MONS:   orb spider / red wasp, trapdoor spider
NSUBST: 1 = 2:1 / 1:1.. / *:4, 4 = 20:4 / 16:. / * = 44...
SUBST:  2 = 12, " = ^^...6, - = .....w^^
KFEAT:  ^ = known web trap
SUBST:  C : cx
TILE:   c = wall_brick_gray
KMASK:  w = no_monster_gen
MAP
                      xxxxxxxxxxx
              xxxxxxxxxxxxxxxxxxxxxxxx
   xxxxxxxxxxxxxxxxxxxCCCCCCCCCCxxxxxxxx
xxxxxxxxxxxxxxxCCCCCCCC--------CCCCCcxxxxxx
xxxxxCCCCCCCCCCC--C-----...4..------cccccxxxxx
CCCCCC-----------.C......5.4.4.4...----cccxxxxx
-------...........C.""""...1.4.4...."""---cccxxxx
."""........4.4...CC."""..5.4.4.4.."""...---ccxxxx
@"""5......4.4.....C"""".-------.4.""".....--ccxxx
@..........4..4....CC..---ccccc-.----...3.4.--ccxx
@-------------......CC--ccc---cc--cc-..4..4..--cxx
@-ccccccccccc--------cccc---.--cc----.4..44....cxx
@--------------cccccccc---.4.4----.......4...O-cxx
@"".......4...----------....4.4........3.4.412Ocxx
@""5.....4.4....""""".5x.4.4.4...........4...O-cxx
@"".....4.4.....""""".1...4...4...----4..44...-cxx
@---------.4..."""""..5x...4-------cc-.4..4.--ccxx
@-ccccccc-----..""""".-------ccccc----..3..--ccxxx
@-------ccccc---------cccccccc-----."""""---ccxxx
@"""5..--------ccccccccc-------4....."""--cccxxxx
.""".....4....--------C--..4.4.4....."--ccxxxxxx
------....4.4.4......CC...5..4.4.....---ccxxxxxx
CCCCC-----.4.4......CC""""..4.4....---cccxxxxxxx
xxxxCCCCC-----.....CC."""".1.4.4..--CCCxxxxxxxx
xxxxxxxxCCCCC---...C.."""".......--CCxxxxxxxxx
 xxxxxxxxxxxCCC---.C---....-------CCxxxxxxxxx
    xxxxxxxxxxCCCCCCC-------CCCCCCCxxxxxxx
         xxxxxxxxxxxCCCCCCCCCxxxxxxxxx
             xxxxxxxxxxxxxxxxxxxxxxx
                xxxxxxxxxxxxxxxxx
ENDMAP

NAME:    grunt_spider_rune_island
TAGS:    no_monster_gen
PLACE:   Spider:$
ORIENT:  north
KITEM:   O = gossamer rune of Zot
MONS:    ghost moth, moth of wrath, emperor scorpion
MONS:    red wasp / yellow wasp w:2, orb spider
MONS:    wolf spider, redback / tarantella
KMONS:   8 = jumping spider / demonic crawler
SHUFFLE: efgh, ijk
NSUBST:  e = 2:6 / 2:. / * = 78., f = 2:7 / 2:. / * = 68
NSUBST:  g = 2:8 / 2:. / * = 67, h = 2:6 / 3:. / * = 78
NSUBST:  i = 1:3 / 1:. / * = 678, j = 1:9 / 1:. / * = 678
NSUBST:  k = 1:9 / 1:. / * = 678.
NSUBST:  5 = 5:5 / * = 5.., 9 = 3:1 / 1:12 / * = 4.
SUBST:   0 = 4678..
SUBST:   + = ^^^+
SUBST:   " = ...xxW^
SUBST:   - = ...cWW^^^
KFEAT:   ^ = known web trap
SUBST:   c : cx
SUBST:   C : c
TILE:    c = wall_brick_gray
MAP
               xxxxxxxxxxx
             xxxxxxxxxxxxxxxxxx
           xxxxxxcccccccccxxxxxxxxxxx
          xxxxcccc-------cccccccccxxxx
        xxxxccc--.....e.....-----cxxxxxx
       xxxxcc---.....e.e....."""-ccxxxxxx
       xxxcc--".......x...5..""..-ccxxxxx
      xxxxc--""......e.e.....""..--cccxxx
     xxxccc-."""......e....."""...---cccx
   xxxxxc--..."""...........""......--"cx
  xxxxccc-...5.""...........""......-"---
 xxxxcc---..5..."".........""......f-"-.@
xxxccc--k........WWWWWWWWWWW"....f..-"-.@
xxxc---..k......WWwwwwwwwwwWWW....5.-"-..
xxcc-.....k....WWwwwwwwwwwwwwWW..f..-"-..
xxc--......k..WWwwwCCCCCCwwwwwW...f.-"-.x
xxc-k.........WwwwCC----CCCwwwW...g.-"-.x
xxc-..........WwwCC--0.---CwwwW.....-"-.x
xxc-....j....-WwwC--3.9..-CCwwW..0..-"-.x
xxc--..j.j..-"-"wC-0.0.0.--CwwW.....-"-..
xxc--......-"---.+3.9.O.9-CCwwW...f.-"-..
xxcc-..j.j..-"-"wC-0.0.0--CwwwW...g.-"-.@
xxxc-...j...."WwwC--3.9--CCwwwW..g..-"-.@
xxxc-.........WwwCC--0.-CCwwwWW.....-"---
 xxc--........WwwwCC----CwwwwW....5.-"--x
 xxcc-........WwwwwCCCCCCwwwWW...g..-"--x
 xxxc-........WWwwwwwwwwwwwWW......g-"--x
  xxc-i.....i...WwwwwwwwwwWW........-"-cx
  xxc--....i....WWWWWWWWWWW.........---cx
  xxcc--..i......"........".........--ccx
  xxxcc--i......""........""........-ccxx
   xxxcc-.i.....""........"".......--cxxx
    xxxc-...5.."""...h.....""....---ccxxx
    xxxcc--..5."""..h.h..5."""...-cccxxx
     xxxcc--...""....x......"".--ccxxxx
      xxxcc--..""...h.h.....----ccxxxx
       xxxcc----.....h...----ccccxxxx
        xxxcccc-----------ccccxxxxxx
         xxxxxcccccccccccccxxxxxxxx
          xxxxxxxxxxxxxxxxxxxxxx
             xxxxxxxxxxxxxxxx
ENDMAP