-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
04b_The_Undead_Border_Patrol.cfg
239 lines (220 loc) · 7.26 KB
/
04b_The_Undead_Border_Patrol.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
#textdomain wesnoth-ei
[scenario]
id=04b_The_Undead_Border_Patrol
name= _ "The Undead Border Patrol"
map_data="{campaigns/Eastern_Invasion/maps/04b_The_Undead_Border_Patrol.map}"
turns=20
next_scenario=05_Northern_Outpost
{DEFAULT_SCHEDULE}
{SETUP_CAMPFIRES}
{INTRO_AND_SCENARIO_MUSIC legends_of_the_north.ogg the_dangerous_symphony.ogg}
{EXTRA_SCENARIO_MUSIC the_city_falls.ogg}
{EXTRA_SCENARIO_MUSIC vengeful.ogg}
{campaigns/Eastern_Invasion/utils/deaths.cfg}
{EI_TRACK {JOURNEY_04B_NEW} }
[side]
{CHARACTER_STATS_GWEDDRY}
side=1
canrecruit=yes
controller=human
team_name=wesnothians
user_team_name=_"Wesnothians"
{GOLD 175 130 100}
{FLAG_VARIANT loyalist}
[/side]
[side]
type=Dark Sorcerer
id=Mal-Skraat
name= _ "Mal-Skraat"
side=2
canrecruit=yes
facing=se
recruit=Skeleton,Skeleton Archer,Skeleton Rider,Soulless
[ai]
recruitment_pattern=scout,fighter,fighter,archer
scout_village_targeting=0.8
aggression=0.8
[/ai]
{GOLD 80 120 150}
{INCOME 2 3 3}
{FLAG_VARIANT undead}
team_name=undead
user_team_name=_"Undead"
[/side]
[side]
type=Lich
id=Mal-Telnarad
name= _ "Mal-Telnarad"
side=3
canrecruit=yes
facing=nw
#ifdef HARD
recruit=Blood Bat,Vampire Bat,Skeleton Archer,Skeleton,Dark Adept,Ghost
#else
recruit=Vampire Bat,Skeleton Archer,Skeleton,Dark Adept
#endif
[ai]
{NO_SCOUTS}
recruitment_pattern=scout,fighter,archer,fighter,archer
aggression=0.4
[/ai]
{GOLD 100 140 170}
{FLAG_VARIANT undead}
team_name=undead
user_team_name=_"Undead"
[/side]
#ifdef HARD
{LIMIT_CONTEMPORANEOUS_RECRUITS 3 "Blood Bat" 2}
#endif
# Start with all the villages in the swamp.
{STARTING_VILLAGES_AREA 3 30-45 1-25 1}
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Defeat either enemy leader"
condition=win
[/objective]
[objective]
description= _ "Death of Gweddry"
condition=lose
[/objective]
[objective]
description= _ "Death of Dacyn"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
[recall]
id=Dacyn
x,y=20,12
[/recall]
[message]
speaker=Dacyn
message= _ "Now that we are free of the mountain range the path northwards is clear. Let us go north and try to reach Owaec at the outpost."
[/message]
[message]
speaker=Gweddry
message= _ "Wait. I am not sure that is the best option. If we go east now, we may be able to find the lich who attacked us and destroy him. He must be nearby."
[/message]
# wmllint: local spelling teleporting
[message]
speaker=Dacyn
message= _ "This is no ordinary Lich you hunt. Even if you manage to find him, how will you prevent him from simply teleporting away? We should head north; there is much I must learn before we confront this menace."
[/message]
[message]
speaker=Mal-Skraat
message= _ "They run from me! Still, it will not help them, the border patrol will destroy them. I may even be promoted!"
[/message]
[/event]
[event]
name=last breath
[filter]
id=Mal-Skraat
[/filter]
[message]
speaker=Mal-Skraat
message= _ "Now I will never get promoted!"
[/message]
[kill]
id=Mal-Skraat
animate=yes
[/kill]
[message]
speaker=Dacyn
message= _ "Come, let us return to Wesnoth and head for the Northern Outpost."
[/message]
{VARIABLE east_trek no}
[endlevel]
result=victory
bonus=yes
next_scenario=05_Northern_Outpost
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=die
[filter]
id=Mal-Telnarad
[/filter]
[message]
speaker=Dacyn
message= _ "We have defeated this patrol, but we can still turn back! Do you insist on traveling east, or shall we defeat this dark sorcerer?"
[/message]
[message]
speaker=Gweddry
message= _ "Hmm..."
[option]
message= _ "I wish to destroy the evil before it can spread. East we go!"
[command]
[message]
speaker=Dacyn
message= _ "I cannot say this is a good decision, but I will follow you."
[/message]
[message]
speaker=Mal-Skraat
message= _ "Noo!! I can’t be promoted if they run away!"
[/message]
{VARIABLE east_trek yes}
[endlevel]
result=victory
bonus=yes
next_scenario=04c_Mal-Ravanals_Capital
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/command]
[/option]
[option]
message= _ "You are right. It is foolish to go onward — we will turn back."
[command]
[message]
speaker=Mal-Skraat
message= _ "Good! If I defeat them, I can become a lich!"
[/message]
[/command]
[/option]
[/message]
[/event]
[event]
name=time over
[if]
[have_unit]
id=Mal-Telnarad
[/have_unit]
[then]
[message]
speaker=Dacyn
message= _ "We failed to defeat either enemy! Now more undead will come and we will be overwhelmed!"
[/message]
[endlevel]
result=defeat
[/endlevel]
[/then]
[else]
[message]
speaker=Gweddry
message= _ "We cannot spend any more time attempting to defeat Mal-Skraat. Like it or not, we must go further into these undead lands."
[/message]
[message]
speaker=Mal-Skraat
message= _ "Noo!! He will reach Mal-Ravanal’s capital, and I shall be punished for letting him escape!"
[/message]
{VARIABLE east_trek yes}
[endlevel]
result=victory
next_scenario=04c_Mal-Ravanals_Capital
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/else]
[/if]
[/event]
{FOREIGN_DEFEAT}
[/scenario]