# CRAWL.NEMELEX.CARDS
##### Crawl Init file ###############################################
# For descriptions of all options, as well as some more in-depth information
# on setting them, consult the file
#    options_guide.txt
# in your /docs directory. If you can't find it, the file is also available
# online at:
# https://github.com/crawl/crawl/blob/master/crawl-ref/docs/options_guide.txt
#
# Crawl uses the first file of the following list as its option file:
#  * init.txt in the -rcdir directory (if specified)
#  * .crawlrc in the -rcdir directory (if specified)
#  * init.txt (in the Crawl directory)
#  * ~/.crawl/init.txt (Unix only)
#  * ~/.crawlrc (Unix only)
#  * ~/init.txt (Unix only)
#  * settings/init.txt (in the Crawl directory)

##### Some basic explanation of option syntax #######################
# Lines beginning with '#' are comments. The basic syntax is:
#
# field = value         or      field.subfield = value
#
# Only one specification is allowed per line.
#
# The terms are typically case-insensitive except in the fairly obvious
# cases (the character's name and specifying files or directories when
# on a system that has case-sensitive filenames).
#
# White space is stripped from the beginning and end of the line, as
# well as immediately before and after the '='. If the option allows
# multiple comma/semicolon-separated terms (such as
# autopickup_exceptions), all whitespace around the separator is also
# trimmed. All other whitespace is left intact.
#
# There are three broad types of Crawl options: true/false values (booleans),
# arbitrary values, and lists of values. The first two types use only the
# simple =, with later options - which includes your options that are different
# from the defaults - overriding earlier ones. List options allow using +=, ^=,
# -=, and = to append, prepend, remove, and reset, respectively. Usually you will
# want to use += to add to a list option. Lastly, there is := which you can use
# to create an alias, like so:
#   ae := autopickup_exceptions
# From there on, 'ae' will be treated as if it you typed autopickup_exceptions,
# so you can save time typing it.
#

##### Other files ###################################################
# You can include other files from your options file using the 'include'
# option. Crawl will treat it as if you copied the whole text of that file
# into your options file in that spot. You can uncomment some of the following
# lines by removing the beginning '#' to include some of the other files in
# this folder.

# Some useful, more advanced options, implemented in LUA.
# include = advanced_optioneering.txt

# Alternative vi bindings for Dvorak users.
# include = dvorak_command_keys.txt

# Alternative vi bindings for Colemak users.
# include = colemak_command_keys.txt

# Alternative vi bindings for Neo users.
# include = neo_command_keys.txt

# Override the vi movement keys with a non-command.
include = no_vi_command_keys.txt

# Turn the shift-vi keys into safe move, instead of run.
#include = safe_move_shift.txt

###############
### Display ###
###############

tile_font_crt_size  = 25
tile_font_stat_size = 25
tile_font_msg_size  = 25
tile_font_tip_size  = 20
tile_font_lbl_size  = 24

tile_font_crt_family  = Monospace
tile_font_stat_family = Iosevka Fixed
tile_font_msg_family  = Iosevka
tile_font_lbl_family  = Monospace

tile_viewport_scale = 1.5

fail_severity_to_confirm = 4

rest_wait_percent = 100
action_panel_scale = 150

hp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red
mp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red
hp_warning = 50

food_snacking_frequency = 100

sort_menus = true : >qty, equipped, art, basename, qualname, curse

note_items += jewellery
autopickup = $?!+"/

channel.sound = lightblue

tile_show_threat_levels = tough, nasty, unusual

explore_greedy = true
explore_greedy_visit = artefacts
explore_stop  = items,stairs,altars,shops,portals,branches,runed_doors
explore_stop += greedy_items

drop_disables_autopickup = true

###########################
### Spell/Ability slots ###
###########################


spell_slot += .*:qwerasdfxcvQWERASDFCV

ability_slot += Breathe:q
ability_slot += Invisibility:iv
# Abilities prone to miskeys.
ability_slot += Blink:IB
ability_slot += Berserk:k
ability_slot += Corrupt:C
ability_slot += Enter the Abyss:E


########################
### Autoinscriptions ###
########################

ae := autopickup_exceptions
ae += <throwing net
ae += <vulnerability|immolation

show_god_gift = unident

ai := autoinscribe

ai += potions? of berserk rage:!q
ai += scrolls? of silence:!r

ai += of faith:!P
ai += manual of:!d
# Prevent melee with all staves; if we want to melee with one, it's safe to
# require removing the annotation.
ai += magical staff:!a
ai += (large rock|throwing net|curare|of dispersal):=f
# ai += (demon whip|eveningstar|sacred scourge|eudemon blade|crystal plate armour|pearl dragon scales|gold dragon scales|quick blade|double sword|triple sword|demon trident|lajatang|trishula|bardiche|executioner|shield):rare
# ai +=  (helmet|hat|boots|cloak|gloves|barding):rare


: if (you.race() == "Oni" or you.race() == "Troll") then
ae += <large rock
: end

ai += curing:@q1
ai += potions? of heal wounds:@q2
ai += potions? of haste:@q3
ai += scrolls? of teleportation:@r2
ai += identify:@r1

ai += phial of floods:@v1
ai += lightning rod:@v4
ai += box of beasts:@v3
ai += sack of spiders:@v3
ai += tin of tremor:@v2
ai += condenser vane:@v2
ai += phantom mirror:@v5
##############
### Morgue ###
##############

note_hp_percent = 10
note_all_skill_levels = true
note_chat_messages = false
user_note_prefix = >>

note_items += experience,of resistance, Archmagi
note_items += crystal plate armour,pearl dragon scales
note_items += artefact

flash_screen_message += You miscast

more := force_more_message

more += Ouch! That really hurt!
more += flesh start
more += Space warps horribly around you
more += hits you.*distortion
more += Space bends around you
#more += fumble
#more += wearing a (* shield|buckler) 
#more += wielding a (* electrocution) 

# 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
more += You have finished your manual

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 += dispelling energy hits you!
# more += You are blasted by holy energy!
more += You are (blasted|electrocuted)!
more += You are.*confused
# 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

# Expiring effects
# more += You feel yourself slow down
# more += You are starting to lose your buoyancy
# more += Your hearing returns
# more += You feel yourself come back to life
# more += time is quickly running out
# more += You start to feel a little slower
# more += You feel less protected from missiles

bindkey = [`]CMD_AUTOFIGHT_NOMOVE
bindkey = [\{-1005}]CMD_PRIMARY_ATTACK
bindkey = [u]CMD_DISPLAY_SPELLS
bindkey = [\{8}]CMD_DISPLAY_SKILLS
bindkey = [v]CMD_EVOKE
bindkey = [m]CMD_MEMORISE_SPELL
bindkey = [NP0]CMD_REPLAY_MESSAGES
bindkey = [c]CMD_FULL_VIEW

macros += M 1 Q&q
macros += M 2 Q&w
macros += M 3 Q&e
macros += M 4 Q&r
macros += M 5 Q&a
macros += M 6 Q&s
macros += M 7 Q&d
macros += M 8 Q&f
macros += M 9 Q&x
macros += M 0 Q&c