# Half-assed bastardisation of gammafunk, HDA and other stuff ################ ### Defaults ### ################ view_delay = 100 show_game_time = false easy_confirm = all auto_butcher = hungry 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 sort_menus = true:equipped,identified,basename,art,ego,glowing,qualname,curse,charged,slot 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 ### ############## 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 ### ############ stop := runrest_stop_message stop += (blundered into a|invokes the power of) Zot 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 ############ ### Mute ### ############ 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 ### ############ more := force_more_message # corrupters, temporary or permanent more += (giant eyeball|shining eye|cacodemon|neqoxec|corrupter|wretched star).*into view # tormentors more += (curse toe|curse skull|fiend|tzitzimitl|tormentor|mummy priest|greater mummy).*into view # damnators more += (deep elf high priest|deep elf sorcerer|draconian scorcher|draconian zealot|hell sentinel|hellion).*into view # summoners and displacers more += (deep elf demonologist|doom hound|draconian shifter|guardian serpent|ironbrand convoker|shadow demon).*into view # just plain strong more += (ancient lich|caustic shrike|iron giant|juggernaut|orb of fire).*into view # nasty statuses more += (ancient zyme|death cob|death drake|entropy weaver|flayed ghost|ghost moth|moth of wrath|starcursed mass|vault warden|warmonger).*into view # uniques or pan lords, also Killer Klown, Orb Guardian and some others more += (?-i:[A-Z]).* comes? into view more += ((deep elf|draconian) annihilator|tengu reaver).*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! # Distortion more += Space bends around you more += Space warps.*around you more += hits you.*distortion more += warns you.*of distortion more += is wielding.*of distortion flsh += is a .* of distortion 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 don't have the magic 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 # Invisible ghost moth more += watched by something # Announcements of timed portal vaults (bazaar, labyrinths) more += interdimensional caravan more += distant snort # Hit by Airstrike while flying more += The air twists around and violently strikes you in flight # ironbrand convoker's delayed summon more += begins to recite a word of recall # Bad mutations # berserkitis more += You feel a little pissed off more += You feel angry more += You feel extremely angry at everything! # blurry vision more += Your vision blurs # teleportitis more += You feel weirdly uncertain more += You feel even more weirdly uncertain # deformed body more += Your body twists and deforms # frail more += You feel frail # subdued magic more += Your connection to magic feels subdued more += Your connection to magic feels more subdued more += Your connection to magic feels nearly dormant # wild magic more += You feel less in control of your magic more += You feel your magical power running wild # no device heal [2-3] more += Your system mostly rejects artificial healing more += Your system completely rejects artificial healing # slow healing 3 more += You stop regenerating : if you.god() == "Ashenzari" then more += You have a vision of.*gates? : end ################### ### Auto Pickup ### ################### autopickup = $?!:"/%}|\( ae := autopickup_exceptions # always want these regardless of autopickup ae += scrolls? of (vuln|noise) ae += >wand of rand ae += >ring of (protection from (mag|fire|cold)|mag|stealth|ice|fire|pos|wiz) ae += >(crystal ball of energy|disc of storm|lightning rod) ae += >staff of .* #################### ### Auto Exclude ### #################### 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 = true explore_stop += greedy_items runrest_ignore_monster += butterfly:1 ######################## ### Autoinscriptions ### ######################## show_god_gift = unident 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_item_origins += ego_arm, ego_weap, jewellery, runes, staves, books dump_message_count = 100 dump_order += turns_by_place, kills_by_place, vaults ########### ### 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 }