This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Legend_of_Wesmere/scenarios/chapter2/06_Acquaintance_in_Need.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
#textdomain wesnoth-low
#ifdef MULTIPLAYER
[multiplayer]
    random_start_time=no
#ifndef DEBUG_MODE
    allow_new_game=no
#endif

#ifdef HARD
    id=06_Acquaintance_in_Need_HARD
    next_scenario=07_Elves_Last_Stand_HARD
#endif
#ifdef EASY
    id=06_Acquaintance_in_Need_EASY
    next_scenario=07_Elves_Last_Stand_EASY
#endif
#ifdef NORMAL
    id=06_Acquaintance_in_Need_NORMAL
    next_scenario=07_Elves_Last_Stand_NORMAL
#endif

#else
    [scenario]
        id=06_Acquaintance_in_Need
        next_scenario=07_Elves_Last_Stand
#endif

        experience_modifier=100
        name= _ "Acquaintance in Need"
        {LOW_MAP 06_Acquaintance_in_Need.map}
        {TURNS 35 30 25}

        {DEFAULT_SCHEDULE}

        {INTRO_AND_SCENARIO_MUSIC frantic.ogg wanderer.ogg}
        {EXTRA_SCENARIO_MUSIC knalgan_theme.ogg}
        {EXTRA_SCENARIO_MUSIC legends_of_the_north.ogg}
        {EXTRA_SCENARIO_MUSIC northerners.ogg}

        #        {LOW_PRESTART}

        [story]
            [part]
                show_title=yes
                story= _ "To evade the saurians blocking the eastern approaches to Wesmere, Kalenz and his war-band moved to enter Wesmere Forest from a different direction..."
                delay=4000
                {TO_ACQUAINTANCE_IN_NEED}
            [/part]
        [/story]

#define PLAYER_GOLD
    {GOLD 350 300 250}
#enddef
#define MULTIPLAYER_GOLD
    {GOLD 115 100 85}
#enddef

        #### Kalenz's code ####
        [side]
            {KALENZ}
            extra_recruit=Elvish Fighter, Elvish Archer, Elvish Scout
            fog=no
            # wmllint: recognize Kalenz
#ifndef MULTIPLAYER
            {PLAYER_GOLD}
            [unit]
                {LANDAR}
                extra_recruit=Elvish Fighter, Elvish Archer, Elvish Scout
                #placement=leader
                x=22
                y=39
                # wmllint: recognize Landar
            [/unit]
            [unit]
                {CLEODIL}
                extra_recruit=Elvish Shaman, Elvish Scout, Wose
                x=14
                y=39
                #placement=leader
                # wmllint: recognize Cleodil
            [/unit]
#else
            {MULTIPLAYER_GOLD}
