This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Eastern_Invasion/scenarios/02_The_Escape_Tunnel.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
#textdomain wesnoth-ei
[scenario]
    id=02_The_Escape_Tunnel
    name= _ "The Escape Tunnel"
    next_scenario=03_An_Unexpected_Appearance
    victory_when_enemies_defeated=no
    map_data="{campaigns/Eastern_Invasion/maps/02_The_Escape_Tunnel.map}"
    {TURNS 26 24 22}
    {UNDERGROUND}

    {INTRO_AND_SCENARIO_MUSIC the_city_falls.ogg underground.ogg}
    {EXTRA_SCENARIO_MUSIC frantic.ogg}
    {EXTRA_SCENARIO_MUSIC revelation.ogg}

    {campaigns/Eastern_Invasion/utils/deaths.cfg}

    [side]
        type=Lieutenant
        id=Gweddry
        name= _ "Gweddry"
        side=1
        canrecruit=yes
        controller=human
        shroud=yes
        team_name=good
        user_team_name=_"Wesnothians"
        {GOLD 200 150 100}
        {FLAG_VARIANT loyalist}
    [/side]

    [side]
        type=Troll
        id=Kabak
        name= _ "Kabak"
        side=2
        canrecruit=yes
        controller=ai
        recruit=Troll Whelp
        {GOLD 60 70 80}
        team_name=monster
        user_team_name=_"Monsters"
    [/side]

    [side]
        type=Dwarvish Steelclad
        id=Knutan
        name= _ "Knutan"
        side=3
        canrecruit=yes
        controller=ai
        recruit=Dwarvish Fighter,Dwarvish Thunderer
        {GOLD 70 60 50}
        team_name=good
        user_team_name=_"Wesnothians"
        [ai]
            grouping=no
            [target]
                side=2
                value=100
            [/target]
            [target]
                side=4
                value=1
            [/target]
        [/ai]
        {FLAG_VARIANT knalgan}
    [/side]

    [side]
        type=Dark Sorcerer
        id=Mal-Bakral
        name= _ "Mal-Bakral"
        side=4
        canrecruit=yes
        controller=ai
        recruit=Vampire Bat,Ghost
        {GOLD 150 200 250}
        team_name=undead
        user_team_name=_"Undead"
        {FLAG_VARIANT undead}
        [ai]
            {NO_SCOUTS}
        [/ai]
        {FLAG_VARIANT undead}
    [/side]

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description= _ "Gweddry reaches the end of the tunnel"
                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]

    #beginning talking
    [event]
        name=start
        [recall]
            id=Dacyn
        [/recall]
        [message]
            speaker=Gweddry
            message= _ "Where are we? I can’t see where we are going."
        [/message]
        [message]
            speaker=Dacyn
            message= _ "I do not know. There are trolls in here, which may try to fight us. Now hurry, we have to move quickly with those liches still behind us."
        [/message]
        [message]
            speaker=Gweddry
            message= _ "Wait, before we go anywhere — who were those undead?"
        [/message]
        [message]
            speaker=Dacyn
            message= _ "It doesn’t matter. They are much too powerful for us; our only hope is to get away, far away. Perhaps we should go north, and meet with Owaec."
        [/message]
        [unit]
            type=Troll Whelp
            x,y=32,10
            side=2
        [/unit]
    [/event]

    #the signpost
    [item]
        x=29
        y=10
        image=scenery/signpost.png
    [/item]

    [event]
        name=moveto
        [filter]
            x=29
            y=10
            side=1
        [/filter]
        [message]
            speaker=unit
            image=scenery/signpost.png
            message= _ "TROL TREZZUR HOLE: KEEP OWT"    # wmllint: no spellcheck
        [/message]
        [allow_undo]
        [/allow_undo]
    [/event]

    #find the dwarves
    [event]
        name=sighted,moveto
        [filter]
            side=3
            [filter_vision]
                viewing_side=1
            [/filter_vision]
        [/filter]
        [message]
            speaker=unit
            message= _ "Who goes there?"
        [/message]
        [message]
            speaker=Gweddry
            message= _ "We are soldiers of the king of Wesnoth. Will you help us escape these trolls?"
        [/message]
        [message]
            speaker=unit
            message= _ "Aye, we’ll help ye, for we have nae love for the trolls. Anyone attacked by them deserves some help, I think."
        [/message]
        [if]
            [variable]
                name=undead
                equals=yes
            [/variable]
            [then]
                [message]
                    speaker=Dacyn
                    message= _ "Thank you. Now, I invite you to join us. Undead have followed us into these caves, and they will kill you if you stay behind."
                [/message]
            [/then]
            [else]
                [message]
                    speaker=Dacyn
                    message= _ "Thank you. Now, I invite you to join us. Undead are in these lands, and they will find these caves."
                [/message]
            [/else]
        [/if]
        [message]
            speaker=unit
            message= _ "My clan ha’ lived in these caves for centuries. We’ll no’ be scattered now by a few undead."
        [/message]
        [message]
            speaker=Dacyn
            message= _ "Very well. The best of luck in your battle."
        [/message]
    [/event]

    {PICKUPPABLE_ITEM holy_amulet 12 2 side=1 items/ankh-necklace.png
    _"Wearing this amulet will cause every blow you deal to inflict <i>arcane</i> damage!"
    _"holy amulet^Take it"
    _"holy amulet^Leave it"
    _"I am not suited to using this item! Let another take it." (
        [object]
            name= _ "Holy Amulet"
            image=items/ankh-necklace.png
            duration=forever

            [effect]
                apply_to=attack
                range=melee
                set_type=arcane
            [/effect]
            [effect]
                apply_to=attack
                range=ranged
                set_type=arcane
            [/effect]
        [/object]
    )}

    #treasure chest
    [item]
        x=35
        y=8
        image=items/chest.png
    [/item]

    [event]
        name=moveto
        [filter]
            x=35
            y=8
            side=1
        [/filter]
        [sound]
            name=gold.ogg
        [/sound]
        [message]
            speaker=unit
            message= _ "There is a great fortune in this chest of treasure! I can count two hundred pieces of gold."
        [/message]
        [gold]
            side=1
            amount=200
        [/gold]
        [remove_item]
            x,y=$x1,$y1
        [/remove_item]
    [/event]

    #Mal-Bakral arrives
    [event]
        name=turn 6
        [set_variable]
            name=undead
            value=yes
        [/set_variable]
        [terrain]
            x=2,3,4,2
            y=4,4,4,5
            terrain=Uu^Ii
        [/terrain]
        [unit]
            type=Revenant
            side=4
            x=2
            y=5
        [/unit]
        [unit]
            type=Revenant
            side=4
            x=4
            y=5
        [/unit]
        [unit]
            type=Revenant
            side=4
            x=2
            y=4
            ai_special=guardian
        [/unit]
        [unit]
            type=Revenant
            side=4
            x=4
            y=4
            ai_special=guardian
        [/unit]

#ifdef HARD
        [unit]
            type=Bone Shooter
            side=4
            x=3
            y=5
        [/unit]
        [unit]
            type=Bone Shooter
            side=4
            x=3
            y=4
            ai_special=guardian
        [/unit]

#endif
        [remove_shroud]
            side=1
            x,y=3,3
        [/remove_shroud]
        [teleport]
            [filter]
                id=Mal-Bakral
            [/filter]
            x,y=3,3
        [/teleport]
        [message]
            speaker=Mal-Bakral
            message= _ "We have found you, fleshbag! Prepare to die!"
        [/message]
        [message]
            speaker=Dacyn
            message= _ "They follow us... we must get out of this tunnel. It looks like it is leading east. That is unfortunate, for it will take us further from Weldyn. But it is our only option."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            x=39
            y=6
            id=Gweddry
        [/filter]
        [message]
            speaker=Gweddry
            message= _ "We have reached the end of the tunnel. I see daylight above us!"
        [/message]
        [clear_variable]
            name=undead
        [/clear_variable]
        [endlevel]
            result=victory
            bonus=yes
            {NEW_GOLD_CARRYOVER 40}
        [/endlevel]
    [/event]

    {EARLY_DEFEAT}
[/scenario]