This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Delfadors_Memoirs/utils/items.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
#textdomain wesnoth-dm
#define MEMOIRS_ITEM_WELL X Y
    [item]
        x={X}
        y={Y}
        image=scenery/well.png
    [/item]

    [event]
        name=moveto
        [filter]
            x={X}
            y={Y}
        [/filter]
        [message]
            speaker=unit
            message=_"Ahh... I can slake my thirst at this well. Glug, glug glug..."	# wmllint: no spellcheck
        [/message]
    [/event]
#enddef

#define MEMOIRS_ITEM_STAFF X Y
    [item]
        x={X}
        y={Y}
        image=items/staff-magic.png
    [/item]

    [event]
        name=moveto
        [filter]
            id=Delfador
            x={X}
            y={Y}
        [/filter]
        [remove_item]
            x={X}
            y={Y}
        [/remove_item]
        [object]
            id=staff_lightning
            name=_ "Staff of Lightning"
            image=items/staff-magic.png
            duration=forever
            description=_"A wizard’s staff of power. This allows the bearer to summon powerful lightning bolts which strike their enemies, even at close range."
            cannot_use_message=_"Only a powerful mage can wield this."

            [effect]
                apply_to=attack
                range=melee
                set_description=_"staff of power"
                increase_damage=4
                [set_specials]
                    {WEAPON_SPECIAL_MAGICAL}
                [/set_specials]
            [/effect]

            [effect]
                apply_to=remove_attacks
                name=missile
            [/effect]

            [effect]
                apply_to=remove_attacks
                name=fireball
            [/effect]

            [effect]
                apply_to=new_attack
                name="lightning"
                description=_"lightning"
                icon=attacks/lightning.png
                type=fire
                range=ranged
                [specials]
                    {WEAPON_SPECIAL_MAGICAL}
                [/specials]
                damage=16
                number=4
            [/effect]

            {LIGHTNING_ANIMATION "lightning" 1}
            {LIGHTNING_ANIMATION "lightning" 2}
            {LIGHTNING_ANIMATION "lightning" 3}
        [/object]
        [set_variable]
            name=delf_has_staff
            value=true
        [/set_variable]
    [/event]
#enddef