/usr/share/games/wesnoth/1.10/data/campaigns/Eastern_Invasion/scenarios/17b_Weldyn_Besieged.cfg is in wesnoth-1.10-ei 1:1.10.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #textdomain wesnoth-ei
[scenario]
id=17b_Weldyn_Besieged
name= _ "Weldyn Besieged"
map_data="{campaigns/Eastern_Invasion/maps/17b_Weldyn_Besieged.map}"
turns=30
next_scenario=18_Epilogue
{DEFAULT_SCHEDULE}
{INTRO_AND_SCENARIO_MUSIC loyalists.ogg the_city_falls.ogg}
{EXTRA_SCENARIO_MUSIC the_deep_path.ogg}
{EXTRA_SCENARIO_MUSIC battle.ogg}
{campaigns/Eastern_Invasion/utils/deaths.cfg}
[side]
type=Lieutenant
id=Gweddry
name= _ "Gweddry"
side=1
gold=200
canrecruit=yes
controller=human
team_name=wesnothians
user_team_name=_"Wesnothians"
{FLAG_VARIANT loyalist}
[/side]
# Gweddry gets the villages within the moat.
# The ones outside he'll actually have to take.
{STARTING_VILLAGES 1 3}
[side]
type=Lich
id=Mal-Drakanal
name= _ "Mal-Drakanal"
side=2
canrecruit=yes
controller=ai
recruit=Bone Shooter,Revenant,Wraith,Shadow
{GOLD 150 200 250}
team_name=bad
user_team_name=_"Undead"
{FLAG_VARIANT undead}
[/side]
[side]
type=Lich
id=Lich3
name= _ "?"
side=3
canrecruit=yes
[variables]
random_lich=yes
[/variables]
controller=ai
recruit=Bone Shooter,Revenant,Wraith,Shadow
{GOLD 150 200 250}
team_name=bad
user_team_name=_"Undead"
{FLAG_VARIANT undead}
[/side]
[side]
type=Lich
id=Lich4
name= _ "?"
side=4
canrecruit=yes
[variables]
random_lich=yes
[/variables]
controller=ai
recruit=Bone Shooter,Revenant,Wraith,Shadow
{GOLD 150 200 250}
team_name=bad
user_team_name=_"Undead"
{FLAG_VARIANT undead}
[/side]
[side]
type=Lich
id=Lich5
name= _ "?"
side=5
canrecruit=yes
[variables]
random_lich=yes
[/variables]
controller=ai
recruit=Bone Shooter,Revenant,Wraith,Shadow
{GOLD 150 200 250}
team_name=bad
user_team_name=_"Undead"
{FLAG_VARIANT undead}
[/side]
[side]
type=Lich
id=Lich6
name= _ "?"
side=6
canrecruit=yes
[variables]
random_lich=yes
[/variables]
controller=ai
recruit=Bone Shooter,Revenant,Wraith,Shadow
{GOLD 150 200 250}
team_name=bad
user_team_name=_"Undead"
{FLAG_VARIANT undead}
[/side]
[side]
type=Lich
id=Lich7
name= _ "?"
side=7
canrecruit=yes
[variables]
random_lich=yes
[/variables]
controller=ai
recruit=Bone Shooter,Revenant,Wraith,Shadow
{GOLD 150 200 250}
team_name=bad
user_team_name=_"Undead"
{FLAG_VARIANT undead}
[/side]
[side]
type=Lich
id=Lich8
name= _ "?"
side=8
canrecruit=yes
[variables]
random_lich=yes
[/variables]
controller=ai
recruit=Bone Shooter,Revenant,Wraith,Shadow
{GOLD 150 200 250}
team_name=bad
user_team_name=_"Undead"
{FLAG_VARIANT undead}
[/side]
# wmllint: recognize Mal-Ravanal
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Defeat Mal-Ravanal"
condition=win
[/objective]
[objective]
description= _ "Death of Gweddry"
condition=lose
[/objective]
[objective]
description= _ "Death of Dacyn"
condition=lose
[/objective]
[objective]
description= _ "Death of Owaec"
condition=lose
[/objective]
[objective]
description= _ "Death of Konrad"
condition=lose
[/objective]
[objective]
description= _ "Letting any enemy unit on to your keep"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[/objectives]
[/event]
[event]
name=start
[recall]
id=Dacyn
[/recall]
[recall]
id=Owaec
[/recall]
[recall]
id=Grug
[/recall]
[recall]
id=Konrad
[/recall]
[message]
speaker=Mal-Drakanal
message= _ "You people are fools! You rejected my master’s offer to duel... very well, you will <i>all</i> die! And know this; my master is here to enjoy your demise. For he does not fear you at all, and knows that you will never be able to find him and kill him! There are seven of us, and only one of us is the real leader! Ha ha ha ha! To be fair about it, we will all tell you our names if you can reach us."
[/message]
[message]
speaker=Dacyn
message= _ "Remember, we have to kill Mal-Ravanal. He’s here somewhere..."
[/message]
{VARIABLE lich_name_0 _"Mal-Hadanak"}
{VARIABLE lich_name_1 _"Mal-Katklagad"}
{VARIABLE lich_name_2 _"Mal-Xaskanat"}
{VARIABLE lich_name_3 _"Mal-Akranbral"}
{VARIABLE lich_name_4 _"Mal-Larakan"}
{VARIABLE lich_name_5 _"Mal-Ravanal"}
[/event]
# The odds of Mal-Ravanal turning up are
# 0%, 4%, 10%, 20%, 40%, 100% for each
# respective lich revealed (assuming he hasn't already).
[event]
name=attack
first_time_only=no
[filter]
side=1
[/filter]
[filter_second]
[filter_wml]
[variables]
random_lich=yes
[/variables]
[/filter_wml]
[/filter_second]
{RANDOM 0..4}
[while]
[variable]
name=lich_name_$random|
equals="used"
[/variable]
[do]
{RANDOM 0..5}
[/do]
[/while]
# According to the WML guide, there is a chance
# (Roughly 1e-81 at best) that we will exit the
# while loop without a lich name. I figured the
# odds were bad enough that it wasn't necessary
# to put in some sort of fallback check here...
{VARIABLE second_unit.name $lich_name_$random||}
{VARIABLE second_unit.variables.random_lich no}
[if]
[variable]
name=lich_name_$random
equals= _ "Mal-Ravanal" # wmllint: ignore
[/variable]
[then]
{VARIABLE second_unit.profile portraits/mal-ravanal.png}
{VARIABLE second_unit.id "Mal-Ravanal"}
[allow_recruit]
side=$second_unit.side
type="Bone Shooter,Revenant,Wraith,Shadow,Nightgaunt,Spectre,Draug,Banebow"
[/allow_recruit]
[gold]
amount=250
side=$second_unit.side
[/gold]
[message]
speaker=Dacyn
message={WHISPER _"There he is!"}
[/message]
[/then]
[else]
[message]
speaker=Dacyn
message={WHISPER _"That isn’t him..."}
[/message]
[/else]
[/if]
[unstore_unit]
variable=second_unit
find_vacant=no
[/unstore_unit]
[message]
speaker=second_unit
message=_"You dare to attack me? Now you will pay!"
[/message]
[gold]
amount=250
side=$second_unit.side
[/gold]
{VARIABLE lich_name_$random| "used"}
[/event]
[event]
name=last breath
[filter]
id=Mal-Ravanal
[/filter]
[message]
speaker=Mal-Ravanal
message= _ "How did you know...?"
[/message]
[endlevel]
result=victory
carryover_report=no
save=no
[/endlevel]
[/event]
# Enemy unit reaches the Weldyn keep
[event]
name=moveto
[filter]
x=24
y=14
[not]
side=1
[/not]
[/filter]
[message]
speaker=unit
message= _ "Kill the king!"
[/message]
[message]
speaker=Gweddry
message= _ "They killed Konrad... now, even if we save Weldyn, Wesnoth has fallen."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
# King gets killed
[event]
name=last breath
[filter]
id=Konrad
[/filter]
[message]
speaker=Konrad
message= _ "The Kingdom of Wesnoth dies with me!"
[/message]
[endlevel]
result=defeat
save=no
[/endlevel]
[/event]
{LATE_DEFEAT}
[/scenario]
|