/
02_The_Fall.cfg
484 lines (418 loc) · 13.4 KB
/
02_The_Fall.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
#textdomain wesnoth-trow
[scenario]
id=02_The_Fall
name= _ "The Fall"
next_scenario=03_A_Harrowing_Escape
map_file=02_The_Fall.map
{TURNS 23 20 17}
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC the_dangerous_symphony.ogg}
{EXTRA_SCENARIO_MUSIC battle.ogg}
[story]
[part]
story= _ "Summer passes into fall, and King Eldaric fortifies his frontiers. It is not long before the first orcish scouts are spotted. War has come to the valley."
background=story/trow_story_02-The_Fall.jpg
[/part]
[/story]
{TROW_GI_TRACK {JOURNEY_02_NEW} }
{TROW_DEATHS}
[side]
type=Noble Fighter
id=Prince Haldric
name= _ "Prince Haldric"
unrenamable=yes
side=1
canrecruit=yes
{GOLD 140 120 100}
controller=human
team_name=Haldric
user_team_name=_"Stormvale"
{FLAG_VARIANT loyalist}
[/side]
{STARTING_VILLAGES 1 6}
[side]
type=Wesfolk Outcast
gender=female
id=Wesfolk Leader
name= _ "Wesfolk Leader"
profile="portraits/lady_outlaw.webp"
side=2
canrecruit=yes
recruit=Footpad,Poacher,Thief,Thug
[ai]
recruitment_pattern=fighter,fighter,archer,scout
{NO_SCOUTS}
aggression=0.15
caution=0.5
passive_leader=yes
grouping=defensive
[/ai]
{GOLD 90 120 150}
team_name=wesfolk
user_team_name=_"Wesfolk"
{FLAG_VARIANT6 ragged}
[/side]
{STARTING_VILLAGES 2 7}
[side]
type=Orcish Warlord
id=Tan-Rarbag
name= _ "Tan-Rarbag"
profile=portraits/orcs/grunt-3.webp
side=3
canrecruit=yes
recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Goblin Spearman
{GOLD 120 160 200}
{INCOME 6 9 12}
team_name=orcs
user_team_name=_"Orcs"
[ai]
recruitment_pattern=scout,scout,fighter,fighter,mixed fighter,archer
{NO_SCOUTS}
passive_leader=yes
[/ai]
[ai]
time_of_day=first_watch,second_watch
aggression=0.75
caution=0.0
grouping=no
[/ai]
[/side]
[side]
type=Orcish Warrior
id=Tan-Erang
name= _ "Tan-Erang"
side=4
canrecruit=yes
recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Goblin Spearman
{GOLD 160 200 240}
{INCOME 4 6 8}
team_name=orcs
user_team_name=_"Orcs"
[ai]
recruitment_pattern=scout,scout,fighter,fighter,mixed fighter,archer
{NO_SCOUTS}
[/ai]
[ai]
time_of_day=first_watch,second_watch
aggression=0.75
caution=0.0
grouping=no
[/ai]
[/side]
#define NORTH_GUARD X Y ID_STRING NAME_STRING SECOND_TRAIT_WML
[unit]
#ifdef EASY
type=Shock Trooper
#endif
#ifdef NORMAL
type=Heavy Infantryman
#endif
#ifdef HARD
type=Heavy Infantryman
#endif
side=1
id={ID_STRING}
name={NAME_STRING} # wmllint: ignore
x={X}
y={Y}
[modifications]
{TRAIT_LOYAL}
{SECOND_TRAIT_WML}
[/modifications]
[/unit]
#enddef
[event]
name=prestart
{MODIFY_UNIT (id=Wesfolk Leader) experience $wesfolk_leader_store.experience}
#ifdef EASY
{LOYAL_UNIT 2 (Poacher) 11 20} {GUARDIAN}
#else
{LOYAL_UNIT 2 (Poacher) 11 20} {GUARDIAN}
{LOYAL_UNIT 2 (Poacher) 7 21} {GUARDIAN}
{LOYAL_UNIT 2 (Poacher) 9 22} {GUARDIAN}
#endif
[recall]
id=King Eldaric IV
x=28
y=15
[/recall]
{NORTH_GUARD 10 6 (Thegwyn) (_ "Thegwyn") {TRAIT_RESILIENT}}
{NORTH_GUARD 12 6 (Galdred) (_ "Galdred") {TRAIT_STRONG}}
{NORTH_GUARD 12 10 (Tromas) (_ "Tromas") {TRAIT_FEARLESS}}
[objectives]
side=1
[objective]
description= _ "Defeat the Wesfolk Leader"
condition=win
[/objective]
[objective]
description= _ "Death of Prince Haldric"
condition=lose
[/objective]
[objective]
description= _ "Death of King Eldaric IV"
condition=lose
[/objective]
[objective]
description= _ "Orcs kill the Wesfolk Leader"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
[message]
speaker=King Eldaric IV
message= _ "Haldric, things have not gone well! The orcs have arrived. We met them at the north keep but they were just too many. They have flanked us to the east in the mountains. I have my personal guards holding the pass to the north, but they won’t be able to last long... We must evacuate our home."
[/message]
[message]
speaker=Prince Haldric
message= _ "That’s awful! And it only gets worse. That Wesfolk rabble has set up shop again in the south pass..."
image=portraits/haldric-surprised.webp
[/message]
[message]
speaker=King Eldaric IV
message= _ "That’s the only way out of the valley! This is a disaster! We must defeat that Wesfolk scum and flee to the south. Our home is lost... We must make haste."
[/message]
[message]
speaker=Tan-Rarbag
# po: meat is a derogatory term for humans used by orcs and also is a subtle reference to orcs eating humans opportunistically
message= _ "Run, meat, run! Sooner or later, you will tire and our wolves will hunt you down!"
[/message]
[message]
speaker=Tan-Erang
message= _ "The meat will die! Die! Die! Die!"
[/message]
[message]
speaker=Wesfolk Leader
message= _ "This is going to get ugly..."
[/message]
[/event]
[event]
name=turn 14
[message]
speaker=King Eldaric IV
message= _ "Hurry! Only death awaits in this valley!"
[/message]
[/event]
[event]
name=die
[filter]
id=Tan-Erang
[/filter]
[filter_second]
side=1
[/filter_second]
{LOOT 75 1}
[/event]
[event]
name=die
[filter]
id=Tan-Rarbag
[/filter]
[filter_second]
side=1
[/filter_second]
{LOOT 75 1}
[/event]
[event]
name=last breath
[filter]
id=Wesfolk Leader
[/filter]
[filter_second]
side=1
[/filter_second]
[message]
speaker=unit
# wmllint: local spelling surren
message= _ "Umm, I invoke the right of surren..."
[/message]
[message]
speaker=King Eldaric IV
message= _ "Nay! Off with your hea—" # wmllint: no spellcheck
[/message]
[message]
speaker=unit
message= _ "But I can help! Really! You could use me and my men’s skills on the long road ahead!"
[/message]
[message]
speaker=King Eldaric IV
message= _ "Haldric, what say you on this matter?"
[/message]
[message]
speaker=Prince Haldric
message= _ "Hmm... after some thought..."
image=portraits/haldric-annoyed.webp
[option]
label= _ "I think that your skills may be useful. You may join us."
[command]
[message]
speaker=Wesfolk Leader
message= _ "Let there be peace between us. Our survival depends on it."
[/message]
[allow_recruit]
side=1
type=Thief,Thug,Poacher,Footpad
[/allow_recruit]
[message]
speaker=Prince Haldric
message= _ "So what shall I call you?"
[/message]
[message]
speaker=Wesfolk Leader
message= _ "The Lady Outlaw will do."
[/message]
[store_unit]
[filter]
id=Wesfolk Leader
[/filter]
kill=yes
variable=wesfolk_leader_store
[/store_unit]
[unit]
id=Lady Outlaw
name= _ "Lady Outlaw"
unrenamable=yes
type=$wesfolk_leader_store.type
gender=female
side=1
x,y=$wesfolk_leader_store.x,$wesfolk_leader_store.y
experience=$wesfolk_leader_store.experience
moves=$wesfolk_leader_store.moves
random_traits=no
profile=portraits/lady_outlaw.webp
[modifications]
{TRAIT_LOYAL_HERO}
[/modifications]
[/unit]
[set_variable]
name=have_lady
value=1
[/set_variable]
[/command]
[/option]
[option]
label= _ "Your word can’t be trusted. Prepare to meet your gods!"
[command]
[message]
speaker=Wesfolk Leader
message= _ "Arrogant fools! (<i>Reaches into pocket</i>) <i>Poof</i>!"
[/message]
[hide_unit]
id=Wesfolk Leader
[/hide_unit]
# healing, so the unit is not removed after this event
{FULL_HEAL (id=Wesfolk Leader)}
[set_variable]
name=have_lady
value=0
[/set_variable]
[message]
speaker=King Eldaric IV
message= _ "Argh, she’s gone. Next time, more sword, less chat."
[/message]
[message]
speaker=Prince Haldric
message= _ "She’s clever! Maybe I made the wrong choice. Well, at least she left some of her gold behind..."
[/message]
#ifdef EASY
{LOOT 300 1}
#endif
#ifdef NORMAL
{LOOT 250 1}
#endif
#ifdef HARD
{LOOT 200 1}
#endif
[/command]
[/option]
[/message]
[message]
speaker=King Eldaric IV
message= _ "Son, you must lead our people through the south pass. I will remain behind to hold off these vile monsters for as long as I can."
[/message]
[message]
speaker=Prince Haldric
message= _ "But, Father!"
[/message]
[message]
speaker=King Eldaric IV
message= _ "It’s the only way. Go now, and don’t look back! Luck be with you!"
[/message]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=die
[filter]
id=Wesfolk Leader
[/filter]
[filter_second]
side=3, 4
[/filter_second]
[message]
speaker=King Eldaric IV
message= _ "We’re surrounded! The orcs have taken the southern pass! All is lost!"
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=time over
[message]
speaker=King Eldaric IV
message= _ "We’re surrounded! I can see their reinforcements! All is lost!"
[/message]
[/event]
[event]
name=moveto
[filter]
side=3, 4
x=26-30
y=13-15
[/filter]
[message]
speaker=Prince Haldric
message= _ "Our home! Where shall we go!"
[/message]
[message]
speaker=King Eldaric IV
message= _ "There can be no looking back! We must go south."
[/message]
[/event]
[event]
name=victory
[kill]
id=King Eldaric IV
[/kill]
{CLEAR_VARIABLE wesfolk_leader_store}
[if]
[have_unit]
id=Wesfolk Leader
[/have_unit]
[then]
[store_unit]
[filter]
id=Wesfolk Leader
[/filter]
variable=lady_store
[/store_unit]
{VARIABLE lady_store.id (Lady Outlaw)}
{VARIABLE lady_store.name ( _ "Lady Outlaw")}
{VARIABLE lady_store.canrecruit no}
{VARIABLE lady_store.side 1}
[/then]
[/if]
[/event]
[/scenario]
#undef NORTH_GUARD