/usr/share/games/wesnoth/1.10/data/campaigns/Eastern_Invasion/scenarios/07a_The_Crossing.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 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 | #textdomain wesnoth-ei
[scenario]
id=07a_The_Crossing
name= _ "The Crossing"
map_data="{campaigns/Eastern_Invasion/maps/07a_The_Crossing.map}"
turns=24
next_scenario=08_Training_the_Ogres
{DEFAULT_SCHEDULE}
{INTRO_AND_SCENARIO_MUSIC northerners.ogg the_dangerous_symphony.ogg}
{EXTRA_SCENARIO_MUSIC siege_of_laurelmor.ogg}
{EXTRA_SCENARIO_MUSIC the_city_falls.ogg}
{campaigns/Eastern_Invasion/utils/deaths.cfg}
[story]
[part]
show_title=yes
{TO_THE_CROSSING}
[/part]
[/story]
[side]
type=Lieutenant
id=Gweddry
name= _ "Gweddry"
side=1
canrecruit=yes
controller=human
team_name=wesnothians
user_team_name=_"Wesnothians"
{GOLD 200 150 100}
{FLAG_VARIANT loyalist}
[/side]
[side]
type=Revenant
id=Garnad
name= _ "Garnad"
side=2
canrecruit=yes
controller=ai
recruit=Skeleton,Vampire Bat
[ai]
recruitment_pattern=fighter,scout
{NO_SCOUTS}
[/ai]
team_name=undead
user_team_name=_"Undead"
{GOLD 100 150 200}
{FLAG_VARIANT undead}
[/side]
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Vampire Bat" 3}
[side]
type=Orcish Warlord
id=Draka-Kura
name= _ "Draka-Kura"
side=3
canrecruit=yes
controller=ai
recruit=Wolf Rider,Orcish Grunt,Orcish Archer
team_name=evil
user_team_name=_"Evil"
{GOLD 150 200 250}
{FLAG_VARIANT ragged}
[/side]
[side]
type=Ogre
id=Grug
name= _ "Grug"
side=4
canrecruit=yes
facing=sw
controller=ai
recruit=Young Ogre
team_name=monster
user_team_name=_"Monsters"
{GOLD 150 130 100}
[ai]
[target]
side=3
value=100
recruitment_pattern=fighter
[/target]
{NO_SCOUTS}
[/ai]
[/side]
[event]
name=prestart
# {SCATTER_IMAGE (terrain=Gg) 4 scenery/oak-leaning.png}
[objectives]
side=1
[objective]
description= _ "Get Gweddry and Owaec across the river"
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]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
[recall]
id=Dacyn
[/recall]
[recall]
id=Owaec
[/recall]
[message]
speaker=Gweddry
message= _ "We have come to the Great River. What should we do? Should we attempt to cross it?"
[/message]
[message]
speaker=Dacyn
message= _ "We must cross this river. The undead are chasing us, and their hordes are much too great for us to defeat. Reinforcements for the undead will arrive soon. We must be across the river before that happens."
[/message]
[message]
speaker=Owaec
message= _ "Across this river lies the Northlands. If we can get there, we may be able to get some ogres to help us — but the orcs will definitely attack us before that happens."
[/message]
[message]
speaker=Grug
message= _ "Grug say we no help you! We finish must battle orc with!"
[/message]
[message]
speaker=Draka-Kura
message= _ "Was that comprehensible to anyone? Silence, foolish ogre. I will deal with you later. Right now there are men trying to cross this river."
[/message]
[message]
speaker=Grug
message= _ "Orc foolish! Die you now!"
[/message]
[message]
speaker=Dacyn
message= _ "If we show ourselves as enemies of the orcs, they may aid us. But I think we should cross the river before trying to convince these ogres to help."
[/message]
[/event]
#define REVENANT X Y
[unit]
type=Revenant
side=2
x={X}
y={Y}
[/unit]
#enddef
#define BONESHOOTER X Y
[unit]
type=Bone Shooter
side=2
x={X}
y={Y}
[/unit]
#enddef
[event]
name=turn 8
{REVENANT 24 31}
{REVENANT 26 31}
{BONESHOOTER 24 30}
#ifdef HARD
{BONESHOOTER 26 30}
#endif
[unit]
type=Lich
id=Mal-Hakralan
name= _ "Mal-Hakralan"
side=2
canrecruit=yes
x=25
y=31
[/unit]
[message]
speaker=Dacyn
message= _ "The undead reinforcements have arrived! We must cross the river immediately!"
[/message]
#ifdef EASY
[gold]
side=2
amount=500
[/gold]
#else
#ifdef NORMAL
[gold]
side=2
amount=600
[/gold]
#else
[gold]
side=2
amount=750
[/gold]
#endif
#endif
[allow_recruit]
side=2
type=Revenant,Bone Shooter
[/allow_recruit]
[/event]
[event]
name=moveto
[filter]
y=1-12
[not]
terrain=W*
[/not]
[and]
id=Gweddry
[or]
id=Owaec
[/or]
[/and]
[/filter]
[message]
speaker=unit
message= _ "Hurry up. We must get across before these undead slaughter us!"
[/message]
[allow_undo]
[/allow_undo]
[/event]
#event where you win if you get to the other side
[event]
name=moveto
first_time_only=no
[filter]
[filter_location]
y=1-12
[not]
terrain=W*
[/not]
[/filter_location]
[and]
id=Gweddry
[or]
id=Owaec
[/or]
[/and]
[/filter]
[if]
[have_unit]
id=Gweddry
[filter_location]
y=1-12
[not]
terrain=W*
[/not]
[/filter_location]
[/have_unit]
[have_unit]
id=Owaec
[filter_location]
y=1-12
[not]
terrain=W*
[/not]
[/filter_location]
[/have_unit]
[then]
[message]
speaker=Dacyn
message= _ "Good! We have crossed. Now let’s see if we can get the ogres to join us. They have been convinced to work for the Crown in the past; maybe it can be done again."
[/message]
[if]
[have_unit]
id=Grug
[/have_unit]
[then]
[message]
speaker=Grug
message= _ "Grug say join you will he."
[/message]
#bring grug to your side
[store_unit]
[filter]
id=Grug
[/filter]
variable=grug
kill=yes
[/store_unit]
[unit]
side=1
x,y=$grug.x,$grug.y
type=Ogre
id=Grug
name= _ "Grug"
hitpoints=$grug.hitpoints
experience=$grug.experience
moves=$grug.moves
random_traits=no
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
[/unit]
{CLEAR_VARIABLE grug}
#give you two free ogres
[unit]
name= _ "Gork"
side=1
type=Ogre
x,y=1,1
random_traits=yes
upkeep=full
[/unit]
[unit]
name= _ "Drog"
side=1
type=Ogre
x,y=1,1
random_traits=yes
upkeep=full
[/unit]
[allow_recruit]
side=1
type=Young Ogre
[/allow_recruit]
[message]
speaker=narrator
message= _ "You may now recruit ogres!"
image=wesnoth-icon.png
[/message]
{VARIABLE have_ogres yes}
[endlevel]
result=victory
next_scenario=09_Xenophobia
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[else]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/else]
[/if]
[/then]
[else]
[allow_undo]
[/allow_undo]
[/else]
[/if]
[/event]
{WESNOTH_DEFEAT}
[/scenario]
|