-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
05_A_Subterranean_Struggle.cfg
2642 lines (2174 loc) · 76.1 KB
/
05_A_Subterranean_Struggle.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-utbs
# wmllint: directory spelling Griknagh
[scenario]
id=05_A_Subterranean_Struggle
name= _ "A Subterranean Struggle"
next_scenario=06a_In_the_Tunnels_of_the_Trolls
{UTBS_MAP 05_A_Subterranean_Struggle.map}
victory_when_enemies_defeated=no
{UNDERGROUND}
{TURNS 48 44 40}
#TODO add extra music
{SCENARIO_MUSIC "underground.ogg"}
{EXTRA_SCENARIO_MUSIC "legends_of_the_north.ogg"}
{EXTRA_SCENARIO_MUSIC "the_dangerous_symphony.ogg"}
{STORY_A_SUBTERRANEAN_STRUGGLE}
[side]
side=1
id=Kaleh
type=Quenoth Youth
canrecruit=yes
{GOLD 220 180 140}
{INCOME 6 5 4}
controller=human
shroud=yes
fog=no
{FLAG_VARIANT long}
user_team_name= _ "team_name^Quenoth Elves"
[/side]
#Side=2 troll 1 (blue)
[side]
no_leader=yes
side=2
gold=0
income=0
controller=ai
shroud=no
fog=no
hidden=yes
team_name=trolls
user_team_name= _ "team_name^Trolls"
recruit=Troll Whelp, Troll, Troll Rocklobber
[ai]
recruitment_pattern=fighter,fighter,mixed fighter
aggression=0.8
caution=0.05
grouping=offensive
# as an ally, the AI can block the first keep
[avoid]
x,y=28-30,26-27
[/avoid]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=10
[/goal]
[goal]
name=target
[criteria]
side=4
[/criteria]
value=9
[/goal]
[goal]
name=target
[criteria]
side=5
[/criteria]
value=9
[/goal]
[/ai]
[/side]
#Side=3 troll 2 (green)
[side]
side=3
no_leader=yes
gold=0
income=0
controller=ai
shroud=no
fog=no
hidden=yes
team_name=trolls
user_team_name= _ "team_name^Trolls"
recruit=Troll Whelp, Troll, Troll Rocklobber
[ai]
recruitment_pattern=fighter,fighter,mixed fighter
aggression=0.8
caution=0.05
grouping=offensive
# as an ally, the AI can block the first keep
[avoid]
x,y=28-30,26-27
[/avoid]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=10
[/goal]
[goal]
name=target
[criteria]
side=4
[/criteria]
value=9
[/goal]
[goal]
name=target
[criteria]
side=5
[/criteria]
value=9
[/goal]
[/ai]
[/side]
#Side=4 dwarf 1 (yellow)
[side]
side=4
no_leader=yes
gold=0
income=0
controller=ai
shroud=no
fog=no
hidden=yes
team_name=dwarves
user_team_name= _ "team_name^Dwarves"
recruit=Dwarvish Fighter, Dwarvish Steelclad, Dwarvish Thunderer, Dwarvish Guardsman
[ai]
aggression=0.8
caution=0.05
grouping=offensive
# as an ally, the AI can block the first keep
[avoid]
x,y=28-30,26-27
[/avoid]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=10
[/goal]
[goal]
name=target
[criteria]
side=2
[/criteria]
value=9
[/goal]
[goal]
name=target
[criteria]
side=3
[/criteria]
value=9
[/goal]
[/ai]
{FLAG_VARIANT knalgan}
[/side]
#Side=5 dwarf 2 (purple)
[side]
side=5
no_leader=yes
gold=0
income=0
controller=ai
shroud=no
fog=no
hidden=yes
team_name=dwarves
user_team_name= _ "team_name^Dwarves"
recruit=Dwarvish Fighter, Dwarvish Steelclad, Dwarvish Thunderer, Dwarvish Guardsman
[ai]
aggression=0.8
caution=0.05
grouping=offensive
# as an ally, the AI can block the first keep
[avoid]
x,y=28-30,26-27
[/avoid]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=10
[/goal]
[goal]
name=target
[criteria]
side=2
[/criteria]
value=9
[/goal]
[goal]
name=target
[criteria]
side=3
[/criteria]
value=9
[/goal]
[/ai]
{FLAG_VARIANT knalgan}
[/side]
#Side=6 Ants
[side]
side=6
no_leader=yes
gold=0
income=0
controller=ai
shroud=no
fog=no
hidden=yes
color=white
[ai]
aggression=0.8
caution=0.1
village_value=0
recruitment_pattern=fighter,fighter,fighter,fighter
#causes ants to target cave spider
[goal]
name=target
[criteria]
type=Cave Spider
[/criteria]
value=150
[/goal]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=100
[/goal]
passive_leader=yes
[/ai]
[/side]
#Side=7 Assassin & Cave Spider
[side]
side=7
no_leader=yes
gold=0
income=0
controller=ai
shroud=yes
fog=no
hidden=yes
color=teal
[ai]
aggression=0.90
caution=0.10
[/ai]
[/side]
# Prestart functions:
# set starting scenario objectives
# increase cost of recruiting units
# place item images on map
# recall main heroes
# initialize starting variable
# create elf units
# create AI=guardian starting units
#fires lighting central cavern
{ANIMATED_CAMPFIRE 31 32}
{ANIMATED_CAMPFIRE 33 21}
[event]
name=prestart
#set starting scenario objectives
[objectives]
[objective]
description= _ "Explore underground"
condition=win
[show_if]
[have_unit]
race=troll,dwarf
count=0
[/have_unit]
[/show_if]
[/objective]
[objective]
description= _ "Defeat troll leaders"
condition=win
[show_if]
{VARIABLE_CONDITIONAL ally_race equals "dwarf"}
[have_unit]
canrecruit=yes
race=troll
[/have_unit]
[/show_if]
[/objective]
[objective]
description= _ "Defeat dwarf leaders"
condition=win
[show_if]
{VARIABLE_CONDITIONAL ally_race equals "troll"}
[have_unit]
canrecruit=yes
race=dwarf
[/have_unit]
[/show_if]
[/objective]
[objective]
description= _ "Defeat the Cloaked Figure"
condition=win
[show_if]
[have_unit]
# wmllint: recognize Cloaked Figure
id=Cloaked Figure
[/have_unit]
[/show_if]
[/objective]
[objective]
description= _ "Death of Kaleh"
condition=lose
[/objective]
[objective]
description= _ "Death of Nym"
condition=lose
[/objective]
[objective]
description= _ "Death of Zhul"
condition=lose
[/objective]
[objective]
description= _ "Death of Fundin"
condition=lose
[show_if]
{VARIABLE_CONDITIONAL ally_race equals "dwarf"}
[/show_if]
[/objective]
[objective]
description= _ "Death of Nori"
condition=lose
[show_if]
{VARIABLE_CONDITIONAL ally_race equals "dwarf"}
[/show_if]
[/objective]
[objective]
description= _ "Death of Thungar"
condition=lose
[show_if]
{VARIABLE_CONDITIONAL ally_race equals "troll"}
[/show_if]
[/objective]
[objective]
description= _ "Death of Gnarl"
condition=lose
[show_if]
{VARIABLE_CONDITIONAL ally_race equals "troll"}
[/show_if]
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
{INCREASE_RECRUIT_COSTS 1}
#central cavern furnishings
{PLACE_IMAGE items/rock-cairn3.png 42 21} # this image is in a different folder because it is not in core, just campaign
{PLACE_IMAGE scenery/rock-cairn.png 38 20}
{PLACE_IMAGE scenery/rock-cairn2.png 30 20}
{PLACE_IMAGE items/burial.png 27 33}
{PLACE_IMAGE items/burial2.png 35 34}
{PLACE_IMAGE items/burial.png 43 33}
#recall heroes
[recall]
id=Nym
[/recall]
[recall]
id=Zhul
[/recall]
[recall]
id=Elyssa
[/recall]
# If Elyssa the Mage isn't there, boost starting group a bit
[if]
[not]
[have_unit]
id=Elyssa
[/have_unit]
[/not]
[then]
[unit]
type=Quenoth Flanker
name= _ "Rygar"
x=6
y=24
side=1
[modifications]
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
[unit]
type=Quenoth Fighter
name= _ "Nantheos"
x=5
y=25
side=1
[modifications]
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
[/unit]
[/then]
[/if]
[/event]
# starting events
[event]
name=start
# starting dialogue
[if]
[have_unit]
id=Elyssa
[/have_unit]
[then]
[message]
speaker=Kaleh
message= _ "You mentioned that dwarves and trolls often lived underground, Elyssa. I’ve only heard myths, have you ever met a dwarf or a troll?"
[/message]
[message]
speaker=Elyssa
message= _ "No I haven’t, I don’t often explore underground unless I have to. There are lots of nasty things that lurk far away from the light of the suns. But I’ve read a bit about them, and have even met a few people who had dealings with dwarves."
[/message]
[message]
speaker=Nym
message= _ "What are dwarves like?"
[/message]
[message]
speaker=Elyssa
message= _ "They’re a proud people, and some would say greedy. They love their gold and fine metals, and forge many beautiful things. I should warn you, they have little liking for elves. There was some betrayal many years ago, though I don’t know what happened."
[/message]
[message]
speaker=Kaleh
message= _ "And what about trolls? I’m not sure I’d want to meet one face to face."
[/message]
[message]
speaker=Elyssa
message= _ "Trolls and dwarves are natural enemies, living so close together. And many would say trolls are little more than brutes and savages. Trolls are huge and very strong, with skin as hard as stone, and can be fearsome foes. But I knew one man long ago who traded with a group of trolls and said they were quite honorable, as long as you didn’t try to cheat them."
[/message]
[message]
speaker=Zhul
message= _ "Well, with Eloh’s guidance, I hope we find these tunnels deserted. I’ll be happy if our biggest problem is not getting lost. I have little wish to meet either dwarves or trolls. But Eloh will watch over us."
[/message]
[message]
speaker=Kaleh
message= _ "Will she? I got the impression she was powerless underground."
[/message]
[message]
speaker=Zhul
message= _ "Where did you get that idea? Certainly Eloh is strongest during the day, when the suns are shining down on us. But it is said that even in the darkest of nights she will protect her faithful. And back during the Golden Age holy elven warriors led great crusades against orcs and other foul things that hid underground, killing them with Eloh’s aid. Faith is our shield, Kaleh. I think you should keep your doubts to yourself; it would not do to unduly worry our people. Eloh will always protect us, if we follow her path."
[/message]
[message]
speaker=Kaleh
message= _ "Then let us hope the rest of our journey may be as uneventful as it has been this far."
[/message]
[/then]
[else]
[message]
speaker=Kaleh
message= _ "I’ve heard of dwarves, but do you have any idea, Zhul, what kinds of creatures we might encounter underground?"
[/message]
[message]
speaker=Zhul
message= _ "These tunnels are foreign to me; I know little more than you do. All I know about dwarves is from the few tales from the Golden Age."
[/message]
[message]
speaker=Nym
message= _ "What are they like?"
[/message]
[message]
speaker=Zhul
message= _ "They lived deep under the earth, mining gold and fine metals and forging many beautiful things. We were once allies during the Golden Age, but in the strife and chaos of the fall we lost all contact. I don’t know if any survived. But in the golden age they were very helpful in our wars against the orcs and trolls."
[/message]
[message]
speaker=Kaleh
message= _ "What are trolls?"
[/message]
[message]
speaker=Zhul
message= _ "Trolls were huge gray creatures as big as giants and very strong. They were reclusive creatures, hiding underground. We never had much contact with them, though some fought with the orcs in the great wars. They were mighty warriors. I’m sure they have all died off; I certainly would never want to meet one face to face."
[/message]
[message]
speaker=Zhul
message= _ "But with Eloh’s guidance, I hope we find these tunnels deserted. I’d be happy if our biggest problem is not getting lost. Still, even underground Eloh will watch over us."
[/message]
[message]
speaker=Kaleh
message= _ "Will she? I got the impression she was powerless underground."
[/message]
[message]
speaker=Zhul
message= _ "Where did you get that idea? Certainly Eloh is strongest during the day, when the suns are shining down on us. But it is said that even in the darkest of nights she will protect her faithful. And back during the Golden Age holy elven warriors led great crusades against orcs and other foul things that hid underground, killing them with Eloh’s aid. Faith is our shield, Kaleh. I think you should keep your doubts to yourself; it would not do to unduly worry our people. Eloh will always protect us, if we follow her path."
[/message]
[message]
speaker=Kaleh
message= _ "Then let us hope the rest of our journey may be as uneventful as it has been this far."
[/message]
[/else]
[/if]
[/event]
# Event 1: Spider and Ants
[event]
name=moveto
[filter]
x=12-18
y=20-29
side=1
[/filter]
[message]
speaker=Nym
message= _ "All I’m saying is that these tunnels aren’t as bad as I expected."
[/message]
[message]
speaker=Kaleh
# wmllint: local spelling Shhh
message= _ "Shhh! Did you hear something?"
[/message]
[remove_shroud]
side=1
x=11-19
y=24-27
[/remove_shroud]
#make ants easy: 3 medium: 4 hard: 5
{NOTRAIT_UNIT 6 (Giant Ant) 17 26}
{NOTRAIT_UNIT 6 (Giant Ant) 17 27}
{NOTRAIT_UNIT 6 (Giant Ant) 18 26}
#ifndef EASY
{NOTRAIT_UNIT 6 (Giant Ant) 18 27}
#endif
#ifdef HARD
{NOTRAIT_UNIT 6 (Giant Ant) 19 27}
#endif
#make spider
{NOTRAIT_UNIT 7 (Cave Spider) 4 25}
[redraw]
[/redraw]
[scroll_to_unit]
type=Giant Ant
[/scroll_to_unit]
[delay]
time=400
[/delay]
[message]
speaker=Zhul
message= _ "Ants. Very big ants. Maybe they won’t be hostile."
[/message]
[scroll_to_unit]
type=Cave Spider
[/scroll_to_unit]
[delay]
time=400
[/delay]
[message]
speaker=Kaleh
message= _ "On the other hand, that spider probably is."
[/message]
[message]
speaker=Nym
message= _ "Caught between a spider and its prey. Not a good place to be."
[/message]
[/event]
# If player escapes cave spider, then reward player by killing it
[event]
name=moveto
[filter]
x=18-24
y=26-29
side=1
[/filter]
[if]
[have_unit]
type=Cave Spider
[/have_unit]
[then]
[kill]
type=Cave Spider
animate=yes
[/kill]
[message]
speaker=Nym
message= _ "Whoa! Did you see that? That huge stalactite just fell and crushed the spider. Aren’t we lucky!"
[/message]
[message]
speaker=Zhul
message= _ "Eloh must indeed be watching over us."
[/message]
[/then]
[/if]
[/event]
# When player approaches large cavern, a dying dwarf runs out and yells a warning.
[event]
name=moveto
[filter]
x=18-24
y=26-28
side=1
[/filter]
[message]
speaker=Nym
message= _ "You know, if all we discover down here are insects, I’ll be very disappointed."
[/message]
[if]
[have_unit]
id=Elyssa
[/have_unit]
[then]
[message]
speaker=Elyssa
message= _ "Spiders aren’t insects."
[/message]
[message]
speaker=Nym
message= _ "Thanks for the clarification."
[/message]
[/then]
[/if]
[unit]
type=Dwarvish Fighter
side=4
hitpoints=12
id=Wounded Dwarf
x=25
y=28
[/unit]
[move_unit]
id=Wounded Dwarf
to_x=25,24,23,22,21
to_y=28,28,29,28,29
[/move_unit]
[message]
speaker=Wounded Dwarf
message= _ "Help! They’re everywhere!"
[/message]
[kill]
id=Wounded Dwarf
animate=yes
[/kill]
[message]
speaker=Kaleh
message= _ "Nym, your timing is impeccable."
[/message]
[if]
[have_unit]
id=Elyssa
[/have_unit]
[then]
[message]
speaker=Elyssa
message= _ "That’s a dwarf, but it looks like he’s been beaten to a pulp."
[/message]
[/then]
[else]
[message]
speaker=Zhul
message= _ "Short and hairy, he must be a dwarf. But he’s been beaten to a pulp."
[/message]
[/else]
[/if]
[message]
speaker=Kaleh
message= _ "I don’t know what ‘they’ are, but we can’t go back. Prepare yourselves for anything, everyone."
[/message]
[/event]
# Event 2: Entering the large cavern
#player chooses one side (trolls or dwarves) then:
#assign allies
#create troll and dwarf leaders
#create dwarf and troll defenders, make one side attackers
#change ally and enemy gold/income
#capture all villages, destroy ally's tunnel villages
#seal off exits from allies caves
[event]
name=moveto
[filter]
x=24-74
y=20-34
side=1
[/filter]
#create 14 dwarves and 12 trolls
#dwarves:
# 2 dwarvish steelclads, 3 dwarvish fighters, 1 dwarvish thunderguard, 2 dwarvish thunderers, 2 dwarvish guardsmen, 1 dwarvish ulfserker, 1 dwarvish steelclad (captain), and 1 dwarvish pathfinder and 1 dwarvish scout
#trolls:
# 6 troll whelps, 2 trolls, 2 troll rocklobbers, 1 shaman, 1 shaman leader
# on EASY and NORMAL, reduce number of trolls and dwarves
# if EASY:
# Dwarves: remove 1 fighter (39,21), and 1 thunderer (35,20)
# Trolls: remove 2 troll whelps (37,32) (34,34)
# turn troll rocklobber into a whelp (33,32)
# if NORMAL:
# Dwarves: remove 1 fighter (39,21)
# Trolls: remove 2 troll whelps (37,32) (34,34)
#Western side
#battling over the castle
#1 dwarvish fighter, 1 dwarvish thunderer, 1 dwarvish guardsman
#define DEFENDER SIDE TYPE X Y ROLE_STRING NAME_STRING
[unit]
side={SIDE}
type={TYPE}
name={NAME_STRING}
x={X}
y={Y}
random_traits=yes
role={ROLE_STRING}
[/unit]
#enddef
{NAMED_UNIT 4 (Dwarvish Fighter) 30 27 first_dwarf ( _ "Dwarf Defender") (role=Dwarf Defender)}
{NAMED_UNIT 4 (Dwarvish Thunderer) 30 25 second_dwarf ( _ "Dwarf Defender") (role=Dwarf Defender)}
{DEFENDER 4 (Dwarvish Guardsman) 29 30 (Dwarf Defender) ( _ "Dwarf Defender")}
#2 troll whelps
{DEFENDER 3 (Troll Whelp) 31 30 (Troll Defender) ( _ "Troll Defender")}
{DEFENDER 2 (Troll Whelp) 29 28 (Troll Defender) ( _ "Troll Defender")}
#western reinforcements
#1 dwarvish berserker, 1 dwarvish steelclad (captain), 1 dwarvish fighter, (added: 1 dwarvish scout)
{DEFENDER 4 (Dwarvish Ulfserker) 30 21 (Dwarf Defender) ( _ "Dwarf Defender")}
{NAMED_GENERIC_UNIT 4 (Dwarvish Steelclad) 32 20 (Dwarf Leader) ( _ "Dwarf Leader")}
{DEFENDER 5 (Dwarvish Fighter) 34 22 (Dwarf Defender) ( _ "Dwarf Defender")}
{DEFENDER 4 (Dwarvish Scout) 34 26 (Dwarf Defender) ( _ "Dwarf Defender")}
#2 troll whelps, 1 troll rocklobber, 1 shaman (captain)
{DEFENDER 2 (Troll Whelp) 29 31 (Troll Defender) ( _ "Troll Defender")}
#unit was originally a troll
#ifdef HARD
{DEFENDER 2 (Troll Whelp) 34 31 (Troll Defender) ( _ "Troll Defender")}
#endif
#ifdef EASY
{DEFENDER 2 (Troll Whelp) 33 32 (Troll Defender) ( _ "Troll Defender")}
#else
{DEFENDER 2 (Troll Rocklobber) 33 32 (Troll Defender) ( _ "Troll Defender")}
#endif
{NAMED_GENERIC_UNIT 2 (Troll Shaman) 28 33 (Troll Leader) ( _ "Troll Leader")}
#Center
#1 dwarvish thunderer (N village)
#ifndef EASY
{DEFENDER 5 (Dwarvish Thunderer) 35 20 (Dwarf Defender) ( _ "Dwarf Defender")}
#endif
#Eastern side
#battling over the center
#1 dwarvish steelclad, 1 dwarvish guardsman, 1 dwarvish thunderer
#1 dwarvish pathfinder
{DEFENDER 5 (Dwarvish Steelclad) 40 26 (Dwarf Defender) ( _ "Dwarf Defender")}
{DEFENDER 5 (Dwarvish Guardsman) 39 24 (Dwarf Defender) ( _ "Dwarf Defender")}
{DEFENDER 5 (Dwarvish Thunderer) 42 23 (Dwarf Defender) ( _ "Dwarf Defender")}
{DEFENDER 5 (Dwarvish Pathfinder) 44 26 (Dwarf Defender) ( _ "Dwarf Defender")}
#1 troll whelp, 1 troll, 1 troll rocklobber
{DEFENDER 2 (Troll Whelp) 41 27 (Troll Defender) ( _ "Troll Defender")}
{DEFENDER 3 (Troll) 42 29 (Troll Defender) ( _ "Troll Defender")}
{DEFENDER 3 (Troll Rocklobber) 39 29 (Troll Defender) ( _ "Troll Defender")}
#eastern reinforcements
#1 dwarvish steelclad, 1 dwarvish fighter
{DEFENDER 5 (Dwarvish Steelclad) 42 21 (Dwarf Defender) ( _ "Dwarf Defender")}
#ifdef HARD
{DEFENDER 5 (Dwarvish Fighter) 39 21 (Dwarf Defender) ( _ "Dwarf Defender")}
#endif
#2 troll whelps, 1 shaman
#ifdef HARD
{DEFENDER 3 (Troll Whelp) 37 32 (Troll Defender) ( _ "Troll Defender")}
#endif
{DEFENDER 3 (Troll Whelp) 42 32 (Troll Defender) ( _ "Troll Defender")}
{DEFENDER 3 (Troll Shaman) 44 31 (Troll Defender) ( _ "Troll Defender")}
#undef DEFENDER
# wmllint: recognize Dwarf Defender
# wmllint: recognize Troll Defender
[redraw]
[/redraw]
#reveal large cave x: 25-47 y: 19-35
[remove_shroud]
side=1
x=25-47
y=19-35
[/remove_shroud]
#dwarf/troll/elf dialogue
{CHECK_EXPLORER}
[message]
speaker=$explorer.id
message= _ "Whoa."
[/message]
# Unhide the dwarves' and trolls' sides
[modify_side]
side=2,3,4,5
hidden=no
[/modify_side]
[scroll_to_unit]
x,y=34,22
[/scroll_to_unit]
[delay]
time=400
[/delay]
[scroll_to_unit]
x,y=42,23
[/scroll_to_unit]
[delay]
time=400
[/delay]
[scroll_to_unit]
x,y=42,29
[/scroll_to_unit]
[delay]
time=400
[/delay]
[scroll_to_unit]
x,y=33,32
[/scroll_to_unit]
[delay]
time=400
[/delay]
[scroll_to_unit]
x,y=29,27
[/scroll_to_unit]
[delay]
time=400
[/delay]
[message]
speaker=Nym
message= _ "I think I preferred the spider and the ants..."
[/message]
[message]
speaker=Dwarf Leader
message= _ "Stand firm, boys, here they come!"
[/message]
[message]
speaker=Troll Leader
message= _ "You invade our tunnels, you slaughter our people, by Griknagh we will make you pay!"
[/message]
[message]
speaker=Dwarf Leader
message= _ "Tenacious savages, aren’t they? But these tunnels are rich in ore, and we won’t let a couple of trolls keep them from us."
[/message]