/
06a_In_the_Tunnels_of_Trolls.cfg
1792 lines (1450 loc) · 47.5 KB
/
06a_In_the_Tunnels_of_Trolls.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
#define UNDEAD_TROLL_DESCRIPTION
_ "These undead trolls fight again in death as they did in life, except this time they smell much worse."
{NOTE_PLAGUE}
#enddef
[scenario]
id=06a_In_the_Tunnels_of_the_Trolls
name= _ "In the Tunnels of the Trolls"
{UTBS_MAP 06a_In_the_Tunnels_of_the_Trolls.map}
{STORY_IN_THE_TUNNELS_OF_THE_TROLLS}
{SCENARIO_MUSIC "the_deep_path.ogg"}
next_scenario=07a_Dealing_with_Dwarves
{TURNS 60 58 56}
victory_when_enemies_defeated=no
{UNDERGROUND}
#Elf player
[side]
side=1
#this is the default
color=red
id=Kaleh
type=Quenoth Youth
canrecruit=yes
{GOLD 235 190 135}
{INCOME 6 3 0}
controller=human
shroud=yes
fog=no
team_name=dwarf_ally
user_team_name= _ "team_name^Quenoth Elves"
{FLAG_VARIANT long}
[/side]
#Side=2 dwarf 1 (dwarf allies)
[side]
side=2
color=orange
no_leader=yes
gold=0
income=0
controller=ai
shroud=no
fog=no
team_name=dwarf_ally
user_team_name=_"Dwarf Ally"
{FLAG_VARIANT knalgan}
[/side]
#Side=3 troll 1 (advance guard trolls at outpost)
[side]
side=3
color=green
no_leader=yes
gold=0
income=0
controller=ai
shroud=no
fog=no
team_name=monster
user_team_name=_"Monsters"
#ifdef EASY
recruit=Troll Whelp, Troll
#endif
#ifdef NORMAL
recruit=Troll Whelp, Troll, Troll Rocklobber
#endif
#ifdef HARD
recruit=Troll Whelp, Troll, Troll Rocklobber, Troll Shaman
#endif
[ai]
#ifdef EASY
recruitment_pattern=fighter,fighter
#endif
#ifdef NORMAL
recruitment_pattern=fighter,fighter,mixed fighter
#endif
#ifdef HARD
recruitment_pattern=fighter,fighter,mixed fighter
#endif
aggression=0.6
[/ai]
[/side]
#Side=4 troll 2 (elite trolls in main lair)
[side]
side=4
color=brown
no_leader=yes
gold=0
{NO_INCOME}
controller=ai
shroud=no
fog=no
team_name=monster
user_team_name=_"Monsters"
#ifdef EASY
recruit=Troll Whelp, Troll, Troll Rocklobber
#endif
#ifdef NORMAL
recruit=Troll Whelp, Troll, Troll Rocklobber, Troll Shaman
#endif
#ifdef HARD
recruit=Troll Whelp, Troll, Troll Rocklobber, Troll Shaman
#endif
[ai]
recruitment_pattern=fighter,fighter,mixed fighter
aggression=0.6
[/ai]
[/side]
#Side=5 fire guardians
[side]
side=5
color=white
no_leader=yes
gold=0
income=0
controller=ai
shroud=no
fog=no
team_name=monster
user_team_name=_"Monsters"
#ifdef EASY
recruit=Vampire Bat, Blood Bat
#endif
#ifdef NORMAL
recruit=Vampire Bat, Blood Bat, Dread Bat
#endif
#ifdef HARD
recruit=Vampire Bat, Blood Bat, Dread Bat
#endif
[ai]
aggression=0.9
caution=0.1
village_value=0
#fire guardians can't leave lava cavern
[avoid]
x=39-46, 30-34
y=77-81,92-100
[/avoid]
[/ai]
[/side]
# Prestart functions:
# set starting scenario objectives
# increase cost of recruiting units
# place item images on map
# recall main heroes
# initialize starting variables
# remove keep
# create elf units
# create AI=guardian starting units
[event]
name=prestart
#set starting scenario objectives
[objectives]
summary= _ "Starting Objectives:"
[objective]
description= _ "Kill troll leader"
condition=win
[/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]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
{INCREASE_RECRUIT_COSTS 1}
# show where to go at start
{PLACE_IMAGE items/gohere.png 15 7}
#secret troll tomb furnishings
{PLACE_IMAGE items/coffin-closed.png 3 28}
{PLACE_IMAGE items/bones.png 6 24}
#troll burial grounds furnishings
{PLACE_IMAGE items/burial.png 36 27}
{PLACE_IMAGE items/burial.png 33 26}
{PLACE_IMAGE items/burial.png 40 23}
{PLACE_IMAGE items/bonestack.png 37 23}
{PLACE_IMAGE items/bonestack.png 39 27}
{PLACE_IMAGE scenery/monolith1.png 34 25}
{PLACE_IMAGE scenery/monolith4.png 34 28}
#other furnishings
{PLACE_IMAGE items/bones.png 14 12}
#recall heroes
[recall]
id=Nym
[/recall]
[recall]
id=Zhul
[/recall]
[recall]
id=Elyssa
[/recall]
#initialize starting variables
# heat damage by just standing in the lava cavern
[set_variable]
name=heat_damage
value={ON_DIFFICULTY 2 4 6}
[/set_variable]
# create AI=guardian units. They can't move unless an enemy
# moves nearby. I create them at the beginning because when the
# player sees them, events will fire.
[unit]
type=Dwarvish Pathfinder
id=Grimnir
name= _ "Grimnir"
x=7
y=6
side=2
ai_special=guardian
[modifications]
{TRAIT_STRONG}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
# Event 2.1
#Troll interrogators guardian
[unit]
type=Troll
id=Troll Interrogator
name= _ "Troll Interrogator"
x=34
y=5
side=3
ai_special=guardian
facing=sw
[modifications]
{TRAIT_STRONG}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
[unit]
type=Troll Whelp
id=Troll Assistant
name= _ "Troll Assistant"
x=32
y=5
side=3
ai_special=guardian
[modifications]
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
[unit]
type=Troll Whelp
id=Ulg
name= _ "Ulg"
x=33
y=7
side=3
ai_special=guardian
[modifications]
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
[/unit]
#ifdef HARD
[unit]
type=Troll Whelp
name= _ "Troll Assistant"
x=31
y=4
side=3
ai_special=guardian
[modifications]
{TRAIT_STRONG}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
#endif
# Event 3: Troll High Shamans guarding lava maze
[unit]
type=Troll Shaman
role=Troll High Shaman
name= _ "Troll High Shaman"
x=16
y=22
side=4
ai_special=guardian
[modifications]
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[object]
id=t3
[effect]
apply_to=movement_costs
replace=yes
[movement_costs]
cave={UNREACHABLE}
flat={UNREACHABLE}
[/movement_costs]
[/effect]
[/object]
[/modifications]
[/unit]
[unit]
type=Troll Shaman
role=Troll High Shaman
name= _ "Troll High Shaman"
x=18
y=23
side=4
ai_special=guardian
[modifications]
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[object]
id=t4
[effect]
apply_to=movement_costs
replace=yes
[movement_costs]
cave={UNREACHABLE}
flat={UNREACHABLE}
[/movement_costs]
[/effect]
[/object]
[/modifications]
[/unit]
# reveal a bit of the escape passage to the player
[remove_shroud]
x,y=5-8,4-6
side=1
[/remove_shroud]
[/event]
# starting events
[event]
name=start
# starting dialogue
[message]
speaker=Grimnir
message= _ "This passage leads very close to the trolls’ main lair; you can hear them tromping back and forth just past the eastern wall. All that separates us from the trolls is a thin wall of stone. I’ve had me boys mine the end of the tunnel with explosives; when you move a unit adjacent to the final wall, I’ll blow the charges and open the way. The troll leader should only be lightly defended; he’s sent most of his best warriors to the front. You’ll know the head troll when you see him — he’s big, gray and extra ugly."
[/message]
[message]
speaker=Nym
message= _ "I thought that’s what all the trolls looked like. I suppose we’ll just try to find the one that shouts the loudest."
[/message]
[message]
speaker=Zhul
message= _ "So you dug these tunnels all by yourselves?"
[/message]
[message]
speaker=Grimnir
message= _ "Long ago, before the damned trolls invaded, we spent our days digging tunnels all through these mountains. Oh the ore and precious stones we mined! The mines were filled with the joyful sound of dwarven hammer and dwarven song and our jeweled halls glowed as brightly as the sun. Human and elf princes would pay us royally for the craftsmanship of our forges. But now the tunnels are silent and we spend our days hunting those accursed trolls. But there’s no point dwelling on the past. There’s more work to be done! Still, we have our honor and I promise you, do this for us and you will be rewarded handsomely."
[/message]
[message]
speaker=Kaleh
message= _ "It shall be done."
[/message]
[/event]
# Event 1: Blow up wall, encounter advance troll guards
# when player moves next wall trigger variable
[event]
name=moveto
[filter]
x,y=15,7
side=1
[/filter]
[message]
speaker=Grimnir
message= _ "Once you are done moving your people into position, I will blow the charges."
[/message]
{REMOVE_IMAGE 15 7}
# at start of player’s next turn, blow charges and destroy wall
[event]
name=new turn
# Modify troll's income
[modify_side]
side=3
{INCOME 9 13 17}
{GOLD 75 100 125}
[/modify_side]
# Place troll guards
# EASY: 1 Troll Leader, 2 troll whelps, 1 rocklobber
# NORMAL: 1 Troll Leader, 3 troll whelps, 1 rocklobber
# HARD: 1 Troll Leader, 3 troll whelps, 1 rocklobber, 1 troll
# 1 Troll Leader
[unit]
id=Troll Brute
name= _ "Troll Brute"
type=Troll
x=23
y=9
side=3
canrecruit=yes
[modifications]
{TRAIT_STRONG}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
# 1 Troll Rocklobber
{NAMED_NOTRAIT_UNIT 3 (Troll Rocklobber) 23 8 () ( _ "Troll Guard")}
# 0-1 extra Trolls
{NAMED_NOTRAIT_UNIT 3 (Troll) 21 9 (Troll Guard) ( _ "Troll Guard")}
# 2-3 troll whelps occupy base and villages
# 2 troll whelps in villages
{NAMED_NOTRAIT_UNIT 3 (Troll Whelp) 21 5 () ( _ "Troll Guard")}
{NAMED_NOTRAIT_UNIT 3 (Troll Whelp) 23 6 () ( _ "Troll Guard")}
#ifndef EASY
{NAMED_NOTRAIT_UNIT 3 (Troll Whelp) 21 19 () ( _ "Troll Guard")}
#endif
# Have Grimnir blow the explosives to destroy the wall
[message]
speaker=Grimnir
message= _ "Fire in the hole!"
[/message]
[sound]
name=fuse.ogg
[/sound]
# Have screen flash red
[color_adjust]
red,green,blue=255,0,0
[/color_adjust]
[redraw]
[/redraw]
[delay]
time=1000
[/delay]
[color_adjust]
red,green,blue=0,0,0
[/color_adjust]
[redraw]
[/redraw]
[sound]
name=explosion.ogg
[/sound]
# Have wall shake, then be replaced by dirt, then add rubble
{UTBS_SHAKE_SCREEN}
[terrain]
x,y=16,7
terrain=Re
[/terrain]
[redraw]
[/redraw]
{PLACE_IMAGE scenery/rubble.png 16 7}
# Reveal dwarven cavern
[remove_shroud]
x=16-25
y=3-10
side=1
[/remove_shroud]
# Have Grimnir say goodbye
[message]
speaker=Grimnir
message= _ "My work here is done. I must report back to my King. I have many more things to do before the day is done, but I will return once you finish your mission. Fight well!"
[/message]
# Have him leave
[kill]
id=Grimnir
animate=no
fire_event=no
[/kill]
[move_unit_fake]
type=Dwarvish Pathfinder
side=2
x=7,6,5,4,3,2,1
y=6,5,5,4,5,4,4
[/move_unit_fake]
[terrain]
x=0-2,1
y=4,5
terrain=Xu
[/terrain]
{PLACE_IMAGE scenery/rubble.png 3 5}
[redraw][/redraw]
# Have troll guards talk
[message]
speaker=Troll Guard
message= _ "Intruders! Kill them!"
[/message]
[/event]
[/event]
# Event 2.1: Troll Interrogators
# When player appears 3 trolls are interrogating a wounded dwarf
# When they see the player they kill the dwarf. The other says
# "The prisoners must not be allowed to escape. Kill the other prisoner
# while we hold them off!"
# Troll and Troll whelp try to hold off player
# I create trolls well in advance of player entering cave
# this makes sure that player can't move into trolls hexes
# I am forced to make trolls into guardians to keep them
# from moving prematurely
# Moveto version (sighted version is disabled)
[event]
name=interrogation
[remove_shroud]
x=28-35
y=3-9
side=1
[/remove_shroud]
[unit]
type=Dwarvish Fighter
id=Wounded Dwarf
name= _ "Wounded Dwarf"
x=33
y=6
side=2
hitpoints=5
[/unit]
[message]
speaker=Troll Interrogator
message= _ "Tell us where your leader is hiding!"
[/message]
[message]
speaker=Wounded Dwarf
message= _ "Never!"
[/message]
[message]
speaker=Troll Assistant
message= _ "Master, look!"
[/message]
[message]
speaker=Troll Interrogator
message= _ "Hah! You think you can save your friends. You are wrong. Ulg, go kill the other prisoner. We will deal with these fools."
[/message]
[message]
speaker=Ulg
message= _ "Yes master, I’ll make him suffer."
[/message]
{MOVE_UNIT id=Ulg 40 4}
[animate_unit]
[filter]
id=Troll Interrogator
[/filter]
flag=attack
hits=yes
[primary_attack]
name=club
[/primary_attack]
[facing]
[filter]
id=Wounded Dwarf
[/filter]
[/facing]
[animate]
[filter]
id=Wounded Dwarf
[/filter]
flag=defend
hits=yes
[secondary_attack]
name=axe
[/secondary_attack]
[facing]
[filter]
id=Troll Interrogator
[/filter]
[/facing]
[/animate]
[/animate_unit]
[message]
speaker=Wounded Dwarf
message= _ "Aaahh!" # wmllint: no spellcheck
[/message]
[kill]
id=Wounded Dwarf
animate=yes
[/kill]
[message]
speaker=$explorer.id
message= _ "If we move fast we might be able to save the other prisoner before he gets killed too."
[/message]
{CLEAR_VARIABLE explorer}
[/event]
[event]
name=rogrimir
[unit]
type=Dwarvish Stalwart
id=Rogrimir
name= _ "Rogrimir"
profile=portraits/dwarves/fighter-2.png
x=41
y=4
side=2
hitpoints=20
unrenamable=yes
[modifications]
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
[/unit]
[remove_shroud]
x=34-37,38,39-41
y=4-8,3-7,3-6
side=1
[/remove_shroud]
[message]
speaker=Ulg
message= _ "I’m gonna make you squeal, dwarf!"
[/message]
[/event]
[event]
name=moveto
[filter_condition]
[have_unit]
id=Troll Interrogator,Ulg
[filter_vision]
visible=yes
side=1
[/filter_vision]
[/have_unit]
[/filter_condition]
{CHECK_EXPLORER}
[fire_event]
name=interrogation
[/fire_event]
# Event 2.2: Wounded Dwarf
# Troll whelp tries to kill wounded Dwarvish Stalwart
[event]
name=moveto
[filter_condition]
[have_unit]
id=Ulg
side=3
[filter_vision]
visible=yes
side=1
[/filter_vision]
[/have_unit]
[/filter_condition]
[fire_event]
name=rogrimir
[/fire_event]
[/event]
[/event]
# when Ulg dies, Rogrimir thanks player
[event]
name=die
[filter]
id=Ulg
[/filter]
{VARIABLE saved_rogrimir yes}
[message]
speaker=Rogrimir
message= _ "I owe you my life. I can’t believe I was captured when those all around me died fighting gloriously. I’m so ashamed. I could not protect them... but I will guard you with my life, even if I have to follow you to the ends of the earth. Now lead me to the trolls and let me avenge my friends’ deaths!"
[/message]
[modify_unit]
[filter]
id=Rogrimir
[/filter]
side=1
moves=5
[/modify_unit]
[/event]
# Event 3: Troll Lava Maze
# At the start of each turn, all units except winged ones standing
# on a lava hex take 25 damage. This damage can kill units.
[event]
name=new turn
first_time_only=no
# damage done by standing in lava used to be
# 30 hp at Challenging and Hard difficulty
[harm_unit]
[filter]
side=1,3,4
[not]
type=Quenoth Sun Sylph,Quenoth Shyde,Dust Devil
[/not]
[filter_location]
terrain=*^Yl
[/filter_location]
[/filter]
amount=25
damage_type=fire
animate=yes
[/harm_unit]
[/event]
# At the start of each turn, all units in main cavern standing on a cave
# floor hex, or lava hex, or a dirt hex or a road hex take 2,3,4 damage
# from the heat. This damage is non-lethal.
[event]
name=new turn
first_time_only=no
[harm_unit]
[filter]
side=1,3,4
[not]
type=Dust Devil
[/not]
[filter_location]
x=1-33
y=11-27
terrain=!,*^Yl,Wwg
[/filter_location]
[/filter]
amount=$heat_damage
damage_type=fire
kill=no
[/harm_unit]
[/event]
#Initial moveto event to enter lava cavern
[event]
name=moveto
[filter]
x,y=22-30,10-20
side=1
[/filter]
[remove_shroud]
x=11-33
y=11-24
side=1
[/remove_shroud]
[remove_shroud]
x=20-29
y=23-27
side=1
[/remove_shroud]
[remove_shroud]
x=29-31
y=13-15
side=1
[/remove_shroud]
[place_shroud]
x=13-14
y=11-13
side=1
[/place_shroud]
[place_shroud]
x=11-12
y=26-27
side=1
[/place_shroud]
[redraw]
[/redraw]
{CHECK_EXPLORER}
[message]
speaker=$explorer.id
message= _ "Whoa. This place is hot."
[/message]
[message]
speaker=$explorer.id
message= _ "This cavern is so hot it’s stifling; I can already feel my armor heating up. If we tarry here too long we’ll roast alive. I don’t even want to think about what would happen if I tried to walk across the lava. On the other hand, the lava does light up the cavern nicely. I’m just thankful the trolls constructed a bridge across the lava."
[/message]
[message]
role=Troll High Shaman
message= _ "They have broken through the outer guard-line. Destroy the bridge, they must not pass!"
[/message]
[sound]
name=rumble.ogg
[/sound]
# Have screen flash red
[color_adjust]
red,green,blue=255,0,0
[/color_adjust]
[redraw]
[/redraw]
[delay]
time=200
[/delay]
[color_adjust]
red,green,blue=0,0,0
[/color_adjust]
[redraw]
[/redraw]
[sound]
name=flame-big.ogg
[/sound]
# Have screen shake, then destroy most of bridge
{UTBS_SHAKE_SCREEN}
[terrain]
x=16,17,18,18,19,19,20,20,21,22,22,23,23,23,24,24,24
y=20,22,20,19,20,19,19,17,17,17,16,17,16,15,16,15,14
terrain=Qlf^Yl
[/terrain]
[redraw][/redraw]
[message]
speaker=$explorer.id
message= _ "Uh, I take that back. Still, the trolls don’t seem to be advancing. I guess they think the lava can hold us back. Well, we’ll show them. It will take more than a little heat to stop us!"
[/message]
{CLEAR_VARIABLE explorer}
[message]
speaker=narrator
message= _ "Any unit that ends its turn on a lava hex, except those who can fly over the lava, will take 25 damage at the beginning of the next turn. This lava damage can kill units. Flying units will just take $heat_damage damage per turn when flying over lava, though they too can die if they spend too much time over it. Also because of the heat in the cavern, all units on cave floor hexes will take $heat_damage damage at the start of each turn. This heat damage can reduce a unit to 1 hit point, but it can’t kill it."
image=wesnoth-icon.png
[/message]
[event]
name=new turn
[message]
role=Troll High Shaman
message= _ "Arise! Arise and engulf the intruders in your holy fire!"
[/message]
[fire_event]
name=evoke_flame_guardian
[/fire_event]
[message]
side=1
x,y=16-29,11-23
message= _ "What the heck is that? It sure doesn’t look good. The last thing we need in here is even more fire."
[/message]
{VARIABLE summon_flame_guardian yes}
{VARIABLE flame_guardian_turn_counter 0}
[/event]
[/event]
# pool of water lets player heal halfway
[event]
name=moveto
[filter]
x,y=22,26
side=1
[/filter]
{CHECK_EXPLORER}
[message]
speaker=$explorer.id
message= _ "There is a small pool of water here. It must come from some spring deep underground. The water is cool and refreshing. Let me bathe in it a while and recover from the heat of that blasted cavern."
[/message]