/usr/share/games/wesnoth/1.10/data/campaigns/The_Rise_Of_Wesnoth/scenarios/17c_Troll_Hole.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 | #textdomain wesnoth-trow
[scenario]
id=17c_Troll_Hole
name= _ "Troll Hole"
next_scenario=16_The_Kalian
bonus=yes
map_data="{campaigns/The_Rise_Of_Wesnoth/maps/17c_Troll_Hole.map}"
{TURNS 39 36 33}
{UNDERGROUND}
{SCENARIO_MUSIC underground.ogg}
# No story
{TROLL_HOLE_BIGMAP}
{TROW_DEATHS}
[side]
type=Noble Commander
id=Prince Haldric
name= _ "Prince Haldric"
unrenamable=yes
side=1
canrecruit=yes
gold=200
controller=human
shroud=yes
team_name=Haldric
user_team_name=_"Refugees"
{INCOME 8 4 2}
{FLAG_VARIANT loyalist}
[/side]
[side]
type=Troll Warrior
id=Erart
name= _ "Erart"
side=2
canrecruit=yes
{GOLD 80 140 200}
{INCOME 2 4 8}
team_name=Troll
user_team_name=_"Trolls"
recruit=Troll Whelp,Troll,Troll Rocklobber
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter
aggression=0.75
{ATTACK_DEPTH 3 5 5}
[/ai]
[/side]
{STARTING_VILLAGES 2 10}
[side]
type=Troll Warrior
id=Raol
name= _ "Raol"
side=3
canrecruit=yes
{GOLD 80 140 200}
{INCOME 2 4 8}
team_name=Troll
user_team_name=_"Trolls"
recruit=Troll Whelp,Troll,Troll Rocklobber
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter
aggression=0.75
{ATTACK_DEPTH 3 5 5}
[/ai]
[/side]
{STARTING_VILLAGES 3 10}
[side]
type=Troll Warrior
id=Rilg
name= _ "Rilg"
side=4
canrecruit=yes
{GOLD 80 140 200}
{INCOME 2 4 8}
team_name=Troll
user_team_name=_"Trolls"
recruit=Troll Whelp,Troll,Troll Rocklobber
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter
aggression=0.75
{ATTACK_DEPTH 3 5 5}
[/ai]
[/side]
{STARTING_VILLAGES 4 10}
[side]
type=Troll Warrior
id=Gulg
name= _ "Gulg"
side=5
canrecruit=yes
{GOLD 80 140 200}
{INCOME 2 4 8}
team_name=Troll
user_team_name=_"Trolls"
recruit=Troll Whelp,Troll,Troll Rocklobber
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter
aggression=0.75
{ATTACK_DEPTH 3 5 5}
[/ai]
[/side]
{STARTING_VILLAGES 5 10}
#ifdef EASY
{LIMIT_CONTEMPORANEOUS_RECRUITS 2,3,4,5 "Troll" 1}
{LIMIT_CONTEMPORANEOUS_RECRUITS 2,3,4,5 "Troll Rocklobber" 1}
#else
{LIMIT_CONTEMPORANEOUS_RECRUITS 2,3,4,5 "Troll" 2}
{LIMIT_CONTEMPORANEOUS_RECRUITS 2,3,4,5 "Troll Rocklobber" 2}
#endif
{campaigns/The_Rise_Of_Wesnoth/utils/trow-nlmsg.cfg}
[event]
name=prestart
{PLACE_IMAGE (scenery/rubble.png) 3 14}
{PLACE_IMAGE (scenery/rubble.png) 25 19}
{PLACE_IMAGE (scenery/rubble.png) 15 3}
{PLACE_IMAGE (scenery/rubble.png) 17 27}
{LOYAL_UNIT 2 (Tentacle of the Deep) 15 11}
{LOYAL_UNIT 3 (Tentacle of the Deep) 14 19}
#ifdef NORMAL
{LOYAL_UNIT 4 (Tentacle of the Deep) 11 15}
{LOYAL_UNIT 5 (Tentacle of the Deep) 19 17}
#endif
#ifdef HARD
{LOYAL_UNIT 4 (Tentacle of the Deep) 11 15}
{LOYAL_UNIT 5 (Tentacle of the Deep) 19 17}
{LOYAL_UNIT 2 (Tentacle of the Deep) 11 17}
{LOYAL_UNIT 3 (Tentacle of the Deep) 19 15}
#endif
{RANDOM 1..4}
[if]
[variable]
name=random
numerical_equals=1
[/variable]
[then]
[kill]
id=Erart
[/kill]
{GUARD_UNIT (Giant Spider) () ( _ "Fang") 3 5 5}
[kill]
id=Raol
[/kill]
{GUARD_UNIT (Giant Spider) () ( _ "Fang") 2 25 5}
[/then]
[/if]
[if]
[variable]
name=random
numerical_equals=2
[/variable]
[then]
[kill]
id=Raol
[/kill]
{GUARD_UNIT (Giant Spider) () ( _ "Fang") 2 25 5}
[kill]
id=Rilg
[/kill]
{GUARD_UNIT (Giant Spider) () ( _ "Fang") 5 5 25}
[/then]
[/if]
[if]
[variable]
name=random
numerical_equals=3
[/variable]
[then]
[kill]
id=Rilg
[/kill]
{GUARD_UNIT (Giant Spider) () ( _ "Fang") 5 5 25}
[kill]
id=Gulg
[/kill]
{GUARD_UNIT (Giant Spider) () ( _ "Fang") 4 25 25}
[/then]
[/if]
[if]
[variable]
name=random
numerical_equals=4
[/variable]
[then]
[kill]
id=Gulg
[/kill]
{GUARD_UNIT (Giant Spider) () ( _ "Fang") 4 25 25}
[kill]
id=Erart
[/kill]
{GUARD_UNIT (Giant Spider) () ( _ "Fang") 3 5 5}
[/then]
[/if]
[recall]
id=Lady Jessene
x=14
y=15
[/recall]
[recall]
id=Burin the Lost
x=16
y=14
[/recall]
[recall]
id=Minister Edren
x=15
y=16
[/recall]
[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= _ "It isn’t long before Haldric and his companions enter the Brown Hills. An elven guide leads them to a gaping cave mouth, and they descend into the darkness."
image=wesnoth-icon.png
[/message]
[message]
speaker=Prince Haldric
message= _ "Does anybody actually know anything about Trolls?"
[/message]
[message]
speaker=Burin the Lost
message= _ "I indeed do. They are green, and mean, and will try to crush you like a bug. They heal very quickly."
[/message]
[message]
speaker=Lady Jessene
message= _ "Hmm... Do we really need to know that much about the trolls? I think it’s safe to say that the elves wouldn’t have sent us down here if they were at all friendly."
[/message]
[message]
speaker=Prince Haldric
message= _ "Fair enough. Well, let’s get them!"
image=portraits/haldric-mad.png
[/message]
[/event]
[event]
name=time over
[message]
speaker=Prince Haldric
message= _ "We have failed... More of the trolls’ kin are arriving through the entrance."
image=portraits/haldric-surprised.png
[/message]
[/event]
[event]
name=die
[filter]
id=Erart
[/filter]
{LOOT 50 1}
[/event]
[event]
name=die
[filter]
id=Raol
[/filter]
{LOOT 50 1}
[/event]
[event]
name=die
[filter]
id=Rilg
[/filter]
{LOOT 50 1}
[/event]
[event]
name=die
[filter]
id=Gulg
[/filter]
{LOOT 50 1}
[/event]
[event]
name=enemies defeated
[message]
speaker=Prince Haldric
message= _ "The trolls are beaten, but they were no easy opponents. It is no wonder why the elves pressed us to do their dirty work."
[/message]
{VARIABLE_OP num_done add 1}
[set_variable]
name=troll_hole
value=1
[/set_variable]
[set_variable]
name=last_done
value="Hole"
[/set_variable]
{CLEAR_VARIABLE random}
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[/scenario]
|