#species += Deep Elf #background += conjurer #weapon += mace restart_after_game = true default_manual_training = true autopickup = $?!+"/%| #autopickup_exceptions = xc or xc < 0 then return true end end end add_autopickup_func(autopickup) } { local function armour_plus(it) local plus = string.gsub(it.name(), '+', '', 1) local s, _ = string.gsub(plus, '[^-%d]', '') return tonumber(s) end local function autopickup(it, name) if it.is_useless then return end local class = it.class(true) if class ~= 'armour' then return end st, _ = it.subtype() local good_slots = {cloak='Cloak', helmet='Helmet', gloves='Gloves', boots='Boots'} local cur if good_slots[st] ~= nil then if it.branded or it.artifact then return true end cur = items.equipped_at(good_slots[st]) if not cur then return true end if cur.branded or cur.artefact then return end elseif st == 'body' then cur = items.equipped_at('armour') if not (cur and cur.name('qual') == it.name('qual')) then return end if it.branded then return true end if cur.branded or cur.artefact then return end else return end if cur then local xi = armour_plus(it) local xc = armour_plus(cur) if xi and xi > xc or xc < 0 then return true end end end add_autopickup_func(autopickup) } autofight_stop =75 show_more = false explore_greedy = true auto_switch = true auto_butcher = true easy_eat_chunks = true auto_eat_chunks = true