-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
05_Orc_War.cfg
424 lines (356 loc) · 12.8 KB
/
05_Orc_War.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
#textdomain wesnoth-did
[scenario]
id=05_Orc_War
name= _ "Orc War"
map_file=campaigns/Descent_Into_Darkness/maps/05_Orc_War.map
victory_when_enemies_defeated=yes
turns=37
next_scenario=06_Return_to_Parthyn
{DEFAULT_SCHEDULE_MORNING}
{INTRO_AND_SCENARIO_MUSIC battle.ogg northerners.ogg}
{EXTRA_SCENARIO_MUSIC northern_mountains.ogg}
{EXTRA_SCENARIO_MUSIC siege_of_laurelmor.ogg}
[story]
[part]
story=_ "The cycle of the seasons churns and summer and fall roll around once more. Malin’s thoughts turn back to Parthyn frequently, where a year prior, he had still been among family and friends in the rustic little town that he still thinks of as his home. He has since become a forsaken wanderer, he thinks, but the still burning image of his father being cut down amidst the ruins of his home is imprinted at the forefront of his mind."
{STORYTXT_BACKGROUND travel.jpg}
[/part]
[part]
story=_ "Companionship and peace... perhaps they are but a farce and certainly an impossibility with the threat of the orcish clans still looming. Perhaps there is no point in reminiscing on his once peaceful, pastoral life. He has never been one for regrets."
{STORYTXT_BACKGROUND travel.jpg}
[/part]
[part]
story=_ "Malin turns his attention to the task at hand. Darken Volk leads him through the heart of the Whitefang territory, where they terrorize and murder entire camps of orcs with their undead minions. Word spreads among the orcish towns, which begin to post more guards and dispatch frequent patrols to exterminate the two necromancers. All of their attempts fail."
{STORYTXT_BACKGROUND travel.jpg}
[/part]
[part]
story=_ "Word spreads to the south as well when the ever present raids are suddenly absent this year. The people at the frontier towns go about their days, gossiping about rumors of the undead, some with disgust, some with intrigue. When winter passes and spring comes again, a number of dark adepts travel northward and join the pair of necromancers. <i>“They can be quite useful,”</i> Darken Volk says to Malin, <i>“but none of them have even a tenth of your potential power.”</i>"
{STORYTXT_BACKGROUND travel.jpg}
[/part]
[part]
story=_ "Malin and Darken Volk continue their raids on the orcs and eventually force the usually fractious Whitefang chieftains to unite in opposition. The orcs pursue the two necromancers east toward the mouth of the river Men call the Longlier and Elves call the Arkan-thoria, where they manage to surround the humans and force a fight."
{STORYTXT_BACKGROUND travel.jpg}
[/part]
[/story]
{DID_TRACK {JOURNEY_05_NEW}}
# wmllint: validate-off
[side]
side=1
controller=human
recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD
{GOLD 190 170 150}
team_name=good
user_team_name= _ "Malin Keshar"
{FLAG_VARIANT undead}
color=darkblue
# wmllint: recognize Malin Keshar
{CHARACTER_STATS_MALIN_KESHAR}
facing=sw
[/side]
# wmllint: validate-on
[side]
side=2
controller=ai
recruit=Goblin Spearman,Orcish Archer,Orcish Crossbowman,Wolf Rider,Orcish Grunt,Goblin Knight,Orcish Warrior,Troll Whelp
{GOLD 50 70 90}
{INCOME 4 6 8}
team_name=orcs
user_team_name=_"Orcs"
{FLAG_VARIANT6 ragged}
color=white
type=Orcish Warlord
id=Borth
name= _ "Borth"
profile=portraits/orcs/warlord.png
canrecruit=yes
facing=se
[ai]
villages_per_scout=8
village_value=0.5
[goal]
name=target
[criteria]
id=Malin Keshar
[/criteria]
value=1
[/goal]
[goal]
name=target
[criteria]
id=Darken Volk
[/criteria]
value=1
[/goal]
[/ai]
[/side]
[side]
side=3
controller=ai
recruit=Orcish Archer,Orcish Crossbowman,Goblin Pillager,Orcish Grunt,Orcish Assassin
{GOLD 50 70 90}
{INCOME 5 7 9}
team_name=orcs
user_team_name= _ "Orcs"
{FLAG_VARIANT6 ragged}
color=white
type=Orcish Warlord
id="P'Gareth"
name= _ "P’Gareth"
profile=portraits/orcs/grunt-3.png
canrecruit=yes
facing=ne
[ai]
scout_village_targeting=2
village_value=0.5
[goal]
name=target
[criteria]
id=Malin Keshar
[/criteria]
value=1
[/goal]
[goal]
name=target
[criteria]
id=Darken Volk
[/criteria]
value=1
[/goal]
[/ai]
[/side]
[side]
side=4
controller=ai
recruit=Orcish Archer,Orcish Crossbowman,Troll Whelp,Wolf Rider,Orcish Grunt
{GOLD 50 70 90}
{INCOME 4 6 8}
team_name=orcs
user_team_name= _ "Orcs"
{FLAG_VARIANT6 ragged}
color=white
type=Orcish Warlord
id="K'Vark"
name= _ "K’Vark"
profile=portraits/orcs/grunt-5.png
canrecruit=yes
facing=nw
[ai]
villages_per_scout=6
village_value=0.5
[goal]
name=target
[criteria]
id=Malin Keshar
[/criteria]
value=1
[/goal]
[goal]
name=target
[criteria]
id=Darken Volk
[/criteria]
value=1
[/goal]
[/ai]
[/side]
[label]
x,y=16,14
text= _ "River Longlier"
[/label]
{STARTING_VILLAGES 1 6}
{STARTING_VILLAGES 2 5}
{STARTING_VILLAGES 3 6}
{STARTING_VILLAGES 4 5}
[event]
name=prestart
[objectives]
side=1
[objective]
condition=win
description= _ "Kill the orcish leaders"
[/objective]
[objective]
condition=lose
description= _ "Death of Malin Keshar"
[/objective]
[objective]
condition=lose
description= _ "Death of Darken Volk"
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[recall]
id=Darken Volk
[/recall]
{MODIFY_UNIT (side=1) facing sw}
[/event]
[event]
name=start
[message]
speaker=Malin Keshar
message= _ "Even before the very founding of Wesnoth, you have hounded my people at every turn. You have trampled our fields, slaughtered our livestock, and burned our houses. You have brought war to a place of peace and death to a place of life. You are nothing but remorseless killers and savage beasts. Your kind deserves no mercy and shall receive none. I will crush you into the dust and make you into my slaves for all eternity."
[/message]
[message]
speaker=Borth
message= _ "The silly necromancer is trying to talk us to death! Puny human, you have caused us enough trouble. It is time for you to die."
[/message]
[message]
speaker="P'Gareth"
message= _ "Ummm... unless... you are already dead, like the skeletons?"
[/message]
[message]
speaker="K'Vark"
message= _ "Then, it will be time for you to die again!"
[/message]
[/event]
[event]
name=die
first_time_only=no
[filter]
side=2,3,4
canrecruit=yes
[/filter]
[filter_condition]
[have_unit]
side=2,3,4
canrecruit=yes
[not]
side=$unit.side
[/not]
count=2
[/have_unit]
[/filter_condition]
[message]
speaker=Malin Keshar
message= _ "How puny and weak you look in death, orc."
[/message]
[/event]
# Victory Condition
[event]
name=die
first_time_only=no
[filter]
side=2,3,4
canrecruit=yes
[/filter]
[filter_condition]
[have_unit]
side=2,3,4
canrecruit=yes
[not]
side=$unit.side
[/not]
count=1
[/have_unit]
[/filter_condition]
[message]
speaker=Malin Keshar
message= _ "Death is only the beginning for you. After this battle, you can be sure that I will make you into my thrall. And now for the last one—"
[/message]
[store_unit]
[filter]
side=2,3,4
canrecruit=yes
[not]
side=$unit.side
[/not]
[/filter]
kill=no
variable=remaining_orc_leader
[/store_unit]
[switch]
variable=remaining_orc_leader.side
[case]
value=2
{VARIABLE escape_to_x 11}
{VARIABLE escape_to_y 1}
[/case]
[case]
value=3
{VARIABLE escape_to_x 8}
{VARIABLE escape_to_y 26}
[/case]
[case]
value=4
{VARIABLE escape_to_x 40}
{VARIABLE escape_to_y 7}
[/case]
[/switch]
[object]
silent=yes
[filter]
x,y=$remaining_orc_leader.x,$remaining_orc_leader.y
[/filter]
[effect]
apply_to=hitpoints
heal_full=yes
[/effect]
[/object]
[message]
speaker=$remaining_orc_leader.id
message= _ "Retreat!"
[/message]
[store_unit]
[filter]
x,y=$remaining_orc_leader.x,$remaining_orc_leader.y
[/filter]
kill=yes
variable=orc_leader_store
[/store_unit]
{CLEAR_VARIABLE orc_leader_store.status.poisoned}
[move_unit_fake]
type=$remaining_orc_leader.type
side=$remaining_orc_leader.side
x=$remaining_orc_leader.x,$escape_to_x
y=$remaining_orc_leader.y,$escape_to_y
[/move_unit_fake]
{CLEAR_VARIABLE remaining_orc_leader,escape_to_x,escape_to_y}
[message]
speaker=Malin Keshar
message= _ "The last chieftain flees! The coward!"
[/message]
[message]
speaker=Darken Volk
message= _ "Orcs are no more than beasts. They bellow out against a weaker foe as if that makes them mighty, but will always flee in the face of an overwhelming force. Nevertheless, the Whitefangs still number many and have some ties to the other orcish clans as well. You must hunt this chieftain down before he can alert the others, else we may soon have dozens more on our tail."
[/message]
[message]
speaker=Malin Keshar
message= _ "By ‘you’, you mean... on my own?"
[/message]
[message]
speaker=Darken Volk
message= _ "Your apprenticeship is nearly over; you are more than capable of handling a single, half-dead orc on your own. After, I do have a small favor I will ask of you. It will constitute the last part of your... training. I have some other things that I must attend to in preparation. In a few weeks, meet with me to the west, near the town of Tath. For now, hunt down the last chieftain."
[/message]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=victory
# Heal Darken Volk and store him for his return in A Small Favor
[heal_unit]
[filter]
id=Darken Volk
[/filter]
animate=no
amount=full
restore_statuses=yes
[/heal_unit]
[store_unit]
[filter]
id=Darken Volk
[/filter]
variable=darken_volk_store
kill=yes
[/store_unit]
[/event]
{HERODEATH_MALIN}
{HERODEATH_VOLK}
{TIME_OVER_DEFEAT}
[/scenario]