#include = colemak_command_keys.txt
default_manual_training=true
autofight_stop = 60
hp_warning = 50
auto_exclude += oklob,statue,roxanne,hyperactive
###########
# prompts #
###########
flash_screen_message += You feel strangely unstable
flash_screen_message += Strange energies course through your body
more := force_more_message
# distortion
more += Space warps horribly around you
more += hits you.*distortion
more += Space bends around you\.
more += Your surroundings suddenly seem different.
more += Its appearance distorts for a moment.
more += is wielding a.*distortion
# ghost moths/antimagic
more += watched by something
more += You feel your power leaking
# torment/holy wrath
more += You convulse
# dispel breath
more += dispelling energy hits you
# early unseen horrors
more += It hits you!
more += Something hits you
more += Something. *misses you.
# more += You have reached level
more += You fall through a shaft
# abyss convenience prompts
more += Found an abyssal rune
more += Found a gateway leading out of the Abyss
more += Found a gateway leading deeper into the Abyss
# necromutation
more += Your transformation is almost over.
more += You feel yourself coming back to life
# summon greater demon
more += is no longer charmed
# Announcements of timed portal vaults:
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 += oppressive heat about you
more += crackle of arcane power
more += Found a gateway leading out of the Abyss
more += Found .* abyssal rune of Zot
more += You feel a terrible weight on your shoulders
more += .* resides here
# Interrupts
more += You don't.* that spell
more += You miscast (Controlled Blink|Blink|Death's|Borg|Necromutation)
more += You can't (read|drink|do) that
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 += Something interferes with your magic
more += You enter a teleport trap
# Bad things
more += Your surroundings flicker
more += You cannot teleport right now
more += The writing blurs in front of your eyes
more += You fall through a shaft
more += A huge blade swings out and slices into you!
more += (blundered into a|invokes the power of) Zot
more += Ouch! That really hurt!
more += dispelling energy hits you
more += You convulse
more += You are (blasted|electrocuted)
more += You are.*confused
more += flesh start
more += (starving|devoid of blood)
more += wrath finds you
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 horribly around you
more += hits you.*distortion
more += Space bends around you\.
more += watched by something
more += A sentinel's mark forms upon you
more += Your limbs have turned to stone
more += You are slowing down
more += .*LOW HITPOINT WARNING.*
more += warns you.*of distortion
more += lethally poison
more += space bends around your
more += wielding.*of (distortion|chaos)
# Hell effects
# Re-enabled
more += "You will not leave this place."
more += "Die, mortal!"
more += "We do not forgive those who trespass against us!"
more += "Trespassers are not welcome here!"
more += "You do not belong in this place!"
more += "Leave now, before it is too late!"
more += "We have you now!"
more += You smell brimstone.
more += Brimstone rains from above.
more += You feel lost and a long, long way from home...
more += You shiver with fear.
more += You feel a terrible foreboding...
more += Something frightening happens.
more += You sense an ancient evil watching you...
more += You suddenly feel all small and vulnerable.
more += You sense a hostile presence.
more += A gut-wrenching scream fills the air!
more += You hear words spoken in a strange and terrible language...
more += You hear diabolical laughter!
# Expiring effects
more += You feel yourself slow down
more += less insulated
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 += shroud falls apart
more += You start to feel a little slower
more += You flicker
more += You feel less protected from missiles
# Skill breakpoints
# more += skill increases
# Others
# more += You have reached level
more += You have finished your manual of
more += Your scales start
more += You feel monstrous
more += zaps a wand
more += is unaffected
more += Jiyva alters your body
# Any uniques and any pan lords - doesn't work
more += (?-i:[A-Z]).* comes? into view
more += Agnes.*comes? into view.
more += Aizul.*comes? into view.
more += Antaeus.*comes? into view.
more += Arachne.*comes? into view.
more += Asmodeus.*comes? into view.
more += Asterion.*comes? into view.
more += Azrael.*comes? into view.
more += Blork the orc.*comes? into view.
more += Boris.*comes? into view.
more += Cerebov.*comes? into view.
more += Crazy Yiuf.*comes? into view.
more += Dispater.*comes? into view.
more += Dissolution.*comes? into view.
more += Donald.*comes? into view.
more += Dowan.*comes? into view.
more += Duvessa.*comes? into view.
more += Edmund.*comes? into view.
more += Enchantress.*comes? into view.
more += Ereshkigal.*comes? into view.
more += Erica.*comes? into view.
more += Erolcha.*comes? into view.
more += Eustachio.*comes? into view.
more += Fannar.*comes? into view.
more += Frances.*comes? into view.
more += Francis.*comes? into view.
more += Frederick.*comes? into view.
more += Gastronok.*comes? into view.
more += Geryon.*comes? into view.
more += Gloorx Vloq.*comes? into view.
more += Grinder.*comes? into view.
more += Grum.*comes? into view.
more += Harold.*comes? into view.
more += Ignacio.*comes? into view.
more += Ijyb.*comes? into view.
more += Ilsuiw.*comes? into view.
more += Jorgrun.*comes? into view.
more += Jory.*comes? into view.
more += Jessica.*comes? into view.
more += Joseph.*comes? into view.
more += Josephine.*comes? into view.
more += Jozef.*comes? into view.
more += Khufu.*comes? into view.
more += Kirke.*comes? into view.
more += Lamia.*comes? into view.
more += Lom Lobon.*comes? into view.
more += Louise.*comes? into view.
more += Mara.*comes? into view.
more += Margery.*comes? into view.
more += Maud.*comes? into view.
more += Maurice.*comes? into view.
more += Menkaure.*comes? into view.
more += Mennas.*comes? into view.
more += Mnoleg.*comes? into view.
more += Murray.*comes? into view.
more += Natasha.*comes? into view.
more += Nergalle.*comes? into view.
more += Nessos.*comes? into view.
more += Nikola.*comes? into view.
more += Norris.*comes? into view.
more += Pikel.*comes? into view.
more += Polyphemus.*comes? into view.
more += Prince Ribbit.*comes? into view.
more += Psyche.*comes? into view.
more += Purgy.*comes? into view.
more += Robin.*comes? into view.
more += Roxanne.*comes? into view.
more += Rupert.*comes? into view.
more += Saint Roka.*comes? into view.
more += Sigmund.*comes? into view.
more += Snorg.*comes? into view.
more += Sojobo.*comes? into view.
more += Sonja.*comes? into view.
more += Terence.*comes? into view.
more += The Lernaean hydra.*comes? into view.
more += The royal jelly.*comes? into view.
more += The Serpent of Hell.*comes? into view.
more += Tiamat.*comes? into view.
more += Urug.*comes? into view.
more += Vashnia.*comes? into view.
more += Wiglaf.*comes? into view.
more += Xtahua.*comes? into view.
more += 27-headed.*comes? into view.
more += .*player ghost.* comes? into view
more += .*Ancient Lich.*comes? into view.
more += .*Orbs? of Fire.*comes? into view.
more += .*Fiend.*comes? into view.
more += .*Hellion.*comes? into view.
more += .*Tormentor.*comes? into view.
more += .*Hell Sentinel.*comes? into view.
more += .*Executioner.*comes? into view.
more += .*Neqoxec.*comes? into view.
more += .*Cacodemon.*comes? into view.
more += .*Shining Eye.*comes? into view.
more += .*Greater Mummy.*comes? into view.
more += .*Mummy Priest.*comes? into view.
more += .*Curse Toe.*comes? into view.
more += .*Curse Skull.*comes? into view.
more += .*('s|s') ghost.*comes? into view.
more += .*shrike.*comes? into view.
more += .*wretched star.*comes? into view
more += .*lurking horror.*comes? into view
more += .*Hell Juggernaut.*comes? into view.
more += .*Iron Giant.*comes? into view.
more += .*Tzitzimimeh.*comes? into view.
#Paralysis enemies
more += .*Giant Eyeball.*comes? into view.
more += .*Lich.*comes? into view.
more += .*Ogre Mage.*comes? into view.
more += .*a Wizard.*comes? into view.
more += .*orc sorcerer.*comes? into view.
more += .*sphinx.*comes? into view.
more += .*Great orb of eyes.*comes? into view.
more += .*Vampire knight.*comes? into view.
#Low level baddies
: if you.xl() <= 11 then
more += Orc wizard.*comes? into view
more += Orc priest.*comes? into view
more += Killer bee.*comes? into view
more += Ogre.*comes? into view
more += centaur.*comes? into view
more += is wielding .*elec
more += is wielding .*drain
more += is wielding .*venom
: end
# Dancing weapon
more += Your.*falls from the air.
# Xom is scary
: if you.god() == "Xom" then
more += god:
: end
# holy
: if you.race == "Mummy" or you.race == "Ghoul"
: or you.race == "Vampire" or you.race == "Demonspawn" then
more += wielding .*holy
: end
####################
# Autoinscriptions #
####################
ai := autoinscribe
ai += (vampiric):!w
ai += (bad|dangerous)_item.*potion:!q
ai += (bad|dangerous)_item.*scroll:!r
ai += of faith:!P
ai += rod of:!a
ai += lightning rod:!a
ai += [^r]staff of (conj|energy|power|wizardry|summoning):!a
ai += manual of:!d
ai += dispersal:!f
ai += tome of Destruction:!d
ai += throwing net:!f
ai += curare:!f
ai += needle of (frenzy|paralysis|sleeping|confusion):!f
: if you.god() ~= "Lugonu" then
ai += (distortion):!w
:end
flash_screen_message += distortion
turns_for_comes_into_view_again = 10
ai += potion of cancellation:!q
ai += potion of invisibility:!q
ai += potion of haste:!q
ai += potion of resistance:!q
ai += potion of ambrosia:!q
ai += potion of magic:!q
ai += potion of berserk rage:!q
ai += scroll of silence:!r
ai += scroll of summoning:!r
ai += scroll of identify:@r1
ai += scroll of remove curse:@r2
ai += potion of curing:@q1
ai += (glowing|runed|smoking|scorched|twisted|shimmering|warped|transparent|translucent|encrusted|pitted|slimy|polished|fine|crude|ancient|steaming|dazzling|blackened|iridescent|bloodstained|crystal|jewelled|stained|ivory|bone|sapphire|ebony).*(dagger|blade|sword|rapier|axe|falchion|scimitar|whip|club|mace|flail|star|spear|trident|halberd|scythe|glaive|bardiche|quarterstaff|lajatang):!w
ai += [^egu]ration:!d
ai += scroll of teleportation:!d
###############
# Spell slots #
###############
spell_slot += Apportation:p
spell_slot += Blink:l
spell_slot += Regeneration:r
spell_slot += Mephitic Cloud:m
spell_slot += Passwall:w
spell_slot += Lightning Spire:x
spell_slot += Ozocubu's Armour:o
spell_slot += Summon Hydra:H
spell_slot += Confuse:c
spell_slot += Shadow Creatures:h
spell_slot += Spectral Weapon:W
spell_slot += Agony:A
spell_slot += Summon Ice Beast:i
spell_slot += Invisibility:I
spell_slot += Dispel Undead:U
spell_slot += Dragon Form:D
spell_slot += Malign Gateway:M
spell_slot += Poisonous Vapours:v
spell_slot += Summon Mana Viper:V
spell_slot += Summon Butterflies:B
spell_slot += Olgreb's Toxic Radiance:O
spell_slot += Simulacrum:S
spell_slot += Animate Skeleton:s
spell_slot += Animate Dead:n
spell_slot += Yara's Violent Unravelling:y
spell_slot += Aura of Abjuration:B
spell_slot += Lee's Rapid Deconstruction:z
#########################
# Aliases and Variables #
#########################
# Set Alias
menu := menu_colour
# Clear defaults
menu =
# Variables (Worst to Best)
$evil := red
$negative := brown
$danger := lightred
$warning := yellow
$boring := darkgrey
$decent := white
$good := lightblue
$positive := green
$verypositive := lightgreen
$awesome := lightmagenta
# Unusual Variables
$mp := lightcyan
$equipped := cyan
$mutation := magenta
##################
# Basic Settings #
##################
# General Categories
menu += $boring:(melded)
menu += $boring:.*useless_item.*
menu += $evil:.*evil_item.*
menu += $danger:[^n]cursed
menu += inventory:$danger:[^n]cursed
menu += inventory:$equipped:.*equipped.*
menu += $decent:.*artefact.*
# Unidentified Items
menu += $warning:^unidentified .*(jewellery|potion|scroll|wand).*
menu += $good:^unidentified .*armour.*(embroidered|dyed|glowing|shiny|runed)
menu += $good:^unidentified .*weapon.*(glowing|runed)
#################
# Various Items #
#################
# Amulets
menu += $boring:amulet of inaccuracy
menu += $good:amulet of (guardian spirit|stasis|warding)
menu += $positive:amulet of (faith|rage|resist corrosion)
menu += $verypositive:amulet of (clarity|regeneration|resist mutation|the gourmand)
# Decks (keep warning as default in case of new decks)
menu += $evil:deck of punishments
menu += $warning:deck of (changes|destruction)
menu += $decent:deck of cards
menu += $good:deck of war
menu += $positive:deck of (defence|summoning)
menu += $verypositive:deck of escape
menu += $awesome:deck of wonders
menu += $warning:deck of
# Evokables
menu += blue:inert
menu += $warning:disc of storms
menu += $warning:tome of Destruction
menu += $decent:box of beasts
menu += $decent:lantern of shadows
menu += $decent:stone of tremors
menu += $good:fans? of gales
menu += $good:lamps? of fire
menu += $good:phials? of floods
menu += $good:sack of spiders
menu += $positive:phantom mirror
menu += $mp:crystal ball of energy
# Food
menu += $evil:evil_eating
menu += $danger:rot-inducing
menu += $warning:poisonous
menu += $boring:inedible
menu += $good:bread ration
menu += $good:meat ration
menu += $good:preferred
menu += $good:(corpse|chunk)
menu += $mutation:mutagenic
# Potions
menu += $danger:potions? of berserk
menu += $decent:potions? of (flight|lignification|restore)
menu += $good:potions? of (agility|brilliance|invisibility|might|resistance)
menu += $positive:potions? of curing
menu += $verypositive:potions? of (haste|heal wounds)
menu += $awesome:potions? of (beneficial|cancellation|cure mutation|experience|gain)
menu += $mp:potions? of magic
menu += $mutation:potions? of mutation
# Rings
menu += $negative:ring of \-.*(dexterity|evasion|intelligence|protection|slaying|strength)
menu += $negative:ring of loudness
menu += $warning:ring of (fire|ice)
menu += $decent:ring of flight
menu += $good:ring of (.*evasion|invisibility|magical power|.*protection|stealth|sustain abilities|wizardry)
menu += $positive:ring of (poison resistance|protection from cold|protection from fire|protection from magic|see invisible)
menu += $verypositive:ring of (regeneration|.*slaying)
menu += $awesome:ring of teleport
# Rods
menu += $verypositive:rod
# Scrolls
menu += $danger:scrolls? of torment
menu += $boring:scrolls? of (noise|random)
menu += $decent:scrolls? of (amnesia|holy word|identify|remove curse)
menu += $good:scrolls? of (fear|fog|immolation|silence|summoning|vulnerability)
menu += $positive:scrolls? of (brand|enchant|magic mapping|recharging)
menu += $verypositive:scrolls? of acquirement
menu += $awesome:scrolls? of (blinking|teleportation)
# Staves
menu += $mp:staff of (energy|Wucad Mu)
menu += $positive:[^r]staff of
# Wands
menu += $boring:wand of (flame|frost|magic darts|random effects)
menu += $decent:wand of (confusion|enslavement|paralysis|polymorph|slowing)
menu += $good:wand of (cold|digging|disintegration|draining)
menu += $good:wand of (fire|fireball|invisibility|lightning)
menu += $positive:wand of hasting
menu += $verypositive:wand of heal wounds
menu += $awesome:wand of teleportation
# Other
menu += $negative:shield of the gong
menu += $good:throwing net
menu += $awesome:.*misc.*rune( of Zot)?
menu += $awesome:.*orb.*Zot
menu += $awesome:manual
###############
# Item slots #
###############
islot := item_slot
islot += wand of digging:V
islot += wand of iceblast:I
islot += wand of acid:C
islot += wand of polymorph:M
islot += wand of flame:F
islot += wand of paralysis:P
islot += wand of enslavement:E
islot += potion of blood:q
islot += ring of see invisible:i
islot += ring of protection from fire:f
islot += ring of protection from cold:c
islot += ring of protection from magic:m
islot += ring of poison resistance:p
islot += ration:w
#################
# Ability slots #
#################
aslot := ability_slot
aslot += evoke invis:i
aslot += evoke flight:f
aslot += fly:f
aslot += stop flying:g
aslot += end transformation:q
aslot += heal wounds:w
aslot += draw out power:d
###########
wall_jump_move = false
show_more=false
function ready()
AnnounceDamage()
end
###############
# Damage Calc #
###############
: local dmg_old_hp = 0
: function DmgTrack()
: local bot_hp, bot_mhp = you.hp()
: local dmg_inturn = 0
: local huge_int = 0
: local percent_hp = 0
: local percent_old_hp = 0
: local percent_hp_txt = "--%"
: if dmg_old_hp > 0 then
: if bot_hp < dmg_old_hp then
: dmg_inturn = dmg_old_hp - bot_hp
: percent_old_hp = math.ceil((dmg_old_hp*100)/bot_mhp)
: percent_hp = math.ceil((bot_hp*100)/bot_mhp)
: percent_hp_txt = percent_hp .. "%"
: if percent_hp < 30 then
: percent_hp_txt = "" .. percent_hp_txt .. ""
: elseif percent_hp < 55 then
: percent_hp_txt = "" .. percent_hp_txt .. ""
: elseif percent_hp < 75 then
: percent_hp_txt = "" .. percent_hp_txt .. ""
: end
: percent_hp_txt = percent_hp_txt .. "(" .. bot_hp .. "hp)"
: if dmg_inturn > (bot_hp*0.25) then
: crawl.mpr("Huge Dmg: -" .. (percent_old_hp-percent_hp) .. "%(-" .. dmg_inturn .. "hp)" .. " hp: " .. percent_hp_txt)
: dmg_old_hp = bot_hp
: crawl.flush_prev_message()
: crawl.more()
: else
: if dmg_inturn > (bot_hp*0.15) then
: crawl.mpr("Damage: -" .. (percent_old_hp-percent_hp) .. "%(-" .. dmg_inturn .. "hp)" .. " hp: " .. percent_hp_txt)
: else
: crawl.mpr("Damage: -" .. (percent_old_hp-percent_hp) .. "%(-" .. dmg_inturn .. "hp)" .. " hp: " .. percent_hp_txt)
: end
: end
: crawl.flush_prev_message()
: end
: end
: dmg_old_hp = bot_hp
: end
# Skill menu at game start by rwbarton
{
local need_skills_opened = true
function ready()
DmgTrack()
if you.turns() == 0 and need_skills_opened then
need_skills_opened = false
crawl.sendkeys("m")
end
end
}
#######
#Notes#
#######
dump_message_count = 100
note_hp_percent = 40
########
#fake_lang = jagerkin, jagerkin