## This is an example nethackrc file. You should edit this to suit your needs ## Edit this on the NAO website: https://alt.org/nethack/webconf/ ## or if in terminal, see https://alt.org/nethack/virus.txt OPTIONS=autodescribe OPTIONS=autodig OPTIONS=autoopen OPTIONS=autopickup,pickup_types:$!/="+? OPTIONS=autoquiver OPTIONS=bones OPTIONS=boulder:0 OPTIONS=checkpoint OPTIONS=color OPTIONS=confirm OPTIONS=dark_room OPTIONS=disclose:+iagcv OPTIONS=fruit:berries OPTIONS=hilite_pet OPTIONS=hilite_pile OPTIONS=lootabc OPTIONS=msg_window:reverse,msghistory:1000 OPTIONS=pickup_burden:B OPTIONS=!prayconfirm OPTIONS=lit_corridor ## change number_pad to 3 if issues with 4 OPTIONS=number_pad:4 OPTIONS=showrace OPTIONS=showexp,time OPTIONS=sortloot:full OPTIONS=runmode:teleport,!rest_on_space ## Change symbols SYMBOLS=S_ghost:X SYMBOLS=S_mimic_def:m SYMBOLS=S_water:~ SYMBOLS=S_lava:~ OPTIONS=menucolors ######### # B/U/C # ######### #MENUCOLOR="^[a-zA-Z$] - "=white #may want to enable this if regularly playing priest.. (priests don't see the 'uncursed') MENUCOLOR=" !C"=white MENUCOLOR=" !B"=white MENUCOLOR=" !UC"=white MENUCOLOR=" uncursed| UC?($| )"=white MENUCOLOR=" \([-0-9]+:[-0-9]+\)"=white #nethack doesn't display "uncursed" if charges are known MENUCOLOR=" [+-][0-9]"=white MENUCOLOR=" blessed| B($| )"=cyan MENUCOLOR=" cursed| C($| )"=red ################ # WATER SPORTS # ################ MENUCOLOR=" holy water"=cyan&bold MENUCOLOR=" blessed clear potion"=cyan&bold MENUCOLOR=" blessed potions? called water"=cyan&bold MENUCOLOR=" clear potions? named (holy|blessed|B)($| )"=cyan&bold MENUCOLOR=" potions? of water named (holy|blessed|B)($| )"=cyan&bold MENUCOLOR=" potions? called water named (holy|blessed|B)($| )"=cyan&bold MENUCOLOR=" unholy water"=orange MENUCOLOR=" cursed clear potion"=orange MENUCOLOR=" cursed potions? called water"=orange MENUCOLOR=" potions? called water named (unholy|cursed|C)($| )"=orange ################# # FOOD CONDUCTS # thanks, teabing! ################# # vegan MENUCOLOR="(food |cram |K-|C-)ration|gunyoki"=green&bold MENUCOLOR="lembas wafer|melon|carrot|tins? .* spinach"=green&bold MENUCOLOR=" oranges?( named.*)?$"=green&bold # avoid coloring orange DSM MENUCOLOR=" pears?( named.*)?$"=green&bold # avoid coloring pearl rings MENUCOLOR=" (apple|banana|kelp|eucalyptus|garlic|wolfsbane)"=green&bold MENUCOLOR=" (slime mold|berries)"=green&bold ## YOUR FRUIT HERE MENUCOLOR="(tins? of )?(gelatinous cube|acid blob|quivering blob)( corpse)?"=green&bold MENUCOLOR="(tins? of )?(blue|spotted|ochre) jelly( corpse)?"=green&bold MENUCOLOR="(tins? 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=" wand .* tele(port(ation)?)?($| )"=magenta MENUCOLOR=" wand .* polymorph"=magenta MENUCOLOR=" wand .* death"=magenta MENUCOLOR=" gain level"=magenta MENUCOLOR=" full healing"=magenta MENUCOLOR=" magic marker"=magenta MENUCOLOR=" magic lamp|lamp .* magic"=magenta MENUCOLOR=" unicorn horn[^[]*$"=magenta #this doesn't color the #enhance unicorn 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=" scrolls? .* genocide($| )"=magenta MENUCOLOR=" scrolls? .* charging($| )"=magenta MENUCOLOR=" scrolls? .* identify($| )"=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 # unidentified magic armor MENUCOLOR="piece of cloth|opera cloak|ornamental cope|tattered cape"=magenta MENUCOLOR="plumed helmet|etched helmet|crested helmet|visored helmet"=magenta MENUCOLOR="(old|padded|riding|fencing) gloves"=magenta MENUCOLOR="(mud|buckled|riding|snow|hiking|combat|jungle) boots"=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 MENUCOLOR="cursed tins? .* spinach|tins? .* spinach .* (cursed|C($| ))"=red ############# # 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, rsarson ################### MENUCOLOR="[a-zA-Z ]+ [0-9]\* [a-z]+ +[0-9]+%"=magenta ############ # #ENHANCE # thanks itsblah ############ MENUCOLOR="^ +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=none # normal MENUCOLOR="^ *[a-z] - +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=white # ready to enhance MENUCOLOR="^ +\* +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=white # enhanceable if more skill slots MENUCOLOR="^ +# +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=none # 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\}"=none MENUCOLOR="\{X\}"=bold MENUCOLOR="\{x\}"=dim MENUCOLOR="\{U\}"=underline MENUCOLOR="\{I\}"=inverse MENUCOLOR="\{K\}"=blink ###################### # FIX ORDINARY MENUS # ###################### MENUCOLOR=" is empty. Do what?"=none MENUCOLOR="Put something into .*"=none MENUCOLOR="Take something out of .*"=none MENUCOLOR="unicorn horn.*(Unskilled|Basic|Skilled|Expert)"=none MENUCOLOR="Info on what a given key does."=none MENUCOLOR="Full list of keyboard commands."=none MENUCOLOR="altkeyhandler"=none MENUCOLOR="fruit.*\["=none ##### # autopickup exceptions # autopickup items that have [,] in their name autopickup_exception="< named [,]" autopickup_exception="< called [,]" # never autopickup items that have [!,] in their name autopickup_exception="> named [!,]" autopickup_exception="> called [!,]" # crappy items autopickup_exception="> named empty" autopickup_exception="> named crap" autopickup_exception="> named junk" autopickup_exception="> named worthless" # we might want to autopickup food, but never corpses autopickup_exception="> *corpse" ##### ## Use status hilites # OPTIONS=statushilites # HP OPTIONS=hitpointbar OPTIONS=hilite_status:hitpoints/100%/grey&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%/grey&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 ############################################################################################### ## Require explicit yes for some prompts #OPTIONS=paranoid_confirmation:Confirm quit attack pray wand Remove ## 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) .*"