/
12_The_Underlevels.cfg
1266 lines (1083 loc) · 32.4 KB
/
12_The_Underlevels.cfg
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
#textdomain wesnoth-thot
# This is the part of THoT that was designed by Taurus. ESR did some
# tuning and debugging afterwards, redid the flavor dialogue, and
# added the war drums, but it's still basically Taurus's architecture.
[scenario]
name=_"The Underlevels"
id=12_The_Underlevels
next_scenario=13_Epilogue
victory_when_enemies_defeated=yes
map_data="{campaigns/The_Hammer_of_Thursagan/maps/12_The_Underlevels.map}"
{UNDERGROUND}
# No scenario music; we don't want it drowning out the wardrums.
{SCENARIO_MUSIC "silence.ogg"}
{STARTING_VILLAGES 8 4}
{STARTING_VILLAGES 5 6}
{STARTING_VILLAGES 3 3}
{STARTING_VILLAGES 4 9}
turns=-1
[side]
type="Dwarvish Fighter"
id="Aiglondur"
name=_"Aiglondur"
canrecruit=yes
side="1"
controller="human"
team_name="good"
user_team_name=_"Alliance"
{FLAG_VARIANT knalgan}
fog="no"
shroud="yes"
recruit="Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Guardsman, Dwarvish Scout"
{GOLD 220 200 180} # BALANCE
{FLAG_VARIANT knalgan}
[/side]
[side]
type="Dwarvish Rune Lord"
id="Karrag"
name=_"Karrag"
profile="portraits/karrag.png~RIGHT()"
canrecruit=yes
side="2"
color=black
controller="ai"
team_name="evil"
user_team_name=_"Evil"
fog="no"
shroud="no"
recruit="Blood Bat,Ghost,Wraith,Shadow,Skeleton,Skeleton Archer,Ghoul,Necrophage,Revenant,Deathblade,Bone Shooter"
[ai]
passive_leader=yes
grouping=defensive
{ATTACK_DEPTH 4 5 5}
[/ai]
gold=0 # Will change when the side is activated
{FLAG_VARIANT knalgan}
[/side]
[side]
type="Dwarvish Masked Steelclad"
id="Dufon"
name=_"Masked Dwarf"
profile=portraits/maskeddwarf2.png
canrecruit=yes
side="3"
controller="ai"
team_name="evil"
user_team_name=_"Evil"
fog="no"
shroud="no"
recruit="Dwarvish Masked Fighter, Dwarvish Masked Thunderer, Dwarvish Ulfserker, Dwarvish Masked Guardsman"
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter
[/ai]
gold=0 # Will change when the side is activated
{FLAG_VARIANT knalgan}
[/side]
[side]
type="Dwarvish Masked Lord"
id="Aragoth"
name=_"Masked Dwarf"
profile=portraits/maskeddwarf3.png
canrecruit=yes
side="4"
controller="ai"
team_name="evil"
user_team_name=_"Evil"
fog="no"
shroud="no"
recruit="Dwarvish Masked Fighter, Dwarvish Masked Steelclad, Dwarvish Masked Thunderer, Dwarvish Masked Thunderguard, Dwarvish Ulfserker, Dwarvish Berserker, Dwarvish Masked Guardsman, Dwarvish Masked Stalwart"
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter
[/ai]
gold=0 # Will change when the side is activated
{FLAG_VARIANT knalgan}
[/side]
[side]
type="Dwarvish Masked Lord"
id="Dranath"
name=_"Masked Dwarf"
profile=portraits/maskeddwarf4.png
canrecruit=yes
side="5"
controller="ai"
team_name="evil"
user_team_name=_"Evil"
fog="no"
shroud="no"
recruit="Dwarvish Masked Fighter, Dwarvish Masked Steelclad, Dwarvish Masked Thunderer, Dwarvish Masked Thunderguard, Dwarvish Ulfserker, Dwarvish Berserker, Dwarvish Masked Guardsman, Dwarvish Masked Stalwart"
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter
[/ai]
gold=0 # Will change when the side is acxtivated
{FLAG_VARIANT knalgan}
[/side]
[side]
type="Lich"
id="Fleleen"
name=_"Fleleen"
canrecruit=yes
side="6" # ACTIVATE_LICHES macro depends on this value
controller="ai"
team_name="evil"
user_team_name=_"Evil"
fog="no"
shroud="no"
{GOLD 200 250 300}
{FLAG_VARIANT undead}
[/side]
[side]
type="Lich"
id="Lannex"
name=_"Lannex"
canrecruit=yes
side="7" # ACTIVATE_LICHES macro depends on this value
controller="ai"
team_name="evil"
user_team_name=_"Evil"
fog="no"
shroud="no"
[ai]
{NO_SCOUTS}
[/ai]
{GOLD 200 250 300}
{FLAG_VARIANT undead}
[/side]
[side]
type="Dwarvish Masked Steelclad"
id="Sashaon"
name=_"Masked Dwarf"
profile=portraits/maskeddwarf.png
canrecruit=yes
side="8"
controller="ai"
team_name="evil"
user_team_name=_"Evil"
fog="no"
shroud="no"
recruit="Dwarvish Masked Fighter, Dwarvish Masked Thunderer, Dwarvish Ulfserker, Dwarvish Masked Guardsman"
{GOLD 150 175 200}
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter
[/ai]
{FLAG_VARIANT knalgan}
[/side]
{campaigns/The_Hammer_of_Thursagan/utils/herodeaths.cfg}
#define MASKED_GUARD SIDE X Y
[unit]
type=Dwarvish Masked Steelclad
x={X}
y={Y}
side={SIDE}
ai_special=guardian
random_traits=yes
name= _ "Masked Dwarf"
[/unit]
#enddef
#define MASKED_SNIPER SIDE X Y
[unit]
type=Dwarvish Masked Thunderguard
x={X}
y={Y}
side={SIDE}
ai_special=guardian
random_traits=yes
generate_name=yes
name= _ "Masked Dwarf"
[/unit]
#enddef
#define MASKED_STALWART SIDE X Y
[unit]
type=Dwarvish Masked Stalwart
x={X}
y={Y}
side={SIDE}
ai_special=guardian
random_traits=yes
generate_name=yes
name= _ "Masked Dwarf"
[/unit]
#enddef
{SET_RIGHTEOUS_FLAME_EVENT}
[event]
name="prestart"
[set_variable]
name=liches_active
value=no
[/set_variable]
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 38 42}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 39 42}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 40 42}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 21 55}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 21 54}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 53 33}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 23 4}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 39 13}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 26 5}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 25 8}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 18 1}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 10 2}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 15 24}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 15 36}
{PLACE_IMAGE "items/book2.png" 41 6}
{PLACE_IMAGE "items/chest.png" 15 22}
{PLACE_IMAGE "items/chest.png" 15 38}
{PLACE_IMAGE "scenery/rune4.png" 12 1}
{PLACE_IMAGE "scenery/rune4.png" 20 1}
{PLACE_IMAGE "scenery/rune4.png" 41 43}
{PLACE_IMAGE "scenery/rune4.png" 37 43}
{MASKED_GUARD 2 10 25}
{MASKED_GUARD 2 14 25}
{MASKED_GUARD 2 18 25}
{MASKED_SNIPER 2 12 25}
{MASKED_SNIPER 2 16 25}
{MASKED_SNIPER 2 20 25}
{MASKED_GUARD 2 10 34}
{MASKED_GUARD 2 14 34}
{MASKED_GUARD 2 18 34}
{MASKED_SNIPER 2 12 34}
{MASKED_SNIPER 2 16 34}
{MASKED_SNIPER 2 20 34}
{MASKED_STALWART 2 26 27}
{MASKED_STALWART 2 26 30}
{MASKED_STALWART 2 30 26}
{MASKED_STALWART 2 32 27}
{MASKED_STALWART 2 32 30}
{MASKED_STALWART 2 30 31}
{MASKED_STALWART 2 38 24}
{MASKED_STALWART 2 36 23}
{MASKED_STALWART 2 38 19}
{MASKED_STALWART 2 36 19}
{MASKED_STALWART 2 33 16}
{MASKED_STALWART 2 33 18}
{MASKED_STALWART 2 23 16}
{MASKED_STALWART 2 23 18}
{MASKED_GUARD 2 24 14}
{MASKED_SNIPER 2 22 14}
{MASKED_GUARD 2 24 19}
{MASKED_SNIPER 2 22 19}
{MASKED_STALWART 2 18 15}
{MASKED_STALWART 2 18 17}
{MASKED_STALWART 2 12 16}
{MASKED_STALWART 2 15 12}
{MASKED_STALWART 2 11 12}
{MASKED_GUARD 2 10 11}
{MASKED_SNIPER 2 9 11}
{MASKED_GUARD 2 16 11}
{MASKED_SNIPER 2 17 11}
{MASKED_STALWART 2 37 33}
{MASKED_STALWART 2 35 34}
{MASKED_GUARD 2 35 37}
{MASKED_SNIPER 2 35 38}
{MASKED_GUARD 2 35 39}
{MASKED_SNIPER 2 35 40}
{MASKED_GUARD 2 43 37}
{MASKED_SNIPER 2 43 38}
{MASKED_GUARD 2 43 39}
{MASKED_SNIPER 2 43 40}
{NOTRAIT_UNIT 2 "Draug" 20 43} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 20 44} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 20 45} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 28 43} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 28 44} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 28 45} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 22 42} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 24 41} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 26 42} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 26 46} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 24 47} {GUARDIAN}
{NOTRAIT_UNIT 2 "Draug" 22 46} {GUARDIAN}
{NOTRAIT_UNIT 2 "Giant Spider" 45 3} {GUARDIAN}
{NOTRAIT_UNIT 2 "Giant Spider" 39 12} {GUARDIAN}
{NOTRAIT_UNIT 2 "Giant Spider" 44 7} {GUARDIAN}
{NOTRAIT_UNIT 2 "Giant Spider" 39 7} {GUARDIAN}
{NOTRAIT_UNIT 2 "Giant Spider" 49 5} {GUARDIAN}
{NOTRAIT_UNIT 2 "Giant Spider" 38 2} {GUARDIAN}
[recall]
id="Angarthing"
[/recall]
[recall]
id="Dulcatulos"
[/recall]
[recall]
id="Ratheln"
[/recall]
[objectives]
side="1"
[objective]
description=_"Defeat Karrag"
condition="win"
[/objective]
[objective]
description=_"Death of Aiglondur"
condition="lose"
[/objective]
[objective]
description=_"Death of Angarthing"
condition="lose"
[/objective]
[objective]
description=_"Death of Dulcatulos"
condition="lose"
[/objective]
{IS_LAST_SCENARIO}
[/objectives]
[set_variable]
name=key_read
value=no
[/set_variable]
[set_variable]
name=door_open
value=no
[/set_variable]
[/event]
[event]
name="start"
{CONDITIONAL_MAGE_RECRUITING}
[message]
speaker="Angarthing"
message=_"This place smells of death."
[/message]
[message]
speaker="Dulcatulos"
message=_"It’s been... it’s been years since I’ve been down here. Only Karrag and his personal followers used this level. Why did I never wonder about that before?"
[/message]
[message]
speaker="Angarthing"
# wmllint: local spelling glamours
message=_"Karrag’s will, and his dark magic. I think he has been casting glamours on all of you ever since he passed over."
[/message]
[message]
speaker="Aiglondur"
message=_"Where <i>is</i> Karrag? We can’t have been more than seconds behind him."
[/message]
[message]
speaker="Dulcatulos"
message=_"This is the Grand Gallery. There are rows of small chambers along its sides; he could have slipped into any of them."
[/message]
[message]
speaker="Aiglondur"
message=_"More likely he has cloaked himself, thinking to run ahead to gather his followers. He could be within a spear-cast of us now and we wouldn’t know it in this gloom."
[/message]
[sound]
name=ambient/wardrums.ogg
[/sound]
[message]
speaker="Dulcatulos"
message=_"Those are war-drums!"
[/message]
[message]
speaker="Aiglondur"
message=_"Aye. Karrag, calling his troops to battle. Only the Dark Gods know what hellspawn the lich will summon. AXES UP!"
[/message]
# Now pile on the music
{REPLACE_SCENARIO_MUSIC "vengeful.ogg"}
{APPEND_MUSIC "underground.ogg"}
{APPEND_MUSIC "breaking_the_chains.ogg"}
{APPEND_MUSIC "siege_of_laurelmor.ogg"}
{APPEND_MUSIC "battle.ogg"}
{APPEND_MUSIC "the_deep_path.ogg"}
{APPEND_MUSIC "the_dangerous_symphony.ogg"}
{APPEND_MUSIC "knalgan_theme.ogg"}
{APPEND_MUSIC "legends_of_the_north.ogg"}
{APPEND_MUSIC "suspense.ogg"}
{APPEND_MUSIC "revelation.ogg"}
[/event]
#define JAIL_SAGA ID_STRING
[set_variable]
name=saga_told
value=1
[/set_variable]
[message]
speaker={ID_STRING}
message= _ "Finally! I see someone managed to see through the web of deception thrown up by that vile Karrag!"
[/message]
[message]
speaker=Aiglondur
message= _ "I thought Karrag’s fight was against the so called ‘dirtgrubbers’. Why would he keep you, a dwarf captive?"
[/message]
[message]
speaker={ID_STRING}
message= _ "I guess Karrag thought I knew too much. When his masked henchmen started raiding, plundering and taking all sorts of prisoners — which were sent to these underlevels and never seen again — I began to inquire. I discovered many unsettling things indeed, but before I could act on them I was arrested and thrown down here."
[/message]
[message]
speaker={ID_STRING}
message= _ "I gather that he is involved in some sick ritual which requires the blood of living creatures. These cells seem to be the holding place where he keeps his victims. The ‘dirtgrubbers’ he seems to prefer sacrificing have long since been taken away. Now it is just us few dwarves that remain..."
[/message]
[message]
speaker="Angarthing"
message= _ "Freeing these prisoners is more of a blow to Karrag then we thought, for now he is unable to continue his foul sorcery."
[/message]
#enddef
#define ACTIVATE_LICHES
[if]
[variable]
name=liches_active
equals=no
[/variable]
[then]
[message]
speaker="Angarthing"
message=_"I sense wrongness. Some greater evil awakens before us."
[/message]
[allow_recruit]
side=6
type="Blood Bat,Ghost,Wraith,Shadow,Skeleton,Skeleton Archer,Ghoul,Necrophage,Revenant,Deathblade,Bone Shooter"
[/allow_recruit]
[allow_recruit]
side=7
type="Blood Bat,Ghost,Wraith,Shadow,Skeleton,Skeleton Archer,Ghoul,Necrophage,Revenant,Deathblade,Bone Shooter"
[/allow_recruit]
[set_variable]
name=liches_active
value=yes
[/set_variable]
[set_variable]
name=key_dialogue
equals=no
[/set_variable]
[/then]
[/if]
#enddef
# We've arrived at the door to the sealed cave section,
# The door guardian gets more gold to recruit another troop wave.
[event]
name=sighted
[filter]
id="Dranath"
[/filter]
[filter_second]
side=1
[/filter_second]
[message]
speaker="Dranath"
message= _ "You cannot pass, fools. The doors I guard are sealed by the power of the Hammer itself."
[/message]
[message]
speaker=second_unit
message= _ "We’ll see about that!"
[/message]
[gold]
side=5
amount=300
[/gold]
[/event]
# We're at the door to the sealed cave section.
[event]
name=moveto
first_time_only=no
[filter]
side=1
x=38,39,40
y=41,41,41
[/filter]
[if]
[variable]
name=key_read
equals=no
[/variable]
[then]
[if]
[variable]
name=key_dialogue
equals=no
[/variable]
[then]
[message]
speaker=unit
message= _ "It seems that guard spoke truth. These doors cannot be forced open by any means we have!"
[/message]
[message]
speaker="Angarthing"
message= _ "I sense these bindings to be the work of common sorcery, not the power of the Hammer. Usually to each such locking spell there is some sort of key. If we can but find the key, we will able to open these doors."
[/message]
[set_variable]
name=key_dialogue
equals=yes
[/set_variable]
[/then]
[/if]
[/then]
[/if]
[if]
[and]
[variable]
name=key_read
equals=yes
[/variable]
[variable]
name=door_open
equals=no
[/variable]
[/and]
[then]
[message]
speaker=unit
message= _ "The key has been uttered, these doors should open..."
[/message]
[terrain]
x=38,39,40
y=42,42,42
terrain=Uu
[/terrain]
[message]
speaker=unit
message= _ "There we go... faugh, what is that smell!"
[/message]
[set_variable]
name=door_open
value=yes
[/set_variable]
# We defer activating the two subordinate liches in
# the sealed cave section until this point because we
# don't want the whole cave section to be already
# flooded with monsters when the player’s troops enter
# it. Ideally, we'd like the player to collide with
# an expanding wave of monsters from the lich to the
# west, and then possibly get hit from behind by
# monsters percolating through the narrow passage from the
# lich to the east. The tunnel lengths have been tuned
# for this result.
{ACTIVATE_LICHES}
[/then]
[/if]
[/event]
# This event is in case the player gets a unit through the sneak tunnel
# between the spider room and the eastern lich chamber before opening
# the sealed doors.
[event]
name=moveto
[filter]
side=1
x=51-54
y=20-33
[/filter]
[message]
speaker=unit
message= _ "I think I hear noises, ahead of us..."
[/message]
{ACTIVATE_LICHES}
[/event]
# Don't activate Karrag too early or all his units will run to
# the adjacent chamber and the final fight will just be bashing
# on the guardian Draugs.
[event]
name=sighted
[filter]
id=Karrag
[/filter]
[filter_second]
side=1
[/filter_second]
[message]
speaker=Karrag
message= _ "Fresh blood! Exactly what I need to complete the rite."
[/message]
[modify_side]
side=2
gold=300 # Perhaps drop this to 200/250 on lower difficulties?
[/modify_side]
[/event]
# The door to the room of spiders
[event]
name=moveto
[filter]
side=1
x=25,25
y=5,6
[/filter]
[message]
speaker=unit
message= _ "It’s locked, but nothing that our hammers can’t manage."
[/message]
[terrain]
x=26
y=5
terrain=Uu
[/terrain]
[/event]
# The book is in the room of spiders
[event]
name=moveto
[filter]
side=1
x=41
y=6
[/filter]
[message]
speaker=unit
message= _ "A scroll with some strange writing on it..."
[/message]
[message]
speaker="Angarthing"
message= _ "I believe that will be the key-spell for that sealed door."
[/message]
[message]
speaker="Angarthing"
message= _ "(<i>Reads</i>) <i>Kannin a’kana du’masi a’forigln de’amp.</i>" # wmllint: no spellcheck
[/message]
[message]
speaker="Angarthing"
message= _ "Now try the door again. It should open."
[/message]
[set_variable]
name=key_read
value=yes
[/set_variable]
[/event]
[event]
name=moveto
[filter]
side=1
x=15
y=25
[/filter]
[message]
speaker=unit
message= _ "A door. Perhaps Karrag is hiding in here..."
[/message]
[terrain]
x=15
y=24
terrain=Uu
[/terrain]
[/event]
[event]
name=moveto
[filter]
side=1
x=15
y=35
[/filter]
[message]
speaker=unit
message= _ "A door. Perhaps Karrag is hiding in here..."
[/message]
[terrain]
x=15
y=36
terrain=Uu
[/terrain]
[/event]
[event]
name=moveto
[filter]
x=15
y=22
side=1
[/filter]
[message]
speaker=unit
message= _ "150 gold pieces. This should help."
[/message]
[gold]
side=1
amount=150
[/gold]
[remove_item]
x=15
y=22
[/remove_item]
[/event]
[event]
name=moveto
[filter]
x=15
y=38
side=1
[/filter]
[message]
speaker=unit
message= _ "150 gold pieces. I wonder why Karrag would choose to store his gold here."
[/message]
[gold]
side=1
amount=150
[/gold]
[remove_item]
x=15
y=38
[/remove_item]
[/event]
[event]
name=moveto
[filter]
side=1
x=39
y=12
[/filter]
[message]
speaker=unit
message= _ "An old caved-in passageway. Perhaps if we clear away some of this rubble we may be able to get through..."
[/message]
[terrain]
x=39,39
y=13,14
terrain=Uu
[/terrain]
[/event]
[event]
name=moveto
[filter]
side=1
x=55
y=33
[/filter]
[message]
speaker=unit
message= _ "Another old caved-in passageway..."
[/message]
[terrain]
x=55,55
y=34,35
terrain=Uu
[/terrain]
[/event]
[event]
name=moveto
[filter]
side=1
x=11
y=2
[/filter]
[terrain]
x=10
y=2
terrain=Uu
[/terrain]
[remove_shroud]
side=1
x=7-10
y=1-3
[/remove_shroud]
[unit]
side=1
type=Dwarvish Steelclad
x=8
y=2
random_traits=yes
name= _ "Trisi"
id=Trisi
[/unit]
[unit]
side=1
type=Dwarvish Thunderer
x=8
y=1
random_traits=yes
generate_name=yes
[/unit]
[if]
[variable]
name=saga_told
numerical_equals=0
[/variable]
[then]
{JAIL_SAGA (Trisi)}
[/then]
[/if]
[/event]
[event]
name=moveto
[filter]
side=1
x=19
y=2
[/filter]
[terrain]
x=18
y=1
terrain=Uu
[/terrain]
[remove_shroud]
side=1
x=15-18
y=1-3
[/remove_shroud]
[unit]
side=1
type=Dwarvish Steelclad
x=16
y=1
random_traits=yes
name= _ "Malifen"
id=Malifen
[/unit]
[unit]
side=1
type=Dwarvish Fighter
x=15
y=2
random_traits=yes
generate_name=yes
[/unit]
[if]
[variable]
name=saga_told
numerical_equals=0
[/variable]
[then]
{JAIL_SAGA (Malifen)}
[/then]
[/if]
[/event]
[event]
name=moveto
[filter]
side=1
x=23
y=5
[/filter]
[terrain]
x=23
y=4
terrain=Uu
[/terrain]
[remove_shroud]
side=1
x=22-25
y=1-3
[/remove_shroud]
[unit]
side=1
type=Dwarvish Thunderguard
x=23
y=3
random_traits=yes
name= _ "Borras"
id=Borras
[/unit]
[unit]
side=1
type=Dwarvish Fighter
x=24
y=2
random_traits=yes
generate_name=yes
[/unit]