-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
12_Evacuation.cfg
380 lines (346 loc) · 11.4 KB
/
12_Evacuation.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
#textdomain wesnoth-ei
[scenario]
id=12_Evacuation
name= _ "Evacuation"
map_data="{campaigns/Eastern_Invasion/maps/12_Evacuation.map}"
turns=12
next_scenario=13_The_Drowned_Plains
{DEFAULT_SCHEDULE}
{INTRO_AND_SCENARIO_MUSIC vengeful.ogg legends_of_the_north.ogg}
{EXTRA_SCENARIO_MUSIC frantic.ogg}
{EXTRA_SCENARIO_MUSIC northerners.ogg}
[story]
[part]
story= _ "Gweddry and his men had escaped from the orcish prisons, but after returning to the daylight they soon found themselves surrounded by a host of orcs."
{EI_BIGMAP}
[/part]
[/story]
{EI_TRACK {JOURNEY_12_NEW} }
[side]
type=Lieutenant
id=Gweddry
name= _ "Gweddry"
side=1
canrecruit=yes
controller=human
team_name=wesnothians
user_team_name=_"Wesnothians"
gold=200
{FLAG_VARIANT loyalist}
[/side]
[side]
type=Orcish Warlord
id=Varrak-Klar
name= _ "Varrak-Klar"
side=2
canrecruit=yes
facing=sw
controller=ai
recruit=Orcish Warrior,Goblin Knight,Direwolf Rider
{GOLD 100 175 225}
{INCOME 20 25 30}
team_name=bad
user_team_name=_"Evil"
[ai]
recruitment_pattern=fighter,scout,fighter,scout
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Direwolf Rider" 3}
{STARTING_VILLAGES 2 8}
[side]
type=Troll Warrior
id=Unhk
name= _ "Unhk"
side=3
canrecruit=yes
controller=ai
recruit=Troll,Troll Warrior,Goblin Pillager
{GOLD 100 175 225}
{INCOME 20 25 30}
team_name=bad
user_team_name=_"Evil"
[ai]
recruitment_pattern=fighter,scout
[/ai]
[/side]
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Troll Warrior" 3}
{STARTING_VILLAGES 3 8}
[side]
type=Orcish Warlord
id=Ran-Lar
name= _ "Ran-Lar"
side=4
canrecruit=yes
facing=sw
controller=ai
recruit=Orcish Crossbowman,Orcish Slayer,Orcish Warrior
{GOLD 100 150 200}
{INCOME 20 25 30}
team_name=bad
user_team_name=_"Evil"
[ai]
recruitment_pattern=fighter,archer,fighter,mixed fighter
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
{STARTING_VILLAGES 4 8}
[event]
name=prestart
[recall]
id=Dacyn
[/recall]
[recall]
id=Owaec
[/recall]
[recall]
id=Grug
[/recall]
[recall]
id=Terraent
[/recall]
[/event]
[event]
name=prestart
#define TROLL_GUARD SIDE X Y WML
[unit]
side={SIDE}
#ifdef EASY
type=Troll
#else
type=Troll Warrior
#endif
generate_name=yes
x,y={X},{Y}
ai_special=guardian
{WML}
[/unit]
#enddef
#since the orcish leaders are rather exposed to a rush attack, they need a bodyguard
{TROLL_GUARD 2 26 2 facing=sw}
{TROLL_GUARD 2 28 5 facing=sw}
{TROLL_GUARD 3 7 8 ()}
{TROLL_GUARD 3 5 11 ()}
{TROLL_GUARD 4 22 11 facing=sw}
{TROLL_GUARD 4 19 14 facing=sw}
[objectives]
side=1
[objective]
description= _ "Destroy the bridge OR defeat all enemies"
condition=win
[/objective]
[objective]
description= _ "Death of Gweddry"
condition=lose
[/objective]
[objective]
description= _ "Death of Dacyn"
condition=lose
[/objective]
[objective]
description= _ "Death of Owaec"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[note]
description= _ "Every unit not south of the bridge when it is destroyed will be lost (including non-recalled units)"
[/note]
[/objectives]
[/event]
[event]
name=start
#create a mage with a special description
[unit]
id=Engineer
name= _ "Engineer"
unrenamable=yes
type=Red Mage
x,y=18,5
side=1
random_traits=no
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
[/unit]
[message]
speaker=Dacyn
message= _ "We have to get out of the Northlands as quickly as possible! Run for your — what the...?! Who are you?"
[/message]
[message]
speaker=Engineer
#po: This is thickly accented English
message= _ "I’m an enginea’. I s’pect you’ll have a need of me services. I bet you’re gonna want me to blow up that bridge ov’r theah." # wmllint: no spellcheck
[/message]
[message]
speaker=Owaec
message= _ "Why would we want to do that?!"
[/message]
[message]
speaker=Engineer
message= _ "Well, I see those orcs are chasin’ you, and if I blow up the bridge, they can’t get across. It’ll help you to escape." # wmllint: no spellcheck
[/message]
[message]
speaker=Dacyn
message= _ "I see... I think it is a good idea to hire him. How much?"
[/message]
[message]
speaker=Engineer
message= _ "I ain’t charging gold — I wants protecshun! Everywhere I go, I see orcs, undead. ’T’ain’t safe ’round ’ere!" # wmllint: no spellcheck
[/message]
[message]
speaker=Gweddry
message= _ "Very well, we’ll protect you from the undead. But we can’t help you until we get off this island. Now let’s go!"
[/message]
[message]
speaker=Engineer
message= _ "Deal. I c’n blow’er up once I get to that signpost ov’r dere. That’s where my eq’pment is. But ev’ryone not ov’r theah on that side when it blows w’ll be killed by the orcs fa’ sure!" # wmllint: no spellcheck
[/message]
[item]
image=scenery/signpost.png
x,y=8,20
[/item]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
x,y=8,20
id=Engineer
[/filter]
[message]
speaker=Engineer
message= _ "So, d’ya want me to blow up der bridge yet, Cap’n?" # wmllint: no spellcheck
[/message]
[message]
speaker=Gweddry
message= _ "Hmm..."
[option]
message= _ "Yes, blow it up."
[command]
[message]
speaker=Engineer
message= _ "All right! Blast’n time!" # wmllint: no spellcheck
[/message]
[sound]
name=fuse.ogg
[/sound]
[delay]
time=2000
[/delay]
[sound]
name=explosion.ogg
[/sound]
[message]
speaker=narrator
message= _ "<big><i>BOOM!!</i></big>"
image=wesnoth-icon.png
[/message]
[terrain]
x=8,8
y=16-17,19
terrain=Ww
[/terrain]
[terrain]
x=8
y=18
terrain=Wo
[/terrain]
[redraw][/redraw]
[kill]
side=1
[not]
x=1-31,1-20
y=21-24,18-20
[/not]
fire_event=yes
animate=yes
[/kill]
# Without this check, victory could be declared even if the
# heroes died.
[if]
[have_unit]
id=Gweddry
[/have_unit]
[have_unit]
id=Dacyn
[/have_unit]
[have_unit]
id=Owaec
[/have_unit]
[then]
[message]
speaker=Gweddry
message= _ "Good, we have escaped from the orcs. Now we must return to save Wesnoth."
[/message]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[/if]
[/command]
[/option]
[option]
message= _ "No, wait until later."
[command]
[message]
speaker=Engineer
message= _ "Neh? A’right then, we’ll wait fa’ later, eh?" # wmllint: no spellcheck
[/message]
[allow_undo][/allow_undo]
[/command]
[/option]
[/message]
[/event]
[event]
name=time over
[message]
speaker=Dacyn
message= _ "We have not thrown down the bridge in time! The orcs will kill us all!"
[/message]
[/event]
[event]
name=enemies defeated
[message]
speaker=Gweddry
message= _ "Well, we didn’t have to blow up the bridge after all. Now we must return to save Wesnoth."
[/message]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=victory
[message]
speaker=Owaec
message= _ "How do you propose to do that?"
[/message]
# wmllint: local spelling Khrakrahs
[message]
speaker=Dacyn
message= _ "We head south. My research revealed that the dragon Khrakrahs is in possession of a Null Stone; with it I will be able to block Mal-Ravanal’s teleportation. Once we have retrieved the stone, we must travel to Weldyn. Our experience fighting the undead will prove invaluable in the defense of our homeland. Also, I have advice to give the king: I know Mal-Ravanal’s weakness."
[/message]
[message]
speaker=Gweddry
message= _ "Very well, we will head south. Let us hope we reach Weldyn before Mal-Ravanal."
[/message]
[message]
speaker=Engineer
message= _ "I’ll be followin’ yah from now on. Hope yah can get to Weld’n an’ all so I c’n stop runnin’..." # wmllint: no spellcheck
[/message]
[/event]
{FOREIGN_DEFEAT}
{HERODEATH_GWEDDRY}
{HERODEATH_DACYN}
{HERODEATH_OWAEC}
{HERODEATH_GRUG}
{HERODEATH_ENGINEER}
[/scenario]