/
11_The_Ford_of_Abez.cfg
522 lines (475 loc) · 15.1 KB
/
11_The_Ford_of_Abez.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
#textdomain wesnoth-httt
[scenario]
id=11_The_Ford_of_Abez
name= _ "The Ford of Abez"
map_file=11_The_Ford_of_Abez.map
{TURNS 27 24 21}
{DEFAULT_SCHEDULE}
victory_when_enemies_defeated=no
next_scenario=12_Northern_Winter
{SCENARIO_MUSIC "loyalists.ogg"}
{EXTRA_SCENARIO_MUSIC "battle-epic.ogg"}
{EXTRA_SCENARIO_MUSIC "breaking_the_chains.ogg"}
{EXTRA_SCENARIO_MUSIC "battle.ogg"}
{HTTT_TRACK {JOURNEY_11_NEW} }
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Move Konrad to the north side of the river"
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]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
[side]
type=Commander
id=Konrad
name= _ "Konrad"
unrenamable=yes
profile=portraits/konrad-human.webp
side=1
canrecruit=yes
team_name=elves
user_team_name=_"Rebels"
controller=human
{GOLD 250 225 200}
{FLAG_VARIANT long}
[/side]
[side]
type=Princess
id="Li'sar"
name= _ "Li’sar"
profile=portraits/lisar.webp
side=2
canrecruit=yes
recruit=Cavalryman,Swordsman,Spearman,Red Mage,Ogre,Duelist
[ai]
recruitment_pattern=scout,fighter,fighter,fighter,mixed fighter
aggression=1.0
caution=-5.0
grouping=no
leader_value=100
[/ai]
{GOLD 200 225 250}
income=50
team_name=bad
user_team_name=_"Asheviere"
{FLAG_VARIANT loyalist}
[/side]
{STARTING_VILLAGES 2 5}
[side]
type=Orcish Warlord
id=Gaga-Breuk
name= _ "Gaga-Breuk"
side=3
canrecruit=yes
team_name=orcs
user_team_name=_"Orcs"
#ifdef EASY
recruit=Orcish Warrior,Orcish Crossbowman,Wolf Rider
#endif
#ifdef NORMAL
recruit=Orcish Warrior,Orcish Crossbowman,Goblin Knight
#endif
#ifdef HARD
recruit=Orcish Warrior,Orcish Crossbowman,Blood Bat
#endif
{GOLD 140 200 260}
[ai]
aggression=1.0
caution=-4.0
grouping=no
recruitment_pattern=scout,fighter,fighter,archer
leader_value=100
#target Konrad especially heavily
[goal]
name=target
[criteria]
id=Konrad
[/criteria]
value=100
[/goal]
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
{STARTING_VILLAGES 3 5}
[side]
side=4
hidden=yes
no_leader=yes
team_name=creature
user_team_name=_"Monsters"
[ai]
aggression=1.0
caution=-4.0
grouping=no
[avoid]
x= 1-100,1-100
y=21-100, 1-12
[/avoid]
#target Konrad especially heavily
[goal]
name=target
[criteria]
id=Konrad
[/criteria]
value=100
[/goal]
village_value=0
[/ai]
[/side]
{OBJ_TRIDENT_STORM 16 17 ford_trident}
#define FORD_GUARD X Y
[unit]
type=Royal Guard
generate_name=yes
ai_special=guardian
x={X}
y={Y}
side=2
[modifications]
{TRAIT_LOYAL}
[/modifications]
[/unit]
#enddef
[event]
name=prestart
{FORD_GUARD 7 27}
{FORD_GUARD 6 28}
{FORD_GUARD 6 25}
{FORD_GUARD 4 25}
{FORD_GUARD 3 27}
{FORD_GUARD 4 28}
{NEED_DELFADOR placement=leader}
{NEED_KALENZ placement=leader}
{STORE_LISAR}
[/event]
[event]
name=start
[message]
speaker=Delfador
{DELFADOR_MENTORING}
message= _ "This is the Ford of Abez. When we ford this river, we will be leaving Wesnoth, and entering the lands of the North. The dwarves once ruled these lands, but they are now filled only with chaos. This is where your father and uncle were betrayed, almost twenty-one years ago now, Konrad."
[/message]
[message]
speaker=Konrad
message= _ "Really? So what happened, Delfador?"
[/message]
[message]
speaker=Delfador
message= _ "The forces of the King were encamped here, and the forces of the north were on the north side of the river. For three days and three nights the armies faced each other, neither willing to ford the river. On the fourth day, the northern armies crossed and attacked us."
[/message]
[message]
speaker=Konrad
message= _ "And then... we were defeated?"
[/message]
[message]
speaker=Delfador
message= _ "We were winning the battle. We were repelling them..."
[/message]
[message]
speaker=Kalenz
message= _ "And then the King’s son, in the heat of battle, turned upon the King!"
[/message]
[message]
speaker=Konrad
message= _ "But you avenged the murder. You killed the Prince. Right, Delfador?"
[/message]
[message]
speaker=Delfador
message= _ "When I saw the King betrayed and his banner fallen, I fled the battle. I know not now whether it was wisdom or cowardice, but I did flee, seeing no further hope on that day."
[/message]
[message]
speaker=Konrad
message= _ "Oh, but the elves always told me that you killed the Prince, Delfador, even though you never talked about it."
[/message]
[message]
speaker=Delfador
message= _ "That foolish boy killed himself."
[/message]
[message]
speaker=Konrad
message= _ "What do you mean?"
[/message]
[message]
speaker=Delfador
message= _ "I mustered men to fight against the traitor-king, and of course Asheviere too, for she was behind it all. We met them; not here, but on the road from Weldyn, at Tath. We were outnumbered, perhaps four to one. In the heat of battle, that boy, fool that he was, came charging at me, slashing wildly. I had little choice but to end his life."
[/message]
[message]
speaker=Konrad
message= _ "So it is true, you did kill him?"
[/message]
[message]
speaker=Delfador
message= _ "He did die in battle at my hand. It is sad that your brothers did not have the opportunity to experience such an honorable death, Konrad."
[/message]
[message]
speaker=Kalenz
message= _ "With all respect, my lords, we must make haste. We have to ford the river immediately. And, look! It seems that the guard-towers on the river banks are manned!"
[/message]
[message]
speaker=Gaga-Breuk
message= _ "Look! Some of the southerners, men of Wesnoth, are trying to cross into our lands! We will slaughter them by the river’s edge!"
[/message]
[message]
speaker=Konrad
message= _ "Isn’t there somewhere else we can cross? Maybe upstream?"
[/message]
[message]
speaker=Delfador
message= _ "Winter quickly bears down upon us. We have only a few days to make the crossing, and the nearest bridge is far upstream. To be trapped south of the river when winter arrives would be suicide. Asheviere would have us trapped like rats! Look to the west! Asheviere has a border fort, and it seems to be full of soldiers! We must cross here, and quickly!"
[/message]
[message]
speaker="Li'sar"
{LISAR_VARIATION mad}
message= _ "There they are! So it is true, they foiled the undead. Now they are trying to leave Wesnoth. We can’t let them cross the river. After them, men!"
[/message]
[if]
[variable]
name=get_gryphons
boolean_equals=yes
[/variable]
[then]
[message]
speaker=Konrad
message= _ "Not her again! We must hurry! Do not forget to bring the gryphon eggs. They must be allowed more time to hatch. Quickly!"
[/message]
[/then]
[else]
[message]
speaker=Konrad
message= _ "Not her again! Quickly! We must hurry!"
[/message]
[/else]
[/if]
[/event]
#if someone marches over to Li'sar's keep, reinforcements appear
[event]
name=moveto
[filter]
[not]
side=2
[/not]
[/filter]
[filter_condition]
[have_unit]
id="Li'sar"
[/have_unit]
[have_location]
x,y=$x1,$y1
[and]
x,y=5,27
radius=11
[/and]
[not]
terrain="Wo,Ww"
[/not]
[/have_location]
[/filter_condition]
[message]
type=Royal Guard
message= _ "Stop! You shall not pass!"
[/message]
{FORD_GUARD 1 29}
{FORD_GUARD 1 27}
{FORD_GUARD 1 25}
{FORD_GUARD 7 24}
{FORD_GUARD 9 25}
{FORD_GUARD 9 27}
{FORD_GUARD 9 29}
{FORD_GUARD 7 30}
{FORD_GUARD 5 31}
{FORD_GUARD 3 30}
[/event]
#getting closer --> more reinforcements
[event]
name=moveto
[filter]
[not]
side=2
[/not]
[/filter]
[filter_condition]
[have_unit]
id="Li'sar"
[/have_unit]
[have_location]
x,y=$x1,$y1
[and]
x,y=5,27
radius=4
[/and]
[not]
terrain="Wo,Ww"
[/not]
[/have_location]
[/filter_condition]
[message]
side=2
[not]
id="Li'sar"
[/not]
message= _ "Quick, reinforcements, protect the Princess!"
[/message]
{FORD_GUARD 5 25}
{FORD_GUARD 7 26}
{FORD_GUARD 7 28}
{FORD_GUARD 5 29}
{FORD_GUARD 3 28}
{FORD_GUARD 3 26}
[/event]
#if anyone dares attack Li'sar's escort, they are pounced on by
#many Royal Guards
[event]
name=attack
[filter_second]
type=Royal Guard
[/filter_second]
[message]
speaker=second_unit
message= _ "Quick, reinforcements!"
[/message]
{FORD_GUARD $x1 $y1}
{FORD_GUARD $x1 $y1}
{FORD_GUARD $x1 $y1}
{FORD_GUARD $x1 $y1}
{FORD_GUARD $x1 $y1}
[/event]
#Geez, talk about not taking a hint ...
[event]
name=attack
[filter_second]
id="Li'sar"
[/filter_second]
[message]
side=2
[not]
id="Li'sar"
[/not]
message= _ "Protect the Princess!"
[/message]
{FORD_GUARD $x1 $y1}
{FORD_GUARD $x1 $y1}
{FORD_GUARD $x1 $y1}
{FORD_GUARD $x1 $y1}
{FORD_GUARD $x1 $y1}
[/event]
# Defeating Li'sar just sends her away
[event]
name=last breath
[filter]
id="Li'sar"
[/filter]
[filter_second]
side=1
[/filter_second]
[message]
speaker="Li'sar"
{LISAR_VARIATION defeat}
message= _ "You drive me from the field, but you have not vanquished me, impostor!"
[/message]
[/event]
[event]
name=turn 5
{NAMED_LOYAL_UNIT 4 (Water Serpent) 1 15 (Water Serpent) ( _ "Water Serpent")}
#define SEA_CREATURE
{NAMED_LOYAL_UNIT 4 (Cuttle Fish) 1 15 () ( _ "Cuttle Fish")}
#enddef
{SEA_CREATURE}
{SEA_CREATURE}
{SEA_CREATURE}
#ifdef NORMAL
{SEA_CREATURE}
{SEA_CREATURE}
#endif
#ifdef HARD
{SEA_CREATURE}
{SEA_CREATURE}
{SEA_CREATURE}
{SEA_CREATURE}
#endif
[message]
type=Water Serpent
message= _ "Ruaarrrrrrrr!" # wmllint: no spellcheck
[/message]
[message]
speaker=Konrad
message= _ "What is that?"
[/message]
[message]
speaker=Kalenz
message= _ "Creatures of the deep are upon us! This may be very dangerous. Be quick! We must get to the other side with all haste!"
[/message]
[/event]
#moving Konrad to the other shore
[event]
name=moveto
[filter]
id=Konrad
x=1-44
y=1-11
[filter_location]
[not]
terrain=Ww
[/not]
[/filter_location]
[/filter]
[message]
speaker=Konrad
message= _ "We made it across the river safely! Where to now?"
[/message]
[message]
speaker=Delfador
message= _ "If we are to have any hope of penetrating into Knalga, we must continue north to seek help from the Dwarves of the Heart Mountains."
[/message]
[if]
[have_unit]
id="Li'sar"
[/have_unit]
[then]
[message]
speaker="Li'sar"
message= _ "I cannot believe it. They have made it away! We must make chase. After them, men! Let us cross the river too! We will meet again, foul impostor."
[/message]
[message]
speaker=Konrad
message= _ "Do you think she’s really going to chase us, Delfador?"
[/message]
[message]
speaker=Delfador
message= _ "It surely looks like she will try. But many more creatures than we have fought lurk in this river; that will make it difficult for her. We must continue onward. If she makes it across before winter, then so be it!"
[/message]
[/then]
[/if]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=victory
{RESTORE_LISAR}
[/event]
{campaigns/Heir_To_The_Throne/utils/deaths.cfg}
[/scenario]
#undef FORD_GUARD
#undef SEA_CREATURE