# TEAMCAPTAIN CalmDownMonkey # ONLY set when different from game defaults # Half-assed bastardisation of gammafunk, HDA and other stuff ################ ### Defaults ### ################ view_delay = 100 show_game_time = false easy_confirm = all auto_butcher = true confirm_butcher = never easy_eat_chunks = true auto_eat_chunks = true equip_unequip = true default_manual_training = true note_chat_messages = false allow_self_target = prompt sort_menus = true autofight_stop = 70 autofight_caught = true autofight_throw = false automagic_enable = false show_more = false small_more = true ############## ### Macros ### ############## # Macros to make predominantly one-handed (right) play easier macros += M \{8} \{9} macros += M 0 5 macros += M - za. macros += M = zb macros += M [ zc macros += M ] zd macros += M 9 ze macros += M 1 zf macros += M 2 zg macros += M 3 zh macros += M 4 zi macros += M 8 = macros += M ; va ############## ### Ignore ### ############## # Set Alias ignore := runrest_ignore_message ignore += A.*toadstool withers and dies ignore += Jiyva appreciates your sacrifice ignore += Jiyva gurgles merrily ignore += Jiyva says: Divide and consume ignore += The plant is engulfed ignore += You destroy the (bush|fungus|plant) ignore += You displace your ignore += You feel.*sick ignore += You hear.*splatter ignore += You regained.*mp ignore += You walk carefully through the ignore += contamination has completely ignore += disappears in a puff of smoke ignore += engulfed in a cloud of smoke ignore += engulfed in white fluffiness ignore += friend_action: ignore += friend_enchant: ignore += friend_spell: ignore += grinding sound ignore += in your inventory.*rotted away ignore += pray: ignore += rod.*has recharged ignore += safely over a trap ignore += sound: ignore += standing in the rain ignore += talk: ignore += talk_visual: ignore += toadstools? grow ignore += your breath back ############ ### Stop ### ############ # Set Alias stop := runrest_stop_message stop += (blundered into a|invokes the power of) Zot stop += (devoid of blood|starving) stop += (starving|devoid of blood) stop += A huge blade swings out and slices into you stop += An alarm trap emits a blaring wail stop += Wait a moment stop += You are no longer firmly anchored in space stop += You are starting to lose your buoyancy stop += You fall through a shaft stop += You feel yourself slow down stop += You lose control over your flight stop += Your hearing returns stop += Your transformation is almost over stop += back to life stop += contamination has completely stop += flesh start stop += found a zot trap stop += hear a soft click stop += hell_effect: stop += is no longer charmed stop += life is in your own hands stop += lose consciousness stop += missiles spell is about to expire stop += sense of stasis stop += shroud begins to fray stop += shroud unravels stop += start to feel a little slower stop += time is quickly running out stop += wrath finds you stop += you feel uncertain : if you.race() == "Ghoul" then stop += smell.*(rott(ing|en)|decay) stop += something tasty in your inventory : end ############ ### More ### ############ # Set Alias more := force_more_message channel.multiturn = mute msc := message_colour msc += mute:returns to your side msc += mute:a demon appears msc += lightgrey:The deck of cards disappears msc += mute:puff of smoke msc += mute:carefully avoids msc += mute:is recalled msc += mute:wall.*burn.*your msc += mute:dissolves? into (sparkling lights|shadows) msc += mute:(crumbles|melts) away\. msc += mute:(merges|forms) itself .* the air msc += mute:you swap places msc += mute:your.*(looks stronger|shudders|resists) msc += mute:your.*(stumbles backwards|holds.*ground) msc += mute:your.*(blinks|safely over) msc += mute:(phases out.*|misses) (your|something).* msc += mute:your.*(picks up|drops) msc += mute:your.*basks in the mutagenic energy msc += mute:your.*(struggles|tears|pulls away).*(web|net) more := force_more_message : if you.god() == "Ashenzari" then more += You have a vision of.*gates? : end more += ((deep elf|draconian) annihilator|tengu reaver).*into view more += (?-i:[A-Z]).* comes? into view more += (blundered into a|invokes the power of) Zot more += (deep elf (sorcerer|high priest)|draconian scorcher).*into view more += (entropy weaver|torpor snail|spriggan druid).*into view more += (flayed ghost|greater mummy|mummy priest|fiend|tzitzimitl).*into view more += (guardian serpent|draconian shifter|convoker|death cob).*into view more += (lich|orb of fire|executioner|juggernaut|shrike).*into view more += (orc sorcerer|wizard|ogre mage|great orb of eyes|sphinx).*into view more += (phantasmal warrior).*into view more += (starving|devoid of blood) more += (tormentor|curse toe|curse skull|hell sentinel|hellion).*into view more += (vampire knight|basilisk|deep elf (sorcerer|demonologist)).*into view more += (vault (warden|sentinel)|merfolk (avatar|siren)).*into view more += (wretched star|apocalypse crab|death drake).*into view more += A sentinel's mark forms upon you more += Jiyva alters your body more += Ouch! That really hurt! more += Space bends around you more += Space warps.*around you more += That item cannot be evoked more += The mighty Pandemonium lord .* resides here more += There's nothing to (close|open) nearby more += There's something in the way more += This wand has no charges more += You are (blasted|electrocuted)! more += You are blasted by holy energy! more += You are held in a net more += You are starting to lose your buoyancy more += You are too berserk more += You are too injured to fight blindly more += You are unable to access your magic more += You are.*(confused|poisoned) more += You can't (read|drink|do) more += You can't unwield more += You cannot .* in your current state more += You cannot .* while unable to breathe more += You cannot teleport right now more += You don't .* that spell more += You don't have any such object more += You don't have the energy to cast that spell more += You fail to use your ability more += You feel a surge of divine spite more += You feel closer to the material plane more += You feel less protected from missiles more += You feel monstrous more += You feel yourself come back to life more += You feel yourself slow down more += You have a feeling this form more += You have finished (your manual|forgetting about) more += You have reached level more += You miscast.*(Blink|Borgnjor|Door|Invisibility) more += You rejoin the land of the living more += You start to feel a little slower more += Your hearing returns more += Your scales start more += Your shroud falls apart more += Your skin feels tender more += Your surroundings flicker more += Your transformation is almost over more += calcifying dust hits more += disloyal to dabble more += dispelling energy hits you more += doesn't seem very happy more += enough magic points more += enter a teleport trap more += flesh rotting more += flickers and vanishes! more += god:(sends|finds|silent|anger) more += hell_effect: more += is no longer charmed more += life is in your own hands more += lose consciousness more += no means to grasp more += not good enough to have a special ability more += time is quickly running out more += too confused more += watched by something more += when .*silenced ################### ### Auto Pickup ### ################### autopickup = $?!:"/%}|\( ae := autopickup_exceptions # add these ae += (crystal ball of energy|disc of storm) # Don't ever need a second stave ae += staff of .* #################### ### Auto Exclude ### #################### ## dangerous monsters ## auto_exclude += ancient lich, death drake, hydra, ice statue, jelly, orb of fire auto_exclude += [^c] wizard, ancient lich, Ereshkigal, Erolcha, eyeball, Grinder, Jory, lich auto_exclude += Norris, ogre-mage, orb of eyes, orc sorcerer, Rupert, sphinx, vampire knight auto_exclude += Agnes, Aizul, Arachne, Asterion, Blork, Boris, Crazy Yiuf, Donald, Dowan auto_exclude += Duvessa, Edmund, Erica, Eustachio, Fannar, Frances, Frederick, Gastronok auto_exclude += Grum, Harold, Ijyb, Jessica, Jorgrun, Joseph, Kirke, Louise, Mara, Maud auto_exclude += Maurice, Menkaure, Mennas, Natasha, Nergalle, Nessos, Nikola, Pikel auto_exclude += Polyphemus, Prince Ribbit, Psyche, Roxanne, Saint Roka, Sigmund, Snorg auto_exclude += Sojobo, Sonja, Terence, Urug, Wiglaf, Xtahua, hog, slave ################### ### Auto Travel ### ################### rest_wait_both = true travel_delay = -1 explore_delay = -1 rest_delay = -1 show_travel_trail = false explore_stop += greedy_items runrest_ignore_monster += butterfly:1 ######################## ### Autoinscriptions ### ######################## show_god_gift = unident # Set Alias ai := autoinscribe ai += (bad|dangerous)_item.*potion:!q ai += (bad|dangerous)_item.*scroll:!r ai += potions? of berserk rage:!q ai += scrolls? of blinking:!r ai += scrolls? of silence:!r ai += [Mm]anual of:!d ai += staff of (Wucad Mu|energy|wizardry|power|conjuration|summoning):!a ai += (large rock|throwing net|curare|of dispersal):=f # Save fruit for abilities under Fedhas : if you.god() == "Fedhas" then ai += fruit:!e : end # Inscribe distortion weapons if you are not worshipping Lugonu : if you.god() ~= "Lugonu" then ai += distortion:!w ai += (Sonja|Psyche):!w : end ############## ### Morgue ### ############## note_hp_percent = 10 note_all_skill_levels = true note_chat_messages = false user_note_prefix = >> note_items += of Zot,acquirement,artefact note_items += experience,of resistance, Archmagi note_items += crystal plate armour,pearl dragon scales note_messages += You fall through a shaft note_messages += Your scales start note_messages += You feel monstrous note_messages += protects you from harm note_messages += You pass through the gate note_messages += cast .* Abyss note_messages += [bB]anish.*Abyss note_monsters += ancient lich,curse skull,curse toe,greater mummy note_monsters += juggernaut,irong giant,caustic shrike note_monsters += killer klown,electric golem,orb of fire dump_message_count = 30 dump_order = header,hiscore,stats,misc,mutations,skills,spells,inventory dump_order += overview,screenshot,monlist,messages,skill_gains,action_counts dump_order += vaults,notes,kills ########### ### Lua ### ########### { -- 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) -- 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 }