# keymap with working vi keys for colemak keyboards bindkey = [h] CMD_MOVE_LEFT bindkey = [n] CMD_MOVE_DOWN bindkey = [e] CMD_MOVE_UP bindkey = [i] CMD_MOVE_RIGHT bindkey = [j] CMD_MOVE_UP_LEFT bindkey = [l] CMD_MOVE_UP_RIGHT bindkey = [b] CMD_MOVE_DOWN_LEFT bindkey = [k] CMD_MOVE_DOWN_RIGHT bindkey = [H] CMD_RUN_LEFT bindkey = [N] CMD_RUN_DOWN bindkey = [E] CMD_RUN_UP bindkey = [I] CMD_RUN_RIGHT bindkey = [J] CMD_RUN_UP_LEFT bindkey = [L] CMD_RUN_UP_RIGHT bindkey = [B] CMD_RUN_DOWN_LEFT bindkey = [K] CMD_RUN_DOWN_RIGHT bindkey = [h] CMD_TARGET_LEFT bindkey = [n] CMD_TARGET_DOWN bindkey = [e] CMD_TARGET_UP bindkey = [i] CMD_TARGET_RIGHT bindkey = [j] CMD_TARGET_UP_LEFT bindkey = [l] CMD_TARGET_UP_RIGHT bindkey = [b] CMD_TARGET_DOWN_LEFT bindkey = [k] CMD_TARGET_DOWN_RIGHT bindkey = [H] CMD_TARGET_DIR_LEFT bindkey = [N] CMD_TARGET_DIR_DOWN bindkey = [E] CMD_TARGET_DIR_UP bindkey = [I] CMD_TARGET_DIR_RIGHT bindkey = [J] CMD_TARGET_DIR_UP_LEFT bindkey = [L] CMD_TARGET_DIR_UP_RIGHT bindkey = [B] CMD_TARGET_DIR_DOWN_LEFT bindkey = [K] CMD_TARGET_DIR_DOWN_RIGHT bindkey = [h] CMD_MAP_MOVE_LEFT bindkey = [n] CMD_MAP_MOVE_DOWN bindkey = [e] CMD_MAP_MOVE_UP bindkey = [i] CMD_MAP_MOVE_RIGHT bindkey = [j] CMD_MAP_MOVE_UP_LEFT bindkey = [l] CMD_MAP_MOVE_UP_RIGHT bindkey = [b] CMD_MAP_MOVE_DOWN_LEFT bindkey = [k] CMD_MAP_MOVE_DOWN_RIGHT bindkey = [H] CMD_MAP_JUMP_LEFT bindkey = [N] CMD_MAP_JUMP_DOWN bindkey = [E] CMD_MAP_JUMP_UP bindkey = [I] CMD_MAP_JUMP_RIGHT bindkey = [J] CMD_MAP_JUMP_UP_LEFT bindkey = [L] CMD_MAP_JUMP_UP_RIGHT bindkey = [B] CMD_MAP_JUMP_DOWN_LEFT bindkey = [K] CMD_MAP_JUMP_DOWN_RIGHT #bindkey = [^H] CMD_OPEN_DOOR_LEFT #bindkey = [^N] CMD_OPEN_DOOR_DOWN #bindkey = [^E] CMD_OPEN_DOOR_UP #bindkey = [^I] CMD_OPEN_DOOR_RIGHT #bindkey = [^J] CMD_OPEN_DOOR_UP_LEFT #bindkey = [^L] CMD_OPEN_DOOR_UP_RIGHT #bindkey = [^B] CMD_OPEN_DOOR_DOWN_LEFT #bindkey = [^K] CMD_OPEN_DOOR_DOWN_RIGHT # replace (e) with (u) bindkey = [u] CMD_EAT bindkey = [u] CMD_TARGET_EXCLUDE bindkey = [u] CMD_MAP_EXCLUDE_AREA bindkey = [U] CMD_EXPERIENCE_CHECK bindkey = [U] CMD_MAP_FIND_EXCLUDED bindkey = [^U] CMD_TOGGLE_TRAVEL_SPEED bindkey = [^U] CMD_MAP_CLEAR_EXCLUDES # replace (i) with (y) bindkey = [y] CMD_DISPLAY_INVENTORY bindkey = [Y] CMD_DISPLAY_SPELLS bindkey = [Y] CMD_MAP_FIND_STASH bindkey = [^Y] CMD_AUTOFIGHT ai := autoinscribe ai += (bad|dangerous)_item.*potion:!q ai += potions? of berserk rage:!q ai += potions? .* mutation:!q ai += (bad|dangerous)_item.*scroll:!r ai += scrolls? of blinking:!r ai += scrolls? of holy word:!r ai += scrolls? of magic mapping:!r ai += scrolls? of vulnerability:!r ai += curare:!* ai += [Mm]anual of:!d ai += amulet of clarity:Clar, !d ai += amulet of faith:Faith, !P ai += amulet of guardian spirit:Spirit ai += amulet of rage:+Rage, !d ai += amulet of regeneration:+regen, !d ai += amulet of resist corrosion:rCorr, !d ai += amulet of resist mutation:rMut, !d ai += amulet of stasis:Stasis, !d ai += amulet of the gourmand:Gourm, !d ai += amulet of warding:Ward, rN+, !d ai += staff of air:rElec ai += staff of cold:rC+ ai += staff of conjuration:!a ai += staff of death:rN+ ai += staff of energy:+MP, hungerless spells, !d!a ai += staff of fire:rF+ ai += staff of poison:rPois ai += staff of power:MP+17, !a ai += staff of summoning:!a ai += staff of wizardry:wiz+, !a ai += ring of fire:rF+, rC- ai += ring of flight:+Fly, !d ai += ring of ice:rC+, rF- ai += ring of invisibility:+Inv, !d ai += ring of loudness:Stlth- ai += ring of magical power:MP+9 ai += ring of poison resistance:rPois, !d ai += ring of positive energy:rN+ ai += ring of protection from cold:rC+, !d ai += ring of protection from fire:rF+, !d ai += ring of protection from magic:MR+, !d ai += ring of see invisible:sInv, !d ai += ring of stealth:Stlth+ ai += ring of sustain abilities:SustAb ai += ring of teleport control:cTele, !d ai += ring of teleportation:+/*tele, !d ai += ring of wizardry:Wiz+, !d ai += fire dragon (armour|hide):rF++, rC- ai += gold dragon (armour|hide):rC+, rF+, rPois ai += ice dragon (armour|hide):rC++, rF- ai += mottled dragon (armour|hide):rSticky ai += pearl dragon (armour|hide):rN+ ai += quicksilver dragon armour:MR+ ai += shadow dragon (armour|hide):Stlth++++ ai += steam dragon (armour|hide):rSteam ai += storm dragon (armour|hide):rElec ai += swamp dragon (armour|hide):rPois ai += troll (hide|leather armour):regen : if you.race() ~= "Vampire" then ai += vampiric:!w : else ai += potion.*blood:@q1 : end : if you.god() ~= "Lugonu" then ai += distortion:!w ai += (Sonja|Psyche):!w : end : if you.god() == "Fedhas" then ai += fruit:!e : end hp_warning = 50 mp_warning = 4 hp_colour = 100:green, 99:lightgrey, 75:yellow, 50:lightred, 25:red mp_colour = 100:green, 99:lightgrey, 75:yellow, 50:lightred, 25:red stat_colour = 3:red, 7:lightred runrest_ignore_monster = runrest_ignore_monster += ^butterfly$:1 runrest_ignore_monster += ^wandering mushroom$:1 default_manual_training = true # open skill menu at start < local need_skills_opened = true function OpenSkills() if you.turns() == 0 and need_skills_opened then need_skills_opened = false sendkeys("m") end end function ready() OpenSkills() end > # msg setup ignore := runrest_ignore_message ignore = stop := runrest_stop_message stop = more := force_more_message more = ignore += disappears in a puff of smoke ignore += engulfed in a cloud of smoke ignore += You regained.*mp ignore += A.*toadstool withers and dies ignore += engulfed in white fluffiness ignore += grinding sound ignore += in your inventory.*rotted away ignore += safely over a trap ignore += standing in the rain ignore += toadstools? grow ignore += You feel.*sick ignore += You walk carefully through the # Jiyva Messages ignore += Jiyva appreciates your sacrifice ignore += Jiyva gurgles merrily ignore += Divide and consume ignore += You hear.*splatter # Qazlal ignore += The plant is engulfed ignore += You destroy the (bush|fungus|plant) ignore += You displace your stop += (blundered into a|invokes the power of) Zot stop += You fall through a shaft stop += A sentinel's mark forms upon you\. stop += A huge blade swings out and slices into you stop += sense of stasis stop += flesh start stop += (starving|devoid of blood) stop += wrath finds you stop += lose consciousness stop += You feel yourself slow down stop += You are starting to lose your buoyancy stop += You lose control over your flight stop += Your hearing returns stop += Your transformation is almost over stop += back to life stop += uncertain stop += time is quickly running out stop += life is in your own hands stop += is no longer charmed stop += hell_effect: more += You have a vision of.*gates? more += interdimensional caravan more += distant snort more += roar of battle more += wave of frost more += hiss of flowing sand more += sound of rushing water more += heat about you more += crackle of arcane power more += Found a gateway leading out of the Abyss more += Found .* abyssal rune of Zot more += The mighty Pandemonium lord .* resides here more += You don't .* that spell more += You fail to use your ability more += You miscast.*(Blink|Borgnjor|Door|Haste|Invisibility) more += You can't (read|drink|do) more += You cannot .* in your current state more += There's nothing to (close|open) nearby more += not good enough to have a special ability more += You are too berserk more += no means to grasp more += That item cannot be evoked more += This wand has no charges more += You are held in a net more += You have disarmed more += You don't have any such object more += do not work when you're silenced more += You can't unwield more += enough magic points more += You feel your control is inadequate more += Your surroundings flicker more += sense of stasis more += ^Your amulet of stasis more += You cannot teleport right now more += You fall through a shaft more += A sentinel's mark forms upon you more += (blundered into a|invokes the power of) Zot more += enter a teleport trap more += Ouch! That really hurt! more += dispelling energy hits you more += You convulse more += You are blasted by holy energy! more += You are (blasted|electrocuted)! more += You are.*(confused|poisoned) more += flesh start more += (starving|devoid of blood) more += god:(sends|finds|silent|anger) more += You feel a surge of divine spite more += lose consciousness more += You are too injured to fight blindly more += calcifying dust hits more += Space warps.*around you more += Space bends around you more += hits you.*distortion more += watched by something more += flickers and vanishes! more += hell_effect: more += You feel yourself slow down more += You are starting to lose your buoyancy more += You lose control over your flight more += Your hearing returns more += Your transformation is almost over more += You have a feeling this form more += You feel yourself come back to life more += uncertain more += time is quickly running out more += life is in your own hands more += is no longer charmed more += Your shroud falls apart more += You start to feel a little slower more += You feel less protected from missiles more += You have reached level more += You have finished (your manual|forgetting about) more += Your scales start more += You feel monstrous more += Jiyva alters your body # Utility spells spell_slot += Dispel Undead:q spell_slot += Cause Fear:Q spell_slot += Alistair's Intoxication:Q spell_slot += Mass Confusion:Q spell_slot += Discord:Q spell_slot += Passage of Golubria:w spell_slot += Abjuration:W spell_slot += Aura of Abjuration:W spell_slot += Apportation:e spell_slot += Recall:r spell_slot += Summon Butterflies:R spell_slot += Control Teleport:t spell_slot += Metabolic Englaciation:T spell_slot += Ozocubu's Armour:aA spell_slot += Stoneskin:aA spell_slot += Phase Shift:aA spell_slot += Shroud of Golubria:aA spell_slot += Condensation Shield:aA spell_slot += Cigotuvi's Embrace:aA spell_slot += Swiftness:s spell_slot += Repel Missiles:d spell_slot += Deflect Missiles:d spell_slot += Darkness:D spell_slot += Flight:f spell_slot += Ring of Flames:F spell_slot += Regeneration:g spell_slot += Silence:G spell_slot += Haste:h spell_slot += Disjunction:H spell_slot += Invisibility:j spell_slot += Death's Door:J spell_slot += Borgnjor's Revivification:L spell_slot += Blink:b spell_slot += Controlled Blink:B spell_slot += Sublimation of Blood:n spell_slot += Passwall:N spell_slot += Necromutation:M spell_slot += Cure Poison:Z spell_slot += Death Channel:ZXC spell_slot += Simulacrum:ZXC spell_slot += Warp Weapon:ZXC spell_slot += Exruciating Wounds:ZXC spell_slot += Dispersal:ZXC spell_slot += Leda's Liquefaction:ZXC # Transformations spell_slot += Beastly Appendage:zxcv spell_slot += Spider Form:zxcv spell_slot += Ice Form:zxcv spell_slot += Blade Hands:zxcv spell_slot += Hydra Form:XC spell_slot += Statue Form:XC spell_slot += Dragon Form:XC # Summons spell_slot += Summon Small Mammal:zxc spell_slot += Call Imp:zxc spell_slot += Call Canine Familiar:zxcv spell_slot += Summon Ice Beast:zxcv spell_slot += Summon Demon:zxcv spell_slot += Shadow Creatures:zxcv spell_slot += Summon Guardian Golem:ZX spell_slot += Summon Lightning Spire:ZX spell_slot += Summon Forest:ZXC spell_slot += Monstrous Menagerie:ZXC spell_slot += Summon Mana Viper:xcv spell_slot += Summon Hydra:xcv spell_slot += Haunt:xcv spell_slot += Spellforged Servitor:XCV spell_slot += Malign Gateway:XCV spell_slot += Summon Greater Demon:XCV spell_slot += Summon Horrible Things:XCV spell_slot += Dragon's Call:XCV # Low-level spells spell_slot += Freeze:z spell_slot += Magic Dart:z spell_slot += Flame Tongue:z spell_slot += Pain:z spell_slot += Shock:z spell_slot += Sandblast:z spell_slot += Sting:z spell_slot += Ensorcelled Hibernation:z spell_slot += Infusion:z spell_slot += Throw Frost:zxc spell_slot += Throw Flame:zxc spell_slot += Searing Ray:zxc spell_slot += Portal Projectile:zxc spell_slot += Slow:zxc spell_slot += Inner Flame:zxc spell_slot += Teleport Other:zxc spell_slot += Tukima's Dance:zxc spell_slot += Corona:Z spell_slot += Animate Skeleton:Z spell_slot += Corpse Rot:Z spell_slot += Confusing Touch:ZX spell_slot += Sticks to Snakes:ZX spell_slot += Sure Blade:ZX spell_slot += Conjure Flame:ZX # Mid-level spells spell_slot += Stone Arrow:zxcv spell_slot += Dazzling Spray:zxcv spell_slot += Iskenderun's Mystic Blast:zxcv spell_slot += Force Lance:zxcv spell_slot += Sticky Flame:zxcv spell_slot += Throw Icicle:zxcv spell_slot += Venom Bolt:zxcv spell_slot += Airstrike:zxcv spell_slot += Agony:zxcv spell_slot += Petrify:zxcv spell_slot += Vampiric Draining:zxcv spell_slot += Song of Slaying:zxcv spell_slot += Spectral Weapon:zxcv spell_slot += Confuse:zxcv spell_slot += Gell's Gravitas:zxcv spell_slot += Mephitic Cloud:cC spell_slot += Static Discharge:ZX spell_slot += Control Undead:ZX spell_slot += Fulminant Prism:ZX spell_slot += Ignite Poison:ZX spell_slot += Battlesphere:XC spell_slot += Lee's Rapid Deconstruction:XC spell_slot += Poisonous Cloud:XC spell_slot += Freezing Cloud:XC spell_slot += Ozocubu's Refrigeration:XC spell_slot += Animate Dead:XC spell_slot += Twisted Resurrection:XC spell_slot += Olgreb's Toxic Radiance:XC spell_slot += Irradiate:XC # High-level spells spell_slot += Lightning Bolt:xcv spell_slot += Fireball:xcv spell_slot += Bolt of:xcv spell_slot += Iron Shot:xcv spell_slot += Poison Arrow:xcv spell_slot += Orb of Destruction:xcv spell_slot += Lehudib's Crystal Spear:xcv spell_slot += Conjure Ball Lightning:XCV spell_slot += Delayed Fireball:XCV spell_slot += Chain Lightning:XCV spell_slot += Fire Storm:V spell_slot += Glaciate:V spell_slot += Shatter:V spell_slot += Tornado:V spell_slot += Singularity:V # Default letters spell_slot += .*:yuiopYUIOP ood_interesting = 6 note_hp_percent = 25 note_all_skill_levels = true note_xom_effects = true note_items += of Zot,rod,acquirement note_messages += Your scales start note_messages += protects you from harm note_messages += You fall through a shaft note_messages += [bB]anish.*Abyss note_monsters += orb of fire,silver star,pearl dragon,ancient lich ############## # Autopickup # ############## # Used # $ = gold # ? = scroll # ! = potion # : = book # " = jewellery # / = wand # % = food (RIP) # } = miscellaneous # \ = rods # | = staves : if (you.god():find("Trog")) then autopickup += $?!:"/}\ : else autopickup += $?!:"/}\| : end # Unused # ) = weapon # ( = missiles # [ = armour # X = corpses # Allows easily dropping multiple items drop_mode += multi # Always show the full list of items when you pick up a stack pickup_mode += multi # Allows followers to pick up ANYTHING (take care not to lose artefacts) default_friendly_pickup += all # Set Alias for Autopickup Exceptions ae := autopickup_exceptions ae += useless_item, dangerous_item, evil_item # Don't pick up potion(s) of [coagulated] blood if you are not a vampire : if you.race() ~= "Vampire" then ae += potions? of.*blood : end # Autopickup artefacts ae += 2 local ego = equipped_item.branded local armour_name = equipped_item.name() local dragon = armour_name:find("dragon") local troll = armour_name:find("troll") local artefact = equipped_item.artefact if artefact then return false end if not (enchanted or ego or dragon or troll) then return it.branded or it.ego end return false else return true end end if (sub_type == "shield") then if equipped_item then return it.artefact or it.branded or it.ego end end end if (class == "weapon") then if it.is_useless then return false end if it.artefact then return true end if (you.xl() < 12) or (you.god():find("Beogh")) and not ((you.race() == "troll") or (you.skill("Unarmed Combat") > 9)) then return it.branded and not (name == "club") end end end) }