-
-
Notifications
You must be signed in to change notification settings - Fork 988
/
07_Mages_and_Drakes.cfg
347 lines (293 loc) · 9.77 KB
/
07_Mages_and_Drakes.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
#textdomain wesnoth-thot
[scenario]
id=07_Mages_and_Drakes
name= _ "Mages and Drakes"
map_data="{campaigns/The_Hammer_of_Thursagan/maps/07_Mages_and_Drakes.map}"
{TURNS 30 25 20}
next_scenario=08_Fear
victory_when_enemies_defeated=yes
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC revelation.ogg}
{EXTRA_SCENARIO_MUSIC traveling_minstrels.ogg}
{EXTRA_SCENARIO_MUSIC nunc_dimittis.ogg}
{THOT_TRACK {JOURNEY_STAGE7}}
# wmllint: validate-off
[side]
side=1
controller=human
recruit="Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Guardsman, Dwarvish Scout"
{GOLD 175 150 125}
team_name=northern_alliance
user_team_name= _ "Alliance"
{FLAG_VARIANT knalgan}
# wmllint: recognize Aiglondur
{CHARACTER_STATS_AIGLONDUR}
facing=se
[/side]
# wmllint: validate-on
[side]
side=2
controller=ai
recruit=Mage
{GOLD 140 120 100}
team_name=northern_alliance
user_team_name=_"Alliance"
type=Great Mage
id=Master Perrin
name= _ "Master Perrin"
profile=portraits/perrin.png
canrecruit=yes
gender=male
facing=se
[unit]
type=White Mage
id=Preceptor
name= _ "Preceptor"
x,y=12,14
facing=se
{IS_LOYAL}
[modifications]
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
[unit]
type=Red Mage
id=Warder
name= _ "Warder"
x,y=14,14
facing=se
{IS_LOYAL}
[modifications]
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
[/unit]
[ai]
{ATTACK_DEPTH 1 3 5}
passive_leader=yes
recruitment_pattern=mixed fighter
[/ai]
[/side]
[side]
side=3
controller=ai
recruit=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
{GOLD 120 140 160}
{INCOME 0 5 10}
team_name=drakes
user_team_name= _ "Drakes"
type=Drake Flameheart
id=Glashal
name= _ "Glashal"
canrecruit=yes
facing=nw
[ai]
{ATTACK_DEPTH 3 4 5}
passive_leader=no
[/ai]
[/side]
{STARTING_VILLAGES 2 7}
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Defeat Glashal"
condition=win
[/objective]
[objective]
description= _ "Death of Aiglondur"
condition=lose
[/objective]
[objective]
description= _ "Death of Angarthing"
condition=lose
[/objective]
[objective]
description= _ "Death of Ratheln"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[recall]
id=Angarthing
x,y=8,17
[/recall]
[recall]
id=Ratheln
[/recall]
{MODIFY_UNIT (side=1) facing se}
[/event]
[event]
name=start
[message]
speaker=Preceptor
message= _ "Master Perrin! A mage comes down from the High Pass, with a company of dwarves. They are well-armed, but not in battle array."
[/message]
[message]
speaker=Master Perrin
message= _ "That will be Ratheln, I expect. Hail! You on the road! Who comes bearing arms into our valley?"
[/message]
[message]
speaker=Glashal
message= _ "‘Our’ valley, says Master Perrin. The arrogance of these mages is intolerable!"
[/message]
[message]
speaker=Aiglondur
message= _ "A delegation of the Northern Alliance, traveling east. I believe we’ve found a friend of yours in the High Pass."
[/message]
[message]
speaker=Master Perrin
message= _ "Well met, then. But if you intend to travel east of here, beware of the nest of drakes in the cliffs near the valley’s end. They were here before us, and have become more hostile to travelers of late."
[/message]
[message]
speaker=Glashal
message= _ "The axe-bearers must not be let near our nestlings. Attack!"
[/message]
[/event]
[event]
name=enemies defeated
[if]
[have_unit]
id=Master Perrin
[/have_unit]
[then]
#ifdef EASY
[message]
speaker=Master Perrin
message= _ "We’re grateful for your assistance. Moreover, I’d like to send a couple of our senior apprentices with you to the east. It has come time for them to be journeymen... and I sense something being born to the east that I do not like the feel of."
[/message]
#else
[message]
speaker=Master Perrin
message= _ "We’re grateful for your assistance. Moreover, I’d like to send one of our senior apprentices with you to the east. It has come time for him to be a journeyman... and I sense something being born to the east that I do not like the feel of."
[/message]
#endif
#ifdef EASY
[unit]
type=Mage
gender=female
id=Lorinne
name= _ "Lorinne"
experience=40
side=1
placement=leader
{IS_LOYAL}
[modifications]
{TRAIT_LOYAL}
[/modifications]
[/unit]
#endif
[unit]
type=Mage
id=Darchas
name= _ "Darchas"
experience=40
side=1
placement=leader
{IS_LOYAL}
[modifications]
{TRAIT_LOYAL}
[/modifications]
[/unit]
[allow_recruit]
side=1
type=Mage
[/allow_recruit]
[select_unit]
id=Darchas
[/select_unit]
#ifdef EASY
[message]
speaker=narrator
message= _ "The presence of Lorinne and Darchas gives you the ability to recruit mages."
image=wesnoth-icon.png
[/message]
#else
[message]
speaker=narrator
message= _ "The presence of Darchas gives you the ability to recruit mages."
image=wesnoth-icon.png
[/message]
#endif
[message]
speaker=Aiglondur
message= _ "What sort of thing?"
[/message]
[message]
speaker=Master Perrin
message= _ "There is some great magic brewing. Something... evil. I feel its traces in the currents of the earth and air."
[/message]
#ifdef HARD
[message]
speaker=Ratheln
message= _ "I would travel east with you if I could, but I have duties I must take up here."
[/message]
[message]
speaker=Aiglondur
message= _ "You have your duty, as we have ours. Fare well."
[/message]
[kill]
id=Ratheln
[/kill]
#else
{UNMAKE_HERO Ratheln}
[unit_overlay]
id=Ratheln
image=misc/loyal-icon.png
[/unit_overlay]
[message]
speaker=Ratheln
message= _ "Perrin, I owe these dwarves a debt; I think it is my duty to aid them in their journey. I’ll return with your apprentices as soon as I may."
[/message]
[message]
speaker=Master Perrin
message= _ "As you will. Go safely and return swiftly."
[/message]
#endif
[/then]
[else]
[message]
speaker=Ratheln
message= _ "I would travel east with you if I could, but the school will need me all the more with Master Perrin gone."
[/message]
[message]
speaker=Aiglondur
message= _ "You have your duty, as we have ours. Fare well."
[/message]
[kill]
id=Ratheln
[/kill]
[message]
speaker=Angarthing
message= _ "I think we will regret Perrin’s passing. There is much he might have told us."
[/message]
[/else]
[/if]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
{HERODEATH_AIGLONDUR}
{HERODEATH_ANGARTHING}
{HERODEATH_RATHELN}
# In this scenario only, losing Ratheln is fatal.
# This avoids continuity problems in this scenario.
# His death comment comes from the macro, above.
[event]
name=die
[filter]
id=Ratheln
[/filter]
[endlevel]
result=defeat
[/endlevel]
[/event]
[/scenario]