# This is an example nethackrc file for NetHack 3.6.x. 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: # junethack farfar #terrain #OPTIONS=windowtype:tty #OPTIONS=showexp,showscore,time,color,!autopickup #OPTIONS=autodig,fruit:slime mold,boulder:0 OPTIONS=number_pad:1 OPTIONS=pile_limit:2 # statushitlites is a popular option for 3.6.x - 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 # 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! OPTIONS=!tutorial OPTIONS=altmeta,autodig,checkpoint,!classic_status,!cmdassist,color OPTIONS=disclose:yi ya yv yg yc,hilite_pet,invweight OPTIONS=lit_corridor,menu_headings:bold OPTIONS=menucolors,msg_window:full,number_pad OPTIONS=paranoid:+hit +quit +remove +trap +lava +water,perm_invent OPTIONS=pickup_burden:Burdened,pilesize:1,pushweapon,runmode:walk,showexp OPTIONS=showrace,showscore,showweight,standout,time,toptenwin # Graphics # ======== OPTIONS=ibmgraphics,boulder:0 MONSTERS=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@\M0\\&;:~] TRAPS=^^^.^^^^^^^^^^^^^"^^^^ ## Curses interface (be sure to disable windowtype:tty) OPTIONS=windowtype:curses,symset:curses OPTIONS=align_status:bottom OPTIONS=align_message:top OPTIONS=windowborders:3 OPTIONS=petattr:I # Set terminal window for same dimensions OPTIONS=vt_tiledata #OPTIONS=term_cols:113 #OPTIONS=term_rows:32 # Autopickup # ========== #OPTIONS=autopickup,autoquiver #OPTIONS=pickup_types:$"%?+!=/* AUTOPICKUP_EXCEPTION=">*rock*" AUTOPICKUP_EXCEPTION=">*a stone*" AUTOPICKUP_EXCEPTION=">*0 stones*" AUTOPICKUP_EXCEPTION=">*1 stones*" AUTOPICKUP_EXCEPTION=">*2 stones*" AUTOPICKUP_EXCEPTION=">*3 stones*" AUTOPICKUP_EXCEPTION=">*4 stones*" AUTOPICKUP_EXCEPTION=">*5 stones*" AUTOPICKUP_EXCEPTION=">*6 stones*" AUTOPICKUP_EXCEPTION=">*7 stones*" AUTOPICKUP_EXCEPTION=">*8 stones*" AUTOPICKUP_EXCEPTION=">*9 stones*" AUTOPICKUP_EXCEPTION=">*gray stone*" AUTOPICKUP_EXCEPTION=">*loadstone*" AUTOPICKUP_EXCEPTION=">*The Heart of Ahriman*" AUTOPICKUP_EXCEPTION=">*worthless piece of*" AUTOPICKUP_EXCEPTION=">*corpse*" AUTOPICKUP_EXCEPTION=">*glob*" AUTOPICKUP_EXCEPTION=">*scare monster*" AUTOPICKUP_EXCEPTION=">*scroll called Elbereth*" AUTOPICKUP_EXCEPTION="<*gem*" #AUTOPICKUP_EXCEPTION="<*arrow*" #AUTOPICKUP_EXCEPTION="<*dagger*" # Menu colours # ============ MENUCOLOR="\bcursed\b|\bunholy\b"=red&bold MENUCOLOR="\bblessed\b|\bholy\b"=cyan&bold MENUCOLOR="\buncursed\b"=green # Items found in a bones pile. I don't use this much any more; I altar-test them instead. MENUCOLOR="\binherited\b"=red MENUCOLOR="Amulet of Yendor named"=magenta MENUCOLOR="gold piece"=yellow # Don't put these in a bag of holding. MENUCOLOR="a (rusty |burnt )?wand (of|called) (cancellation|\w+ vanish)"=gray&underline MENUCOLOR="an uncursed (rusty |burnt )?wand (of|called) (cancellation|\w+ vanish)"=green&underline MENUCOLOR="a blessed (rusty |burnt )?wand (of|called) (cancellation|\w+ vanish)"=lightcyan&underline MENUCOLOR="a cursed (rusty |burnt )?wand (of|called) (cancellation|\w+ vanish)"=orange&underline MENUCOLOR="an? (greased )?(empty )?bag (of|called) (holding|tricks)"=gray&underline MENUCOLOR="an uncursed (greased )?(empty )?bag (of|called) (holding|tricks)"=green&underline MENUCOLOR="an? blessed (greased )?(empty )?bag (of|called) (holding|tricks)"=lightcyan&underline MENUCOLOR="an? cursed (greased )?(empty )?bag (of|called) (holding|tricks)"=orange&underline # Don't drop these needlessly. MENUCOLOR="(a|[0-9]) scrolls? (of|called) (scare monster|Elbereth)"=gray&underline MENUCOLOR="(an|[0-9]) uncursed scrolls? (of|called) (scare monster|Elbereth)"=green&underline MENUCOLOR="(a|[0-9]) blessed scrolls? (of|called) (scare monster|Elbereth)"=lightcyan&underline MENUCOLOR="(a|[0-9]) cursed scrolls? (of|called) (scare monster|Elbereth)"=orange&underline # Spells 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]% "=red MENUCOLOR=" 8[0-9]% "=red MENUCOLOR=" 9[0-9]% "=red MENUCOLOR="100% "=gray MENUCOLOR="\(gone\)"=black MSGTYPE=hide "^You displaced *" MSGTYPE=hide "^With great effort you move the boulder\." MSGTYPE=hide "^With little effort you move the boulder\." MSGTYPE=hide " moves the boulder\." MSGTYPE=hide "^Perhaps that's why \w+ cannot move it\." MSGTYPE=hide "^Unknown command '\^J'" MSGTYPE=hide "^Unknown command ' '" MSGTYPE=norep "^This door is locked." # Delayed instadeaths MSGTYPE=stop "swings itself around you!$" MSGTYPE=stop "^The python grabs 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\." # Things that aren't dangerous by themselves but could kill you if you don't notice MSGTYPE=stop "^You feel feverish\." MSGTYPE=stop "^You fail to cast the spell correctly\." MSGTYPE=stop "^You don't have enough energy to cast that spell\." MSGTYPE=stop "^You are beginning to feel weak\." MSGTYPE=stop "needs food, badly!" MSGTYPE=stop "^You hear the howling of the CwnAnnwn\.\.\." MSGTYPE=stop "your life force is running out\." MSGTYPE=stop "all of your powers will be lost\.\.\." MSGTYPE=stop "^You hear the wailing of the Banshee\.\.\." MSGTYPE=stop "is about to die\.$" MSGTYPE=stop "trice corpse rots away\.$" MSGTYPE=stop "^You can't hear anything!" MSGTYPE=stop "^You are carrying too much to jump!" MSGTYPE=stop "The door was booby-trapped!" MSGTYPE=alert "^You find a trap on the" # Skills MSGTYPE=stop "^You feel more confident in your" # Things that don't stop by default any more. MSGTYPE=stop "^A trap door opens up under you!" MSGTYPE=stop "^There's a gaping hole under you!" MSGTYPE=stop "^You fall down a " # Status highlights # ================= OPTIONS=statuscolors # HP OPTIONS=hitpointbar STATUSCOLOR:hp%99:green STATUSCOLOR:hp%50:yellow STATUSCOLOR:hp%33:red&bold STATUSCOLOR:hp%15:red # Mana STATUSCOLOR:power%99:cyan STATUSCOLOR:power%50:magenta STATUSCOLOR:power%25:red # Experience level STATUSCOLOR:experience/down/red&bold STATUSCOLOR:experience-level/up/cyan&bold/down/red&bold # Encumberance STATUSCOLOR:burdened:yellow,stressed:orange,strained:red,overtaxed:red,overloaded:red # Hunger STATUSCOLOR:satiated:cyan&bold,hungry:yellow,weak:orange,fainting:red&inverse,fainted:red # Troubles STATUSCOLOR:hallu:yellow STATUSCOLOR:conf:magenta STATUSCOLOR:stun:orange STATUSCOLOR:ill:red&inverse STATUSCOLOR:foodpois:red&inverse STATUSCOLOR:slime:red&inverse