# TEAMCAPTAIN grumposus always_show_gems = true more_gem_info = true default_manual_training = true autofight_stop = 80 auto_butcher = true auto_eat_chunks = true show_more = false --autopickup = $?!:"/%}|\[] ae := autopickup_exceptions ae += >robe, animal skin, leather armour, ring mail, scale mail, chain mail, plate armour -- Spellcasting spam reduction by monqy local function generic_cast_spell(cmd) crawl.mpr('Cast which spell?') crawl.flush_prev_message() crawl.process_keys(cmd) end function cast_spell() generic_cast_spell('z') end function force_cast_spell() generic_cast_spell('Z') end } travel_delay = -1 rest_delay = -1 --explore_stop = items,greedy_items,greedy_pickup,greedy_pickup_gold --explore_stop += greedy_visited_item_stack,stairs,shops,altars --auto_exclude += oklob,statue,roxanne,hyperactive ignore ^= You feel.*sick ignore += disappears in a puff of smoke ignore += engulfed in a cloud of smoke ignore += standing in the rain ignore += engulfed in white fluffiness ignore += safely over a trap ignore += A.*toadstool withers and dies ignore += toadstools? grow ignore += You walk carefully through the ignore += chunks of flesh in your inventory.*rotted away runrest_ignore_poison = 5:10 runrest_ignore_monster += ^butterfly:1 item_slot += potion of blood:q fm := force_more_message fm += You have reached level fm += You feel less protected from missiles fm += Your transformation is almost over fm += Your skin stops crawling fm += A sentinel's mark forms upon you fm += You revert to your normal fleshy form fm += Your divine shield fades away fm += You are ready to recite again fm += distortion fm += suddenly seem different fm += A sentinel's mark fm += alarm fm += have finished your manual fm += is.*carrying a wand of fm += lethally fm += WARNING fm += slowing fm += spatial, atlas, geomancy, burglary fm += jinxing sprites lose interest in you fm += Your enlightenment fades fm += You flicker for a moment fm += You flicker back into view fm += Your unholy channel fm += your eldritch tentacle is severed fm += robbed of momentum fm += Ijyb, Frances, Frederick, ancient lich, Nikola, Jorgrun, Snorg, Jory, Joseph, meliai, Sigmund, Psyche, Maggie, floating eye, curse toe, Grinder, Boris, Rupert, shining eye, Roxanne, Erolcha, moth of wrath, Jessica, Aizul, ogre mage, Erica, Azrael, dream sheep, enormous slime creature, titanic slime creature, Eustachio, neqoxec, cacodemon, Nessos, Mara, lich, Louise, dire elephant, Xtahua, Harold, Miloglotl, deep elf master archer, Bai Suzhen, Fannar, ancient champion flash_screen_message += distortion, distort, deep elf demonologist, empowered, grasping roots, guardian serpent, walking crystal tome, deep elf annihilator, lindwurm, shining eye, neqoxec, Jorgrun, Mara, Careful, dopey, weak, weirdly, uncertain, walking earthen tome, tentacled monstrosity, Sojobo, two shouts, Agnes, Rupert, Lernaean, Nessos, Asterion, Roxanne, death drake, Fannar, ancient champion flash_screen_message += You feel clumsy flash_screen_message += You feel stupid hp_warning=50 warn_hatches = true confirm_action += Potion Petition, Call Merchant, Bribe Branch, Heavenly Storm, Enter the Abyss, Draw Out Power, Apocalypse, Slouch, Step From Time, Summon Divine Warrior, Brothers In Arms, Greater Servant of Makhleb, Lesser Servant of Makhleb, Fiery Armour, Foxfire Swarm, Rising Flame, Draw Stack, Channel Magic, Finesse, Death's Door, Evoke Invisibility, Unearth Wretches, Torment { -- Equipment autopickup (by Medar and various others) local function pickup_equipment(it, name) if it.is_useless then return end local class = it.class(true) if class == "armour" then local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots"} st, _ = it.subtype() -- Autopickup found aux armour if 1) we don't have any or 2) it's artefact, -- or 3) if we don't have artefact or ego armour, and the found armour is -- ego. if good_slots[st] ~= nil then if good_slots[st] == "Gloves" and you.has_claws() > 0 then return end if it.artefact then return true end local cur = items.equipped_at(good_slots[st]) if cur == nil then return true end if cur.branded or cur.artefact then return end if it.branded then return true end -- Autopickup found body armour of the same kind we're wearing, according -- to conditions (2) and (3) above used for aux slots. elseif st == "body" then local cur = items.equipped_at("armour") if cur == nil then return end if cur.name("qual") ~= it.name("qual") then return end if it.artefact then return true end if cur.branded or cur.artefact then return end if it.branded then return true end end end return end add_autopickup_func(pickup_equipment)