This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Delfadors_Memoirs/scenarios/07_Night_in_the_Swamp.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
#textdomain wesnoth-dm
[scenario]
    name=_ "Night in the Swamp"
    id=07_Night_in_the_Swamp
    next_scenario=08_Ur-Thorodor
    {MEMOIRS_MAP 07_Night_in_the_Swamp.map}
    turns=13

    {DUSK}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {DAWN}
    {MORNING}

    {SCENARIO_MUSIC underground.ogg}	# No story part, so no intro music
    {EXTRA_SCENARIO_MUSIC frantic.ogg}
    {EXTRA_SCENARIO_MUSIC vengeful.ogg}
    {EXTRA_SCENARIO_MUSIC siege_of_laurelmor.ogg}

    [story]
        [part]
            delay=4000
            show_title=yes
            {TO_SWAMP_FORTRESS}
        [/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=player
        {FLAG_VARIANT loyalist}
    [/side]

    [side]
        side=2
        no_leader=yes
        team_name=foe
        {FLAG_VARIANT undead}
    [/side]

    victory_when_enemies_defeated=no

    {MEMOIRS_DEATHS}

#ifdef EASY
    {MEMOIRS_GENERATOR_SKELETON 18 3 12}
#endif

#ifdef NORMAL
    {MEMOIRS_GENERATOR_SKELETON 7 5 12}
    {MEMOIRS_GENERATOR_SKELETON 11 19 12}
#endif

#ifdef HARD
    {MEMOIRS_GENERATOR_SKELETON 18 3 12}
    {MEMOIRS_GENERATOR_SKELETON 11 19 12}
#endif HARD

    {MEMOIRS_GENERATOR}

    # if the player manages to destroy all generators...
    # an unlikely outcome unless we are on EASY
    [event]
        name=new turn
        first_time_only=no
        [if]
            [have_unit]
                side=2
            [/have_unit]
            [else]
                [message]
                    speaker=Delfador
                    message=_"I think that’s all of them! Let’s move on — the less time we spend in this swamp the better."
                [/message]
                [endlevel]
                    result=victory
                    bonus=yes
                [/endlevel]
            [/else]
        [/if]
    [/event]

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description=_ "Survive until daybreak."
                condition=win
                show_turn_counter=yes
            [/objective]
            [objective]
                description=_ "Death of Delfador"
                condition=lose
            [/objective]
            [objective]
                description=_ "Death of Lionel"
                condition=lose
            [/objective]

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

    [event]
        name=start
        # wmllint: recognize Lionel
        [recall]
            id=Lionel
        [/recall]
        [message]
            speaker=Delfador
            message=_"These swamps seem to go on forever!"
        [/message]
        [message]
            speaker=Lionel
            message=_"One more day’s travel, I think. We should camp for the night now — we should be out of it by tomorrow evening."
        [/message]
    [/event]

    [event]
        name=new turn
        [message]
            speaker=Delfador
            message=_"Those standing stones — they summon evil creatures!"
        [/message]
        [message]
            speaker=Lionel
            message=_"I saw this kind of thing in the north... These abominations are not much affected by swords, but they fear the light of day. We must hold them off as best we can."
        [/message]
        [message]
            speaker=Delfador
            message=_"Hmmm... if I could get nearer to the stones, I could perhaps break their power..."
        [/message]
    [/event]

    # encourage the player who takes the hint about "swords"
    [event]
        name=attack
        [filter]
            type=Iron Mauler,Shock Trooper,Heavy Infantry,Heavy Infantryman
        [/filter]
        [filter_second]
            type=Skeleton,Skeleton Archer
        [/filter_second]
        [message]
            speaker=unit
            message=_"This’ll splinter your bones, you vile monstrosity!"
        [/message]
    [/event]

    [event]
        name=time over
        [if]
            [have_unit]
                side=2
            [/have_unit]
            [then]
                [message]
                    speaker=Delfador
                    message=_"At least, morning is here... And the skeletons are disappearing!"
                [/message]
                [kill]
                    side=2
                [/kill]
                [redraw]
                [/redraw]
            [/then]
            [else]
                [message]
                    speaker=Delfador
                    message=_"At last, morning is here!"
                [/message]
            [/else]
        [/if]
        [message]
            speaker=Lionel
            message=_"I hope I never see another night like that! Let’s leave this evil place as quickly as possible — I want to get us out of Illuven before dusk."
        [/message]
        [endlevel]
            result=victory
            bonus=no
        [/endlevel]
    [/event]
[/scenario]