This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Legend_of_Wesmere/scenarios/chapter5/21_Elvish_Assassins.cfg is in wesnoth-1.10-low 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
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
#textdomain wesnoth-low
#ifdef MULTIPLAYER
[multiplayer]
    random_start_time=no
#ifndef DEBUG_MODE
    allow_new_game=no
#endif
#else
    [scenario]
#endif

#define HIGH_PRIORITY_TARGETS
    [target]
        # wmllint: recognize Kalenz
        id=Kalenz
        value=200
    [/target]
#enddef

        id=21_Elvish_Assassins
        name= _ "Elvish Assassins"
        experience_modifier=100
        {LOW_MAP  Lintanir.map}
        {LOW_MASK 21_Elvish_Assassins.mask 1 1}

        {TURNS 20 16 12}

        {INTRO_AND_SCENARIO_MUSIC revelation.ogg the_dangerous_symphony.ogg}
        {EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}
        {EXTRA_SCENARIO_MUSIC sad.ogg}

        {DEFAULT_SCHEDULE}

        disallow_recall=yes

        next_scenario=22_Northern_Battle
        [story]
            [part]
                delay=4000
                show_title=yes
                {TO_ELVISH_ASSASSINS}
            [/part]
            [part]
                story= _ "After the council’s decision, Kalenz and Cleodil retired in the North."
                {TO_ELVISH_ASSASSINS_BATTLE}
            [/part]
            [part]
                story= _ "Free of the pressure of war, they took delight in each other. The heart-bond they had formed amidst peril and death grew closer, and all but vanquished the remnant evil Crelanu’s philter had left in Kalenz. The two began to think of having children."
                delay=8000
            [/part]
            [part]
                story= _ "But their peace was not to last. In the outer world, the blood tides were rising. And in the heart of Landar, who had once been their friend, evil was not vanquished, but festered and grew..."
                delay=8000
            [/part]
        [/story]

        [side]
            {KALENZ}
            x=11
            y=18
            team_name=player
            user_team_name= _ "Player"
            extra_recruit=Elvish Fighter, Elvish Archer, Elvish Scout
            {GOLD 160 130 100}
            [unit]
                {CLEODIL}
                extra_recruit=Elvish Shaman, Elvish Scout, Wose
                #wmllint: recognize Cleodil
                placement=leader
            [/unit]
        [/side]
        {STARTING_VILLAGES_ALL 1}

        [event]
            name=prestart

            [recall]
                id=Anduilas
                x=16
                y=18
            [/recall]
        [/event]
        [event]
            name=start
            [scroll_to_unit]
                id=Kalenz
            [/scroll_to_unit]
            [message]
                speaker=narrator
                message= _ "Kalenz begins this scenario in retirement, and is not able to recall his veteran troops."
                image=wesnoth-icon.png
            [/message]
        [/event]

        #### Betrayer's code ####

        [event]
            name=prestart

            [set_variable]
                name=betraying_side
                rand=2..3
            [/set_variable]

            [role]
                side=$betraying_side
                canrecruit=yes
                role=betrayer
            [/role]

            {STORE_UNIT_VAR (role=betrayer) name betrayer}
        [/event]

#define BETRAY_SPEECH
    [message]
        speaker=unit
        message= _ "As you command, my lord."
    [/message]
    [message]
        id=Cleodil
        message= _ "You turn on us? I cannot believe it! How has elf come to strive against elf so bitterly?"
    [/message]
    [message]
        id=Kalenz
        message= _ "Evil takes many forms, my love. Today we see another of its faces... and must defeat it again. Prepare to die, $betrayer|!"
    [/message]
    [message]
        role=betrayer
        message= _ "Only Landar has the will to do what must be done to save the Elves!"
    [/message]

    [modify_side]
        side=$betraying_side
        team_name=assassins
        user_team_name= _ "Enemies"
    [/modify_side]

    [store_unit]
        [filter]
            id=$unit.id
        [/filter]
        variable=to_restore
        kill=yes
        #TODO uncomment when the attribute animate is supported
        #animate=no
    [/store_unit]
    [event]
        name=attack end
        [unstore_unit]
            variable=to_restore
        [/unstore_unit]
        {CLEAR_VARIABLE to_restore}
    [/event]
