-
-
Notifications
You must be signed in to change notification settings - Fork 992
/
20b_Underground_Channels.cfg
676 lines (600 loc) · 24.6 KB
/
20b_Underground_Channels.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
#textdomain wesnoth-httt
[scenario]
id=20b_Underground_Channels
name= _ "Underground Channels"
map_data="{campaigns/Heir_To_The_Throne/maps/20b_Underground_Channels.map}"
{TURNS 80 70 60}
next_scenario="21_Elven_Council"
victory_when_enemies_defeated=no
{HTTT_TRACK {JOURNEY_20B_NEW} }
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC "underground.ogg"}
{EXTRA_SCENARIO_MUSIC "nunc_dimittis.ogg"}
{EXTRA_SCENARIO_MUSIC "the_deep_path.ogg"}
{EXTRA_SCENARIO_MUSIC "into_the_shadows.ogg"}
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Find the exit from the underground and move Konrad to it"
condition=win
[/objective]
[objective]
[show_if]
{CHECK_VARIABLE met_wose yes}
[/show_if]
{BONUS_OBJECTIVE_CAPTION}
description= _ "Help the Wose fend off the undead attack"
condition=win
[/objective]
[objective]
description= _ "Death of Konrad"
condition=lose
[/objective]
[objective]
description= _ "Death of Delfador"
condition=lose
[/objective]
[objective]
description= _ "Death of Li’sar"
condition=lose
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
{campaigns/Heir_To_The_Throne/utils/deaths.cfg}
[side]
type=Commander
id=Konrad
name= _ "Konrad"
unrenamable=yes
profile=portraits/konrad-human.png
side=1
canrecruit=yes
controller=human
team_name=elves
user_team_name=_"Rebels"
gold=200
fog=yes
shroud=yes
share_maps=no
share_view=no
{FLAG_VARIANT long}
[/side]
[side]
side=2
type=Saurian Oracle
id=Szerkz
name= _ "Szerkz"
controller=ai
canrecruit=yes
team_name=drakes
user_team_name=_"Drakes"
recruit=Saurian Skirmisher,Saurian Augur,Saurian Ambusher,Saurian Flanker,Saurian Oracle,Saurian Soothsayer
{GOLD 150 200 250}
{INCOME 10 15 20}
[ai]
{ATTACK_DEPTH 4 5 6}
passive_leader=yes
[/ai]
[/side]
[side]
side=3
type=Ancient Lich
id=Muff Argulak
name= _ "Muff Argulak"
controller=ai
canrecruit=yes
team_name=undead
user_team_name=_"Undead"
recruit=Wraith,Shadow,Spectre,Nightgaunt,Revenant,Deathblade,Draug,Bone Shooter,Necrophage,Banebow
{GOLD 200 300 400}
{INCOME 10 15 20}
[ai]
{ATTACK_DEPTH 4 5 6}
passive_leader=yes
[/ai]
{FLAG_VARIANT undead}
[/side]
[side]
side=4
type=Ancient Wose
id=Haralamdum
name= _ "Haralamdum"
controller=ai
canrecruit=yes
team_name=elves
user_team_name=_"Rebels"
recruit=Wose,Elder Wose
{GOLD 150 100 70}
{INCOME 10 6 2}
[ai]
{ATTACK_DEPTH 6 5 4}
#ifdef EASY
passive_leader=yes
#endif
[/ai]
[/side]
[side]
side=5
type=Elvish Sylph
id=Bona-Melodia
name= _ "Bona-Melodia"
controller=ai
canrecruit=yes
team_name=elves
user_team_name=_"Rebels"
recruit=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout,Elvish Hero,Elvish Captain,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,Elvish Rider
gold=50
[ai]
{ATTACK_DEPTH 6 5 4}
[avoid]
[not]
x=41,42,43-44,45-46,47-48,49-50
y=3,2,1-3,1-4,1-5,1-6
[/not]
[/avoid]
[/ai]
{FLAG_VARIANT wood-elvish}
[/side]
[event]
name=prestart
{NEED_DELFADOR placement=leader}
{NEED_LISAR placement=leader}
{NEED_KALENZ placement=leader}
[/event]
[event]
name=start
[message]
speaker=narrator
image=wesnoth-icon.png
message= _ "The party enters the mysterious cave, ready to face the unknown..."
[/message]
[message]
speaker=Delfador
message= _ "It is unfortunate that the drakes distrusted us. Keh Ohn seemed noble and powerful, and under different circumstances, might have provided us with some insights about these caves."
[/message]
[message]
speaker="Li'sar"
message= _ "He was just someone who couldn’t handle the power given to him."
[/message]
[message]
speaker=Kalenz
message= _ "You would do well to learn the lesson he did not."
[/message]
[message]
speaker="Li'sar"
message= _ "Move along, elf, unless you enjoy making camp in this dank cave. I, for one, do not!"
[/message]
[message]
speaker=Kalenz
message= _ "Indeed..."
[/message]
[message]
speaker="Li'sar"
message= _ "Listen, you whose eyes are fair but hide a vacuum, do you think I do not know what power can do to one’s soul? What evils a person is capable of when truth and righteousness are but scrolls that can be rewritten when a queen grows tired of them?"
[/message]
[message]
speaker="Li'sar"
message= _ "I spent my entire childhood listening to my mother give orders and command armies around. I hid in the throne room as a little girl as she met with her generals. I now know she was having people killed... entire towns of people killed!"
[/message]
[message]
speaker="Li'sar"
message= _ "I became my mother’s most trusted aide-de-camp. I was sent to quiet the worst of the rebellion. Of course they fought back. I never knew who these people were or why they fought my mother. Konrad, you are lucky. You do not know what Wesnoth has been like these past many years. There is no peace. I have never known peace."
[/message]
[message]
speaker=Delfador
message= _ "I do know the cup of bitterness poured out on Wesnoth by your mother, child. The land has been torn apart. The elves know this. The orcs know this. Undead can feel it. Large armies of men march across the plains hunting each other, and when no men remain, outsiders will claim Wesnoth as their home."
[/message]
[message]
speaker=Konrad
{KONRAD_VARIATION mad}
message= _ "Enough! I can listen to no more of this. Princess, you may want to end your mother’s rule, but I will end her life as she ended the life of my father and my brothers. Asheviere’s masterwork of treachery will end, and it will end by my blade!"
[/message]
[/event]
[event]
name=moveto
[filter]
x=41,42,43-44,45-46,47-48,49-50
y=3,2,1-3,1-4,1-5,1-6
id=Konrad
[/filter]
[if]
[have_unit]
id=Bona-Melodia
[/have_unit]
[then]
[message]
speaker=Bona-Melodia
message= _ "Get that vile creature!"
[/message]
[message]
speaker=Kalenz
message= _ "Hold!"
[/message]
[message]
speaker=Bona-Melodia
message= _ "Milord Kalenz! My apologies. I mistook him for one of those foul lizardmen. How came you to be traveling such paths?"
[/message]
[message]
speaker=Kalenz
message= _ "Change is coming to the human lands. We rush to Elensiria seeking assistance, and the perils of the Longlier presented the quickest route."
[/message]
[message]
speaker=Bona-Melodia
message= _ "Uradredia has already called a meeting of the Council of Lintanir. You must hurry, for they gather even now."
[/message]
[message]
speaker=Kalenz
message= _ "Then there is little time! Fare well."
[/message]
[/then]
[elseif]
[have_unit]
side=5
[/have_unit]
[then]
[message]
speaker=Kalenz
message= _ "What is this? Where is your leader?"
[/message]
[message]
side=5
message= _ "We were beset by many foul lizardmen. Alas, Bona-Melodia has fallen."
[/message]
[message]
speaker=Kalenz
message= _ "This bodes ill for Lintanir. We rush to Elensiria on other matters but will carry word of what has transpired here."
[/message]
[message]
side=5
message= _ "Lord Uradredia has called a meeting of the Council of Lintanir. Rumor is there are greater needs than ours."
[/message]
[message]
speaker=Kalenz
message= _ "Then we must hurry. Stand fast, we will send reinforcements."
[/message]
[/then]
[/elseif]
[else]
[message]
speaker=Kalenz
message= _ "What is this? Where are the guardians? I see signs of battle everywhere: Saurian footprints, Elvish blood. This bodes ill for Lintanir. We must hurry onward to Elensiria. Quickly, before we, too, are beset."
[/message]
[/else]
[/if]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
# This place was virtually empty, but there were notes indicating something more was intended.
#
# Sub-quest: help the wose with the undead (per original notes).
# Requirements: the undead and wose leaders must still be alive
# Start Trigger: first meeting with any wose
# Success Trigger: the death of the undead leader at the hands of side 1; the wose leader must still be alive
# Complication: other sides might kill the undead leader first.
# Result: a book appears at (1,1)
# Effect: taking the book grants movement cost 1 through forest, forest defense 70%, and ambush (like Elvish Ranger)
# Only some units can read the book. Those who cannot: Delfador, Elves, Dwarves, Merfolk, Horsemen and Mages.
#
# I chose these effects because we're close to the end, the next scenario (S22) has some large forests but,
# thereafter, there is not a lot of use for forest skills, since most of theterritory is open grasslands.
# So these effects should not have too large an effect upon the remaining parts of the campaign.
#
# GL-2016JUL
# Haralamdum is ancient, and his mind does not work well any more. He takes things very slowly and carefully, even for a Wose. He halts and pauses, often searching for something in his memory, using meaningless syllables to fill the gap. The syllables of his name come from the phrase he uses to mean "that is all" or "I am done" which he says often, usually out of frustration with how hasty everyone seems. Nobody alive knows his real name, and he has likely forgotten as well. Feel free to add, move, or remove pauses to break up, or even scatter, his train of thought. For inspiration, think of Asperger Syndrome.
# For background references, see Delfador's Memoirs, scenario 8 ("Ur Thorodor").
[event]
name=prestart
{VARIABLE met_wose no}
[/event]
[event]
name=victory
{CLEAR_VARIABLE book_taken,met_wose}
[/event]
[event]
name=die
[filter]
id=Haralamdum
[/filter]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "From far in the distance comes the sound of branches snapping, followed by a long, hollow boom. The world goes silent for a moment."
[/message]
[message]
speaker=Kalenz
message= _ "Can you feel it? It is as if the entire forest is stunned! Something has happened and, I fear, not for the good."
[/message]
[/event]
[event]
name=die
[filter]
id=Muff Argulak
[/filter]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "A hollow screech echoes throughout the caverns. The air suddenly seems fresher and lighter."
[/message]
[if]
[not]
{CHECK_VARIABLE second_unit.side 1}
[/not]
[then]
[message]
speaker=Delfador
message= _ "Whatever that was, the world rejoices."
[/message]
[/then]
[/if]
[/event]
[event]
name=sighted
[filter]
side=4
[/filter]
[filter_second]
side=1
[/filter_second]
[filter_condition]
[have_unit]
id=Muff Argulak
[/have_unit]
[have_unit]
id=Haralamdum
[/have_unit]
[/filter_condition]
[if]
{CHECK_VARIABLE unit.id Haralamdum}
[then]
[message]
speaker=second_unit
message= _ "Greetings, Sir Wose. We seek the exit to these caverns."
[/message]
[message]
speaker=unit
message= _ "If ... hmm dum ... you could help rid us of these ... alam hurum ... infernal undead, I would be ... alam alam ... look to the north and east ... hmm ... most grateful. Har alam dum."
[/message]
[/then]
[else]
# Intentionally courtly and formal here as a counter-point to the rough going when talking to Haralamdum.
[message]
speaker=unit
message= _ "Well met, stranger."
[/message]
[message]
speaker=second_unit
message= _ "Well met, indeed. We seek the exit to these caverns."
[/message]
[message]
speaker=unit
message= _ "Then you should look to the north and east. But, if you would, might we ask your assistance."
[/message]
[message]
speaker=second_unit
message= _ "What aid might we offer?"
[/message]
[message]
speaker=unit
message= _ "If you would help rid these caverns of those infernal undead, the Ancient One would be most grateful."
[/message]
[message]
speaker=second_unit
message= _ "Ancient one?"
[/message]
[message]
speaker=unit
message= _ "Our elder. Called, by some, Haralamdum."
[/message]
[/else]
[/if]
{VARIABLE met_wose yes}
[show_objectives][/show_objectives]
[event]
name=die
[filter]
id=Haralamdum
[/filter]
{VARIABLE met_wose no}
[/event]
[event]
name=die
[filter]
id=Muff Argulak
[/filter]
[filter_second]
[not]
side=1
[/not]
[/filter_second]
{VARIABLE met_wose no}
[/event]
[event]
name=die
[filter]
id=Muff Argulak
[/filter]
[filter_second]
side=1
[/filter_second]
[filter_condition]
{CHECK_VARIABLE met_wose yes}
[have_unit]
id=Haralamdum
[/have_unit]
[/filter_condition]
[message]
speaker=Haralamdum
message= _ "Har hum har ... hmm ... well ... har alam dum ... good."
[/message]
[message]
speaker=Konrad
message= _ "Those undead will bother you no more, Sir Wose."
[/message]
[delay]
time=2000
[/delay]
[message]
speaker=Delfador
message= _ "We still must find the exit from these caverns, Konrad."
[/message]
[message]
speaker=Konrad
message= _ "Yes, Delfador. I'm afraid we must be going, Sir Wose."
[/message]
[message]
speaker=Haralamdum
message= _ "Well, I say ... hmm dum har ... young Master Delfador? Harum-alam-alam. So it is! Hmm hmm alam ... how is your head?"
[/message]
[message]
speaker=Delfador
message= _ "My head?"
[/message]
[message]
speaker=Haralamdum
# "just the other day" probably means a few decades ago. To Haralamdum, Ur Thorodor is a very young Wose ... a small, young twig on the end of a new branch of an ancient tree, who has not yet earned the honorific 'Ur'
message= _ "Just the other day ... hmm ... I was speaking with that twig ... alam ... alam dum ... Thorodor? Hmm ... yes ... hum ... he said you took a ... alam har ... nasty blow to the head ... hmm ... and he feared you were dead."
[/message]
[message]
speaker=Delfador
# Over 50 years ago, probably 52, to be more precise.
message= _ "That was many years ago, I'm afraid. Now, we really must be moving along ..."
[/message]
[message]
speaker=Haralamdum
message= _ "So hasty ... hmm ... there was something ..."
[/message]
[message]
speaker=Haralamdum
message= _ "Har dum ... oh, yes, the book."
[/message]
[message]
speaker=Delfador
message= _ "Book?"
[/message]
[message]
speaker=Haralamdum
message= _ "When you asked Thorodor for ... harum ... assistance? Hmm ... hmm ... He thought you meant the book ... har hmm ... but you had rushed off ... alam ... alam dum ... and died before he could tell you I have it."
[/message]
[message]
speaker=Delfador
message= _ "I remember no book."
[/message]
[message]
speaker=Haralamdum
message= _ "I am sure ... dum hum ... well, the head ... alam lum alam ... yes, it was somewhere around here ... hum dum da dum ... Thorodor thought it ... hmm ... quite important ... lum harum dum ... perhaps near my home stump?"
[/message]
[message]
speaker=Delfador
message= _ "I am sorry, I remember no book. Now, we really must be off."
[/message]
[message]
speaker=Haralamdum
message= _ "So hasty. Har alam dum."
[/message]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "The wose silently fade into the forest."
[/message]
[kill]
side=4
[/kill]
{PLACE_IMAGE items/book4.png 1 1}
{VARIABLE book_taken no}
{VARIABLE met_wose no}
[event]
name=moveto
first_time_only=no
[filter]
side=1
x,y=1,1
[/filter]
[if]
[not]
{CHECK_VARIABLE book_taken yes}
[/not]
[then]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "Should $unit.name| read the book?"
[option]
label= _ "Yes"
[command]
[object]
id=wose_lore
name= _ "Wose Lore"
image="items/book4.png"
duration=forever
description= _ "This massive book is filled with the Lore and Legends of the Wose. Any who read it learn deeply of the ways of the twig and leaf, the tree and the forest."
cannot_use_message= _ "The book is filled with meaningless tales of sticks and leaves, and childish stories about trees and forest creatures."
[filter]
x,y=1,1
[not] # Elvish Rangers already know this
type_adv_tree=Elvish Ranger
[/not]
[/filter]
[then]
{VARIABLE book_taken yes}
[remove_item]
x,y=1,1
[/remove_item]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "Upon finishing the book, $unit.name| has a much greater understanding of the forest, its nature and ways, and all the creatures within it. Unfortunately, as the last page was turned, the book crumbled to dust."
[/message]
[/then]
[effect]
apply_to=new_ability
[abilities]
{ABILITY_AMBUSH}
[/abilities]
[/effect]
[effect]
apply_to=defense
replace=yes
[defense]
forest=30
[/defense]
[/effect]
[effect]
apply_to=movement_costs
replace=yes
[movement_costs]
forest=1
[/movement_costs]
[/effect]
[/object]
[/command]
[/option]
[option]
label= _ "No"
[command]
[allow_undo][/allow_undo]
[/command]
[/option]
[/message]
[/then]
[else]
[allow_undo][/allow_undo]
[/else]
[/if]
[/event]
[/event]
[/event]
[/scenario]