This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Delfadors_Memoirs/scenarios/06_Swamps_of_Illuven.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
#textdomain wesnoth-dm
[scenario]
    name=_ "The Swamps of Illuven"
    id=06_Swamps_of_Illuven
    next_scenario=07_Night_in_the_Swamp
    {MEMOIRS_MAP 06_The_Swamps_of_Illuven.map}
    #TODO differentiate the difficult levels
    turns=28
    {DEFAULT_SCHEDULE}

    {SCENARIO_MUSIC underground.ogg}    # No story part, so no intro music
    {EXTRA_SCENARIO_MUSIC traveling_minstrels.ogg}
    {EXTRA_SCENARIO_MUSIC revelation.ogg}
    {EXTRA_SCENARIO_MUSIC transience.ogg}

    [story]
        [part]
            delay=4000
            show_title=yes
            {TO_SWAMPS_OF_ILLUVEN}
        [/part]
    [/story]

    [side]
        {YOUNG_DELFADOR}
        profile="portraits/younger_delfador.png"
        type=Journeyman Mage
        canrecruit=yes
        recruit=Mage,Spearman,Horseman,Bowman,Cavalryman,Heavy Infantryman
        team_name=goodies
        user_team_name= _ "Player"
    [/side]
    [event]
        name=prestart

        # wmllint: recognize Lionel
        [recall]
            id=Lionel
        [/recall]
    [/event]
    {STARTING_VILLAGES 1 4}

    [side]
        type=Rogue
        id=Garrath
        name= _ "Garrath"
        side=2
        canrecruit=yes
        recruit=Thief,Poacher,Thug
        team_name=baddies
        user_team_name= _ "Enemies"
        {GOLD 80 100 150}
        [ai]
            villages_per_scout=15
        [/ai]
        {FLAG_VARIANT ragged}
    [/side]
    {STARTING_VILLAGES 2 4}

    [side]
        type=Bandit
        id=Harold
        name=_ "Harold"
        side=3
        canrecruit=yes
        recruit=Footpad,Poacher,Thug
        team_name=baddies
        user_team_name= _ "Enemies"
        {GOLD 80 100 150}
        [ai]
            villages_per_scout=10
        [/ai]
        {FLAG_VARIANT ragged}
    [/side]
    {STARTING_VILLAGES 3 4}

    victory_when_enemies_defeated=no
    {MEMOIRS_VICTORY_POSITION 38 3 yes}

    {MEMOIRS_DEATHS}

    # reward for the player who defeats Garrath without paying him
    [item]
        x=4
        y=3
        image=items/chest.png
    [/item]

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description=_ "Move Delfador to the signpost in the northeast"
                condition=win
            [/objective]
            [objective]
                description=_ "Death of Delfador"
                condition=lose
            [/objective]
            [objective]
                description=_ "Death of Lionel"
                condition=lose
            [/objective]

            {TURNS_RUN_OUT}

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

    [event]
        name=start
        [message]
            speaker=Lionel
            message=_"These are the swamps of Illuven — lesser kin of the Swamp of Dread north of the Great River, but noxious enough in their own fashion. Our way lies west and north across them to the Ford of Abez. The western road around the other edge of the Brown Hills would have been safer, but..."
        [/message]
        [message]
            speaker=Delfador
            message=_"... I insisted on the most direct possible route. I know; let us both hope the choice was not folly. Who made those villages in the swamps? Orcs?"
        [/message]
        [message]
            speaker=Lionel
            message=_"No, men of Wesnoth... but those who dwell here are a lawless lot."
        [/message]

        [store_gold]
            side=1
            variable=fee
        [/store_gold]
        {VARIABLE_OP fee multiply 8}
        {VARIABLE_OP fee divide 10}
        [message]
            speaker=Garrath
            message=_"Greetings, strangers! This swamp is dangerous... You wanna cross it, you’ll need protection — cost you only $fee gold!"
            [option]
                message=_"Thanks very much. Here’s the gold..."
                [command]
                    {VARIABLE_OP fee multiply -1}
                    [gold]
                        side=1
                        amount=$fee
                    [/gold]
                    [set_variable]
                        name=bought_protection
                        value=1
                    [/set_variable]
                    [message]
                        speaker=Garrath
                        message=_"It’s been a pleasure doing business with you... Bye!"
                    [/message]
                    [kill]
                        side=2
                    [/kill]
                    # take his gold too
                    [remove_item]
                        x=4
                        y=3
                    [/remove_item]
                    [redraw]
                    [/redraw]
                    [delay]
                        time=500
                    [/delay]
                    [message]
                        speaker=Delfador
                        message=_"Where did he go?"
                    [/message]
                    [message]
                        speaker=Harold
                        message=_"Haw haw haw! Fools!"
                    [/message]
                    [message]
                        speaker=Lionel
                        message=_"Well, at least we only have to deal with one of them now..."
                    [/message]
                    # give the remaining enemy a boost, for balance
                    [gold]
                        side=3
                        amount=40
                    [/gold]
                [/command]
            [/option]
            [option]
                message=_"No thanks — we’ll manage by ourselves..."
                [command]
                    [message]
                        speaker=Garrath
                        message=_"You’ll regret it!"
                    [/message]
                    [message]
                        speaker=Harold
                        message=_"They certainly will! Haw haw haw!"
                    [/message]

                    [event]
                        name=moveto
                        [filter]
                            x=4
                            y=3
                            side=1
                        [/filter]

                        [sound]
                            name=open-chest.wav
                        [/sound]
                        #TODO add the gold sound effect
                        [gold]
                            side=1
                            amount=100
                        [/gold]
                        [message]
                            speaker=unit
                            message=_"This chest contains all the money that rogue has taken from unwary travelers!"
                        [/message]
                        [remove_item]
                            x=4
                            y=3
                        [/remove_item]
                    [/event]
                [/command]
            [/option]
        [/message]
        {CLEAR_VARIABLE fee}
    [/event]
[/scenario]