This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Northern_Rebirth/scenarios/01_Breaking_the_Chains.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
#textdomain wesnoth-nr

[scenario]
    id=01_Breaking_the_Chains
    name= _ "Breaking the Chains"

    # We want this to be both intro and scenario music
    {SCENARIO_MUSIC "breaking_the_chains.ogg"}
    {EXTRA_SCENARIO_MUSIC "northerners.ogg"}
    {EXTRA_SCENARIO_MUSIC "the_city_falls.ogg"}

    # wmllint: directory spelling Khazg
    [story]
        [part]
            story= _ "Far to the north of Wesnoth, and hard by the dwarven caves of Knalga, there was once a thriving mixed community known as Dwarven Doors. Food, wood, and cloth from all over Wesnoth and many elvish lands as well were brought here to be sold to the dwarves, while ores, metals and worked dwarven manufactures were bought here to be traded throughout the surface nations. Dwarves and humans worked and lived side by side; even the elves who came to trade mingled more with the other kindred races than was common elsewhere. Dwarven Doors grew populous and wealthy."
        [/part]
        [part]
            story= _ "The dwarves of Knalga, cannily reckoning the gains from trade, built strong fortifications around Dwarven Doors. The people who called it home, dwarven and human alike, knew that the wealth of their city might arouse envy from afar — hence they kept their weapons sharp, and reckoned themselves well able to fight off any bandit gang or petty warlord that could arise in the thinly-settled northlands."
        [/part]
        [part]
            story= _ "For many years it was indeed so. Dwarven Doors was a peaceful and prosperous place. Until the orcs came..."
        [/part]
        [part]
            story= _ "The raids were mere probes, at first, and the orcs mere rabble. But they grew more numerous, and threatening, and the raiding parties became war-bands and then companies. Then there arose a great warlord among the Bloody Sword tribe, the chieftain called Khazg Black-Tusk; and he raised an army, and besieged Dwarven Doors."
        [/part]
        [part]
            # wmllint: local spelling unthreatened
            story= _ "It was a time of doom and great deeds, of fire and blood and slaughter. The men and dwarves of the city fought valiantly. But there were always, it seemed, more orcs to replace the slain, while the defenders could find no succor. Pleas for help went unheeded in other lands, for they were far away and felt unthreatened by the orcs, and were wrapped up in their own affairs and struggles."
        [/part]
        [part]
            story= _ "After a year and a day of grim battle the city fell. Its streets ran with gore. The dwarves were pushed back into the caverns of Knalga, while the humans of Dwarven Doors who survived the sack were enslaved by the orcs. Cut off from contact with the surface, the dwarves of Knalga fought on, but knew their utter subjugation could not be averted forever."
        [/part]
        [part]
            story= _ "Dark years passed; human generations grew up in slavery, and came near to forgetting that their ancestors had been free — and might have completely forgotten were it not for a fateful day in 518YW. That day that changed the lives of the people of Dwarven Doors — forever."
        [/part]
        [part]
            # wmllint: local spelling dispiritedly
            story= _ "It was an early spring day like any other; the humans — joyless beneath the orcish whip — were dispiritedly planting the yearly crop. All at once, the war-drums of the orcs began pounding; harsh war-cries sounded as orcs mustered to gather their weapons and man their posts. Startled, the peasants looked around in alarm, and that was when they saw him."
        [/part]
        [part]
            story= _ "He came charging out of the woods, his cape streaming in the breeze, his sword flashing quicker than thought, and all around him, the hated orcs fell. To his right fought an elderly mage whose deep voice boomed incantations over the clamor of the battle while the very earth shook with the power of his spells. To his left, glowing with faerie fire, was a great lord of the elves. They were followed closely and supported by a small but powerful elvish army."
        [/part]
        [part]
            #po: tyrant -> Queen Asheviere from Heir to the Throne.
            story= _ "Word quickly spread among the humans that this hero was none other than Prince Konrad of Wesnoth, faring to the ruins of Knalga to retrieve the Sceptre of Fire and use it to save his homeland from the rule of a tyrant, and they stood, rooted to their places in awe."
        [/part]
        [part]
            story= _ "As quickly as it had begun, it was over. Konrad reached the entrance to the tunnels and ushered his men through. Then he turned one last time to face the peasants. Raising his sword in salute and farewell, he called out to them: <i>“Hold fast your hope, for one day you shall be free!”</i> Then he was gone."
        [/part]
        [part]
            story= _ "After that day, nothing could be the same. Hope rose in their hearts like a flame long-smothered but rekindled. The brightest and boldest of them began to plan and to train in secret. And the orcish masters, grown stupid from their own arrogance, did not see."
        [/part]
        [part]
            # wmllint: local spelling weaponsmith
            story= _ "There was one among these peasants named Tallin. He had been a little child, barely out of his mother’s arms, when Konrad broke the Orcish host. But he never forgot that day. His father was a weaponsmith, his family used less brutally than most because the orcish masters put more value on that craft. In secret, his mother even taught him letters. As the boy grew to young manhood, he could touch blades, and dream. And he did."
        [/part]
        [part]
            story= _ "Then one day Al’Tar, the current ‘master’ of Dwarven Doors, was attacked by a neighboring tribe of orcs. Tallin seized his moment. Using knowledge born of years of watching, listening and planning, he managed to steal a few weapons and a small amount of Al’Tar’s gold. He fled to an abandoned ruin in the forest to rally his fellow peasants."
        [/part]
        [part]
            show_title=yes
            {TO_BREAKING_THE_CHAINS}
        [/part]
    [/story]

    # Load map, set scenario length, time scheudle and point to next
    # scenario. Note TURNS4 macro used due to four difficulty levels
    # and DEFAULT_SCHEDULE that loads standard Wesnoth ToD schedule.
    map_data="{campaigns/Northern_Rebirth/maps/01_Breaking_the_Chains.map}"
    {TURNS4 51 41 31 26}
    {DEFAULT_SCHEDULE}
    next_scenario=02_Infested_Caves

    # Define player’s side. Recruits only peasants and woodsmen.
    [side]
        type=Peasant
        id=Tallin
        name= _ "Tallin"
        profile=portraits/Tallin.png
        [modifications]
            {TRAIT_FEARLESS}
            {TRAIT_INTELLIGENT}
            {TRAIT_RESILIENT}
        [/modifications]
        canrecruit=yes
        side=1
        controller=human
        {GOLD4 130 100 75 60}
        recruit=Peasant,Woodsman
        {FLAG_VARIANT ragged}
        [unit]
            type=Peasant
            id=Zlex
            name= _ "Zlex"
            side=1
            x=10
            y=7
            [modifications]
                {TRAIT_LOYAL}
                {TRAIT_RESILIENT}
            [/modifications]
            {IS_LOYAL}
            role=Supporter
        [/unit]
    [/side]

    {STARTING_VILLAGES 1 6}

    # First of the orcish opponents, recruits simple L1 mix with no trolls
    [side]
        type=Orcish Warlord
        id="Al'Tar"
        name= _ "Al’Tar"
        canrecruit=yes
        side=2
        recruit=Orcish Grunt,Orcish Archer,Wolf Rider
        {GOLD4 150 175 200 225}
        [ai]
            village_value=0.75	# Weakened desire to capture villages
            caution=0.50	# Wants to survive the duel
            [target]
                side=3
                value=3.0
            [/target]
            [target]
                side=1
                value=1.0
            [/target]
        [/ai]
    [/side]

    {STARTING_VILLAGES 2 7}

    # Second orcish opponent, the same recruit options as side 2
    [side]
        type=Orcish Warrior
        id=Garrugch
        name= _ "Garrugch"
        canrecruit=yes
        side=3
        recruit=Orcish Grunt,Orcish Archer,Wolf Rider
        {GOLD4 150 175 200 225}
        [ai]
            leader=5		# Strong desire to kill Al'Tar
            village_value=0.75	# Weakened desire to capture villages
            caution=0.50	# Wants to survive the duel
            [target]
                side=2
                value=3.0
            [/target]
            [target]
                side=1
                value=1.0
            [/target]
        [/ai]
    [/side]

    {STARTING_VILLAGES 3 6}

    # Empty side to accomodate cave trolls
    [side]
        side=4
        no_leader=yes
    [/side]

    # Prestart event, set objectives.
    [event]
        name=prestart

        # {SCATTER_IMAGE (terrain=Gs^Fp) 12 scenery/pine2.png}

        {PLACE_IMAGE scenery/dwarven-doors-closed.png 32 4}

        # Override Tallin's team color so he has a distinctive purple shirt.
        {TEAM_COLOR_OVERRIDE id=Tallin purple}

        [objectives]
            side=1
            [objective]
                description= _ "Defeat enemy leaders"
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Tallin"
                condition=lose
            [/objective]

            {TURNS_RUN_OUT}

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

    [event]
        name=start
        [message]
            speaker=Tallin
            message= _ "The orcs have gotten careless — look how easily I stole these weapons and this bright gold from them. Now they’re killing each other. This might be the only chance we got to get rid of this scum once and for all. Let’s give it to ’em!"
        [/message]
        [message]
            speaker=Zlex
            message= _ "Brave words, Tallin, but moon-touched crazy ones. You have weapons for fewer than a dozen men. None of us has any armor, or any training. What are the rest of us going to fight them with, pitchforks?!"
        [/message]
        [message]
            speaker=Tallin
            message= _ "There’s nothing wrong with pitchforks, I’ll give these orcish weapons to any man among you who wants to take ’em and fight with a pitchfork myself. We easily outnumber the orcs, not to speak of the fact that they are killing each other."
        [/message]
        [message]
            speaker=Zlex
            message= _ "But their wolves run faster than we can walk, and their swords are sharper than our farm tools."
        [/message]
        [message]
            speaker=Tallin
            message= _ "We must use our strength of numbers. Stay shoulder-to shoulder with the man next to you; never get isolated, especially not on open ground. Swarm them — surround them, five or six to one, and they will go down."
        [/message]
        [message]
            speaker=Zlex
            message= _ "But still, Tallin, this is going to be a slaughter."
        [/message]
        [message]
            speaker=Tallin
            message= _ "(<i>Sigh</i>) Yes, well I know it. But would you rather live as slaves to the orcs forever?"
        [/message]
        [message]
            speaker=Zlex
            message= _ "Never! I would rather die!"
        [/message]
        [message]
            speaker=Tallin
            message= _ "Then it’s time to fight!"
        [/message]
        [message]
            speaker="Al'Tar"
            message= _ "You clod of dung! How dare you step onto my land!"
        [/message]
        [message]
            speaker=Garrugch
            message= _ "You puny weakling, this land now belongs to my master! Surrender now and he might let you be his slave."
        [/message]
        [message]
            speaker="Al'Tar"
            # wmllint: local spelling Pah
            message= _ "Pah! Grunts, attack! Whoever brings me the head of Garrugch will get five villages!"
        [/message]
    [/event]

    # Flavour event. On first player attack against the wardens (side
    # 2) perform a dialogue.
    [event]
        name=attack
        [filter]
            side=1
        [/filter]
        [filter_second]
            side=2
        [/filter_second]

        [message]
            speaker=second_unit
            message= _ "Ack! These bloody slaves are always getting in the way. Let’s give them a beating!"
        [/message]
        [message]
            speaker=Garrugch
            message= _ "Haha! Look boys, that weakling Al’Tar can’t even keep his slaves under control."
        [/message]
    [/event]

    # Spawn trolls from the caves, 4 whelps and one normal.
    # -- SUGGESTION : make it in less tomato-in-the face like,
    # ATM if triggered at wrong moment it can completely wreck your chances
    [event]
        name=moveto
        [filter]
            side=1
            x=32
            y=4
        [/filter]

        [message]
            speaker=unit
            message= _ "This is one of the entrances to the dwarven caves."
        [/message]
        [message]
            speaker=unit
            # wmllint: local spelling Aaaaah
            message= _ "Aaaaah! Trolls! The caves are infested with trolls!"
        [/message]
        {NOTRAIT_UNIT 4 "Troll Whelp" 31 4}
        {NOTRAIT_UNIT 4 "Troll Whelp" 33 4}
        {NOTRAIT_UNIT 4 "Troll Whelp" 33 5}
        {NOTRAIT_UNIT 4 "Troll Whelp" 32 5}
        {NOTRAIT_UNIT 4 "Troll" 32 3}
    [/event]

    # Victory event when both warlords died.
    [event]
        name=victory
        [message]
            speaker=Tallin
            message= _ "<i>Yes</i>! We did it! We are free!"
        [/message]
        [move_unit_fake]
            type=Orcish Grunt
            side=3
            x=35,34,33
            y=16,16,16
        [/move_unit_fake]
        [unit]
            type=Orcish Grunt
            name= _ "Khrulg"
            id=Khrulg
            side=3
            x=33
            y=16
        [/unit]
        [message]
            speaker="Khrulg"
            message= _ "Garrugch failed in mission, but Al’tar dead by peasant slaves. Better tell the Master."
        [/message]
        [message]
            speaker="Khrulg"
            message= _ "Master needs more meat for wolves. Peasants good meat."
        [/message]
        [kill]
            id="Khrulg"
        [/kill]
        [move_unit_fake]
            type=Orcish Grunt
            side=3
            x=33,34,35
            y=16,16,16
        [/move_unit_fake]
    [/event]

    # Death events

    # Death of Tallin. Equals defeat.
    [event]
        name=last breath
        [filter]
            id=Tallin
        [/filter]
        [message]
            speaker=Tallin
            message= _ "I die now, you orcish scum, but I die free! More will come after me. We will rise again and again until we work a fitting vengeance on you!"
        [/message]
    [/event]
    [event]
        name=die
        [filter]
            id=Tallin
        [/filter]
        [message]
            speaker="Al'Tar"
            message= _ "Pah! Grunts, put the rest of those peasant rabble back in chains."
        [/message]
        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    # Death of side 2 leader. Flavour event.
    [event]
        name=last breath
        [filter]
            id="Al'Tar"
        [/filter]
        [message]
            speaker=unit
            message= _ "What the...? (<i>Gurgle</i>) Hey! Look... a slave... uprising!"
        [/message]
        [message]
            speaker=second_unit
            message= _ "(<i>Stab</i>)"
        [/message]
        [message]
            speaker=unit
            message= _ "Ugh!"
        [/message]
    [/event]
    [event]
        name=die
        [filter]
            id="Al'Tar"
        [/filter]
        [message]
            speaker=second_unit
            message= _ "Not a very bright one, was he?"
        [/message]
    [/event]

    # Death of side 3 leader. Flavour event.
    [event]
        name=last breath
        [filter]
            id=Garrugch
        [/filter]
        [message]
            speaker=unit
            message= _ "No! I have failed in my mission!"
        [/message]
    [/event]
    [event]
        name=die
        [filter]
            id=Garrugch
        [/filter]
        [message]
            speaker=second_unit
            message= _ "Mission? What mission?"
        [/message]
    [/event]
[/scenario]