summaryrefslogtreecommitdiffstats
path: root/crawl-ref/settings/autopickup_exceptions.txt
blob: bff660c3c665fa638aa382e88e228e1098b4b36b (plain) (blame)
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
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_autopickup = ch_autopickup or function() return true end
function ch_autopickup(it)
    return you.where() ~= "Abyss" and old_ch_autopickup(it)
end
end >

# Excluding amulets as you only need one of each. Also for some rings.
# There is some (intended) overlap with pickup.lua, which also excludes
# the ring of hunger, for example.
ae = amulet of (inaccuracy|gourmand|controlled flight|warding)
ae = amulet of (resist mutation|resist slow|clarity|rage)
ae = ring of (see invisible|levitation|poison resistance|hunger)
ae = ring of (fire|ice|sustenance|invisibility)
ae = ring of (magical power|regeneration)

: if you.god() == "Trog" then
ae = wizardry
ae = staff
: end