# This is an example nethackrc file for NetHack 3.6.1. You should edit # this file to meet your play style needs. # Available editors: rnano or virus via the terminal, or see our web-based RC Editor # at https://www.hardfought.org/nethack/rcedit # Examples of common defaults: OPTIONS=windowtype:tty OPTIONS=showexp,showscore,time,color,hitpointbar,!autopickup OPTIONS=autodig,fruit:slime mold,boulder:0 OPTIONS=menucolors MENUCOLOR="blessed .*marker"=lightgreen MENUCOLOR="blessed .*marker.*1:"=green MENUCOLOR=" cursed .*marker"=orange MENUCOLOR=" cursed .*marker.*1:"=red # statushitlites is a popular option for 3.6.1 - some common settings: OPTIONS=statushilites OPTIONS=hilite_status: hitpoints-max/green&normal OPTIONS=hilite_status: hitpoints/100%/green&normal OPTIONS=hilite_status: hitpoints/<100%/lightgreen&normal OPTIONS=hilite_status: hitpoints/<76%/yellow&normal OPTIONS=hilite_status: hitpoints/<51%/orange&normal OPTIONS=hilite_status: hitpoints/<26%/red&normal OPTIONS=hilite_status: hitpoints/<11%/black&normal OPTIONS=number_pad:2 OPTIONS=boulder:0 OPTIONS=lit_corridor,dark_room OPTIONS=S_ghost:' OPTIONS=paranoid_confirmation:all # Curses UI is available on this build. Example settings (uncomment OPTIONS=windowtype:curses to enable) # All Curses UI settings are commented out ################## # Curses Settings ################## # default values in parentheses # Enable curses windowport (false) OPTIONS=windowtype:curses # To use new NH4-style status window (true) # set !classic_status # Not yet implemented in 3.6.1 #OPTIONS=classic_status # Window borders (3) # 1 - always draw borders # 2 - never draw borders # 3 - draw borders if terminal is big enough OPTIONS=windowborders:3 # Set terminal window for same dimensions # Adjust these variables to your liking OPTIONS=term_cols:120 OPTIONS=term_rows:32 # Attributes for pet highlighting (???) # [i]talics (or is it inverse?) # [u]nderline # [b]old # possibly others #OPTIONS=petattr:u # use colour in non-map areas (true) #OPTIONS=guicolor # Display inventory window permanently on right of screen (false) OPTIONS=perm_invent # Window alignment (msg:top, status:bottom) # note: align_status:left/right displays a more verbose window, arranged vertically # this is only partially implemented in 3.6.1 and is buggy # it will be fixed soon #OPTIONS=align_message:top #OPTIONS=align_status:bottom # Settings not specific to curses that you will want to use. #OPTIONS=hitpointbar #OPTIONS=color,menucolors,statushilites # End of Curses settings ################## # For more information on what you can set in your nethackrc file, refer to: # https://nethackwiki.com/wiki/Options # Happy hacking! # Enhance MENUCOLOR="^ *[a-z] - +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=white # Random items with known BUC status MENUCOLOR="blessed"=green MENUCOLOR="blessed clear potion"=lightcyan MENUCOLOR="blessed clear potions"=lightcyan MENUCOLOR="blessed potion called water"=lightcyan MENUCOLOR="blessed potions called water"=lightcyan MENUCOLOR="holy"=lightcyan MENUCOLOR=" cursed"=red MENUCOLOR="cursed clear potion"=magenta MENUCOLOR="cursed clear potions"=magenta MENUCOLOR="cursed potion called water"=magenta MENUCOLOR="cursed potions called water"=magenta MENUCOLOR="unholy"=magenta MENUCOLOR="uncursed"=white # Mark potentially dangerous things (and a kludge for BoH looting prompts) MENUCOLOR=" holding"=lightmagenta MENUCOLOR="Put .* holding"=gray MENUCOLOR="Take .* holding"=gray MENUCOLOR="holding .* empty"=gray MENUCOLOR="Do what with your .* holding"=gray MENUCOLOR="Do what with the bag .* holding"=gray MENUCOLOR="Look inside the .* holding"=gray MENUCOLOR="stash one item into the .* holding"=gray MENUCOLOR="tricks"=lightmagenta MENUCOLOR="cancel"=lightmagenta MENUCOLOR="vanish"=lightmagenta # Spell failure rates MENUCOLOR=" 0% "=lightcyan MENUCOLOR=" [1-9]% "=lightgreen MENUCOLOR=" 1[0-9]% "=green MENUCOLOR=" 2[0-4]% "=green MENUCOLOR=" 2[5-9]% "=brown MENUCOLOR=" [34][0-9]% "=brown MENUCOLOR=" [56][0-9]% "=red MENUCOLOR=" 7[0-4]% "=red MENUCOLOR=" 7[5-9]% "=orange MENUCOLOR=" [89][0-9]% "=orange MENUCOLOR=" 100% "=orange&underline MENUCOLOR="[a-zA-Z] - [a-zA-Z ]+ [0-9]\* [a-z]+ +[0-9]+%"=magenta #lamps MENUCOLOR="magic lamp"=blue&bold MENUCOLOR=" \(lit\)"=white&underline MENUCOLOR="magic lamp \(lit\)"=lightblue&underline MENUCOLOR="lamp called magic \(lit\)"=lightblue&underline #food MENUCOLOR="corpse"=brown MENUCOLOR="(meatball|meat ring|meat stick|egg|tripe ration|huge chunk of meat)"=brown # vegan MENUCOLOR="(food |cram |K-|C-)ration|gunyoki"=lightgreen MENUCOLOR="lembas wafer|melon|carrot|tins? .* spinach"=lightgreen MENUCOLOR=" oranges?( named.*)?$"=lightgreen MENUCOLOR=" pears?( named.*)?$"=lightgreen MENUCOLOR=" (apple|banana|kelp|eucalyptus|garlic|wolfsbane)"=lightgreen MENUCOLOR=" (slime mold|loadboulder)"=lightgreen MENUCOLOR="(tins? of )?(gelatinous cube|acid blob|quivering blob)( corpse)?"=lightgreen MENUCOLOR="(tins? of )?(blue|spotted|ochre) jelly( corpse)?"=lightgreen MENUCOLOR="(tins? of )?lichen|shrieker|violet fungus|(brown|yellow|green|red) mold( corpse)?"=lightgreen # vegetarian MENUCOLOR="egg|pancake|fortune cookie|candy bar|royal jelly|cream pie"=green MENUCOLOR="(tin of )?brown pudding|gray ooze( corpse)?"=green #Items of interest MENUCOLOR="blessed unicorn horn"=blue&bold MENUCOLOR="blessed .* unicorn horn"=blue&bold MENUCOLOR="blessed stone called luck.*"=blue&bold MENUCOLOR="blessed luckstone"=blue&bold MENUCOLOR="lizard corpse"=blue&bold MENUCOLOR="wand .* wishing"=blue&bold MENUCOLOR="blessed scroll .* scare monster"=blue&bold MENUCOLOR="uncursed scroll .* scare monster"=blue MENUCOLOR=" cursed scroll .* scare monster"=orange #Messages MSGTYPE=stop "You descend the stairs." MSGTYPE=stop "You climb up the stairs." MSGTYPE=stop "The couatl swings itself around you!" MSGTYPE=stop "The electric eel swings itself around you!" MSGTYPE=stop "The giant eel swings itself around you!" MSGTYPE=stop "The kraken swings itself around you!" MSGTYPE=stop "The python grabs you!" MSGTYPE=stop "The .* (grabs|swings itself around) you!" MSGTYPE=stop "You don't feel very well." MSGTYPE=stop "You are turning a little green." MSGTYPE=stop "Your limbs are getting oozy." MSGTYPE=stop "Your skin begins to peel away." MSGTYPE=stop "You are turning into a green slime." MSGTYPE=stop "You are slowing down." MSGTYPE=stop "Your limbs are stiffening." MSGTYPE=stop "It constricts your throat!" MSGTYPE=stop "You find it hard to breathe." MSGTYPE=stop "You're gasping for air." MSGTYPE=stop "Your blood is having trouble reaching your brain." MSGTYPE=stop "You can no longer breathe." MSGTYPE=stop "You're turning blue." MSGTYPE=stop "Your consciousness is fading." MSGTYPE=stop "You feel deathly sick." MSGTYPE=stop "You feel much worse." MSGTYPE=stop "You feel even worse." MSGTYPE=stop "You feel (much|even) worse." MSGTYPE=stop "You are turning a little .*" MSGTYPE=stop "You feel feverish*" MSGTYPE=stop "You see here a cockatrice corpse." MSGTYPE=stop "You see here a chickatrice corpse." MSGTYPE=stop "You are beginning to feel weak." MSGTYPE=stop "You fail to cast the spell correctly." MSGTYPE=stop "Your wielded * rots away." MSGTYPE=stop "You find a*" MSGTYPE=stop "You feel more confident in your*skills." MSGTYPE=stop "You feel a strange vibration*" MSGTYPE=stop "You have a .* feeling for a moment, then it passes." MSGTYPE=stop "You sense a faint wave of psychic energy" MSGTYPE=stop "You are beginning to feel weak." MSGTYPE=stop "The scroll turns to dust as you pick it up." MSGTYPE=stop "You see here a c(hi|o)ckatrice corpse." MSGTYPE=stop "You wrest .*" MSGTYPE=stop ".*Vorpal Blade.*" MSGTYPE=stop ".*You move right into.*" MSGTYPE=stop ".*You feel worried.*" MSGTYPE=stop "You feel more confident.*" MSGTYPE=stop "You remember this level.*" MSGTYPE=stop "You don't have anything.*" MSGTYPE=stop "Sorry, I don't know how to use that." MSGTYPE=stop ".*silly thing.*" #Hide Messages MSGTYPE=hide "You swap places with your .*" MSGTYPE=hide "With great effort you move the boulder."