##### 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) msg_min_height = 8 msg_max_height = 11 ##### 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. # #bindkey = [s] CMD_WEAPON_SWAP #bindkey = [E] CMD_EAT #bindkey = [e] CMD_EXPLORE #bindkey = [o] CMD_EXPERIENCE_CHECK bindkey = [0] CMD_REST message_colour ^= mute:Your.*(bites|misses|hits|claws|gores) auto_butcher = hungry easy_eat_chunks = true auto_switch = true enable_recast_spell = false autoinscribe += blood:@q1 # damerell.rc default_manual_training = true easy_eat_chunks = true autofight_stop = 0 autofight_throw_nomove = true bindkey = [^I] CMD_AUTOFIGHT_NOMOVE explore_stop += greedy_pickup auto_butcher = satiated hp_colour = 70:yellow, 40:red hp_warning = 20 explore_auto_rest = true travel_open_doors=false bold_brightens_foreground = true runrest_stop_message +=experienced runrest_stop_message +=draining runrest_stop_message +=vision runrest_stop_message +=destroyed runrest_stop_message +=is almost over #force_more_message += (comes? into view|opens the) show_more=true explore_stop -= greedy_pickup_smart explore_stop += greedy_pickup # gorglomux.rc player_tiles = {{tile = "felid", num_var=10}} note_skill_levels = 1,3,6,9,12,15,18,21,24,27 travel_delay = -1 explore_delay = -1 trapwalk_safe_hp = dart:20,needle:15,arrow:35,bolt:45,spear:40,axe:45,blade:95 { local need_skills_opened = true function ready() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end end } default_manual_training = true skill_focus = true assign_item_slot = backward auto_sacrifice = true show_travel_trail = true show_god_gift = yes cloud_status = true #fire_order = launcher, large rock, javelin, tomahawk, stone, net runrest_ignore_message += blood rots? away runrest_ignore_message += Your icy armour runrest_ignore_message += Your skin is crawling a little less runrest_ignore_message += infusion is running out runrest_ignore_message += shroud begins to fray runrest_ignore_message += You feel.*sick interrupt_eat = runrest_safe_poison = 100:100 #interrupt_armour_on -= hp_loss #interrupt_armour_off -= hp_loss interrupt_memorise -= hp_loss autofight_stop = 0 message_colour ^= lightgreen:Found message_colour ^= green:more experienced message_colour ^= magenta:sizzling sound message_colour ^= red:you shout at use_animations -= hp menu_colour += cyan:.*brand weapon menu_colour += cyan:.*enchant weapon menu_colour += cyan:.*enchant armour menu_colour += cyan:.*recharging menu_colour += cyan:.*magic mapping menu_colour += green:.*potions? of might menu_colour += green:.*potions? of agility menu_colour += green:.*potions? of brilliance menu_colour += green:.*potions? of haste menu_colour += green:.*potions? of resistance menu_colour += green:.*potions? of berserk autoinscribe ^= potion of mutation:!q autoinscribe ^= stone:@Q1 =f autoinscribe ^= sling bullet:@Q2 autoinscribe ^= throwing net:=f : if you.race() == "Spriggan" or you.race() == "Vine Stalker" then default_autopickup = false : else default_autopickup = true : end : if you.race() == "Ghoul" then chunks_autopickup = true : else chunks_autopickup = false : end ae := autopickup_exceptions ae -= dangerous_item ae += >scrolls? of (amn|vuln|noise) ae += >potions? of (ligni|ambr) ae += >wand of (dis|flame|poly|conf|rand|slow) ae += >ring of (protection from (mag|fire|cold)|mag|stealth|ice|fire|pos|wiz) ae += scrolls? of torment : end : if you.race() == "Formicid" then ae += >wand? of (dig|dis) : end as := ability_slot as ^= Evoke Invis: i as ^= Turn Visibl: j as ^= Evoke Fligh: l as ^= Fly: l as ^= Stop Flying: m as ^= Evoke Telep: t as ^= Spit: q as ^= Breath: q ss := spell_slot ss ^= Apportation: o ss ^= Blink: d ss ^= Portal Proj: j ss ^= Warp Weapon: W ss ^= Passage of: g ss ^= Phase Shift: p ss ^= Summon Fore: F ss ^= ontrolled B: C ss ^= Control Tel: k ss ^= Song of Sla: y ss ^= Missiles: f ss ^= Flight: l ss ^= Regeneratio: R ss ^= Shroud of G: h ss ^= Spectral We: W ss ^= Ozocubu: h ss ^= Haste: H ss ^= Ensorcelled: z ss ^= Confuse: x ss ^= Tukima's Da: t ss ^= Invisibilit: I ss ^= Enslavement: v ss ^= Dazzling Sp: q ss ^= Animate Ske: b ss ^= Sublimation: Z ss ^= Corpse Rot: r ss ^= Control Und: U ss ^= Dispel Unde: u ss ^= Animate Dea: E ss ^= Vampiric Dr: v ss ^= Stone Skin: s ss ^= Passwall: c ss ^= Lee's Rapid: l ss ^= Statue Form: Y ss ^= Summon Butt: B ss ^= Aura of Abj: A ss ^= Summon Ligh: l ss ^= Conjure Fla: j ss ^= Mephitic Cl: m ss ^= Cure Poison: w is := item_slot is ^= ring of protection from fire:f is ^= ring of protection from cold:c is ^= ring of protection from magic:m is ^= ring of poison resistance:o is ^= ring of teleport control:k is ^= ring of flight:l is ^= ring of see invisible:s is ^= ring of stealth:x is ^= ring of slaying:y is ^= ring of teleportation:t is ^= ring of invisibility:i is ^= amulet of resist mutation:j is ^= of resist corrosion:g is ^= amulet of regeneration:r is ^= blowgun:q is ^= throwing net:Z is ^= scroll of identify:R is ^= scroll of teleportation:T is ^= scroll of blinking:B is ^= scroll of magic map:M is ^= potion of curing:Q is ^= wand of heal:h is ^= wand of acid:A is ^= wand of ensl:E is ^= wand of iceb:I is ^= wand of ligh:L is ^= wand of para:P is ^= wand of conf:C is ^= wand of digg:D is ^= wand of clou:O is ^= wand of scat:S is ^= meat ration:z is ^= box:U is ^= mirror:V is ^= sack:W is ^= phial:X is ^= lamp:Y force_more_message += You have reached level force_more_message += You fall through a shaft force_more_message += You enter a teleport trap force_more_message += You are suddenly yanked force_more_message += interdimensional caravan force_more_message += distant snort force_more_message += Found a gateway leading out of the Abyss force_more_message += Found a gateway leading deeper into the Abyss force_more_message += Found .* abyssal rune of Zot force_more_message += Careful! force_more_message += You are starting to lose your buoyancy force_more_message += You miscast Flight force_more_message += filled with .* inner flame force_more_message += grabs you force_more_message += skill increases force_more_message += starts rolling force_more_message += looks more exp force_more_message += plume of calc force_more_message += vile air hits you force_more_message += engulfs you in water force_more_message += breathes miasma force_more_message += You feel your flesh start force_more_message += Found * staircase leading down force_more_message += You are engulfed in seething chaos force_more_message += You are slowing down force_more_message += fire storm spell force_more_message += Your guardian golem overheats force_more_message += offers itself force_more_message += wielding.* distortion.* comes? into view force_more_message += dream sheep.* comes? into view force_more_message += serpent.* comes? into view force_more_message += hydra.* comes? into view force_more_message += centaur.* comes? into view force_more_message += killer bee.* comes? into view force_more_message += the .* comes? into view force_more_message += 's ghost.* comes? into view force_more_message += demonologist.* comes? into view force_more_message += fiend.* comes? into view force_more_message += tzitzi.* comes? into view force_more_message += pandemonium lord.* comes? into view force_more_message += cacodemon.* comes? into view force_more_message += neqoxec.* comes? into view force_more_message += wretched star.* comes? into view force_more_message += shining eye.* comes? into view force_more_message += electric eel.* comes? into view force_more_message += hellion.* comes? into view force_more_message += tormentor.* comes? into view force_more_message += orb.* of fire.* comes? into view force_more_message += Found a gate leading to another region of Pandemonium flash_screen_message += You are slowing down #: if you.race() == "Ghoul" or you.race() == "Felid" or you.race() == "Troll" or you.race() == "Kobold" then easy_eat_chunks = true #: end : if you.race() == "Tengu" then ae += >potions? of flight : end : if you.god() == "Sif Muna" then ability_menu = false : end : if you.god() == "Trog" then ae += >potions? of brilliance ae += >potions? of berserk : end : if you.god() == "Cheibriados" then force_more_message += comes? into view : end : if you.god() == "Fedhas" then autoinscribe += fruit:!e : end #force_more_message += comes? into view auto_eat_chunks = true auto_butcher = true tile_show_player_species = true item_slot += potion of blood:q autofight_fire_stop = true #fake_lang = grunt, butt # fake_lang = dwarven # dwarven|jagerkin|kraut|runes|wide|grunt|butt ##### 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 # 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 ##### Ancient versions ############################################## # If you're used to the interface of ancient versions of Crawl, you may # get back parts of it by uncommenting the following options: # include = 034_command_keys.txt # And to revert monster glyph and colouring changes: # include = 052_monster_glyphs.txt # include = 060_monster_glyphs.txt # include = 071_monster_glyphs.txt # include = 080_monster_glyphs.txt # include = 0.9_monster_glyphs.txt # include = 0.12_monster_glyphs.txt # include = 0.13_monster_glyphs.txt # include = 0.14_monster_glyphs.txt : local dmg_old_hp = 0 < function ready() DmgTrack() end > : 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 #: huge_dmg_note(dmg_inturn) : 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() : crawl.more_autoclear(true) : 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 : function huge_dmg_note(x) : crawl.take_note("Huge Dmg: " .. x .. " Dmg") : end