-
-
Notifications
You must be signed in to change notification settings - Fork 992
/
08a_Return_to_Kerlath.cfg
247 lines (209 loc) · 5.99 KB
/
08a_Return_to_Kerlath.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
#textdomain wesnoth-tsg
[scenario]
id=08a_Return_to_Kerlath
name= _ "Return to Kerlath"
map_data="{campaigns/The_South_Guard/maps/08a_Return_to_Kerlath.map}"
next_scenario=09a_Vengeance
#ifdef EASY
turns=22
#endif
#ifdef NORMAL
turns=20
#endif
#ifdef HARD
turns=18
#endif
victory_when_enemies_defeated=no
{SCENARIO_MUSIC wanderer.ogg}
{EXTRA_SCENARIO_MUSIC knolls.ogg}
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
{DEFAULT_SCHEDULE_DUSK}
{SG_RETURN_TO_KERLATH}
{BIGMAP_08A}
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Move Deoran into Kerlath Province"
condition=win
[/objective]
[objective]
description= _ "Death of Deoran"
condition=lose
[/objective]
[objective]
description= _ "Death of Minister Hylas"
condition=lose
[/objective]
[objective]
description= _ "Death of Ethiliel"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
[side]
side=1
type=Horseman Commander
id=Deoran
name= _ "Deoran"
unrenamable=yes
team_name=South_Guard
user_team_name=_"South Guard"
controller=human
{CUSTOM_SG_FLAG}
#ifdef EASY
fog=yes
shroud=no
#endif
#ifdef NORMAL
fog=yes
shroud=yes
#endif
#ifdef HARD
fog=yes
shroud=yes
#endif
canrecruit=yes
recruit=Bowman, Spearman, Cavalryman, Elvish Shaman, Elvish Fighter
[/side]
[side]
side=2
type=Outlaw
id=Tharzo Kalain
# wmllint: local spelling Tharzo
name= _ "Tharzo Kalain"
[modifications]
{TRAIT_STRONG}
{TRAIT_INTELLIGENT}
[/modifications]
{GOLD 60 80 100}
{INCOME 2 3 5}
team_name=bandits
user_team_name=_"Bandits"
controller=ai
canrecruit=yes
[ai]
passive_leader=yes
#ifdef EASY
recruitment_pattern=fighter
#endif
#ifdef NORMAL
recruitment_pattern=scout,fighter,fighter
#endif
#ifdef HARD
recruitment_pattern=scout,fighter,fighter,mixed fighter
#endif
{QUANTITY aggression 0.3 0.4 0.5}
{ATTACK_DEPTH 3 4 5}
[/ai]
#ifdef EASY
recruit=Thug
#endif
#ifdef NORMAL
recruit=Footpad, Thug
#endif
#ifdef HARD
recruit=Footpad, Thug, Outlaw, Bandit
#endif
{FLAG_VARIANT6 ragged}
[/side]
[side]
side=3
type=Lieutenant
id=Plynry
name= _ "Plynry"
unrenamable=yes
[ai]
passive_leader=yes
[/ai]
team_name=South_Guard
user_team_name=_"South Guard"
controller=ai
{CUSTOM_SG_FLAG}
{GOLD 125 100 80}
{INCOME 4 2 0}
fog=no
shroud=no
recruit=
canrecruit=yes
[/side]
[event]
name=start
{GENERIC_UNIT 2 Trapper 6 43}
{NAMED_GENERIC_UNIT 3 (Spearman) 8 6 () (_"Border Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 3 (Spearman) 10 6 () (_"Border Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 3 (Bowman) 10 2 () (_"Border Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 3 (Bowman) 10 3 () (_"Border Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 3 (Bowman) 11 3 () (_"Border Guard")} {GUARDIAN}
[recall]
id=Ethiliel
[/recall]
[recall]
id=Minister Hylas
[/recall]
[message]
side=2
canrecruit=no
message= _ "Tharzo! That meddler who killed the Urza brothers approaches from the south. His men and horses look worn out."
[/message]
[message]
speaker="Tharzo Kalain"
message= _ "The dark gods have put revenge in our laps. Destroy them all before they reach the border fort!"
[/message]
[/event]
[event]
name=moveto
[filter]
side=1
x=1-19
y=1-3
id=Deoran
[/filter]
[message]
speaker="Plynry"
message= _ "Halt! Who comes to the border of Wesnoth?"
[/message]
[message]
speaker="Deoran"
message= _ "It is I, Deoran, commander of the South Guard, and my men."
[/message]
[message]
speaker="Plynry"
message= _ "Deoran? You had been thought lost long since. But I see by your men’s gear and drill that they are of the South Guard indeed. Pass."
[/message]
[message]
speaker="Deoran"
message= _ "We, and our elvish allies, have won a great battle against a lich."
[/message]
[message]
speaker="Plynry"
message= _ "Elvish allies? I think you had best make haste to Westin. There are rumors of trouble with the elves of the Aethenwood."
[/message]
# Unstore Sir Gerrick and his troops back so that everyone will be happily
# reunited at the beginning of the next scenario.
{VARIABLE stored_Sir_Gerrick.x "recall"}
{VARIABLE stored_Sir_Gerrick.y "recall"}
[unstore_unit]
variable=stored_Sir_Gerrick
[/unstore_unit]
{FOREACH stored_Sir_Gerrick_army i}
{VARIABLE stored_Sir_Gerrick_army[$i].x "recall"}
{VARIABLE stored_Sir_Gerrick_army[$i].y "recall"}
[unstore_unit]
variable=stored_Sir_Gerrick_army[$i]
[/unstore_unit]
{NEXT i}
{CLEAR_VARIABLE stored_Sir_Gerrick_army}
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[/scenario]