-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
04_Leollyn.cfg
272 lines (257 loc) · 8.16 KB
/
04_Leollyn.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
#textdomain wesnoth-dm
[scenario]
id=04_Leollyn
name=_ "Leollyn"
{MEMOIRS_MAP 04_Leollyn.map}
next_scenario=05_Council_in_Weldyn
turns=24
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC loyalists.ogg} # No story text, so no intro music
{EXTRA_SCENARIO_MUSIC northerners.ogg}
{EXTRA_SCENARIO_MUSIC knolls.ogg}
{EXTRA_SCENARIO_MUSIC elvish-theme.ogg}
{DM_TRACK {SEARCH_STAGE4}}
# wmllint: validate-off
[side]
side=1
controller=human
recruit={LOYALISTS}
save_id=Player
team_name=allies
user_team_name= _ "Mages"
{FLAG_VARIANT long}
{YOUNG_DELFADOR}
[/side]
[event]
name=prestart
# bowmen said they would "come with you"
[repeat]
times=2
[do]
[role]
role=""
search_recall_list=only
type=Master Bowman,Longbowman,Bowman
[auto_recall][/auto_recall]
[else]
[unit]
placement=leader
side=1
type=Bowman
[/unit]
[/else]
[/role]
[/do]
[/repeat]
{MODIFY_UNIT (side=1) facing sw}
[/event]
[side]
side=2
controller=ai
recruit=Wolf Rider, Orcish Assassin, Orcish Archer
{GOLD 200 200 300}
team_name=enemies
user_team_name= _ "Pillagers"
{FLAG_VARIANT6 ragged}
[leader]
id=Hagha-Tan
name= _ "Hagha-Tan"
type=Orcish Slayer
facing=se
[/leader]
[ai]
recruitment_pattern=scout, mixed fighter, mixed fighter, archer
# there are a lot of close villages
villages_per_scout=6
# attack Delfador more heavily than Leollyn
leader_value=2.0
[goal]
name=target
[criteria]
id=Delfador
[/criteria]
value=3.0
[/goal]
[/ai]
[/side]
[side]
side=3
controller=ai
recruit=Red Mage,White Mage
gold=0
income=8
team_name=allies
user_team_name= _ "Loyalists"
{FLAG_VARIANT loyalist}
# wmllint: who LEOLLYN is Leollyn
[leader]
{LEOLLYN}
facing=se
[/leader]
{UNIT 3 Spearman 2 18 (ai_special=guardian)} {FACING se}
{UNIT 3 Spearman 4 18 (ai_special=guardian)} {FACING se}
[ai]
recruitment_pattern=mixed fighter,mixed fighter,healer
aggression=0.0
[/ai]
[/side]
# wmllint: validate-on
[event]
name=prestart
[objectives]
side=1
[objective]
description=_ "Defeat Hagha-Tan"
condition=win
[/objective]
[objective]
description=_ "Death of Delfador"
condition=lose
[/objective]
[objective]
description=_ "Death of Leollyn"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
[message]
speaker=Delfador
message=_"Methor told me that I could find Leollyn in his tower in the Royal Forest outside the city. It should be near here..."
[/message]
[message]
speaker=Hagha-Tan
message=_"Ah, another human is approaching... yes... more meat for my war-band..."
[/message]
[message]
speaker=Leollyn
message=_"Hail, strangers on the road! I crave your aid; hurry, for we are sorely beset!"
[/message]
[message]
speaker=Delfador
message=_"Well met, Leollyn! My friends and I will roust this barbarian for you. We’re getting used to such work by now — I did not expect to have so much trouble getting here!"
[/message]
[message]
speaker=Leollyn
message=_"Then you have not heard...? —But there will be time enough for talking. If you can distract those vile creatures, I will try to organize a counterattack."
[/message]
[/event]
# alert player before they face poison
[event]
name=attack
[filter]
type_adv_tree=Orcish Assassin
[/filter]
[filter_second]
side=1
[/filter_second]
[message]
speaker=Hagha-Tan
message=_"Yes... yes... slay them, my assassins!"
[/message]
[message]
speaker=second_unit
message=_"Uh oh... I don’t like the look of this..."
[/message]
[/event]
[event]
name=die
[filter]
type_adv_tree=Orcish Assassin
[/filter]
[filter_second]
side=1
[/filter_second]
[message]
speaker=Delfador
message=_ "Their blood sheds as readily as any man’s."
[/message]
[message]
speaker=Leollyn
message=_"You are a brave fighter, young friend."
[/message]
[/event]
[event]
name=die
[filter]
side=1
[not]
id=Delfador
[/not]
[/filter]
[filter_second]
type_adv_tree=Orcish Assassin
[/filter_second]
[message]
speaker=Leollyn
message=_ "All of you have to be extra careful!"
[/message]
[message]
speaker=Delfador
message=_"Kill them all! For our murdered friend."
[/message]
[/event]
# defeat player if leollyn is killed
[event]
name=die
[filter]
id=Leollyn
[/filter]
[message]
speaker=Delfador
message=_"Leollyn is slain! This is terrible... I had best give up and return home."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=victory
[message]
speaker=Leollyn
message=_"Well now, you arrived just in the nick of time. A fellow mage, too, I see. Now what did you say your name was?"
[/message]
[if]
[variable]
name=methor_alive
equals=yes
[/variable]
[then]
[message]
speaker=Delfador
message=_"Delfador, sir. Actually, I came seeking you — you see, I was a student of Methor’s. He said that you might find me employment in Weldyn."
[/message]
[message]
speaker=Leollyn
message=_"Ah, one of Methor’s, eh? Good, good... Well, young Garard certainly needs all the hands he can muster right now. Especially those who know their magic!"
[/message]
[/then]
[else]
[message]
speaker=Delfador
message=_"Delfador, sir. But I bring you ill news... Methor, my teacher, is dead."
[/message]
[message]
speaker=Leollyn
message=_"That is ill news indeed... these are dark times. I think you had best return with me to Weldyn. Garard too, must hear your news."
[/message]
[/else]
[/if]
{CLEAR_VARIABLE methor_alive}
[message]
speaker=Delfador
message=_"Is that Garard, King of Wesnoth, you refer to?!"
[/message]
[message]
speaker=Leollyn
message=_"Of course — do you know any other kings by that name? I was one of his father’s most trusted advisors until he passed away earlier this year, and I still have the son’s ear, though being young he listens perhaps less well than he should."
[/message]
[/event]
{MEMOIRS_DEATHS}
[/scenario]