This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg is in wesnoth-1.10-tsg 1:1.10.7-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
#textdomain wesnoth-tsg
[scenario]
    id=09a_Vengeance

    name= _ "Vengeance"
    next_scenario=10a_Elf_Epilogue

    {SCENARIO_MUSIC nunc_dimittis.ogg}
    {EXTRA_SCENARIO_MUSIC suspense.ogg}

    map_data="{campaigns/The_South_Guard/maps/09a_Vengeance.map}"

    {MORNING}
    {AFTERNOON}
    {DUSK}
    {FIRST_WATCH}
    {SECOND_WATCH}
    {DAWN}

    turns=-1
    victory_when_enemies_defeated=no

    # The South Guard

    [side]
        side=1
        type=Horseman Commander
        id=Deoran
        name= _ "Deoran"
        unrenamable=yes

        team_name=South_Guard
        user_team_name=_"South Guard"
        controller=human
        {CUSTOM_SG_FLAG}

        {GOLD 125 100 80}
        {INCOME 4 2 0}

        fog=no
        shroud=no

        canrecruit=yes
        recruit=Bowman, Spearman, Cavalryman

        {NAMED_GENERIC_UNIT 1 (Javelineer)        22 12 () (_"Westin Guard")} {GUARDIAN}
        {NAMED_GENERIC_UNIT 1 (Heavy Infantryman) 19 14 () (_"Westin Guard")} {GUARDIAN}
        {NAMED_GENERIC_UNIT 1 (Heavy Infantryman) 17 15 () (_"Westin Guard")} {GUARDIAN}
        {NAMED_GENERIC_UNIT 1 (Heavy Infantryman) 17 17 () (_"Westin Guard")} {GUARDIAN}
        {NAMED_GENERIC_UNIT 1 (Spearman)          16 19 () (_"Westin Guard")} {GUARDIAN}
        {NAMED_GENERIC_UNIT 1 (Spearman)          15 21 () (_"Westin Guard")} {GUARDIAN}
    [/side]

    {STARTING_VILLAGES 1 15}

    # The Enraged Elves

    [side]
        side=2
        type=Elvish Marshal
        id=Ithelden
        name= _ "Ithelden"

        team_name=The_Enraged Elves
        user_team_name=_"Enraged Elves"
        controller=ai

        {GOLD 125 100 80}
        {INCOME 4 2 0}

        canrecruit=no
        [ai]
            passive_leader=yes
            aggression=0.0
            caution=1.0
            [target]
                id=Ethiliel
                value=2.0
            [/target]
        [/ai]
        [ai]
            passive_leader=yes
            time_of_day=dusk,first_watch,second_watch
            aggression=1.0
            caution=0
            grouping=no
        [/ai]
        {FLAG_VARIANT long}
    [/side]

    [event]
        name=prestart

        [disallow_recruit]
            side=1
            type=Elvish Fighter, Elvish Shaman
        [/disallow_recruit]
    [/event]

    [event]
        name=start

        [recall]
            id=Sir Gerrick
        [/recall]
        [remove_unit_overlay]
            id=Sir Gerrick
            image=misc/hero-icon.png
        [/remove_unit_overlay]
        [recall]
            id=Ethiliel
        [/recall]
        [recall]
            id=Minister Hylas
        [/recall]
        [remove_unit_overlay]
            id=Minister Hylas
            image=misc/hero-icon.png
        [/remove_unit_overlay]

        [message]
            speaker=Sir Gerrick
            message= _ "Commander! I took your message to the council, and your deeds have pleased them. Are the undead finally gone from our lands?"
        [/message]
        [message]
            speaker=Deoran
            message= _ "The undead are gone! Perhaps now there will be peace for a time in Westin. You have our thanks Lady Ethiliel."
        [/message]
        [message]
            speaker=Ethiliel
            message= _ "Though the undead are vanquished, they have brought us much sorrow. Deoran, your people have restored their honor. Let us part in peace."
        [/message]
        [message]
            speaker=Deoran
            message= _ "Indeed. Neither the bandits nor the undead will trouble us for some time. We will tend our wounds and you yours."
        [/message]
        [message]
            speaker=narrator
            message= _ "Help!"
            image=wesnoth-icon.png
        [/message]

        [scroll_to_unit]
            id=Ithelden
        [/scroll_to_unit]

        [message]
            speaker=narrator
            message= _ "Help!"
            image=wesnoth-icon.png
        [/message]
        [move_unit_fake]
            type=Peasant
            side=1
            x= 1, 2, 2, 2, 3, 4
            y=11,11,12,13,14, 14
        [/move_unit_fake]
        [unit]
            type=Peasant
            id=Poor Farmer
            name= _ "Poor Farmer"
            side=1
            x=4
            y=14
        [/unit]
        [message]
            speaker=Ithelden
            message= _ "You must pay for killing Mebrin!"
        [/message]
        [message]
            speaker=Poor Farmer
            message= _ "I am just a farmer! What did I do?!"
        [/message]
        [message]
            speaker=Ithelden
            message= _ "What did you do?! Your people kidnapped and murdered our greatest leader! And now you will pay!"
        [/message]
        [color_adjust]
            red=255
            green=0
            blue=0
        [/color_adjust]
        [sound]
            name=human-die-1.ogg
        [/sound]
        [color_adjust]
            red=0
            green=0
            blue=0
        [/color_adjust]
        [kill]
            id=Poor Farmer
            fire_event=no
        [/kill]
        [message]
            speaker=Sir Gerrick
            message= _ "He just killed that innocent farmer! We must stop him!"
        [/message]
        [message]
            speaker=Ethiliel
            message= _ "Stop, Ithelden! I have traveled with these humans, and they are not the ones who harmed Mebrin. They are our allies!"
        [/message]
        [message]
            speaker=Ithelden
            message= _ "You too, Ethiliel? All these humans are the same! They fell trees to till the earth; now they have felled our leader! We cannot brook such deeds! You will die with them!"
        [/message]

        [music]
            name=the_dangerous_symphony.ogg
            immediate=yes
            append=no
        [/music]
        [music]
            name=the_city_falls.ogg
            append=yes
        [/music]
        [music]
            name=vengeful.ogg
            append=yes
        [/music]

        {NAMED_LOYAL_UNIT 2 (Elvish Fighter) 3 17 () (_"Disciple of Mebrin")}
        {NAMED_LOYAL_UNIT 2 (Elvish Fighter) 7 15 ()  (_"Disciple of Mebrin")}
        {NAMED_LOYAL_UNIT 2 (Elvish Druid)   6 19 () (_"Disciple of Mebrin")}
        {NAMED_LOYAL_UNIT 2 (Elvish Ranger)  8 15 () (_"Disciple of Mebrin")}
        {NAMED_LOYAL_UNIT 2 (Elvish Druid)   4 22 () (_"Disciple of Mebrin")}
        {NAMED_LOYAL_UNIT 2 (Elvish Hero)    6 23 () (_"Disciple of Mebrin")}
        {NAMED_LOYAL_UNIT 2 (Elvish Rider)  11 13 () (_"Disciple of Mebrin")}

        [kill]
            id=Ithelden
            animate=no
            fire_event=no
        [/kill]

        [message]
            speaker=Ethiliel
            message= _ "We won’t be able to hold them off for long. I should go reason with them!"
        [/message]
        [message]
            speaker=Deoran
            message= _ "Are you sure that the elves will greet you any more kindly than they have met us? After all, you did lead us into the forests..."
        [/message]
        [message]
            speaker=Ethiliel
            message= _ "Perhaps not, but it is your only hope. I must reach Ithelden!"
        [/message]

        {SET_LABEL 6 15 _"Ithelden’s base"}
        {HIGHLIGHT_IMAGE 6 15 items/gohere.png ()}

        [objectives]
            side=1
            [objective]
                description= _ "Send Ethiliel to the Great Tree and parley with Ithelden"
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Deoran"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Ethiliel"
                condition=lose
            [/objective]
        [/objectives]
    [/event]

    [event]
        name=die
        [filter]
            side=2
        [/filter]
        first_time_only=no

        [set_variable]
            name=how_many_elves
            rand=1..6
        [/set_variable]
        [set_variable]
            name=number_of_elves
            value=1
        [/set_variable]

        [while]
            [variable]
                name=number_of_elves
                less_than=$how_many_elves
            [/variable]
            [do]
                [set_variable]
                    name=unit_type
                    rand=Elvish Fighter,Elvish Archer,Elvish Ranger,Elvish Shaman,Elvish Druid,Elvish Hero,Elvish Marksman,Elvish Rider,Elvish Fighter,Elvish Archer,Elvish Shaman
                [/set_variable]
                [unit]
                    type=$unit_type
                    name= _ "Disciple of Mebrin"
                    side=2
                    x,y=1,12
                [/unit]
                [set_variable]
                    name=number_of_elves
                    add=1
                [/set_variable]
            [/do]
        [/while]

        [message]
            name= _ "Disciple of Mebrin"
            message= _ "For every one of us you strike down, more will rise!"
        [/message]
    [/event]

    [event]
        name=last breath
        [filter]
            id=Deoran
        [/filter]
        [message]
            speaker=unit
            image=portraits/deoran-sad.png
            message= _ "I have failed my kingdom and duty..."
        [/message]
        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    [event]
        name=last breath
        [filter]
            id=Sir Gerrick
        [/filter]
        [message]
            speaker=unit
            message= _ "I have given my all for my kingdom! Avenge me, Deoran!"
        [/message]
    [/event]

    [event]
        name=die

        [filter]
            id=Ethiliel
        [/filter]

        [message]
            speaker=Minister Hylas
            message= _ "Ithelden’s elves have killed Ethiliel! Now we have no chance to come to an agreement with them. A war with the Elves is imminent."
        [/message]
        [message]
            speaker=Deoran
            message= _ "We are far away from Weldyn. We’ll surely all be killed long before any reinforcements arrive."
        [/message]

        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    [event]
        name=moveto

        [filter]
            id=Ethiliel
            x=6
            y=15
        [/filter]

        [endlevel]
            result=victory
            carryover_report=no
            save=no
            linger_mode=no
        [/endlevel]
    [/event]
[/scenario]