#enddef

        [event]
            name=attack
            [filter]
                side=$betraying_side
            [/filter]
            [filter_second]
                side=4
                [or]
                    side=5
                [/or]
                #team=assassins
            [/filter_second]

            [message]
                role=betrayer
                message= _ "Hold, $unit.name|! Now we fight for Landar!"
            [/message]

            {BETRAY_SPEECH}
        [/event]

        [event]
            name=attack
            [filter]
                side=4
                [or]
                    side=5
                [/or]
                # team=assassins
            [/filter]
            [filter_second]
                side=$betraying_side
            [/filter_second]

            [message]
                side=$unit.side
                canrecruit=yes
                message= _ "Hold your hand, $unit.name|! $second_unit.name| is on our side!"
            [/message]

            [message]
                role=betrayer
                message= _ "I will not stand by as Kalenz betrays us to the Humans and Dwarves. We follow Landar now!"
            [/message]

            {BETRAY_SPEECH}
        [/event]

        #### /Betrayer's code ####

        [side]
            side=2
            team_name=player
            user_team_name= _ "Player"
            type=Elvish Ranger
            id=Antaril
            name=_ "Antaril"
            canrecruit=yes
            x=5
            y=15
            random_traits=yes
#ifdef EASY
            recruit=Elvish Archer, Elvish Fighter
#endif
#ifdef NORMAL
            recruit=Elvish Archer, Elvish Fighter, Elvish Hero
#endif
#ifdef HARD
            recruit=Elvish Archer, Elvish Fighter, Elvish Hero, Elvish Ranger
#endif
            {GOLD 200 320 350}
            [ai]
#ifndef HARD
                recruitment_pattern=archer,fighter
#else
                recruitment_pattern=archer,fighter,mixed fighter
#endif
                # {HIGH_PRIORITY_TARGETS}
            [/ai]
        [/side]

        [side]
            side=3
            team_name=player
            user_team_name= _ "Player"
            type=Elvish Captain
            id=East
            generate_name=yes
            random_traits=yes
            canrecruit=yes
            x=17
            y=15
#ifdef EASY
            recruit=Elvish Archer, Elvish Fighter
#endif
#ifdef NORMAL
            recruit=Elvish Archer, Elvish Fighter, Elvish Hero
#endif
#ifdef HARD
            recruit=Elvish Archer, Elvish Fighter, Elvish Hero, Elvish Ranger
#endif
            {GOLD 200 320 350}
            [ai]
                # {HIGH_PRIORITY_TARGETS}
                recruitment_ignore_bad_movement=yes
#ifndef HARD
                recruitment_pattern=archer,fighter
#else
                recruitment_pattern=archer,fighter,mixed fighter
#endif
            [/ai]
            {INCOME 4 8 12}
        [/side]

        [side]
            #TODO Crintil shall not die
            side=4
            persistent=yes
            save_id=Crintil
            team_name=assassins
            user_team_name= _ "Enemies"
            type=Elvish Marshal
            id=Crintil
            name= _ "Crintil"
            canrecruit=yes
            x=11
            y=1
            random_traits=yes
#ifdef EASY
            recruit=Elvish Archer, Elvish Fighter
#endif
#ifdef NORMAL
            recruit=Elvish Archer, Elvish Fighter, Elvish Hero
#endif
#ifdef HARD
            recruit=Elvish Archer, Elvish Fighter, Elvish Hero, Elvish Ranger
#endif
            {NO_SCOUTS}
            {INCOME 4 8 12}
            {GOLD 300 400 500}
            [ai]
                {HIGH_PRIORITY_TARGETS}
                recruitment_ignore_bad_movement=yes
