/
04_Clearing_the_Mines.cfg
671 lines (553 loc) · 20.7 KB
/
04_Clearing_the_Mines.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
#textdomain wesnoth-nr
[scenario]
id=04_Clearing_the_Mines
name= _ "Clearing the Mines"
map_data="{campaigns/Northern_Rebirth/maps/04_Clearing_the_Mines.map}"
{TURNS 75 65 55}
next_scenario=05a_The_Pursuit
{UNDERGROUND}
{SCENARIO_MUSIC battle.ogg}
{EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}
{EXTRA_SCENARIO_MUSIC legends_of_the_north.ogg}
[side]
side=1
controller=human
recruit=Peasant,Woodsman,Thug,Poacher,Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Scout,Footpad
{GOLD 450 400 350}
team_name=alliance
user_team_name= _ "Alliance"
# wmllint: recognize Tallin
{CHARACTER_STATS_TALLIN}
[/side]
# Five opposing undead sides
[side]
side=2
controller=ai
recruit=Dark Adept,Walking Corpse,Blood Bat,Skeleton,Skeleton Archer,Ghost
{GOLD 125 150 200}
income=15
team_name=undead
user_team_name= _ "Undead"
{FLAG_VARIANT undead}
type=Ancient Lich
id=Malifor
name= _ "Malifor"
profile=portraits/Malifor.png
canrecruit=yes
{NOTRAIT_UNIT () Skeleton 29 8} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 29 10} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 31 7} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 31 11} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 33 8} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 33 10} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 34 4} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 37 6} {GUARDIAN}
[/side]
[side]
side=3
controller=ai
recruit=Walking Corpse,Skeleton,Skeleton Archer,Vampire Bat
{GOLD 125 150 200}
team_name=undead
user_team_name= _ "Undead"
{FLAG_VARIANT undead}
type=Draug
id=Thorin
name= _ "Thorin"
canrecruit=yes
{NOTRAIT_UNIT () Skeleton 11 22} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 11 24} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 16 25} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 4 26} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 8 26} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 7 29} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 17 21} {GUARDIAN}
[/side]
[side]
side=4
controller=ai
recruit=Walking Corpse,Skeleton,Skeleton Archer,Vampire Bat
{GOLD 125 150 200}
team_name=undead
user_team_name= _ "Undead"
{FLAG_VARIANT undead}
type=Draug
id=Herlin
name= _ "Herlin"
canrecruit=yes
{NOTRAIT_UNIT () Skeleton 33 32} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 34 35} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 24 29} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 28 28} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 17 34} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 14 37} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 21 26} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 24 24} {GUARDIAN}
[/side]
[side]
side=5
controller=ai
recruit=Walking Corpse,Skeleton,Skeleton Archer,Vampire Bat
{GOLD 125 150 200}
team_name=undead
user_team_name= _ "Undead"
{FLAG_VARIANT undead}
type=Draug
id=Fervin
name= _ "Fervin"
canrecruit=yes
{NOTRAIT_UNIT () Skeleton 27 18} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 28 21} {GUARDIAN}
{NOTRAIT_UNIT () Skeleton 37 20} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 21 22} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 29 15} {GUARDIAN}
{NOTRAIT_UNIT () "Skeleton Archer" 33 15} {GUARDIAN}
[/side]
[side]
type=Draug
id=Hellian
name=_ "Hellian"
canrecruit=yes
side=6
{GOLD 125 150 200}
recruit=Walking Corpse,Skeleton,Skeleton Archer,Vampire Bat
team_name=undead
user_team_name=_"Undead"
{FLAG_VARIANT undead}
{NOTRAIT_UNIT 6 Skeleton 9 9} {GUARDIAN}
{NOTRAIT_UNIT 6 Skeleton 12 7} {GUARDIAN}
{NOTRAIT_UNIT 6 Skeleton 18 7} {GUARDIAN}
{NOTRAIT_UNIT 6 Skeleton 18 9} {GUARDIAN}
{NOTRAIT_UNIT 6 Skeleton 24 7} {GUARDIAN}
{NOTRAIT_UNIT 6 Skeleton 24 9} {GUARDIAN}
{NOTRAIT_UNIT 6 "Skeleton Archer" 12 16} {GUARDIAN}
[/side]
{STARTING_VILLAGES 1 5}
[event]
name=prestart
[time_area]
x=0-2, 0, 0, 1, 3-4,3-6
y=39-41,37,38,38,40, 41
{DEFAULT_SCHEDULE}
[/time_area]
{RECALL_SUPPORTER}
[recall]
type=Dwarvish Fighter
[/recall]
[recall]
type=Dwarvish Thunderer
[/recall]
[recall]
type=Dwarvish Scout
[/recall]
[recall]
id=Camerin
[/recall]
[recall]
id=Hamel
[/recall]
# Hide Malifor
[hide_unit]
id=Malifor
[/hide_unit]
# Set initial objectives.
[objectives]
side=1
[objective]
description= _ "Clear the mines"
condition=win
[/objective]
[objective]
description= _ "Death of Tallin"
condition=lose
[/objective]
[objective]
description= _ "Death of Hamel"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/event]
# Start event - recall some units, perform initial dialogue and place an army of guardian skeletons
[event]
name=start
[message]
speaker=narrator
image=wesnoth-icon.png
message= _ "When the party finally reached the mines they were not disappointed."
[/message]
[message]
speaker=Hamel
message= _ "Behold! The Dwarven Mines."
[/message]
[message]
speaker=Hamel
message= _ "Look at yon canal. Dwarves built it to transport mined metals deeper into Knalga. And d’ye ken those two rooms, one to the north-west and the other to the south-east? If we could capture those, we would gain o’ great tactical advantage."
[/message]
[message]
role=Supporter
message= _ "Grim gods of darkness! The whole place is swarming with undead! They have raised corpses to do their work."
[/message]
[message]
speaker=Tallin
message= _ "And they seem to have good security, too. Look, most of the fortifications are repaired and they have those nasty skeletons everywhere."
[/message]
[message]
role=Supporter
message= _ "Fortunately, this entrance seems to be in disrepair. It doesn’t look like they have noticed us yet."
[/message]
[message]
speaker=Thorin
message= _ "WHO GOES THERE?"
[/message]
[message]
speaker=Hamel
message= _ "(<i>Wince</i>)."
[/message]
[message]
role=Supporter
message= _ "Oops, I spoke too soon."
[/message]
[message]
speaker=Camerin
message= _ "Maybe he needs a fireball..."
[/message]
[message]
speaker=Thorin
message= _ "YOU DO NOT ANSWER. ALERT THE MASTER!"
[/message]
# The grand entrance
[move_unit_fake]
type=Ancient Lich
side=2
x=40,35,35,31
y=1, 5, 7, 9
[/move_unit_fake]
[unhide_unit]
id=Malifor
[/unhide_unit]
[message]
speaker=Malifor
message= _ "Who goes there? Ahhh, more slaves, I see."
[/message]
[message]
speaker=Tallin
message= _ "Others have made that mistake before. Who are you?"
[/message]
[message]
speaker=Malifor
message= _ "Who am I? (<i>Cackles wildly</i>) I am Malifor the Great, the master of death! These tunnels, haunted by the ghosts of the dead dwarves of Knalga, are the domain of my power."
[/message]
[message]
speaker=Hamel
message= _ "You dared disturb the rest of those brave dwarves? You shall pay in blood!"
[/message]
[message]
speaker=Malifor
message= _ "HAHAHAHA! Your petty temper tantrums are most amusing, you puny dwarf. Soon I will finish the slaughter that the orcs have begun so promisingly, and Knalga will be all mine! From there I will sweep the whole north of all living creatures, and then swoop down upon Wesnoth!"
[/message]
[message]
speaker=Hamel
message= _ "Quit your ranting, you wretched bag of bones! Prepare to return to the dust!"
[/message]
[message]
speaker=Malifor
message= _ "HAHAHAHA! Such vast threats from one so small? HAHAHA!"
[/message]
[message]
speaker=Malifor
message= _ "But– My my, what do we have here? — Tallin."
[/message]
[message]
role=Supporter
message= _ "He knows your name, Tallin. I don’t like the looks of this."
[/message]
[message]
speaker=Malifor
message= _ "Oh yes, I know you, Tallin. I have been watching you for a long time. You are a perfect candidate to become one of my immortal generals."
[/message]
[message]
speaker=Tallin
message= _ "...!"
[/message]
[message]
speaker=Malifor
message= _ "Look around you, Tallin; see all the power, see all of the wealth, the glory, the pleasure that the realm of death has to offer. Think of the great empire of Knalga; it can be yours. Come, share it with me!"
[/message]
[message]
role=Supporter
message= _ "Tallin! Get hold of yourself!"
[/message]
[message]
speaker=Malifor
message= _ "It’s very easy, Tallin... See that little vermin by your side? Take out your knife... cut his throat... feel his hot blood pump over your hands... sacrifice him!"
[/message]
# There was an option to choose an alternative, evil, branch here.
# But since it's not finished it is commented out; leaving player
# a command that leads to instant defeat is not nice.
#[message]
# speaker=Tallin
# message= _ "I... I..."
# [option]
# message= _ "Die... you... little... dwarf... vermin!"
# [command]
# [message]
# role=Supporter
# message= _ "Tallin! No!"
# [/message]
# [message]
# id=Hamel
# message= _ "Tallin, what are you doing?"
# [/message]
# [message]
# id=Tallin
# message= _ "... Death...! Blood...!"
# [/message]
# {MODIFY_UNIT id=Tallin profile portraits/Tallin-Evil.png}
# [sound]
# name=dagger-swish.wav
# [/sound]
# [delay]
# time=50
# [/delay]
# [sound]
# name=dwarf-hit-3.ogg
# [/sound]
# [message]
# id=Hamel
# message= _ "Ahhh! Treacherous human! Kill him, men!"
# [/message]
# [message]
# id=Malifor
# message= _ "HAHAHAHA!"
# [/message]
# [sound]
# name=fire.wav
# [/sound]
# [sound]
# name=ugg.wav
# [/sound]
# [color_adjust]
# red=100
# green=100
# blue=100
# [/color_adjust]
# [delay]
# time=10
# [/delay]
# [color_adjust]
# red=0
# green=0
# blue=0
# [/color_adjust]
# [teleport]
# [filter]
# id=Tallin
# [/filter]
# x,y=34,6
# [/teleport]
# [message]
# id=Hamel
# message= _ "What the—! Where did he go?"
# [/message]
# [message]
# id=Malifor
# message= _ "Right here with me, fools! He is mine now."
# [/message]
# [disallow_recruit]
# side=1
# type=Dwarvish Fighter,Dwarvish Thunderer,Peasant,Thug,Poacher,Woodsman,Dwarvish Scout,Footpad
# [/disallow_recruit]
# [store_unit]
# [filter]
# role=Supporter
# [/filter]
# variable=betrayed_friend
# [/store_unit]
# {VARIABLE turned_evil yes}
# [endlevel]
# result=victory
# bonus=no
# next_scenario=05b_Compelled
# [/endlevel]
# [/command]
# [/option]
# [option]
# message= _ "(<i>Shakes head</i>) I reject your evil. Attack, men! Let us rid the good green world of this rotting filth!"
# [command]
# NOTE: remove this message when the alt path is activated
[message]
speaker=Tallin
message= _ "(<i>Shakes head</i>) I reject your evil. Attack, men! Let us rid the good green world of this rotting filth!"
[/message]
[message]
speaker=Hamel
message= _ "Aye! That’s the way of it, lad! For the murdered dwarves of Knalga! Attack!"
[/message]
[message]
speaker=Malifor
message= _ "You fool! You will pay for your folly with your life."
[/message]
[message]
speaker=Tallin
message= _ "Yeah, right, buddy."
[/message]
# [/command]
# [/option]
#[/message]
[/event]
# Turn 20 - since the army of skeletons is obviously not enough change the moat to swamp and send in an army of ghouls.
[event]
name=turn 20
[message]
speaker=Malifor
message= _ "These little vermin are making progress! This is unacceptable. Rise my minions — gorge on the flesh of these scurrying little rats!"
[/message]
# Water to swamp
[terrain]
[and]
terrain=Wwf^*,Wog^*
[/and]
terrain=Ss
layer=base
[/terrain]
[message]
speaker=Tallin
message= _ "Look out everyone, something is coming out of the canals! Already the water is churning and clogging with their filth. Get back and brace yourselves."
[/message]
[/event]
# And the slimy army
[event]
name=turn 21
{NOTRAIT_UNIT 2 Ghoul 16 10}
{NOTRAIT_UNIT 2 Ghoul 20 9}
{NOTRAIT_UNIT 2 Ghoul 25 11}
{NOTRAIT_UNIT 2 Ghoul 27 12}
{NOTRAIT_UNIT 2 Ghoul 26 15}
{NOTRAIT_UNIT 2 Ghoul 29 16}
{NOTRAIT_UNIT 2 Ghoul 28 18}
{NOTRAIT_UNIT 2 Ghoul 27 7}
{NOTRAIT_UNIT 2 Necrophage 18 10}
{NOTRAIT_UNIT 2 Necrophage 21 10}
{NOTRAIT_UNIT 2 Necrophage 27 12}
{NOTRAIT_UNIT 2 Necrophage 28 16}
{NOTRAIT_UNIT 2 Necrophage 26 21}
{NOTRAIT_UNIT 2 Necrophage 25 8}
[message]
type=Necrophage
message= _ "<i>Fooood</i>!" # wmllint: no spellcheck
[/message]
[message]
role=Supporter
message= _ "Lords of Light, what kind of vile creation are those things!"
[/message]
# TODO: Camerin might be dead by now
[message]
speaker=Camerin
message= _ "Out of all of a necromancer’s creations, I must say those things are the most tortured and vilest. They have an insatiable hunger for flesh and mindlessly shrug of all manner of damage to get it. Even my fire bolts have a slightly lesser effect on them."
[/message]
[message]
speaker=Camerin
message= _ "Oh, and try to stay away from their claws. If you get even one scratch, and don’t get it treated quickly, you will soon find yourself weak, sick and unable to fight further."
[/message]
[message]
speaker=Hamel
message= _ "Bah! They look like fat slugs to me. Come on boys, let’s chop them to pieces before they can leave the canal."
[/message]
[/event]
# Victory and death events - liches grand exit
[event]
name=last breath
[filter]
id=Malifor
[/filter]
[message]
speaker=Malifor
message= _ "HAHAHA, you puny weaklings think you can destroy me? <i>Fools</i>! You will all soon be serving me!"
[/message]
{FLASH_RED (
[kill]
id=Malifor
fire_event=yes # probably required if he's the last enemy leader
animate=no
[/kill]
)}
[message]
speaker=second_unit
message= _ "Oh no, he just... disappeared."
[/message]
[/event]
# Victory dialog
[event]
name=enemies defeated
# [if]
# [variable]
# name=turned_evil
# boolean_equals=yes
# [/variable]
# [then]
[message]
speaker=Tallin
message= _ "We have finally secured the mines. But what should we do about that foul lich? He is a menace to all that lives, and must be ended."
[/message]
[message]
speaker=Hamel
# wmllint: local spelling dwarvenkind
message= _ "Aye! We’ll have to lay both his skeletons and himself to final rest before these caves will be fit for dwarvenkind again."
[/message]
[message]
speaker=Tallin
message= _ "But I’m sore vexed. We need better weapons. Luck and spirit can carry us only so far."
[/message]
[message]
speaker=Hamel
message= _ "Aye. We must do both. I’m thinking it might be best if I muster my folk to start on the weapon-making while you and your followers pursue yon lich. By the time you’ve laid him to final rest and return here, we’ll ha’ made a good start on the work."
[/message]
[message]
speaker=Tallin
message= _ "So it shall be."
[/message]
[role]
type=Dwarvish Steelclad,Dwarvish Fighter,Dwarvish Dragonguard,Dwarvish Thunderguard,Dwarvish Thunderer,Dwarvish Explorer,Dwarvish Pathfinder,Dwarvish Scout
role=follower
[/role]
[message]
role=follower
message= _ "With all respect, Lord Hamel, some o’ us would like to fare forth with Tallin. He’s lucky, he is — or he makes his own luck."
[/message]
[message]
speaker=Hamel
message= _ "And so it shall be. You’ve my leave and welcome. Try to keep the lad safe..."
[/message]
[message]
role=follower
message= _ "Thank you, Lord Hamel."
[/message]
# Lord Hamel becomes unavailable for following scenarios until the '
# big showdown.
[kill]
id=Hamel
animate=no
fire_event=no
[/kill]
[disallow_recruit]
side=1
type=Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Scout,Dwarvish Guardsman
[/disallow_recruit]
[endlevel]
result=victory
bonus=yes
[/endlevel]
# [/then]
# [/if]
[/event]
# And hero deaths
#define DEFEAT_WHEN_HAMEL_DEAD
#enddef
{campaigns/Northern_Rebirth/utils/herodeaths.cfg}
#undef DEFEAT_WHEN_HAMEL_DEAD
[/scenario]