This file is indexed.

/usr/share/crawl/settings/autopickup_exceptions.txt is in crawl-common 2:0.10.3-3.

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
ae := autopickup_exceptions

#### inclusions ###

# curare is always dangerous on the floor
ae = <curare-tipped

### exclusions ###

# Don't autopickup in the Abyss
< do
local old_ch_deny_autopickup = ch_deny_autopickup or function() return false end
--function ch_deny_autopickup(it)
--    return you.where() == "Abyss" or old_ch_deny_autopickup(it)
--end
end >

# Exclude items useless in general (?paper, bad potions unless you know
# Evaporate) or for your current character (such as inedible food or
# armour you can't wear).
ae = useless_item

# Exclude potentially useful items of high risk, like ?torment or
# !mutation.
ae = dangerous_item

# Exclude items which your god disapproves of.
ae = evil_item

# Excluding amulets as you only need one of each. (If you know the
# subtype that means you already have one of it.) Also for some rings.
# Some items may already be excluded as bad_item, e.g. inaccuracy.
ae = amulet of (inaccuracy|the gourmand|controlled flight|warding)
ae = amulet of (resist .*|clarity|rage|conservation|guardian spirit|faith|stasis)
# Rings of teleportation are not redundant -- double *TELE is pretty good in
# the Abyss.  Still, they're more in line with bone lanterns, so you can
# pick up the second one by hand.
ae = ring of (see invisible|levitation|poison resistance|teleportation)
ae = ring of (invisibility|teleport control)
: if you.race() ~= "Ogre" and you.race() ~= "Troll"
:    and you.race() ~= "Centaur" and you.race() ~= "Octopode" then
ae = ring of sustenance
: end