This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Northern_Rebirth/scenarios/11a_The_Eastern_Flank.cfg is in wesnoth-1.10-nr 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
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
#textdomain wesnoth-nr
[scenario]
    # Basic scenario data, music, turn limit, default time schedule
    id=11a_The_Eastern_Flank
    name= _ "The Eastern Flank"
    map_data="{campaigns/Northern_Rebirth/maps/11a_The_Eastern_Flank.map}"
    {DEFAULT_SCHEDULE}
    {TURNS4 56 53 50 47}
    next_scenario=12a_Get_the_Gold

    {INTRO_AND_SCENARIO_MUSIC "northerners.ogg" "loyalists.ogg"}
    {EXTRA_SCENARIO_MUSIC "battle.ogg"}
    {EXTRA_SCENARIO_MUSIC "frantic.ogg"}

    # Short story introduction
    # wmllint: local spelling Angthurim
    [story]
        [part]
            story= _ "After breaking out of their encirclement, the party continued in pursuit of the trolls."
        [/part]
        [part]
            story= _ "Following the bank of a river, they soon entered a valley. At the mouth of the valley there loomed the massive orcish fortress of Angthurim."
            show_title=yes
            {TO_EASTERN_FLANK}
        [/part]
    [/story]
    # Players side
    [side]
        type=Lieutenant
        id=Tallin
        name=_ "Tallin"
        canrecruit=yes
        side=1
        controller=human
        recruit=Peasant,Woodsman,Thug,Poacher,Spearman,Bowman,Gryphon,Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Ulfserker,Dwarvish Scout,Footpad
        team_name=knalgans
        user_team_name=_"Alliance"
    [/side]

    {STARTING_VILLAGES 1 6}
    # Opposing AIs, trolls, [ai] keys force it to utilise full recall list
    [side]
        type=Troll Warrior
        name= _ "Gore"
        id=Gore
        canrecruit=yes
        side=2
        {GOLD4 500 600 700 800}
        {INCOME4 25 35 45 55}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            recruitment_ignore_bad_movement=yes
            recruitment_ignore_bad_combat=yes
        [/ai]
    [/side]
    # Orcs
    [side]
        type=Orcish Warlord
        id=Carron
        name= _ "Carron"
        canrecruit=yes
        side=3
        recruit=Orcish Grunt,Orcish Warrior,Orcish Archer,Orcish Crossbowman,Wolf Rider,Orcish Assassin
        {GOLD4 400 500 600 700}
        {INCOME4 25 35 45 55}
        team_name=orcs
        user_team_name=_"Orcs"
        {FLAG_VARIANT ragged}
    [/side]

    [side]
        type=Orcish Warlord
        id=Rash
        name= _ "Rash"
        canrecruit=yes
        side=4
        recruit=Orcish Grunt,Orcish Warrior,Orcish Archer,Orcish Crossbowman,Wolf Rider,Orcish Assassin
        {GOLD4 400 500 600 700}
        {INCOME4 25 35 45 55}
        team_name=orcs
        user_team_name=_"Orcs"
        {FLAG_VARIANT ragged}
    [/side]

    [side]
        type=Orcish Warlord
        id="Al'Mar"
        name= _ "Al’Mar"
        canrecruit=yes
        side=5
        recruit=Orcish Grunt,Orcish Warrior,Orcish Archer,Orcish Crossbowman,Wolf Rider,Orcish Assassin
        {GOLD4 400 500 600 700}
        {INCOME4 25 35 45 55}
        team_name=orcs
        user_team_name=_"Orcs"
        {FLAG_VARIANT ragged}
    [/side]

    [side]
        type=Orcish Warlord
        id="Ha'Tang"
        name= _ "Ha’Tang"
        canrecruit=yes
        side=6
        recruit=Orcish Grunt,Orcish Warrior,Orcish Archer,Orcish Crossbowman,Wolf Rider,Orcish Assassin
        {GOLD4 400 500 600 700}
        {INCOME4 25 35 45 55}
        team_name=orcs
        user_team_name=_"Orcs"
        {FLAG_VARIANT ragged}
    [/side]

    # Krash may not actually still be alive at this point, but setting up
    # his side this way is the only way to reliasbly pick up his recall
    # list if he is.
    [side]
        side=7
        type=Drake Burner
        id=Krash
        name= _ "Krash"
        canrecruit=yes
        save_id=Krash
        {GOLD4 300 250 200 150}
        recruit=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
        team_name=knalgans
        user_team_name=_"Alliance"
        controller=human
    [/side]

    # Here’s where we edit out Krash's side if he's dead.
    [event]
        name=prestart

        [if]
            [variable]
                name=Krash_alive
                equals=no
            [/variable]
            [then]
                [kill]
                    side=7
                [/kill]
                [terrain]
                    x=29,29,30,30,30,31,31,31,32,32
                    y=6,7,5,6,7,6,7,8,6,7
                    terrain=Mm
                [/terrain]
                [gold]
                    side=1
                    amount=200
                [/gold]
            [/then]
            [else]
                {CAPTURE_VILLAGES 7 30 3 5}
            [/else]
        [/if]
    [/event]

    # Recall heroes, place some bad guys, do initial dialogue
    [event]
        name=start

        {RECALL_SUPPORTER}
        [recall]
            id=Abhai
        [/recall]
        [recall]
            id=Camerin
        [/recall]
        [recall]
            id=Father Morvin
        [/recall]
        [recall]
            id=Sister Thera
        [/recall]
        [recall]
            id=Elenia
        [/recall]
        [recall]
            id=Eryssa
        [/recall]
        [recall]
            id=Stalrag
        [/recall]
        [recall]
            id="Ro'Arthian"
        [/recall]
        [recall]
            id="Ro'Sothian"
        [/recall]

        [unit]
            type=Orcish Sovereign
            id=Rakshas
            profile=portraits/Rakshas.png
            name= _ "Rakshas"
            x=7
            y=15
            side=2
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 8 14}
        {GENERIC_UNIT 2 "Orcish Warlord" 6 14}
        [message]
            speaker=Tallin
            message= _ "Gods of Light! Look at that fortress. The castle Angthurim is even grimmer than its reputation."
        [/message]
        # Hidel part takes place only if Eryssa is alive
        [if]
            [have_unit]
                id=Eryssa
            [/have_unit]
            [then]
                [message]
                    speaker=Eryssa
                    message= _ "I was not idle in my captivity; I watched, and listened, and learned. The hints I got from my guards’ boastings and foul jests have been confirmed by our scouts; Angthurim is the linchpin of their entire eastern flank. If we could reduce it, their defense would be near to collapse."
                [/message]
                [unit]
                    side=1
                    type=Elvish Marshal
                    id=Hidel
                    name= _ "Hidel"
                    profile=portraits/Hidel.png
                    x=33
                    y=13
                [/unit]
            [/then]
            [else]
                [message]
                    speaker="Ro'Arthian"
                    message= _ "Fitting. My gryphons tell me Angthurim is the keystone of their entire eastern flank. If we can reduce it their defense will be near to collapse."
                [/message]
            [/else]
        [/if]
        [message]
            role=Supporter
            message= _ "Hey, look who is here!"
        [/message]
        [message]
            speaker=Rakshas
            message= _ "Where is my gold?!"
        [/message]
        [message]
            speaker=Tallin
            message= _ "It’s Rakshas!"
        [/message]
        [message]
            speaker=Gore
            message= _ "Right here, Master."
        [/message]
        [message]
            speaker=Rakshas
            message= _ "Ahhhhh, very good, my loyal servant. You will be richly rewarded for this! Tell me, what news do you have on that human vermin that has so persistently evaded my clutches?"
        [/message]
        [message]
            speaker=Gore
            message= _ "We trapped him and his pitiful band of followers. By now they will have been mashed to paste and fed to the whelps."
        [/message]
        [message]
            speaker=Rakshas
            message= _ "Hahahaha! Very g—"
        [/message]
        [message]
            speaker=Tallin
            message= _ "<big>RAKSHAS!!</big>"
        [/message]
        [message]
            speaker=Rakshas
            message= _ "What?! YOU! YOU ANNOYING, DISGUSTING LITTLE VERMIN! DON’T YOU KNOW HOW TO DIE?!"
        [/message]
        [message]
            speaker=Tallin
            message= _ "Foul one, the only one who will be dying here is you and anyone who comes between us. Stand and fight!"
        [/message]
        [message]
            speaker=Rakshas
            message= _ "Bah! I have better things to do then stamp out your insignificant life. Generals, kill him and bring me his head!"
        [/message]
        [kill]
            race=orc
            side=2
            fire_event=no
        [/kill]
        [move_unit_fake]
            type=Orcish Sovereign
            side=2
            x=7,7,7,7,7,7,8,8,8,7,7,8,9,9,9.9,10,10
            y=16,17,18,19,20,21,21,22,23,24,25,25,26,27,28.29,29,30
        [/move_unit_fake]
        [move_unit_fake]
            type=Orcish Warlord
            side=2
            x=7,7,7,7,7,7,8,8,8,7,7,8,9,9,9.9,10,10
            y=16,17,18,19,20,21,21,22,23,24,25,25,26,27,28.29,29,30
        [/move_unit_fake]
        [move_unit_fake]
            type=Orcish Warlord
            side=2
            x=7,7,7,7,7,7,8,8,8,7,7,8,9,9,9.9,10,10
            y=16,17,18,19,20,21,21,22,23,24,25,25,26,27,28.29,29,30
        [/move_unit_fake]
        [if]
            [have_unit]
                id=Eryssa
            [/have_unit]
            [then]
                [message]
                    speaker=Tallin
                    message= _ "Blast it! The coward has fled. Eryssa, your elves are good at moving quickly through the forests. Do you think they can overtake and pin him down while we deal with this fortress?"
                [/message]
                [message]
                    speaker=Eryssa
                    message= _ "Hidel?"
                [/message]
                [message]
                    speaker=Hidel
                    message= _ "Easily, princess. We shall move unseen through the trees, overtake him, and put an end to his flight."
                [/message]
                [message]
                    speaker=Eryssa
                    message= _ "Then do it. I shall stay with Tallin and... um... because he could use my assistance."
                [/message]
                [message]
                    speaker=Tallin
                    message= _ "(<i>Blushes slightly</i>)"
                [/message]
                [message]
                    speaker=Sister Thera
                    message= _ "(<i>Wink wink</i>)"
                [/message]
                [message]
                    speaker=Hidel
                    message= _ "(<i>Raises eyebrow</i>) Very well, princess."
                [/message]
                [kill]
                    id=Hidel
                [/kill]
                [move_unit_fake]
                    type=Elvish Marshal
                    side=1
                    x=32,31,30,29,28,27,26,26,26,26,26,26,25,24,23,23,23,23,23,23,23,23,23
                    y=13,14,14,14,14,15,15,16,17,18,19,20,21,21,22,23,24,25,26,27,28,29,30
                [/move_unit_fake]
                [move_unit_fake]
                    type=Elvish Scout
                    side=1
                    x=32,31,30,29,28,27,26,26,26,26,26,26,25,24,23,23,23,23,23,23,23,23,23
                    y=13,14,14,14,14,15,15,16,17,18,19,20,21,21,22,23,24,25,26,27,28,29,30
                [/move_unit_fake]
                [move_unit_fake]
                    type=Elvish Avenger
                    side=1
                    x=32,31,30,29,28,27,26,26,26,26,26,26,25,24,23,23,23,23,23,23,23,23,23
                    y=13,14,14,14,14,15,15,16,17,18,19,20,21,21,22,23,24,25,26,27,28,29,30
                [/move_unit_fake]
            [/then]
            [else]
                [message]
                    speaker=Tallin
                    message= _ "Blast it. The coward has fled. Quickly men, we must storm this fortress before he can spend that gold."
                [/message]
                [message]
                    speaker=Stalrag
                    message= _ "Aye! Down wi’ the orcs!"
                [/message]
            [/else]
        [/if]

        [message]
            speaker=Tallin
            message= _ "Ro’Arthian, send a message to Hamel. Tell him it’s time."
        [/message]
        [move_unit_fake]
            type=Gryphon
            side=1
            x=32,31
            y=9,1
        [/move_unit_fake]
        [delay]
            time=500
        [/delay]
        [move_unit_fake]
            type=Gryphon
            side=1
            x=31,31,31,31,31,31,31,31,31,32
            y=1,2,3,4,5,6,7,8,9,9
        [/move_unit_fake]
        {GENERIC_UNIT 1 "Gryphon" 32 9}
        [message]
            speaker="Ro'Arthian"
            message= _ "It’s done."
        [/message]
        [message]
            speaker=Tallin
            message= _ "Very well. Forward! Victory or death!"
        [/message]
        [message]
            speaker=Krash
            message= _ "Come on boys, let’s give it to ’em!"
        [/message]

        [objectives]
            #side=0 sets the objectives for all sides.
            side=0
            [objective]
                description= _ "Defeat the enemy leaders"
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Tallin"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Ro’Arthian"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Ro’Sothian"
                condition=lose
            [/objective]

            {TURNS_RUN_OUT}

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

    # Flavour event
    [event]
        name=turn 2

        [message]
            speaker=Gore
            message= _ "Move, you stupid orcs! I am trying to recruit here!"
        [/message]
        [message]
            speaker=Rash
            message= _ "Suit yourself, you dumb troll!"
        [/message]
        [message]
            speaker=Sister Thera
            message= _ "Awww, aren’t they the most loving, sharing bunch of orcs you have ever seen?"
        [/message]
        [message]
            speaker=Eryssa
            message= _ "(<i>Snicker</i>)"
        [/message]
    [/event]

    # Victory event, choose next scenario depending on wheter Eryssa is alive or not.
    [event]
        name=enemies defeated

        [message]
            id=Tallin
            message= _ "We have torn the heart from their eastern defenses."
        [/message]

        [if]
            [have_unit]
                id=Eryssa
            [/have_unit]
            [then]
                [message]
                    speaker=Tallin
                    message= _ "Now let us make haste to rescue Hidel. I am uneasy for him; some of those bodyguards Rakshas keeps are fell fighters."
                [/message]
                [endlevel]
                    result=victory
                [/endlevel]
            [/then]
            [else]
                [message]
                    speaker=Tallin
                    message= _ "Now to settle scores with Rakshas once and for all!"
                [/message]
                [endlevel]
                    result=victory
                    next_scenario=13a_Showdown
                [/endlevel]
            [/else]
        [/if]
    [/event]

    # Load death events
    {campaigns/Northern_Rebirth/utils/herodeaths.cfg}
[/scenario]