## This is an example nethackrc file. You should edit this to suit your needs OPTIONS=role:wiz,race:gno,align:neu,gender:fem ## Also see https://nethackwiki.com/wiki/Options ## Automatics ## Automatically dig if you are wielding a digging tool and moving ## into a place that can be dug #OPTIONS=autodig ## Walking into a door attempts to open it OPTIONS=autoopen ## Pickup some specified items without spending turns OPTIONS=autopickup, pickup_types:$"?!=/ ## Automatically quiver if your quiver empties when firing OPTIONS=autoquiver OPTIONS=runmode:walk ## Allow saving and loading bones files OPTIONS=bones ## Highlights ## Show out-of-sight areas of lit rooms OPTIONS=dark_room ## Use inverse for pets OPTIONS=hilite_pet ## Use inverse for piles of items OPTIONS=hilite_pile ## Show visual effect on corridor whether lit or unlit OPTIONS=lit_corridor ## How recalled messages (ctrl-p) are displayed OPTIONS=msg_window:reversed # Respond when you try to walk through the wall OPTIONS=mention_walls # Show object symbols in menu headings in menus OPTIONS=menu_objsyms # Display experience points and turns, recommended OPTIONS=showexp, time # Show highscores OPTIONS=!toptenwin ## Sort items by name. One of "none", "loot", or "full" #OPTIONS=sortloot:full ## Require explicit yes for some prompts #OPTIONS=paranoid_confirmation:Confirm quit attack pray wand Remove ## use IBMgraphics or DECgraphics #OPTIONS=symset:DECgraphics #OPTIONS=symset:IBMgraphics ## Change symbols OPTIONS=boulder:0 SYMBOLS=S_ghost:X ## Fruit name #OPTIONS=fruit:Kimchi of Yendor ## Conducts #OPTIONS=nudist #OPTIONS=blind ## Colored menus. Regular expressions allowed. # OPTIONS=menucolors MENUCOLOR=" blessed "=green MENUCOLOR=" holy "=green MENUCOLOR=" cursed "=red MENUCOLOR=" unholy "=red MENUCOLOR=" cursed .* (being worn)"=orange&underline ## Messagetypes # ## displacing pets. hide the message. #MSGTYPE=hide "You swap places with your .*" ## items on floor. don't repeat the message. #MSGTYPE=norep "You see here a .*" #MSGTYPE=norep "You see here an .*" ## delayed instadeaths. always prompt for -more- #MSGTYPE=stop "You are slowing down." #MSGTYPE=stop "You find it hard to breathe." #MSGTYPE=stop "You are turning a little .*" ## moving up or down stairs #MSGTYPE=hide "You descend .*" #MSGTYPE=hide "You (climb|fly) (up|down) .*" ## Use status hilites # OPTIONS=statushilites # HP OPTIONS=hitpointbar OPTIONS=hilite_status:hitpoints/100%/brightgreen&normal OPTIONS=hilite_status:hitpoints/<100%/green&normal OPTIONS=hilite_status:hitpoints/<66%/yellow&normal OPTIONS=hilite_status:hitpoints/<50%/orange&normal OPTIONS=hilite_status:hitpoints/<33%/red&bold OPTIONS=hilite_status:hitpoints/<15%/red&inverse ## Pw OPTIONS=hilite_status:power/100%/cyan&normal OPTIONS=hilite_status:power/<100%/green&normal OPTIONS=hilite_status:power/<66%/yellow&normal OPTIONS=hilite_status:power/<50%/orange&normal OPTIONS=hilite_status:power/<33%/red&bold ## Carry OPTIONS=hilite_status:cap/burdened/yellow/stressed/orange/strained/red&bold/overtaxed/red&inverse/overloaded/red&inverse&blink ## Hunger OPTIONS=hilite_status:hunger/satiated/yellow/hungry/orange/weak/red&bold/fainting/red&inverse/fainted/red&inverse&blink ## Mental OPTIONS=hilite_status:condition/hallu/yellow OPTIONS=hilite_status:condition/conf/orange OPTIONS=hilite_status:condition/stun/red&bold ## Health OPTIONS=hilite_status:condition/termill/red&inverse OPTIONS=hilite_status:condition/foodpois/red&inverse OPTIONS=hilite_status:condition/slime/red&inverse # Str, Con, Dex, Int, Wis, Cha OPTIONS=hilite_status:characteristics/up/green/down/red # gold OPTIONS=hilite_status: gold/up/yellow/down/brown ## Dog Name & Cat Name OPTIONS=dogname:Dangdangee OPTIONS=catname:Tekaaluk OPTIONS=perm_invent OPTIONS=rest_on_space OPTIONS=force_invmenu OPTIONS=number_pad:1 # Cut down on unnecessary prompts / messages that slow the game down # Also make it easier to screw up by not paying attention OPTIONS=!cmdassist OPTIONS=!help OPTIONS=!news OPTIONS=!verbose # Webtile WebRC Setting #$ #PIN_TERMINAL = true #$ #FORCE_TERMINAL_KEY = true #$ #EXPERIMENTAL_FONT_PATCH = true #$ DEFAULT_TILE_NAME = # Absurd-64x64, DawnHack-32x32, Geoduck-30x50, NetHack-32x32, NethackModern-128x128, Nevanda-32x32, Nevanda-64x64 #$ MOBILE_BUTTON_LINE10=%KEY%|Key %KEY_ENTER%|KEt [13]|Etr [27]|ESC [32]|SPA [8]|BSP O @ %ROOM_CHAT%|RChat %PUBLIC_CHAT%|PChat %CLEAR_CHAT%|ClrChat Sy|Save #quit[13]|qui #conduct[13]|cdt #$ MOBILE_BUTTON_LINE9=# #force[13]|foc #untrap[13]|utr #loot[13]|lot #kick[13]|kic #jump[13]|jmp #sit[13]|sit #invoke[13]|ivk #rub[13]|rub #wipe[13]|wip #pray[13]|pry #offer[13]|ofr #monster[13]|mon #ride[13]|rid #turn[13]|tun #adjust[13]*|adj #name[13]*|nam #dip[13]*|dip #enhance[13]|enh #twoweaphon[13]|twp #$ MOBILE_BUTTON_LINE8=7|↖️ 8|↑ 9|↗️ w W T R x A P d D E #$ MOBILE_BUTTON_LINE7=4|← .|. 6|→ c o e a r q z Z f Q t ; : #$ MOBILE_BUTTON_LINE6=1|↙️ 2|↓ 3|↘️ i , C p _ n20s [16]|msg [24]|att [1]|rep ################# # FOOD CONDUCTS # thanks, teabing! ################# # vegan MENUCOLOR="(food |cram |K-|C-)ration|gunyoki"=green&bold MENUCOLOR="lembas wafer|melon|carrot|tin .* spinach"=green&bold MENUCOLOR=" oranges?( named.*)?$"=green&bold MENUCOLOR=" pears?( named.*)?$"=green&bold MENUCOLOR=" apple|banana|kelp|eucalyptus|garlic|wolfsbane"=green&bold MENUCOLOR=" slime mold| pomegranate"=green&bold MENUCOLOR="(tin of )?(gelatinous cube|acid blob|quivering blob)( corpse)?"=green&bold MENUCOLOR="(tin of )?(blue|spotted|ochre) jelly( corpse)?"=green&bold MENUCOLOR="(tin of )?lichen|shrieker|violet fungus|(brown|yellow|green|red) mold( corpse)?"=green&bold # vegetarian MENUCOLOR="egg|pancake|fortune cookie|candy bar|royal jelly|cream pie|candle"=green MENUCOLOR="(tin of )?brown pudding|gray ooze( corpse)?"=green ########### # GOODIES # ########### MENUCOLOR=" bag .* holding"=magenta MENUCOLOR=" luck(stone)?($| )"=magenta MENUCOLOR=" wand .* wish(ing)?($| )"=magenta MENUCOLOR=" magic marker"=magenta MENUCOLOR=" magic lamp|lamp .* magic"=magenta MENUCOLOR=" unicorn horn[^[]*$"=magenta MENUCOLOR=" tinning kit"=magenta MENUCOLOR=" ring .* regen(eration)?($| )"=magenta MENUCOLOR=" ring .* conflict"=magenta MENUCOLOR=" ring .* (FA|free action)($| )"=magenta MENUCOLOR=" ring .* (TC|teleport control)($| )"=magenta MENUCOLOR=" ring .* lev(itation)?($| )"=magenta MENUCOLOR=" amulet .* (life ?saving|LS)($| )"=magenta MENUCOLOR=" amulet .* ref(lection)?($| )"=magenta MENUCOLOR=" c(o|hi)ckatrice (corpse|egg)"=magenta MENUCOLOR=" egg .* cockatrice"=magenta MENUCOLOR=" stethoscope"=magenta #instruments MENUCOLOR="tooled horn|fire horn|frost horn|horn .* (tooled|fire|frost)"=magenta MENUCOLOR=" harp"=magenta MENUCOLOR=" bugle"=magenta MENUCOLOR=" flute"=magenta ############# # ARTIFACTS # ############# #unaligned MENUCOLOR=" (Dragonbane|Fire Brand|Frost Brand|Ogresmasher|Trollsbane|Werebane)"=lightgreen #lawful normal, quest MENUCOLOR=" (Demonbane|Excalibur|Grayswandir|Snickersnee|Sunsword)"=lightgreen MENUCOLOR=" (Orb of Detection|Sceptre of Might|Magic Mirror of Merlin|Mitre of Holiness|Tsurugi of Muramasa)"=lightgreen #neutral normal, quest MENUCOLOR=" (Cleaver|Giantslayer|Magicbane|Mjollnir|Vorpal Blade)"=lightgreen MENUCOLOR=" (Heart of Ahriman|Staff of Aesculapius|Eyes of the Overworld|Platinum Yendorian Express Card|Orb of Fate|Eye of the Aethiopica)"=lightgreen #chaotic normal, quest MENUCOLOR=" (Grimtooth|Orcrist|Sting|Stormbringer)"=lightgreen MENUCOLOR=" (Longbow of Diana|Master Key of Thievery)"=lightgreen #invocation items MENUCOLOR=" (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)"=magenta&bold #raison d'etre MENUCOLOR=" Amulet of Yendor named"=magenta&bold ################## # CURSED GOODIES # ################## MENUCOLOR=" cursed.* bag .* holding"=red&bold MENUCOLOR=" cursed.* luck(stone)?($| )"=red&bold MENUCOLOR=" cursed.* unicorn horn"=red&bold MENUCOLOR=" cursed.* (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)"=red&bold ############# # BAD STUFF # ############# MENUCOLOR=" load(stone)?($| )"=red&underline ############################## # WATCH OUT, BAG OF HOLDING! # ############################## MENUCOLOR=" bag .* tricks"=blue&underline MENUCOLOR=" wand .*[^!]canc"=blue&underline MENUCOLOR=" wand .* vanish"=blue&underline ################ # SHINY THINGS # ################ MENUCOLOR=" gold piece"=yellow MENUCOLOR=" valuable"=brown MENUCOLOR=" gems? .* hard"=yellow #soft gems MENUCOLOR=" ([0-9]+|an?|gems? .*) (uncursed |cursed |blessed )?(dilithium|opal|garnet|jasper|agate|jet|obsidian|jade|citrine|chrysoberyl|amber|amethyst|fluorite|turquoise)(e?s)?( stones?| gems?| crystals?)?( named .*)?$"=brown #hard gems MENUCOLOR=" ([0-9]+|an?|gems?.*) (uncursed |cursed |blessed )?(diamond|rub(y|ies)|jacinth|sapphire|black opal|emerald|topaz|aquamarine)(e?s)?( stones?| gems?)?( named .*)?$"=yellow ####################### # SPELL FAILURE RATES # ####################### MENUCOLOR=" 0% "=white MENUCOLOR=" [1-9]% "=cyan MENUCOLOR=" [12][0-9]% "=cyan MENUCOLOR=" [3-6][0-9]% "=yellow MENUCOLOR=" 7[0-5]% "=yellow MENUCOLOR=" 7[6-9]% "=orange MENUCOLOR=" 8[0-9]% "=orange MENUCOLOR=" 9[0-9]% "=red MENUCOLOR=" 100% "=red ################### # FORGOTTEN SPELL # thanks, Stevie ################### MENUCOLOR="[a-zA-Z] - [a-zA-Z ]+ [0-9]\* [a-z]+ +[0-9]+%"=magenta ############ # #ENHANCE # thanks itsblah ############ MENUCOLOR="^ +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=gray MENUCOLOR="^ *[a-z] - +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=white MENUCOLOR="^ +\* +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=white MENUCOLOR="^ +"=gray # enhanceable if more potential ################ # FORCE COLORS # ################ # Some of these are subject to change ! MENUCOLOR="\{R\}"=red MENUCOLOR="\{B\}"=blue MENUCOLOR="\{C\}"=cyan MENUCOLOR="\{G\}"=green MENUCOLOR="\{Y\}"=yellow MENUCOLOR="\{[MP]\}"=magenta MENUCOLOR="\{O\}"=orange MENUCOLOR="\{W\}"=white MENUCOLOR="\{L\}"=black MENUCOLOR="\{y\}"=gray MENUCOLOR="\{g\}"=lightgreen MENUCOLOR="\{b\}"=lightblue MENUCOLOR="\{[mp]\}"=lightmagenta MENUCOLOR="\{c\}"=lightcyan MENUCOLOR="\{N\}"=gray MENUCOLOR="\{X\}"=gray MENUCOLOR="\{x\}"=gray MENUCOLOR="\{U\}"=gray MENUCOLOR="\{I\}"=gray MENUCOLOR="\{K\}"=gray ######################## # LOOT/APPLY CONTAINER # ######################## MENUCOLOR=" is empty. Do what?"=gray MENUCOLOR="Put something into .*"=gray MENUCOLOR="Take something out of .*"=gray ########################## # AUTOPICKUP REGEX RULES # ########################## #OPTIONS=apexception_regex # as well as some general game specific stuff autopickup_exception="< named (.+ )?<\.?$" autopickup_exception="< called (.+ )?<\.?$" autopickup_exception=" named (.+ )?>\.?$" autopickup_exception=" called (.+ )?>\.?$" autopickup_exception=" named (.+ )?(empty|0)\b" ## Some things to pick up while blinded autopickup_exception="<^(a|\d+) scrolls?\.?$" autopickup_exception="<^(a|\d+) potions?\.?$" autopickup_exception="<^a wand\.?$" autopickup_exception="<^a ring\.?$" autopickup_exception="<^a spellbook\.?$" # do I raelly want to pickup books while blind? autopickup_exception="<^(a|\d+) rations?\.?$" ## SCROLLS # in pickup-types and they're universally useful # ### POTIONS # in pickup-types and nearly universally useful ## WANDS # Always pick up unidentified wands # wands are now in pickup-types as they deserve, though there are some we don't want autopickup_exception=" wand (of|called) nothing\b" ## AMULETS # Always pick up unidentified amulets #autopickup_exception="< (circular|spherical|oval|triangular|pyramidal|square|concave|hexagonal|octagonal) amulet\b" #autopickup_exception=" amulet (of|called) change\b" #autopickup_exception=" amulet (of|called) ESP\b" #autopickup_exception="< amulet (of|called) life saving\b" #autopickup_exception=" amulet (of|called) magical breathing\b" #autopickup_exception="< amulet (of|called) reflection\b" #autopickup_exception=" amulet (of|called) restful sleep\b" #autopickup_exception=" amulet (of|called) strangulation\b" #autopickup_exception=" amulet (of|called) unchanging\b" #autopickup_exception="< amulet (versus|called of vs) poison\b" ## FOOD # Might keep vegan autopickup_exception="< cram rations?\.?$" autopickup_exception="< food rations?\.?$" autopickup_exception="< C-rations?\.?$" autopickup_exception="< K-rations?\.?$" autopickup_exception="< lembas wafers?\.?$" autopickup_exception="< oranges?\.?$" # Fixed: his rule matched orange gem. autopickup_exception="< apples?\.?$" autopickup_exception="< carrots?\.?$" autopickup_exception="< bananas?\.?$" autopickup_exception="< melons?\.?$" autopickup_exception="< kelp\.?$" autopickup_exception="< eucalyptus( leaf)?\.?$" autopickup_exception="< cloves? of garlic\.?$" autopickup_exception="< sprigs? of wolfsbane\.?$" autopickup_exception="< fafafas?\.?$" # Fruit autopickup_exception="< pears?\b" autopickup_exception="< tin( of spinach)?\.?$" # Pick up spinach or unknown tins ## SPELLBOOKS # Always pick up inID'd (assuming wizard for this) #autopickup_exception="< (parchment|vellum|ragged|dog eared|mottled|stained) spellbook\b" #autopickup_exception="< (cloth|leather|white|pink|red|orange|yellow|velvet) spellbook\b" #autopickup_exception="< (light green|dark green|turquoise|cyan|light blue) spellbook\b" #autopickup_exception="< (dark blue|indigo|magenta|purple|violet|tan|plaid) spellbook\b" #autopickup_exception="< (light brown|dark brown|gray|wrinkled|dusty|bronze) spellbook\b" #autopickup_exception="< (copper|silver|gold|glittering|shining|dull|thin|thick) spellbook\b" # price ID'd ones are called $description $level #autopickup_exception="< spellbook called (parchment|vellum|ragged|dog eared|mottled|stained)\b" #autopickup_exception="< spellbook called (cloth|leather|white|pink|red|orange|yellow|velvet)\b" #autopickup_exception="< spellbook called (light green|dark green|turquoise|cyan|light blue)\b" #autopickup_exception="< spellbook called (dark blue|indigo|magenta|purple|violet|tan|plaid)\b" #autopickup_exception="< spellbook called (light brown|dark brown|gray|wrinkled|dusty|bronze)\b" #autopickup_exception="< spellbook called (copper|silver|gold|glittering|shining|dull|thin|thick)\b" # The most genuinely useful spells tend to be the lower level ones, as Pw is expensive autopickup_exception=" spellbook called \w+ [4-7]\b" ## RINGS # Always pick up unidentified rings #autopickup_exception="< (pearl|iron|twisted|steel|wire|engagement|shiny|bronze|brass) ring\b" #autopickup_exception="< (copper|silver|gold|wooden|granite|opal|clay|coral|black onyx) ring\b" #autopickup_exception="< (moonstone|tiger eye|jade|agate|topaz|sapphire|ruby|diamond|ivory|emerald) ring\b" # price ID is just a ring called $description $price #autopickup_exception="< ring called (pearl|iron|twisted|steel|wire|engagement|shiny|bronze|brass)\b" #autopickup_exception="< ring called (copper|silver|gold|wooden|granite|opal|clay|coral|black onyx)\b" #autopickup_exception="< ring called (moonstone|tiger eye|jade|agate|topaz|sapphire|ruby|diamond|ivory|emerald)\b" ## General issues of winning the game autopickup_exception=" cheap plastic imitation of the Amulet of Yendor\b" autopickup_exception="< the Amulet of Yendor\b" autopickup_exception="< silver bell\b" autopickup_exception="< the( blessed| (un)?cursed)?Bell of Opening\b" autopickup_exception="< candelabrum\b" autopickup_exception="< the( blessed| (un)?cursed)?Candelabrum of Invocation\b" autopickup_exception="< papyrus spellbook\b" autopickup_exception="< the( blessed| (un)?cursed)?Book of the Dead\b" #autopickup_exception="< candles?\b" # will want 7 of these, note to self patch ap_trigers for one-shot/7 shot pickup exceptions ## WEAPONS # Playing a fighter we want to hold all the ammunition #autopickup_exception="< arrows?\b" #autopickup_exception="< ya\b" #autopickup_exception="< daggers?" #autopickup_exception="< crossbow bolts?\b" #autopickup_exception="< darts?\b" #autopickup_exception="< (cross)?bow\b" # Don't pick up cursed or rusty ammo though autopickup_exception=" (rusty|corroded|burnt|rotted|cursed) arrows?\b" autopickup_exception=" (rusty|corroded|burnt|rotted|cursed) ya\b" autopickup_exception=" (rusty|corroded|burnt|rotted|cursed) daggers?\b" autopickup_exception=" (rusty|corroded|burnt|rotted|cursed) crossbow bolts?\b" autopickup_exception=" (rusty|corroded|burnt|rotted|cursed) darts?\b" ## TOOLS # And the first item we really want is a pick-axe #autopickup_exception="< (pick-axe|broad pick|dwarvish mattock)\b" autopickup_exception="< (magic )?lamp( called magic)?\b" # <3 <3 <3 autopickup_exception="< magic marker\b" # <3 autopickup_exception=" magic marker( named .+?)? \(1:0\)\.?$" # Cant recharve anymore autopickup_exception=" \([-0-9]+:-1\)$" # Somethin got cancelled - useless now #utopickup_exception="< tooled horn\b" # Rogue now has 0 problems autopickup_exception="<^a (fire |frost )?horn\.?$" # Zaps a few fire/frost bolts then reverts to a tooled horn #autopickup_exception="< (leather )?drum\b" # Atonal but scares like a tooled horn #autopickup_exception="< (skeleton )?key\b" # Locking and unlocking things, would you believe #autopickup_exception="< (lock pick|credit card)\b" # Locking and unlocking things, would you believe #autopickup_exception="< stethoscope\b" # Classic item #autopickup_exception="< expensive camera\b" # Good for scaring AND blinding #autopickup_exception="< (towel|blindfold)\b" #autopickup_exception="< unicorn horn\b" #autopickup_exception="< bag\b" ## ARMOUR ## What about magical armour? #autopickup_exception="< (plumed|etched|crested|visored) helmet\b" #autopickup_exception="< (tattered cape|ornamental cope|opera cloak|piece of cloth)\b" #autopickup_exception="< (old|padded|riding|fencing) gloves\b" #autopickup_exception="< (mud|snow|riding|buckled|hiking|combat|jungle) boots\b" #autopickup_exception="< (hooded|dwarvish) cloak\b" # money maybe? #autopickup_exception="< (jack|high )boots\b" # 2 AC #autopickup_exception="< (low boots|walking shoes)\b" # 1 AC #autopickup_exception="< (hard shoes|iron boots)\b" #autopickup_exception="< (hard hat|dwarvish iron helm)\b" ## GEMS #autopickup_exception="< (white|black|red|green|blue|yellow|orange|violet|yellowish brown) gems?\b" #autopickup_exception="< gems? called (white|black|red|green|blue|yellow|orange|violet|yellowish brown) valuable( soft)?\b" #autopickup_exception="< gems? called (white|black|red|green|blue|yellow|orange|violet|yellowish brown) hard\b" #autopickup_exception=" gems? called (white|black|red|green|blue|yellow|orange|violet|yellowish brown) soft\b" #autopickup_exception=" (called )?worthless (white|black|red|green|blue|yellow|orange|violet|yellowish brown) glass\b"