/usr/share/games/wesnoth/1.10/data/campaigns/The_Rise_Of_Wesnoth/scenarios/17d_Cursed_Isle.cfg is in wesnoth-1.10-trow 1:1.10.7-2+deb8u1.
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 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 | #textdomain wesnoth-trow
[scenario]
id=17d_Cursed_Isle
name= _ "Cursed Isle"
next_scenario=16_The_Kalian
victory_when_enemies_defeated=no
bonus=yes
map_data="{campaigns/The_Rise_Of_Wesnoth/maps/17d_Cursed_Isle.map}"
{TURNS 37 34 31}
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC loyalists.ogg}
{EXTRA_SCENARIO_MUSIC elvish-theme.ogg}
# No story
{CURSED_ISLE_BIGMAP}
{TROW_DEATHS}
[side]
type=Noble Commander
id=Prince Haldric
name= _ "Prince Haldric"
unrenamable=yes
side=1
canrecruit=yes
gold=200
controller=human
team_name=Haldric
user_team_name=_"Refugees"
fog=yes
{FLAG_VARIANT loyalist}
[/side]
[side]
type=Spectre
id=Isorfilad
name= _ "Isorfilad"
side=2
canrecruit=yes
{GOLD 130 190 250}
{INCOME 2 4 8}
team_name=Undead
user_team_name=_"Undead"
#ifdef EASY
recruit=Ghost,Ghoul,Vampire Bat
#else
recruit=Ghost,Ghoul,Vampire Bat,Shadow,Necrophage
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
aggression=0.40
recruitment_pattern=scout,scout,fighter
{ATTACK_DEPTH 4 5 5}
[/ai]
[ai]
time_of_day=dusk,first_watch,second_watch
aggression=0.75
caution=0.0
[/ai]
[ai]
[protect_location]
x=13
y=16
radius=10
value=10
[/protect_location]
[/ai]
[/side]
{STARTING_VILLAGES 2 12}
[side]
type=Spectre
id=Tinoldor
name= _ "Tinoldor"
side=3
canrecruit=yes
{GOLD 130 190 250}
{INCOME 2 4 8}
team_name=Undead
user_team_name=_"Undead"
#ifdef EASY
recruit=Ghost,Ghoul,Vampire Bat
#else
recruit=Ghost,Ghoul,Vampire Bat,Wraith,Necrophage
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
aggression=0.40
recruitment_pattern=scout,scout,fighter
{ATTACK_DEPTH 4 5 5}
[/ai]
[ai]
time_of_day=dusk,first_watch,second_watch
aggression=0.75
caution=0.0
[/ai]
[ai]
[protect_location]
x=13
y=16
radius=10
value=10
[/protect_location]
[/ai]
[/side]
{STARTING_VILLAGES 3 12}
{campaigns/The_Rise_Of_Wesnoth/utils/trow-nlmsg.cfg}
#define TEMP_LOOT X Y
[event]
name=moveto
[filter]
side=1
x={X}
y={Y}
[/filter]
{LOOT 50 1}
[/event]
#enddef
#define TEMP_QUEEN X Y
[event]
# wmllint: recognize Lady Jessene
name=moveto
[filter]
side=1
x={X}
y={Y}
[/filter]
[message]
speaker=unit
message= _ "She’s... She’s beautiful."
[/message]
{UNDEAD_INTEL (Vampire Lady) "Midnight Queen" _"Midnight Queen" "unit_image" 2 ({X}) ({Y})}
# wmllint: recognize Midnight Queen
{LOYAL_UNIT 3 (Blood Bat) ({X}) ({Y})}
{LOYAL_UNIT 2 (Blood Bat) ({X}) ({Y})}
{LOYAL_UNIT 3 (Blood Bat) ({X}) ({Y})}
#ifdef HARD
{LOYAL_UNIT 2 (Blood Bat) ({X}) ({Y})}
#endif
[message]
speaker=Midnight Queen
message= _ "You will be made to serve... Come admire me. Feel my love."
[/message]
[message]
speaker=Prince Haldric
message= _ "She is so..."
image=portraits/haldric-surprised.png
[/message]
[message]
speaker=Lady Jessene
message= _ "Haldric, think with your brain!"
[/message]
[message]
speaker=Prince Haldric
message= _ "Get her before she ensorcels us all!"
image=portraits/haldric-mad.png
[/message]
[objectives]
side=1
[objective]
description= _ "Defeat the Vampire Queen"
condition=win
[/objective]
[objective]
description= _ "Death of Prince Haldric"
condition=lose
[/objective]
[objective]
description= _ "Death of Lady Jessene"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[set_variable]
name=queen_awake
value=1
[/set_variable]
[/event]
#enddef
#define TEMP_EMPTY X Y
[event]
name=moveto
[filter]
side=1
x={X}
y={Y}
[/filter]
[message]
speaker=unit
message= _ "The temple is quite empty."
[/message]
[/event]
#enddef
[event]
name=prestart
{PLACE_IMAGE (scenery/temple1.png) 11 13}
{PLACE_IMAGE (scenery/temple1.png) 10 17}
{PLACE_IMAGE (scenery/temple1.png) 9 15}
{OBJ_POTION_HOLY 29 24 (holy_water1)}
[set_variable]
name=queen_awake
value=0
[/set_variable]
[recall]
id=Lady Jessene
[/recall]
[recall]
id=Burin the Lost
[/recall]
[recall]
id=Sir Ruddry
[/recall]
[recall]
id=Sir Ladoc
[/recall]
[recall]
id=Minister Edren
[/recall]
{RANDOM 1..3}
[if]
[variable]
name=random
numerical_equals=1
[/variable]
[then]
{TEMP_LOOT 11 13}
#ifdef EASY
{TEMP_LOOT 10 17}
#else
{TEMP_EMPTY 10 17}
#endif
{TEMP_QUEEN 9 15}
[/then]
[/if]
[if]
[variable]
name=random
numerical_equals=2
[/variable]
[then]
{TEMP_LOOT 10 17}
#ifdef EASY
{TEMP_LOOT 9 15}
#else
{TEMP_EMPTY 9 15}
#endif
{TEMP_QUEEN 11 13}
[/then]
[/if]
[if]
[variable]
name=random
numerical_equals=3
[/variable]
[then]
{TEMP_LOOT 9 15}
#ifdef EASY
{TEMP_LOOT 11 13}
#else
{TEMP_EMPTY 11 13}
#endif
{TEMP_QUEEN 10 17}
[/then]
[/if]
{CLEAR_VARIABLE random}
#ifdef EASY
{OBJ_POTION_HOLY 28 26 (holy_water2)}
#endif
[objectives]
side=1
[objective]
description= _ "Defeat all enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Prince Haldric"
condition=lose
[/objective]
[objective]
description= _ "Death of Lady Jessene"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
[message]
speaker=narrator
message= _ "After a short trip by sea, Haldric arrives on the elves’ cursed Isle of Tears. A fog hangs in the air."
image=wesnoth-icon.png
[/message]
[message]
speaker=Burin the Lost
message= _ "I said no more ships. Double-crossing humans! Ahh, I’ve been with you this far. Who’d have thought, a nautical dwarf."
image=portraits/burin-annoyed.png
[/message]
[message]
speaker=Prince Haldric
message= _ "I expect we’ll be facing more undead. Be careful."
[/message]
[message]
speaker=Lady Jessene
message= _ "These will be the long dead. Not like the undead that my people used, and they are elf-dead. Be careful indeed."
[/message]
[message]
speaker=Minister Edren
message= _ "All soldiers of darkness will meet the same fate by my hand."
[/message]
[/event]
[event]
name=victory
[message]
speaker=Prince Haldric
message= _ "Those elves are finally at rest. I hope that the curses they laid upon us hold no weight."
[/message]
[message]
speaker=Lady Jessene
message= _ "Haldric, you’re too paranoid."
[/message]
{VARIABLE_OP num_done add 1}
[set_variable]
name=cursed_isle
value=1
[/set_variable]
[set_variable]
name=last_done
value="Isle"
[/set_variable]
[/event]
[event]
name=last breath
[filter]
id=Isorfilad
[/filter]
[message]
speaker=Isorfilad
message= _ "A curse upon all of your kin that visit this isle."
[/message]
[/event]
[event]
name=last breath
[filter]
id=Tinoldor
[/filter]
[message]
speaker=Tinoldor
message= _ "I wish a blight upon you and yours. May you never see peace."
[/message]
[/event]
[event]
name=last breath
[filter]
id=Midnight Queen
[/filter]
[message]
speaker=Midnight Queen
message= _ "My soul will haunt this place until the end of time! A curse upon you!"
[/message]
[set_variable]
name=queen_awake
value=0
[/set_variable]
[message]
speaker=Prince Haldric
message= _ "Without their queen the undead are simply fading away!"
[/message]
{CLEAR_VARIABLE queen_awake}
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=die
[filter]
race=undead
[/filter]
[filter_second]
id=Minister Edren
[/filter_second]
[message]
speaker=second_unit
message= _ "Back, back to the grave with you!"
[/message]
[/event]
[event]
name=enemies defeated
[if]
[variable]
name=queen_awake
numerical_equals=1
[/variable]
[then]
[message]
speaker=Lady Jessene
message= _ "We still have to defeat that vampire queen!"
[/message]
[objectives]
side=1
[objective]
description= _ "Defeat the Vampire Queen"
condition=win
[/objective]
[objective]
description= _ "Death of Prince Haldric"
condition=lose
[/objective]
[objective]
description= _ "Death of Lady Jessene"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/then]
[else]
{CLEAR_VARIABLE queen_awake}
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/else]
[/if]
[/event]
[event]
name=time over
[message]
speaker=Prince Haldric
message= _ "No! The ship that was supposed to pick us up sees that there’s still fighting. It’s not stopping. We’re trapped."
image=portraits/haldric-surprised.png
[/message]
[/event]
[/scenario]
|