#endif
        [/side]
        [event]
            name=prestart
            {RECALL_LOYALS}
        [/event]
        #### /Kalenz's code ####

        #### Olurf's code ####
        [side]
            {OLURF}
            # wmllint: recognize Olurf
            side=2
            allow_player=no
            controller=ai
            save_id=Olurf
            persistent=yes
            canrecruit=yes
            {GOLD 120 160 200}
            {INCOME 4 8 12}
            team_name=player
            user_team_name= _ "Player"
            {FLAG_VARIANT knalgan}
            extra_recruit=Dwarvish Fighter, Dwarvish Thunderer, Dwarvish Scout, Dwarvish Guardsman
            {ai/aliases/stable_singleplayer.cfg}
            [ai]
                {AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
                {AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter,fighter,mixed fighter"}
            [/ai]
        [/side]
        #### /Olurf's code ####

        [side]
            side=3

            allow_player=no
            controller=ai
            type=Orcish Warlord
            id=Urug-Tar
            name=_ "Urug-Tar"
            canrecruit=yes
            {GOLD 150 230 270}
            {INCOME 4 8 12}
            team_name=orcs
            user_team_name= _ "Enemies"
            {ORC_SETUP}
#ifdef EASY
            recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Pillager, Goblin Knight
#endif
#ifdef NORMAL
            recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Pillager, Goblin Knight, Orcish Slayer
#endif
#ifdef HARD
            recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Pillager, Goblin Knight, Orcish Slayer, Orcish Warrior
#endif
            {ai/aliases/stable_singleplayer.cfg}
            [ai]
                {AI_NO_SCOUTS}
                {AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
                {AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter, archer, scout, fighter, fighter, archer, mixed fighter"}
                {AI_SIMPLE_ALWAYS_ASPECT grouping offensive}
                {AI_SIMPLE_ALWAYS_ASPECT aggression 0.75}
            [/ai]
        [/side]

        [side]
            side=4
            allow_player=no
            controller=ai
            type=Orcish Warlord
            id=Graur-Tan
            name=_ "Graur-Tan"
            canrecruit=yes
            {GOLD 150 270 300}
            {INCOME 4 8 12}
            team_name=orcs
            user_team_name= _ "Enemies"
            {ORC_SETUP}
#ifdef EASY
            recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Knight, Goblin Pillager
#endif
#ifdef NORMAL
            recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Knight, Goblin Pillager, Orcish Slayer
#endif
#ifdef HARD
            recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Knight, Goblin Pillager, Orcish Slayer, Orcish Warrior
#endif
            {ai/aliases/stable_singleplayer.cfg}
            [ai]
                {AI_NO_SCOUTS}
                {AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
                {AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout,fighter,fighter,archer,mixed fighter"}
            [/ai]
        [/side]

        [side]
            side=5
            allow_player=no
            controller=ai
            type=Troll Warrior
            id=Traur
            name=_ "Traur"
            canrecruit=yes
#ifdef EASY
            recruit=Troll Whelp
#endif
#ifdef NORMAL
            recruit=Troll Whelp, Troll
#endif
#ifdef HARD
            recruit=Troll Whelp, Troll, Troll Warrior
#endif
            {INCOME 4 8 12}
            {GOLD 152 175 210}
            team_name=orcs
            user_team_name= _ "Enemies"
            {TROLL_SETUP}
            {ai/aliases/stable_singleplayer.cfg}
            [ai]
                {AI_NO_SCOUTS}
                {AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
                {AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter"}
            [/ai]
        [/side]

#ifdef MULTIPLAYER
        [side]
            side=6
            fog=no
            shroud=no
            {MULTIPLAYER_GOLD}
            recruit=Elvish Fighter, Elvish Archer, Elvish Scout
            {LANDAR}
            # wmllint: recognize Landar
        [/side]
        [side]
            side=7
            fog=no
            shroud=no
            {MULTIPLAYER_GOLD}
            recruit=Elvish Shaman, Wose, Elvish Scout
            {CLEODIL}
            # wmllint: recognize Landar
        [/side]
#endif

        [event]
            name=prestart
            {RECALL_LOYALS}
        [/event]

        [event]
            name=prestart

            [objectives]
                side=0
                [objective]
                    description= _ "Defeat enemy leaders"
                    condition=win
                [/objective]
                [objective]
                    description= _ "Death of Kalenz"
                    condition=lose
                [/objective]
                [objective]
                    description= _ "Death of Landar"
                    condition=lose
                [/objective]
                [objective]
                    description= _ "Death of Olurf"
                    condition=lose
                [/objective]
                [objective]
                    description= _ "Death of Cleodil"
                    condition=lose
                [/objective]

                {TURNS_RUN_OUT}

                [gold_carryover]
                    bonus=yes
                    carryover_percentage=80
                [/gold_carryover]
                #TODO add to note#note= _ "Try to save leveled dwarf units"
            [/objectives]
        [/event]

        [event]
            name=start

            [message]
                id=Kalenz
                message= _ "What’s this? It appears the orcs have surrounded a dwarvish enclave. And by the sound of the bellowing I hear, I think our old friend, Olurf, is here."
            [/message]
            [message]
                id=Olurf
                message= _ "You again? Maybe ye were not completely wrong when ye predicted the orcs would attack us. We ha’ been forced from our home and are now surrounded."
            [/message]
            [message]
                id=Cleodil
                message= _ "Let us give them aid — it’s clear they need it!"
            [/message]
            [message]
                id=Landar
                message= _ "Help them? They would not even let us pass through their land to avoid the trolls. You remember, Kalenz?"
            [/message]
            [message]
                id=Kalenz
                message= _ "Our enemy is the orcs, not the dwarves. Besides, the orcs are in our way. Olurf, we cannot let you have all the fun here!"
            [/message]
            [message]
                id=Olurf
                message= _ "For an elf, you think like a dwarf! I think I like you! " + {WHISPER _"whisper^—For an elf..."}
            [/message]

            {AI_CONTROLLER_ALLOW_LEADER_CONTROL 1 2}
        [/event]

        [event]
            name=victory
            [message]
                id=Olurf
                message= _ "The orcs ha’ been defeated. My lord, we are in your debt."
            [/message]
            [message]
                id=Kalenz
                message= _ "We must put aside our differences and ally against the orcish menace. Olurf, join us!"
            [/message]
            [message]
                id=Olurf
                message= _ "Dwarves, ally with elves? I owe ye a debt, but my kin willna’ be happy at the thought."
            [/message]
            [message]
                id=Kalenz
                message= _ "There will be a big fight with the orcs in Wesmere very soon. If you can cover our flank to the north, I will pay you 400 gold."
            [/message]
            [message]
                id=Olurf
                message= _ "A proper contract for good money? That’s a different matter; I’m sure I can find some o’ my people willing to fight on those terms!"
            [/message]
            [message]
                id=Landar
                message= _ "What? Kalenz, are you out of your mind? Surely you will not throw away 400 gold on this scheming mercenary!"
            [/message]
            [message]
                id=Olurf
                message= _ "Where there’s a contract, our honor is involved. We will be there to cover your northern flank or else I will return your gold!"
            [/message]
            [message]
                id=Cleodil
                message=_ "I sense no falsity behind his speech, my lord."
            [/message]
            [message]
                id=Kalenz
                message= _ "I, too, believe him. Dwarves may be... rough... by our standards, but they are not liars. I think he knows that if he does not honor his contract, next time we will not be there to come to his aid."
            [/message]

#ifdef MULTIPLAYER
            [gold]
                side=1
                amount=-200
            [/gold]
            [gold]
                side=6
                amount=-200
            [/gold]
#else
            [gold]
                side=1
                amount=-400
            [/gold]
#endif
            [sound]
                name=gold.ogg
            [/sound]
        [/event]

        {campaigns/Legend_of_Wesmere/utils/deaths.cfg}

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

#undef PLAYER_GOLD
#undef MULTIPLAYER_GOLD