-
-
Notifications
You must be signed in to change notification settings - Fork 988
/
08_Ur_Thorodor.cfg
352 lines (321 loc) · 10.3 KB
/
08_Ur_Thorodor.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
#textdomain wesnoth-dm
[scenario]
name=_ "Ur-Thorodor"
id=08_Ur-Thorodor
next_scenario=09_Houses_of_the_Dead
{MEMOIRS_MAP 08_Ur-Thorodor.map}
turns=18
victory_when_enemies_defeated=no
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC elvish-theme.ogg} # No story part, so no intro music
{EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}
{EXTRA_SCENARIO_MUSIC sad.ogg}
{EXTRA_SCENARIO_MUSIC knolls.ogg}
{DM_TRACK {SEARCH_STAGE8}}
#### Delfador's code ####
[side]
{YOUNG_DELFADOR}
side=1
save_id=Player
persistent=yes
controller=human
recruit=Mage,Spearman,Horseman,Bowman
team_name=allies
user_team_name= _ "Loyalists"
{FLAG_VARIANT loyalist}
[/side]
[event]
name=prestart
{MODIFY_UNIT (id=Delfador) facing nw}
[recall]
id=Lionel
[/recall]
{MODIFY_UNIT (id=Lionel) facing se}
[/event]
{STARTING_VILLAGES 1 4}
#### /Delfador's code ####
[side] # 23,11
type=Ancient Wose
id=Ur-Thorodor
name= _ "Ur-Thorodor"
facing=sw
side=2
canrecruit=yes
controller=ai
recruit=Wose,Gryphon,Wose Shaman
team_name=enemies
user_team_name= _ "Wose"
{GOLD 200 250 300}
[ai]
caution=0.8 # make him use those woses well
recruitment_pattern=scout,fighter,mixed fighter
[/ai]
[/side]
{LIMIT_RECRUITS 2 (Gryphon) 2}
{STARTING_VILLAGES 2 6}
[side]
type=Orcish Warrior
id=Tan-Garthak
name= _ "Tan-Garthak"
side=3
hidden=yes
canrecruit=yes
controller=ai
recruit=Orcish Warrior
team_name=enemies
user_team_name= _ "Pillagers"
no_leader=yes
[goal]
name=target
[criteria]
id=Delfador
[/criteria]
value=100
[/goal]
[/side]
{MEMOIRS_DEATHS}
[event]
name=start
[message]
speaker=Lionel
message=_"We have arrived. And there is the island Leollyn spoke of. But what are those strange shapes moving among the trees?"
[/message]
[message]
speaker=Delfador
message=_"I believe that they are woses — tree guardians. I have heard of them, but thought they were gone from Wesnoth forever. They are not evil, it is said, but yet they may be hostile to us. We had best be careful."
[/message]
[message]
speaker=Ur-Thorodor
message=_"I am Ur-Thorodor, eldest of the forest. Who are you human-creatures? You may not trespass on our island."
[/message]
{MODIFY_UNIT (id=Delfador) facing ne}
[message]
speaker=Delfador
message=_"Ur-Thorodor, please let us pass! We are on a vital mission for King Garard, in the interests of all living things in Wesnoth."
[/message]
[message]
speaker=Ur-Thorodor
message=_"We care nothing for your kings, human-creatures. It is centuries since your kind have been here, and only now are our roots destroying the last of your accursed stonework. Now I will speak no more. Leave us, or suffer our wrath!"
[/message]
[message]
speaker=Lionel
message=_"This Ur-Thorodor should not speak of King Garard that way! <i>“Suffer our wrath”</i> indeed... I’ll show him wrath!"
[/message]
[message]
speaker=Delfador
message=_"It seems there is no alternative — we must get onto that island! Perhaps if we can get close to Ur-Thorodor, and speak with him again, he will understand."
[/message]
[objectives]
side=1
[objective]
description=_ "Move Delfador to Ur-Thorodor’s castle"
condition=win
[/objective]
[objective]
description=_ "Death of Delfador"
condition=lose
[/objective]
[objective]
description=_ "Death of Lionel"
condition=lose
[/objective]
[objective]
description=_ "Death of Ur-Thorodor"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=no
carryover_percentage=80
[/gold_carryover]
[/objectives]
{FREEZE_UNIT Ur-Thorodor} # To avoid the silliness of him
# being away from the castle and next to Delfador
[/event]
### give the Woses a boost when their leader is first attacked
[event]
name=attack
first_time_only=yes
[filter_second]
id=Ur-Thorodor
[/filter_second]
[gold]
side=2
amount=200
[/gold]
[message]
speaker=Ur-Thorodor
# wmllint: local spelling Hruuuarrgh
message=_"Hruuuarrgh! The vile human-creatures hew at me..."
[/message]
[message]
speaker=Delfador
message=_"Ur-Thorodor, you must listen to us! A great evil power threatens all living things in Wesnoth — we must fight against it together, or all life here will perish."
[/message]
[message]
speaker=Ur-Thorodor
message=_"I trust no humans! Drive them out, my children!"
[/message]
[/event]
[event]
name=last breath
[filter]
id=Ur-Thorodor
[/filter]
[message]
speaker=unit
message=_"I am defeated... My children: hear my last words! Destroy the humans, and never let them set foot on our island again!"
[/message]
[message]
speaker=Delfador
message=_"This is hopeless! If carrying out my mission means killing these noble creatures, then I cannot continue."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=moveto
[filter]
id=Delfador
x=22,24,23,23
y=10,10,12,11
[/filter]
[message]
speaker=Delfador
message=_"Ur-Thorodor, listen to me! We are not here to take your island. If you will let just me remain here, then I promise you, on behalf of King Garard, that no Wesnothian will set foot on your island without your permission again. As a token of good faith, I command my army to return to the mainland."
[/message]
[message]
speaker=Lionel
message=_"Are you sure that’s wise?"
[/message]
[message]
speaker=Delfador
message=_"It’s the only way! Lionel, lead our soldiers back to the mainland. I will rejoin you when I have carried out my mission, and determined what is amiss in the world of the dead."
[/message]
[message]
speaker=Ur-Thorodor
message=_"I see I had misjudged you, human. You are not like those who came before. I accept your offer!"
[/message]
[endlevel]
result=victory
carryover_report=no
bonus=no
[/endlevel]
[/event]
[event]
name=victory
{SAVE_WESNOTH_VETERANS}
[kill]
side=2
[/kill]
[redraw][/redraw]
[delay]
time=1000
[/delay]
{MOVE_UNIT (id=Delfador) 23 11}
{MODIFY_UNIT (id=Delfador) facing sw}
[delay]
time=500
[/delay]
[message]
speaker=narrator
message=_"As the Wesnothians withdrew from the island, the woses melted away into the trees. Delfador began the meditation that would place him in contact with the spirit world.
But as Delfador’s meditation deepened, and the woses sank into their timeless dreams of earth and trees, something else stirred on the island — for a few orcish scouts had indeed crossed the Ford of Abez..."
image=wesnoth-icon.png
[/message]
[message]
speaker=Delfador
message=_"Ommmmmmm..." # wmllint: no spellcheck
[/message]
[delay]
time=800
[/delay]
[move_unit_fake]
type=Goblin Knight
side=3
x=21,21,22,23,24,24
y=8,9,9,10,10,11
[/move_unit_fake]
{NAMED_UNIT 3 (Goblin Knight) 24 11 Gurbash _"Gurbash" (facing=sw)}
[move_unit_fake]
type=Orcish Warrior
side=3
x=21,21,22,23
y=8,9,9,10
[/move_unit_fake]
{NAMED_UNIT 3 (Orcish Warrior) 23 10 Pruark _"Pruark" (facing=sw)}
[redraw]
[/redraw]
[delay]
time=800
[/delay]
[message]
side=3
speaker=Pruark
message=_"A human mage... is it dead?"
[/message]
[message]
side=3
speaker=Gurbash
message=_"Easy to find out... thump it and see if it wakes up!"
[/message]
[message]
speaker=narrator
message=_"<i>Thump</i>!"
image=wesnoth-icon.png
[/message]
[color_adjust]
red=-32
green=-32
blue=-32
[/color_adjust]
[delay]
time=10
[/delay]
[color_adjust]
red=-64
green=-64
blue=-64
[/color_adjust]
[delay]
time=10
[/delay]
[color_adjust]
red=-128
green=-128
blue=-128
[/color_adjust]
[delay]
time=10
[/delay]
[kill]
side=3
[/kill]
[heal_unit]
[filter]
id=Delfador
[/filter]
amount=full
animate=no
moves=full
restore_attacks=yes
restore_statuses=yes
[/heal_unit]
[modify_unit]
x,y=recall,recall
[filter]
id=Delfador
[/filter]
[/modify_unit]
[color_adjust]
red=-255
green=-255
blue=-255
[/color_adjust]
[modify_side]
side=1,2
hidden=yes
[/modify_side]
[/event]
[/scenario]