# TEAMCAPTAIN Moanerette tile_web_mouse_control = false # 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_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 += [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 > # Messages - from https://github.com/gammafunk/dcss-rc/blob/master/gammafunk.rc channel.multiturn = mute msc := message_colour msc += mute:returns to your side msc += mute:a demon appears 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 += The mighty Pandemonium lord .* resides here # Interrupts more += You don't .* that spell more += You fail to use your ability more += You miscast.*(Blink|Borgnjor|Door|Invisibility) more += You can't (read|drink|do) more += You cannot .* while unable to breathe more += You cannot .* in your current state more += when .*silenced more += too confused more += There's something in the way 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 += You are held in a net more += You don't have any such object more += You can't unwield more += enough magic points more += You don't have the energy to cast that spell more += You are unable to access your magic # Bad things more += Your surroundings flicker more += You cannot teleport right now 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 are blasted by holy energy! more += You are (blasted|electrocuted)! more += You are.*(confused|poisoned) more += god:(sends|finds|silent|anger) more += You feel a surge of divine spite more += disloyal to dabble 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 += watched by something more += flickers and vanishes! more += doesn't seem very happy more += is no longer charmed # Hell effects more += hell_effect: # Expiring effects more += You feel yourself slow down more += You are starting to lose your buoyancy 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 += time is quickly running out more += life is in your own hands more += You start to feel a little slower more += You feel less protected from missiles # Others more += You have reached level more += You rejoin the land of the living more += You have finished (your manual|forgetting about) more += Your scales start more += You feel monstrous more += Jiyva alters your body : if you.god() == "Xom" then more += god: : end # Dangerous monsters we force_more when first seen. # Things with ranged (or extremely fast), irresistable effects. more += ((floating|shining) eye|dream sheep|death drake).*into view more += (wretched star|apocalypse crab|death drake).*into view more += (entropy weaver|torpor snail|spriggan druid).*into view more += (vault (warden|sentinel)|merfolk (avatar|siren)).*into view more += (guardian serpent|draconian shifter|convoker|death cob).*into view more += (phantasmal warrior|air elemental).*into view # Paralysis/Petrify/Banish more += (orc sorcerer|(?scrolls? of silence ae += staff of .* # 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 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) }