/
09_The_Valley_of_Death.cfg
468 lines (424 loc) · 13.7 KB
/
09_The_Valley_of_Death.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
#textdomain wesnoth-httt
[scenario]
id=09_The_Valley_of_Death
name= _ "The Valley of Death — The Princess’s Revenge"
map_data="{campaigns/Heir_To_The_Throne/maps/09_The_Valley_of_Death.map}"
{SCENARIO_MUSIC "the_dangerous_symphony.ogg"}
turns=12
{DEFAULT_SCHEDULE}
next_scenario=10_Gryphon_Mountain
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Survive for two days"
condition=win
show_turn_counter=yes
[/objective]
[objective]
{ALTERNATIVE_OBJECTIVE_CAPTION}
description= _ "Eradicate the liches"+{EARLY_FINISH_BONUS_FOOTNOTE}
condition=win
[/objective]
[objective]
description= _ "Death of Konrad"
condition=lose
[/objective]
[objective]
description= _ "Death of Delfador"
condition=lose
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[gold_carryover]
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
{BIGMAP_VALLEY_OF_DEATH}
[side]
type=Commander
id=Konrad
name= _ "Konrad"
unrenamable=yes
profile=portraits/konrad-human.png
side=1
canrecruit=yes
team_name=elves
user_team_name=_"Rebels"
controller=human
{GOLD 300 200 200}
{FLAG_VARIANT long}
[/side]
#define VOD_AI_PARMS
[ai]
grouping=no
simple_targeting=yes
recruitment_ignore_bad_combat=yes
recruitment_ignore_bad_movement=yes
aggression=1.0
caution=-5.0
{ATTACK_DEPTH 1 3 5}
[/ai]
#enddef
[side]
type=Lich
id=Galga
name= _ "Galga"
side=2
canrecruit=yes
team_name=undead
user_team_name=_"Undead"
{VOD_AI_PARMS}
{GOLD 200 320 440}
#ifdef EASY
recruit=Skeleton,Revenant,Blood Bat,Ghost,Bone Shooter
#endif
#ifdef NORMAL
recruit=Skeleton,Revenant,Chocobone,Blood Bat,Wraith,Bone Shooter,Dark Adept
#endif
#ifdef HARD
recruit=Skeleton,Revenant,Chocobone,Wraith,Bone Shooter,Dark Adept
#endif
[ai]
#ifdef EASY
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef NORMAL
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef HARD
recruitment_pattern=fighter,fighter,archer,scout
#endif
[/ai]
[ai]
aggression=1.0
village_value=0.0
leader_value=50.0
[/ai]
{FLAG_VARIANT undead}
[/side]
{STARTING_VILLAGES 2 6}
[side]
type=Lich
id=Na-alga
name= _ "Na-alga"
side=3
team_name=undead
user_team_name=_"Undead"
canrecruit=yes
recruit=Wraith,Walking Corpse
{VOD_AI_PARMS}
{GOLD 200 400 600}
[ai]
#ifdef EASY
recruitment_pattern=scout,fighter
#endif
#ifdef NORMAL
recruitment_pattern=fighter,scout
#endif
#ifdef HARD
recruitment_pattern=fighter,fighter,fighter,scout
#endif
[/ai]
[ai]
aggression=1.0
village_value=0.0
leader_value=50.0
villages_per_scout=0.0
[/ai]
{FLAG_VARIANT undead}
[/side]
{STARTING_VILLAGES 3 6}
[side]
type=Lich
id=Selda-Mana
name= _ "Selda-Mana"
side=4
canrecruit=yes
{VOD_AI_PARMS}
{GOLD 160 280 400}
#ifdef EASY
recruit=Walking Corpse,Wraith,Bone Shooter,Revenant,Skeleton
#endif
#ifdef NORMAL
recruit=Walking Corpse,Wraith,Bone Shooter,Revenant,Skeleton,Dark Adept
#endif
#ifdef HARD
recruit=Wraith,Chocobone,Bone Shooter,Revenant,Skeleton,Dark Adept
#endif
[ai]
#ifdef EASY
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef NORMAL
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef HARD
recruitment_pattern=fighter,fighter,archer,scout,scout
#endif
[/ai]
[ai]
aggression=1.0
village_value=0.0
leader_value=50.0
[/ai]
team_name=undead
user_team_name=_"Undead"
{FLAG_VARIANT undead}
[/side]
{STARTING_VILLAGES 4 6}
{OBJ_POTION_HOLY 5 23 object7_holywater}
{OBJ_POTION_HOLY 31 43 object7_holywater2}
[event]
name=prestart
{PLACE_IMAGE scenery/rock1.png 20 14}
{PLACE_IMAGE scenery/rock2.png 8 31}
{PLACE_IMAGE scenery/rock3.png 30 34}
{PLACE_IMAGE scenery/rock4.png 37 39}
# {SCATTER_IMAGE (terrain=Gg) 12 scenery/pine1.png}
[recall]
id=Delfador
[/recall]
[recall]
id=Kalenz
[/recall]
[recall]
id=Moremirmu
[/recall]
[/event]
[event]
name=start
[message]
speaker=Kalenz
message= _ "My lord! This road does not seem as safe as we had hoped. Look around us at the hills — there are undead about!"
[/message]
[message]
speaker=Selda-Mana
message= _ "Who are these who approach? Let us kill them all!"
[/message]
[message]
speaker=Delfador
message= _ "To arms, men! The undead hordes approach!"
[/message]
[message]
speaker=Moremirmu
message= _ "There can be no surrender to these foul beasts of the pit! We fight until victory, or until every one of us is slain!"
[/message]
[/event]
[event]
name=turn 3
[message]
speaker=Konrad
{KONRAD_VARIATION concerned}
message= _ "There are just so many! What shall we do?"
[/message]
[message]
speaker=Kalenz
message= _ "My people douse our weapons with holy water when fighting undead. It usually lasts until the end of the battle, and they shrink in utter fear of our blades... if that is possible for an undead minion."
[/message]
[message]
speaker=Delfador
message= _ "Let us hold them off as long as we can!"
[/message]
[/event]
[event]
name=turn 7
[if]
[variable]
name=moremirmu
numerical_equals=1
[/variable]
[then]
[unit]
id=Moremirmu
name= _ "Moremirmu"
type=Mage of Light
side=1
x=20
y=48
random_traits=no
profile=portraits/moremirmu.png
[modifications]
[object]
[effect]
apply_to=attack
range=melee
set_name=holy sword
set_description=_ "holy sword"
set_icon=attacks/sword-holy.png
set_type=arcane
increase_damage=1
increase_attacks=2
[/effect]
[/object]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
[/unit]
{LOYAL_UNIT 1 (White Mage) 20 48}
[+unit]
role=moremirmumage
[/unit]
{LOYAL_UNIT 1 (White Mage) 20 48}
[+unit]
role=moremirmumage
[/unit]
{LOYAL_UNIT 1 (White Mage) 20 48}
[+unit]
role=moremirmumage
[/unit]
[message]
speaker=Moremirmu
message= _ "I have come once again to aid you, friends!"
[/message]
[message]
speaker=Delfador
message= _ "White magi? Come to help us? But what are they doing here?"
[/message]
[message]
speaker=Konrad
message= _ "That is Moremirmu! He helped us fight the undead in the Isles of the Damned, let us hope he can help us once more!"
[/message]
[/then]
[/if]
[/event]
[event]
name=time over
[message]
speaker=Delfador
message= _ "The sun rises in the east. Surely the undead do not have the power to continue their onslaught through another day!"
[/message]
[message]
speaker=Kalenz
message= _ "Indeed not! I feel we have survived this battle."
[/message]
[message]
speaker=Konrad
{KONRAD_VARIATION concerned}
message= _ "Whew! That was a difficult battle, but they are retreating at last!"
[/message]
[endlevel]
result=victory
bonus=no
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=die
[filter]
id=Moremirmu
[/filter]
[set_variable]
name=moremirmu
value=3
[/set_variable]
[/event]
[event]
name=enemies defeated
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=victory
[message]
speaker=Delfador
message= _ "Yes! We have fought them off!"
[/message]
#if Moremirmu survived the battle, then this dialog
#takes place
[if]
[variable]
name=moremirmu
numerical_equals=1
[/variable]
[then]
[message]
speaker=Konrad
{KONRAD_VARIATION glad}
message= _ "Thank you for returning to help us, Moremirmu."
[/message]
[message]
speaker=Moremirmu
message= _ "It is both my duty and pleasure, my lord! We were dining with some royal guards of the princess, taking a rest from our pilgrimage, when they spoke of how you were tricked into traveling these dangerous lands. We could do nothing but help you!"
[/message]
[message]
speaker=Konrad
message= _ "So, she tricked us into coming this way! Where may we go now? Which way will be safe for us?"
[/message]
[message]
speaker=Moremirmu
message= _ "You must escape the clutches of that vile Queen, my lord. If you take a course bearing north-east, on past the mountain of gryphons, you will be able to ford the Great River at Abez. Make haste though, for you will not be able to ford the river in winter!"
[/message]
[message]
speaker=Konrad
message= _ "Thank you for your counsel, good friend! May our paths meet again in happier times!"
[/message]
[/then]
[else]
[if]
#if Moremirmu died in this battle, the
#player laments his death
[variable]
name=moremirmu
numerical_equals=3
[/variable]
[then]
[message]
speaker=Konrad
{KONRAD_VARIATION concerned}
message= _ "It greatly saddens me that Moremirmu was slain on the field, after he helped us."
[/message]
[message]
type=White Mage,Mage of Light
message= _ "May he rest peacefully!"
[/message]
[message]
speaker=Kalenz
message= _ "He died fighting for you, Prince, just as any of us would be willing to die for you."
[/message]
[/then]
[/if]
[message]
speaker=Konrad
message= _ "This place makes me feel uneasy, even with the undead retreating. Where may we go now?"
[/message]
[message]
speaker=Kalenz
message= _ "The land of Wesnoth is not safe for us. The Queen’s forces reach every corner. We must make haste to the north lands, across the Great River. Let us go quickly!"
[/message]
[message]
speaker=Delfador
message= _ "Indeed! Let us go from here!"
[/message]
[/else]
[/if]
[if]
[variable]
name=moremirmu
numerical_equals=1
[/variable]
[or]
[variable]
name=moremirmu
numerical_equals=3
[/variable]
[/or]
[then]
[kill]
id=Moremirmu
[/kill]
[kill]
role=moremirmumage
[/kill]
[/then]
[/if]
[/event]
{campaigns/Heir_To_The_Throne/utils/deaths.cfg}
[/scenario]