This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Delfadors_Memoirs/scenarios/17_A_New_Ally.cfg is in wesnoth-1.10-dm 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
#textdomain wesnoth-dm
[scenario]
    name=_ "A New Ally"
    id=17_A_New_Ally
    next_scenario=18_The_Portal_of_Doom
    {MEMOIRS_MAP 17_A_New_Ally.map}
    turns=32
    {DEFAULT_SCHEDULE}

    # This scenario makes a reference to HttT: Relgorn is a young
    # dwarf now, but the dwarf leader in HttT's Plunging into the darkness
    # scenario - where he says he met Delf when he was young. In
    # addition history is that both elves and dwarves bought Wesnoth time
    # We could have had a Weldyn siege, but Turin already has done this
    # once in EI...

    {INTRO_AND_SCENARIO_MUSIC wanderer.ogg knalgan_theme.ogg}
    {EXTRA_SCENARIO_MUSIC legends_of_the_north.ogg}
    {EXTRA_SCENARIO_MUSIC the_dangerous_symphony.ogg}

    [story]
        [part]
            story= _ "Delfador took a small escort to the north in order to attempt to close the portal. But with Iliah-Malal’s army at large north of the Great River, this was a perilous road. Delfador was constrained to avoid well-trodden paths. This meant a detour..."
            show_title=yes
            {TO_A_NEW_ALLY}
        [/part]
    [/story]
    # wmllint: recognize Delfador
    [side]
        {YOUNG_DELFADOR}
        profile="portraits/young_delfador.png"
        type=Journeyman Mage
        canrecruit=yes
        team_name=player
        recruit={LOYALISTS}
    [/side]
    [event]
        name=prestart

        {RESTORE_WESNOTHIAN_VETERANS}

        # wmllint: recognize Relgorn
        {NAMED_UNIT 2 (Dwarvish Fighter) 5 10  "Relgorn" (_"Relgorn") (ai_special=guardian)}
        {MAKE_HERO Relgorn}
        {NAMED_UNIT 2 (Dwarvish Fighter) 9 7 "Udrin" (_"Udrin") (ai_special=guardian)}
    [/event]

    [side]
        side=2
        {ULREK}
        type=Dwarvish Lord

        controller=ai
        canrecruit=yes
        recruit={DWARVES}

        [ai]
            aggression=0.0
        [/ai]
        {GOLD 150 100 130}
        income=8
        team_name=player
        {FLAG_VARIANT knalgan}
    [/side]
    [side]
        type=Necromancer
        id=Gruv-Malal
        name=_ "Gruv-Malal"
        side=3
        canrecruit=yes
        controller=ai
#ifdef EASY
        recruit=Skeleton, Skeleton Archer, Vampire Bat
#endif

#ifdef NORMAL
        recruit=Skeleton, Revenant, Skeleton Archer, Bone Shooter
#endif

#ifdef HARD
        recruit=Skeleton, Skeleton Archer, Revenant, Draug, Banebow, Bone Shooter, Deathblade
#endif
        [ai]
            aggression=0.0

            #TODO remove or uncomment or tune

            #recruitment_pattern=scout, mixed fighter, archer
            # there are a lot of close villages
            #villages_per_scout=6

            # attack Delfador more heavily than Leollyn
            #leader_value=2.0
            #[target]
            #    id=Delfador
            #    value=3.0
            #[/target]
        [/ai]
        {GOLD 200 200 300}
        team_name=foe
        {FLAG_VARIANT undead}
    [/side]

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description=_ "Defeat Gruv-Malal"
                condition=win
            [/objective]
            [objective]
                description=_ "Death of Delfador"
                condition=lose
            [/objective]
            [objective]
                description=_ "Death of Ulrek"
                condition=lose
            [/objective]
            [objective]
                description=_ "Death of Relgorn"
                condition=lose
            [/objective]

            {TURNS_RUN_OUT}

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

    #############################
    # opening dialog
    #############################
    [event]
        name=start
        [message]
            speaker=Gruv-Malal
            message=_"Attack, my loyal soldiers; the more we slay, the more troops for our master!"
        [/message]
        [message]
            speaker=Ulrek
            message=_"Keep fighting them sacks o’ bones."
        [/message]
        [message]
            speaker=Relgorn
            message=_"Ulrek, more enemies approach from the south... Wait, these are humans!"
        [/message]
        [message]
            speaker=Delfador
            message=_"Dwarves, attacked by undead. We must help them."
        [/message]
        [message]
            speaker=Gruv-Malal
            message=_"Then your corpses will also serve my master."
        [/message]
        [message]
            speaker=Delfador
            message=_"Your master’s days are numbered. Yours will end this day!"
        [/message]
    [/event]

    [event]
        name=last breath
        [filter_second]
            id=Delfador
        [/filter_second]

        [scroll_to_unit]
            id=Delfador
        [/scroll_to_unit]

        {DELFADOR_LIGHTNING}

        [message]
            speaker=Delfador
            message=_"I am Delfador. And you are dust!"
        [/message]
    [/event]

    [event]
        name=die
        [filter]
            id=Gruv-Malal
        [/filter]
        [message]
            speaker=Delfador
            message=_"Now we shall rid Wesnoth of the rest of your unholy spawn!"
        [/message]
        [message]
            speaker=Ulrek
            message=_"We are in your debt."
        [/message]
    [/event]

    #############################
    # closing dialog
    #############################
    [event]
        name=victory
        [message]
            speaker=Ulrek
            message=_"Human, ye ha’ fought well. I am Ulrek, chieftain o’ the clan of Norlund. My house is in yer debt today. But who are ye and what do ye do in these lands?"
        [/message]

        [message]
            speaker=Delfador
            message=_"I am Delfador. Friends, a great evil has been unleashed. A portal has been opened to the land of the dead near the northernmost extent of these hills, nearly under the eaves of Lintanir Forest. I must close it, or else we are all doomed."
        [/message]
        [message]
            speaker=Ulrek
            message=_"We ha’ seen those undead walking, aye, and fought them too. And no one will ever say my kin ha’ been ungrateful for yer help. I will place my best warriors at yer service. Relgorn, my son, ye will lead the women and children to Knalga. They will be safe there among the rest of my kin. But can ye really close that thing?"
        [/message]
        [message]
            speaker=Relgorn
            message=_"Father, did ye not see these thunderbolts! This was awesome. Even our thundersticks do not strike so powerfully!"
        [/message]
        [message]
            speaker=Delfador
            message=_"My friends, I am in your debt for your kind offer. But we have no time to waste!"
        [/message]
        [message]
            speaker=Ulrek
            message=_"Delfador, the surface path to the north ye’d need to have ta’en, along the Listra, is too dangerous. That valley is swarming with orcs now. We’ll take ye by a safer route, through tunnels under these hills."
        [/message]

        {DWARVES_FOLLOW_DELFADOR}
    [/event]

    ###############################################
    # defeat player if Ulrek or Relgorn is killed #
    ###############################################
    #wmllint: recognize Ulrek
    [event]
        name=die
        [filter]
            id=Ulrek
            side=3
            type=Dwarvish Lord
        [/filter]
        [message]
            speaker=Delfador
            message=_"With their leader slain we cannot count on dwarvish help to reach Iliah-Malal’s portal! All is lost!"
        [/message]
        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    [event]
        name=die
        [filter]
            id=Relgorn
        [/filter]
        [message]
            speaker=Ulrek
            message=_"Relgorn fell! Quickly, run for yer lives!"
        [/message]
        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    {MEMOIRS_DEATHS}
[/scenario]