# hi this is a mess sorry simm # combo = FoFi.war axe # force_more_message += altar.*Okawaru # tile_display_mode = glyphs #: function choose_stat_gain() #: crawl.sendkeys('d ') #: end ae := autopickup_exceptions ai := autoinscribe ignore := runrest_ignore_message item := item_glyph menu := menu_colour more := force_more_message msg := message_colour spell := spell_slot stop := runrest_stop_message msg += mute:Key pressed, stopping explore. ae += potions? of (berserk rage|blood|invisibility|mutation) #ae += scrolls? of (amnesia|brand|enchant|silence|vulnerability) ae += scrolls? of (amnesia|brand|silence|vulnerability) ae += wand of (confusion|digging|disintegration|draining|enslavement) ae += wand of (fireball|flame|frost|invisibility|lightning|magic darts) ae += wand of (paralysis|polymorph|random effects|slowing) ae += ring of (dexterity|fire|flight|ice|intelligence|magical power) ae += ring of (positive energy|protection|stealth|strength) ae += ring of (sustain attributes|sustenance|teleport|wizardry) { 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) } auto_sacrifice = true travel_delay = -1 explore_delay = -1 runrest_ignore_poison = 2:10 show_travel_trail = false skill_focus = false use_animations = pickup_mode = multi auto_eat_chunks = true menu += cyan:potions? of.*(agility|brilliance|might) menu -= cyan:.*misc.*[lL]antern item += potions? of.*(agility|brilliance|might):cyan item += wand:lightgrey item += wand of (heal wounds|hasting|teleportation):yellow item += (corpse|chunk):lightgrey item += inedible.*(corpse|chunk):darkgrey item += mutagenic.*(corpse|chunk):magenta easy_eat_chunks = true auto_butcher = true confirm_butcher = never default_manual_training = true dump_order += vaults hp_colour = 100:green, 75:yellow, 50:red, 25:lightred mp_colour = 100:green, 75:yellow, 50:red, 25:lightred hp_warning = 25 autofight_stop = 35