##############
# Meatsprint #
##############
#channel.god = mute
#channel.intrinsic_gain = mute
#heap_brand = none
#default_autopickup = false
#{
#function choose_stat_gain()
# crawl.sendkeys('d')
#end
#}
#: end
##########
# Travel #
##########
explore_stop = items,greedy_items,greedy_pickup,greedy_pickup_gold
explore_stop += greedy_visited_item_stack,stairs,shops,altars,gates
explore_stop += greedy_sacrificeable
travel_key_stop = false
: if you.god() ~= "Elyvilon" and you.god() ~= "No God" then
auto_sacrifice = before_explore
: else
auto_sacrifice = false
: end
#############
# Interface #
#############
# travel_open_doors = false
equip_unequip = true
jewellery_prompt = false
allow_self_target = no
easy_confirm = all
confirm_butcher = never
auto_eat_chunks = true
auto_drop_chunks = yes
sort_menus = true : equipped, identified, basename, qualname, curse, qty
autofight_stop = 40
autofight_caught = true
hp_warning = 50
hp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red
mp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red
stat_colour = 7
clear_messages = true
# small_more = true
show_inventory_weights = true
show_travel_trail = false
skill_focus = true
default_manual_training = true
language = en
view_delay = 300
use_animations -= player, hp
# Spellcasting spam reduction by monqy
# Macro z and Z to ===force_cast_spell
{
function force_cast_spell()
crawl.mpr('Cast which spell?')
crawl.flush_prev_message()
crawl.process_keys('Z')
end
}
############
# Messages #
############
stop := runrest_stop_message
stop =
ignore := runrest_ignore_message
ignore =
more := force_more_message
more =
# Todo: recheck all of this
# Annoyances
ignore += Jiyva gurgles merrily
ignore += Jiyva appreciates your sacrifice
ignore += Jiyva says: Divide and consume
ignore += You hear.*splatter
ignore += You feel.*sick
ignore += disappears in a puff of smoke
ignore += engulfed in a cloud of smoke
ignore += standing in the rain
ignore += engulfed in white fluffiness
ignore += safely over a trap
ignore += A.*toadstool withers and dies
ignore += toadstools? grow
ignore += You walk carefully through the
ignore += Eating a chunk
ignore += This .*flesh tastes
ignore += You .* eating
ignore += The winds around you calm down.
ignore += Lightning arcs down from a storm cloud
ignore += grinding sound
ignore += contamination has completely
ignore += chunks of flesh in your inventory.*rotted away
ignore += rod.*has recharged
ignore += your breath back
runrest_ignore_poison = 2:10
runrest_ignore_monster += butterfly:1
# Bad things
stop += found.*trap
stop += You fall through a shaft
stop += emits a blaring wail
stop += (blundered into a|invokes the power of) Zot
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
# Expiring effects
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
: if you.race() == "Ghoul" then
stop += smell.*(rott(ing|en)|decay)
stop += something tasty in your inventory
: end
:if you.god() == "Xom" then
stop += god:
:else
ignore += god:
:end
stop += hell_effect:
ignore += pray:
ignore += talk:
ignore += talk_visual:
ignore += friend_spell:
ignore += friend_enchant:
ignore += friend_action:
ignore += sound:
# Important features
: if you.god() == "Ashenzari" then
more += You have a vision of.*gates?
: else
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
: end
more += Found .* abyssal rune of Zot
more += The mighty Pandemonium lord .* resides here
# Interrupts
more += You don't.* that spell
more += You fail to use your ability
more += You miscast Controlled Blink
more += You can't (read|drink|do) that
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
# Bad things
more += Your surroundings flicker
more += sense of stasis
more += ^Your amulet of stasis
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 += A sentinel's mark forms upon 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 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 bends around you
more += hits you.*distortion
more += watched by something
more += flickers and vanishes!
more += Miasma billows from
more += zaps a wand
# Hell effects
more += hell_effect:
# 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
# Others
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
: if you.god() == "Xom" then
more += god:
: end
###################
# Message colours #
###################
# Todo: recheck all of this
$danger := lightred
$warning := yellow
$boring := darkgrey
$item_dmg := $danger
msc := message_colour
msc =
menu := menu_colour
menu =
# Multi-turn
channel.multiturn = mute
# Allies
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 away
msc += mute:you swap places
msc += mute:your.*(looks stronger|shudders|resists)
msc += mute:your.*(stumbles backwards|holds.*ground)
msc += mute:(something|your).*(misses|does no damage)
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)
msc += mute:constricts?.*no damage
# Prayer
channel.pray += mute
# Jiyva
: if you.god() == "Jiyva" then
msc += mute:slurping|squelching
msc += mute:splits in two
msc += mute:You feel.*(less hungry|power returning|better)
: end
# Interface
msc += mute:Cast which spell\? \(
msc += mute:^Casting.*
msc += mute:Confirm with \. or Enter, or press \? or \* to list all spells\.
msc += mute:Press\: \? - help, Shift-Dir - straight line, f - you
msc += mute:for a list of commands and other information
msc += mute:meld.*your body
# Other
msc += mute:This raw flesh tastes terrible
msc += mute:begins to bleed from.*wounds
msc += mute:writhes in agony as.*flesh
msc += mute:An air elemental.*itself.*the air
msc += mute:You feel a.*surge of power
msc += mute:Your legs become a tail as you enter the water
msc += mute:You cannot train any new skill
# Default colours
msc += $danger:drains you
msc += $danger:feel drained
msc += $danger:strangely unstable
msc += $danger:curare-tipped.*hits you
msc += $danger:Space warps.* around you
msc += $danger:Space bends around you
msc += $danger:sense of stasis
msc += $danger:clumsily bash
msc += $danger:goes berserk
msc += $danger:Forgetting.* will destroy the book
msc += $danger:The blast of calcifying dust hits you
msc += $danger:You are engulfed in calcifying dust
msc += $danger:is moving more slowly
msc += lightgrey:Something appears (at your feet|before you)
msc += $danger:^Something .* you
msc += $danger:You block its attack
msc += $danger:constricts you
msc += $danger:you convulse
msc += $danger:You feel a build-up of mutagenic energy
msc += $danger:place you under penance
msc += $item_dmg:acid corrodes
msc += $item_dmg:catch(es)? fire
msc += $item_dmg:freezes? and shatters?
msc += $item_dmg:covered with spores
msc += $item_dmg:devours some of your food
msc += $item_dmg:rots? away
msc += $warning:ticking.*clock
msc += $warning:dying ticks
msc += $warning:distant snort
msc += $warning:odd grinding sound
msc += $warning:creaking of ancient gears
msc += $warning:floor suddenly vibrates
msc += $warning:a sudden draft
msc += $warning:coins.*counted
msc += $warning:tolling.*bell
msc += $warning:roar of battle
msc += $warning:creaking.*oriflamme
msc += $warning:oriflamme is probably
msc += $warning:wave of frost
msc += $warning:crackling.*melting
msc += $warning:hiss.*sand
msc += $warning:sound.*rushing water
msc += $warning:rusting.*drain
msc += $warning:drain falling apart
msc += $warning:oppressive heat
msc += $warning:rumble.*avalanche of rocks
msc += $warning:crackle.*arcane power
msc += $warning:crackle.*magical portal
msc += $warning:fails to return
msc += $warning:no longer ripe
msc += $boring:You start (resting|waiting)
msc += $boring:Unknown command
msc += $boring:but (do no|doesn't do any) damage
msc += $boring:(prevent|prevents) you from hitting
# Selected items
menu += inventory:white:\w \+\s
menu += inventory:white:\w \#\s
menu += darkgrey:(melded)
menu += red:.*evil_item.*
menu += lightred: cursed
menu += darkgrey:.*useless_item.*
menu += inventory:lightgreen:.*equipped.*
menu += white:.*artefact.*
menu += lightblue:^unidentified .*(potion|scroll|wand|jewellery|deck).*
menu += lightblue:^unidentified .*weapon.*(runed|glowing)
menu += lightblue:^unidentified .*armour.*(runed|glowing)
menu += lightblue:^unidentified .*armour.*(embroidered|shiny|dyed)
menu += yellow:heal wounds
# Food
menu += darkgrey:.*inedible.*
menu += darkgrey:.*evil_eating.*
menu += darkgrey:.*mutagenic.*
################
# Item colours #
################
item := item_glyph
item += potion:lightgrey
item += spellbook:red
item += wand of (heal wounds|hasting|teleportation):yellow
item += scrolls? of (blinking|teleportation):yellow
item += potions? of (haste|heal wounds|magic):yellow
item += scrolls? of (acquirement|brand weapon|enchant|recharging):cyan
item += potions? of (beneficial mutation|cure mutation|experience):cyan
item += unidentified.*(potion|scroll|book|wand):lightblue
item += unidentified.*manual:white
item += useless_item.*(potion|scroll):darkgrey
# Food
item += (corpse|chunk):white
item += mutagenic.*(corpse|chunk):darkgrey
item += forbidden.*(corpse|chunk):darkgrey
item += inedible.*(corpse|chunk):darkgrey
####################
# Autoinscriptions #
####################
autoinscribe += (bad|dangerous)_item.*potion:!q
autoinscribe += (bad|dangerous)_item.*scroll:!r
autoinscribe += of faith:!P
autoinscribe += rod of (clouds|destruction|ignition|inaccuracy):!a
autoinscribe += rod of (shadows|the swarm):!a
autoinscribe += lightning rod:!a
autoinscribe += manual of:!d
autoinscribe += staff of (Wucad Mu|energy|wizardry|power|conjuration):!a
autoinscribe += wand of (heal wounds|hasting|teleportation):!d
autoinscribe += chunks? of:@w1
# Throwables
# Todo: make this work properly
autoinscribe += (large rock|throwing net|curare|of dispersal):=f
#autoinscribe += dart:@Q1
#autoinscribe += tomahawk:@Q2
#autoinscribe += javelin:@Q3
#autoinscribe += large rock:@Q4
: if you.god() == "Fedhas" then
autoinscribe += fruit:!e
: end
################
# Key bindings #
################
# Useless commands
bindkey = [R] CMD_NO_CMD_DEFAULT
bindkey = [T] CMD_NO_CMD_DEFAULT
bindkey = [O] CMD_NO_CMD_DEFAULT
bindkey = [|] CMD_NO_CMD_DEFAULT
bindkey = [D] CMD_NO_CMD_DEFAULT
# Macro keys
bindkey = [`] CMD_NO_CMD_DEFAULT
bindkey = [1] CMD_NO_CMD_DEFAULT
bindkey = [2] CMD_NO_CMD_DEFAULT
bindkey = [3] CMD_NO_CMD_DEFAULT
bindkey = [4] CMD_NO_CMD_DEFAULT
bindkey = [6] CMD_NO_CMD_DEFAULT
bindkey = [7] CMD_NO_CMD_DEFAULT
bindkey = [8] CMD_NO_CMD_DEFAULT
bindkey = [9] CMD_NO_CMD_DEFAULT
# Wizmode
bindkey = [&] CMD_NO_CMD_DEFAULT
# Targeting
bindkey = [\] CMD_TARGET_OBJ_CYCLE_FORWARD
bindkey = [^I] CMD_TARGET_CYCLE_FORWARD
# Saving
bindkey = [S] CMD_SAVE_GAME_NOW
#########
# Notes #
#########
dump_message_count = 30
dump_order = header,hiscore,stats,misc,mutations,skills,spells,inventory
dump_order += overview,screenshot,monlist,messages,action_counts,vaults
dump_order += notes,kills
dump_book_spells = false
note_items = rod,experience,acquirement,running,of Zot
note_items += of resistance,Archmagi,crystal plate armour,dragon armour
note_items += artefact,wand of (heal wounds|hasting|teleportation)
note_hp_percent = 10
note_all_skill_levels = true
##############
# Autopickup #
##############
pickup_mode = multi
autopickup = $?!/%
ae := autopickup_exceptions
ae =
ae += (useless|evil)_item
ae += dangerous_item.*scrolls? of (holy word|noise|torment)
ae += potions? of (lignification|mutation)
ae += scrolls? of (immolation|vulnerability)
ae += wand of (confusion|enslavement|fireball|flame|frost|lightning)
ae += wand of (magic darts|paralysis|polymorph|random effects|slowing)
ae += armour_plus(cur) then return true end
end
end
if you.xl() < 17 then
if name:find("dragon hide") or
name:find("dragon armour") or
name:find("crystal") then
return true
end
end
end
if class == "weapon" then
if you.xl() < 17 then
if name:find("demon") or
name:find("bastard") or
name:find("eveningstar") or
name:find("lajatang") or
name:find("quick blade") then
return true
end
end
end
if class == "missile" then
if name:find("curare") then
return true
end
end
return
end
add_autopickup_func(autopickup)
}
: local dmg_old_hp = 0
<
function ready()
DmgTrack()
end
>
: local dmg_old_hp = 0
: function DmgTrack()
: local bot_hp, bot_mhp = you.hp()
: local dmg_inturn = 0
: if dmg_old_hp > 0 then
: dmg_inturn = dmg_old_hp - bot_hp
: if bot_hp < dmg_old_hp then
: crawl.mpr("You take " .. dmg_inturn .. " damage.")
: end
: end
: dmg_old_hp = bot_hp
: end