#ifndef HARD
                recruitment_pattern=archer, fighter
#else
                recruitment_pattern=archer, fighter, mixed fighter
#endif
            [/ai]
        [/side]

        [side]
            side=5
            team_name=assassins
            user_team_name= _ "Enemies"
            type=Elvish Captain
            canrecruit=yes
            x=10
            y=27
            id=Oblil
            name= _ "Oblil"
            random_traits=yes
#ifdef EASY
            recruit=Elvish Archer, Elvish Fighter
#endif
#ifdef NORMAL
            recruit=Elvish Archer, Elvish Fighter, Elvish Hero
#endif
#ifdef HARD
            recruit=Elvish Archer, Elvish Fighter, Elvish Hero, Elvish Ranger
#endif
            {NO_SCOUTS}
            {INCOME 4 8 12}
            {GOLD 200 250 300}
            [ai]
                {HIGH_PRIORITY_TARGETS}
                recruitment_ignore_bad_movement=yes
#ifndef HARD
                recruitment_pattern=archer, fighter
#else
                recruitment_pattern=archer, fighter, mixed fighter
#endif
            [/ai]
        [/side]
#undef HIGH_PRIORITY_TARGETS

        [event]
            name=prestart
            [objectives]
                side=1
                [objective]
                    description= _ "Kalenz reaches the signpost"
                    condition=win
                [/objective]
                [objective]
                    description= _ "Death of Kalenz"
                    condition=lose
                [/objective]
                [objective]
                    description= _ "Death of Cleodil"
                    condition=lose
                [/objective]

                {TURNS_RUN_OUT}

                [gold_carryover]
                    bonus=yes
                    carryover_percentage=80
                [/gold_carryover]
            [/objectives]
        [/event]

        [event]
            name=start
            [sound]
                name=horse-canter.wav
            [/sound]

            [move_unit_fake]
                type=Elvish Scout
                x=10,11,12,13,14,15
                y=25,24,23,22,21,20
            [/move_unit_fake]

            [unit]
                id=Galenor
                name=_ "Galenor"
                type=Elvish Scout
                side=1
                x=15
                y=20
                facing=sw
            [/unit]

            [message]
                id=Galenor
                message= _ "My lord Kalenz, you are in great danger! You must leave here immediately."
            [/message]
            [message]
                id=Kalenz
                message= _ "What?!"
            [/message]
            [message]
                id=Galenor
                message= _ "Landar has seized control of the army. He has eliminated the council and proclaimed himself High Warlord of the Elves. What is worse, there is word out that he has already ordered your assassination."
            [/message]
            [message]
                id=Crintil
                message= _ "Too late! All traitors will die!"
            [/message]
            [message]
                id=Kalenz
                message= _ "Listen to me! We have fought and bled side by side. We must trust in each other and face the Orcs together!"
            [/message]

            [message]
                id=Oblil
                message= _ "Do not listen to this traitor! You have all heard the order!"
            [/message]

            [message]
                id=Galenor
                message= _ "You should try to reach Uradredia and the North Elves. He too, has refused to join Landar. Word is that some troops still loyal to you are heading there."
            [/message]

            {HIGHLIGHT_IMAGE 1 30 scenery/signpost.png ()}

            [scroll_to_unit]
                id=Kalenz
            [/scroll_to_unit]
        [/event]

        [event]
            name=moveto
            [filter]
                x=1
                y=30
                id=Kalenz
            [/filter]
            [message]
                speaker=unit
                message= _ "Now we must fare swiftly to the North Elves!"
            [/message]
            [endlevel]
                result=victory
                bonus=yes
            [/endlevel]
        [/event]

        {campaigns/Legend_of_Wesmere/utils/deaths.cfg}

#ifndef MULTIPLAYER
    [/scenario]
#else
[/multiplayer]
#endif