-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
04_The_Elvish_Treasury.cfg
425 lines (382 loc) · 10.7 KB
/
04_The_Elvish_Treasury.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
#textdomain wesnoth-low
#ifndef MULTIPLAYER
#define PLAYER_GOLD
{GOLD 280 250 220}
{INCOME -2 -2 -2}
#enddef
#else
#define PLAYER_GOLD
{GOLD 90 80 70}
{INCOME -2 -2 -2}
#enddef
#endif
[scenario]
name= _ "The Elvish Treasury"
id=04_The_Elvish_Treasury
next_scenario=05_The_Saurian_Treasury
allow_new_game=yes
new_game_title= _ "Chapter Two: The Treasury"
force_lock_settings=yes
experience_modifier=100
{LOW_MAP 04_The_Elvish_Treasury.map}
{TURNS 35 30 25}
{DEFAULT_SCHEDULE}
random_start_time=no
{STARTING_VILLAGES_ALL 4}
{STARTING_VILLAGES 5 14}
{INTRO_AND_SCENARIO_MUSIC frantic.ogg vengeful.ogg}
{EXTRA_SCENARIO_MUSIC knalgan_theme.ogg}
{EXTRA_SCENARIO_MUSIC knolls.ogg}
{EXTRA_SCENARIO_MUSIC silvan_sanctuary.ogg}
[story]
#ifdef MULTIPLAYER
[part]
delay=4000
title= _ "<i>The Legend of Wesmere</i>
Chapter Two"
[/part]
#endif
[part]
title= _ "Chapter Two
<i>The Treasury</i>"
# show_title=yes
[/part]
[part]
story= _ "Kalenz and his forces raced to relieve the siege of the Elvish Treasury..."
delay=4000
{LOW_BIGMAP}
{FLIGHT_COMPLETE}
{TREASURY_STAGE1}
[/part]
[/story]
{LOW_TRACK ( {FLIGHT_COMPLETE} {TREASURY_STAGE1_END} ) }
[side]
side=1
{KALENZ}
{PLAYABLE}
type=Elvish Captain
save_id=Kalenz
fog=no
shroud=no
recruit=""
{PLAYER_GOLD}
#ifndef MULTIPLAYER
[unit]
{LANDAR}
extra_recruit=Elvish Fighter, Elvish Archer, Elvish Scout
x=16
y=29
[/unit]
#else
#endif
[/side]
#Landar's side
{MP_SIDE 2 (
{LANDAR}
type=Elvish Ranger
fog=no
shroud=no
save_id=Landar
{PLAYABLE}
{PLAYER_GOLD}
extra_recruit=Elvish Fighter, Elvish Archer, Elvish Scout
)}
{MP_SIDE 3 (
no_leader=yes
save_id=Cleodil
{PLAYABLE}
fog=no
shroud=no
{PLAYER_GOLD}
)}
[side]
side=4
allow_player=no
controller=ai
type=Saurian Ambusher
{SAURIAN_SETUP}
#{FLAG_VARIANT undead}
id=Shurm
name= _ "Shurm"
canrecruit=yes
{GOLD 190 280 340}
{INCOME 4 8 12}
team_name=Lizards
user_team_name= _ "Enemies"
#ifdef EASY
recruit=Saurian Skirmisher, Saurian Augur
#else
recruit=Saurian Skirmisher, Saurian Augur, Saurian Ambusher
#endif
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout, scout, healer"}
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.75}
[/ai]
[/side]
[side]
side=5
allow_player=no
controller=ai
type=Saurian Ambusher
{SAURIAN_SETUP}
{FLAG_VARIANT undead}
id=Trigr
name= _ "Trigr"
canrecruit=yes
{GOLD 190 280 350}
{INCOME 4 8 12}
team_name=Lizards
user_team_name= _ "Enemies"
#ifdef EASY
recruit=Saurian Skirmisher, Saurian Augur
#else
recruit=Saurian Skirmisher, Saurian Augur, Saurian Ambusher
#endif
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout, scout, healer"}
[/ai]
[/side]
[item]
x=13
y=11
image=scenery/temple1.png
[/item]
[item]
x=11
y=11
image=units/elves-wood/shyde.png~RC(magenta>red)
[/item]
[item]
x=11
y=11
image=items/cage.png
[/item]
#define OBJECTIVES
side=0
[objective]
description= _ "Defeat all enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
#enddef
[event]
name=start
[objectives]
{OBJECTIVES}
[/objectives]
#ifdef MULTIPLAYER
{GET_PERSISTENT_RECALLS_FROM2 1 4 LoW_Chapter_One kalenz}
{GET_PERSISTENT_GOLD_FROM2 1 4 LoW_Chapter_One kalenz_gold}
{GET_PERSISTENT_RECALLS_FROM2 4 1 LoW_Chapter_One landar}
{GET_PERSISTENT_GOLD_FROM2 4 1 LoW_Chapter_One landar_gold}
#endif
# wmllint: who RECALL_LOYALS is Huraldur
#{RECALL_LOYALS}
# Kalenz's pals
[recall]
id=Huraldur
x=7
y=28
[/recall]
[recall]
id=Anduilas
x=6
y=28
[/recall]
# Landar's pals
[recall]
id=Arkildur
x=17
y=29
[/recall]
[recall]
id=scout
x=16
y=28
[/recall]
#ifdef MULTIPLAYER
# TODO: this is the only unit that player3 controls until
# Cleodil is freed by the other players. We should make this
# scenario more intesting for player 3 during this time.
# Maybe give him some units that managed to escape and want to help?
{UNIT 3 (Elvish Ranger) 23 24 (role=liberator)}
#endif
[allow_extra_recruit]
id=Kalenz,Landar
extra_recruit=Elvish Scout
[/allow_extra_recruit]
[redraw]
[/redraw]
[message]
id=Kalenz
message= _ "It seems that we are too late. The Treasury has fallen to the Saurians..."
[/message]
[message]
id=Huraldur
message= _ "And I see the remains of the garrison has been taken prisoner."
[/message]
{HIGHLIGHT_IMAGE 11 11 items/cage.png ("units/elves-wood/shyde.png~RC(magenta>red)")}
[scroll_to_unit]
id=Kalenz
[/scroll_to_unit]
[message]
id=Kalenz
message= _ "We must free them and make these saurians pay. Attack and leave no one alive!"
[/message]
#ifdef MULTIPLAYER
[message]
role=liberator
message= _ "I will do as you say, sneak in and free them. Wish me good fortune and no discovery!"
[/message]
[message]
id=Kalenz
message= _ "Go swiftly and silently."
[/message]
[move_unit]
role=liberator
to_x=11
to_y=11
fire_event=yes
[/move_unit]
#endif
[message]
id=Shurm
message= _ "More elves are coming! Too late, we’ve taken all your gold and we’ll get more gold from the orcs for helping them out!"
[/message]
[message]
id=Kalenz
message= _ "You will not live to enjoy it!"
[/message]
[/event]
[event]
name=free cleodil
{INCIDENTAL_MUSIC love_theme.ogg}
[unit]
# wmllint: who CLEODIL is Cleodil
{CLEODIL}
#ifdef MULTIPLAYER
side=3
#else
side=1
#endif
x,y=11,11
[/unit]
[remove_item]
x,y=11,11
[/remove_item]
[unit]
{LARIL}
#ifdef MULTIPLAYER
side=3
#else
side=1
#endif
x,y=11,11
[/unit]
[unit]
{TAMERIL_ISIMERIL}
#ifdef MULTIPLAYER
side=3
#else
side=1
#endif
x,y=11,11
[/unit]
[message]
id=Cleodil
message= _ "We are free! My lord Kalenz, from this day forward I and my men are your sworn followers. And there is that which you should know about the treasure the orcs seek..."
[/message]
[message]
id=Kalenz
message= _ "I accept your service gratefully, for I will need every sword and bow and spell with which to defeat these invaders. There will be time for talk later; now, we must fight."
[/message]
[/event]
[event]
name=moveto
[filter]
side=1,2
x=11
y=11
[/filter]
[fire_event]
name=free cleodil
[/fire_event]
[objectives]
{OBJECTIVES}
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[/objectives]
[/event]
#undef OBJECTIVES
[event]
name=victory
[if]
[not]
[have_unit]
id=Cleodil
[/have_unit]
[/not]
[then]
[message]
id=Kalenz
message= _ "Without their leaders, the saurians flee in panic. Let us free the treasury’s garrison before they can find it in them to rally and return."
[/message]
[fire_event]
name=free cleodil
[/fire_event]
[/then]
[/if]
[message]
id=Kalenz
message= _ "We have defeated the saurians and freed the garrison, and that is no small thing... but our gold is gone."
[/message]
[message]
id=Cleodil
# wmllint: directory spelling dastone
message= _ "The saurians happily carried away the treasury gold, but they had come here looking for something more specific... some individual object they called ‘dastone’. I am sorry, my lord Kalenz, I could not understand their distorted speech very well."
[/message]
[message]
race=elf
message= _ "The war with the Orcs goes poorly. The Ka’lian will need that gold back to buy arms and food, to hire artisans, to support its armies."
[/message]
[message]
id=Kalenz
message= _ "We will hunt down those saurians and retrieve our gold. More, we must teach them that it is lethal folly to raid us, else they will plague us like rats."
[/message]
[/event]
[event]
name=last breath
[filter]
id=Shurm
[/filter]
[message]
speaker=unit
message= _ "I am ashamed to die at the hands of tree-shaggers!"
[/message]
[message]
speaker=second_unit
message= _ "When you meet your kin in the dry hells, tell them you perished at the hands of Kalenz’s elves!"
[/message]
[/event]
{DEFAULT_VICTORY 0.4}
{campaigns/Legend_of_Wesmere/utils/deaths.cfg}
[/scenario]
#undef PLAYER_GOLD