# This is an example nethackrc file for NetHack TNNT (3.6.6). 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 #large sections stolen from Eidolos, Umbire, and probably others. thanks. ################# # BASIC OPTIONS # ################# #OPTIONS=blind OPTIONS=windowtype:curses OPTIONS=align_message:top OPTIONS=statuslines:3 OPTIONS=popup_dialog OPTIONS=perm_invent #OPTIONS=vt_tiledata #OPTIONS=blind OPTIONS=symset:DECgraphics SYMBOLS=S_ghost:8,S_boulder:0,S_vodoor:-,S_hodoor:|,S_bars:#,S_tree:#,S_golem:7 OPTIONS=fruit:durian OPTIONS=altmeta,hilite_pet,hilite_pile,time,autoquiver,lit_corridor,autoopen,autodig,bones,fixinv,showrace OPTIONS=showexp OPTIONS=!implicit_uncursed,!rest_on_space OPTIONS=paranoid_confirmation:pray Remove quit bones attack OPTIONS=number_pad:1,msg_window:combination,runmode:teleport,disclose:+iagcv ############## # AUTOPICKUP # ############## OPTIONS=autopickup OPTIONS=pickup_burden:unencumbered OPTIONS=pickup_types:$?!=/*" # rocks, but only the good kind autopickup_exception=">( rock|luck|flint|glass|worthless|junk)" autopickup_exception="> loadstone" autopickup_exception="> LOADSTONE" autopickup_exception="> gray stone" # got to handle all blind cases autopickup_exception=">^[a0-9]+n?( blessed| cursed| uncursed)? stone" # foods usually worth picking up autopickup_exception="<(lembas|pancake|royal jelly|candy bar)" autopickup_exception="<(orange| pear)s?( named.*)?$" autopickup_exception="<(apple|banana|melon|kelp) autopickup_exception="<(eucalyptus|garlic|wolfsbane)" autopickup_exception="6/orange/>8/brown/>11/yellow/>13/green/>16/blue/>18/cyan/>25/lightblue OPTIONS=hilite_status:characteristics/<5/red/>6/orange/>8/brown/>11/yellow/>13/green/>16/cyan/>18/lightblue # Color stats differently on change OPTIONS=hilite_status:experience-level/down/brown&inverse/up/lightblue&inverse OPTIONS=hilite_status:characteristics/down/brown&inverse/up/lightblue&inverse OPTIONS=hilite_status:hitpoints-max/brightgreen OPTIONS=hilite_status:hitpoints-max/down/brown/up/lightblue OPTIONS=hilite_status:power/cyan OPTIONS=hilite_status:power-max/cyan OPTIONS=hilite_status:power-max/down/brown/up/lightblue OPTIONS=hilite_status:armor-class/up/brown/down/lightblue OPTIONS=hilite_status:alignment/Lawful/lightblue/Neutral/gray/Chaotic/magenta/changed/red&inverse # Color status effects for emphasis OPTIONS=hilite_status:carrying-capacity/burdened/yellow/stressed/orange/strained/red/overtaxed/red&inverse/overloaded/red&inverse OPTIONS=hilite_status:hunger/satiated/orange/hungry/yellow/ OPTIONS=hilite_status:hunger/weak/orange&inverse&blink/fainting/red&inverse&blink/fainted/red&inverse&blink OPTIONS=hilite_status:hitpoints/100%/brightgreen/<100%/green/<60%/yellow/<40%/red/<25%/red&inverse/<15%/red&inverse&blink OPTIONS=hilite_status:condition/movement/yellow/minor_troubles/orange/major_troubles/red&inverse&blink # EXPERIENCE # ========== # # Experience to next level is colored as follows: # 0%:black, 10%:orange, 20%:red, 30%:brown, 40%:yellow, # 50%:lightgreen, 60%:green, 70%:cyan, 80%:lightcyan, 90%:lightblue # # initial setting OPTIONS=hilite_status: experience/0/black # 1 OPTIONS=hilite_status: experience/>0/black/>1/orange/>3/red/>5/brown OPTIONS=hilite_status: experience/>7/yellow/>9/lightgreen/>11/green OPTIONS=hilite_status: experience/>13/cyan/>15/lightcyan/>17/lightblue # 2 OPTIONS=hilite_status: experience/>19/black/>21/orange/>23/red/>25/brown OPTIONS=hilite_status: experience/>27/yellow/>29/lightgreen/>31/green OPTIONS=hilite_status: experience/>33/cyan/>35/lightcyan/>37/lightblue # 3 OPTIONS=hilite_status: experience/>39/black/>43/orange/>47/red/>51/brown OPTIONS=hilite_status: experience/>55/yellow/>59/lightgreen/>63/green OPTIONS=hilite_status: experience/>67/cyan/>71/lightcyan/>75/lightblue # 4 OPTIONS=hilite_status: experience/>79/black/>87/orange/>95/red/>103/brown OPTIONS=hilite_status: experience/>111/yellow/>119/lightgreen/>127/green OPTIONS=hilite_status: experience/>135/cyan/>143/lightcyan/>151/lightblue # 5 OPTIONS=hilite_status: experience/>159/black/>175/orange/>191/red/>207/brown OPTIONS=hilite_status: experience/>223/yellow/>239/lightgreen/>255/green OPTIONS=hilite_status: experience/>271/cyan/>287/lightcyan/>303/lightblue # 6 OPTIONS=hilite_status: experience/>319/black/>351/orange/>383/red/>415/brown OPTIONS=hilite_status: experience/>447/yellow/>479/lightgreen/>511/green OPTIONS=hilite_status: experience/>543/cyan/>575/lightcyan/>607/lightblue # 7 OPTIONS=hilite_status: experience/>639/black/>703/orange/>767/red/>831/brown OPTIONS=hilite_status: experience/>895/yellow/>959/lightgreen/>1023/green OPTIONS=hilite_status: experience/>1087/cyan/>1151/lightcyan/>1215/lightblue # 8 OPTIONS=hilite_status: experience/>1279/black/>1407/orange/>1535/red/>1663/brown OPTIONS=hilite_status: experience/>1791/yellow/>1919/lightgreen/>2047/green OPTIONS=hilite_status: experience/>2175/cyan/>2303/lightcyan/>2431/lightblue # 9 OPTIONS=hilite_status: experience/>2559/black/>2815/orange/>3071/red/>3327/brown OPTIONS=hilite_status: experience/>3583/yellow/>3839/lightgreen/>4095/green OPTIONS=hilite_status: experience/>4351/cyan/>4607/lightcyan/>4863/lightblue # 10 OPTIONS=hilite_status: experience/>5119/black/>5607/orange/>6095/red/>6583/brown OPTIONS=hilite_status: experience/>7071/yellow/>7559/lightgreen/>8047/green OPTIONS=hilite_status: experience/>8535/cyan/>9023/lightcyan/>9511/lightblue # 11 OPTIONS=hilite_status: experience/>9999/black/>10999/orange/>11999/red/>12999/brown OPTIONS=hilite_status: experience/>13999/yellow/>14999/lightgreen/>15999/green OPTIONS=hilite_status: experience/>16999/cyan/>17999/lightcyan/>18999/lightblue # 12 OPTIONS=hilite_status: experience/>19999/black/>21999/orange/>23999/red/>25999/brown OPTIONS=hilite_status: experience/>27999/yellow/>29999/lightgreen/>31999/green OPTIONS=hilite_status: experience/>33999/cyan/>35999/lightcyan/>37999/lightblue # 13 OPTIONS=hilite_status: experience/>39999/black/>43999/orange/>47999/red/>51999/brown OPTIONS=hilite_status: experience/>55999/yellow/>59999/lightgreen/>63999/green OPTIONS=hilite_status: experience/>67999/cyan/>71999/lightcyan/>75999/lightblue # 14 OPTIONS=hilite_status: experience/>79999/black/>87999/orange/>95999/red/>103999/brown OPTIONS=hilite_status: experience/>111999/yellow/>119999/lightgreen/>127999/green OPTIONS=hilite_status: experience/>135999/cyan/>143999/lightcyan/>151999/lightblue # 15 OPTIONS=hilite_status: experience/>159999/black/>175999/orange/>191999/red/>207999/brown OPTIONS=hilite_status: experience/>223999/yellow/>239999/lightgreen/>255999/green OPTIONS=hilite_status: experience/>271999/cyan/>287999/lightcyan/>303999/lightblue # 16 OPTIONS=hilite_status: experience/>319999/black/>351999/orange/>383999/red/>415999/brown OPTIONS=hilite_status: experience/>447999/yellow/>479999/lightgreen/>511999/green OPTIONS=hilite_status: experience/>543999/cyan/>575999/lightcyan/>607999/lightblue # 17 OPTIONS=hilite_status: experience/>639999/black/>703999/orange/>767999/red/>831999/brown OPTIONS=hilite_status: experience/>895999/yellow/>959999/lightgreen/>1023999/green OPTIONS=hilite_status: experience/>1089997/cyan/>1151999/lightcyan/>1215999/lightblue # 18 OPTIONS=hilite_status: experience/>1279999/black/>1407999/orange/>1535999/red/>1663999/brown OPTIONS=hilite_status: experience/>1791999/yellow/>1919999/lightgreen/>2047999/green OPTIONS=hilite_status: experience/>2175999/cyan/>2303999/lightcyan/>2431999/lightblue # 19 OPTIONS=hilite_status: experience/>2559999/black/>2815999/orange/>3071999/red/>3327999/brown OPTIONS=hilite_status: experience/>3583999/yellow/>3839999/lightgreen/>4095999/green OPTIONS=hilite_status: experience/>4351999/cyan/>4607999/lightcyan/>4863999/lightblue # 20 OPTIONS=hilite_status: experience/>5119999/black/>5607999/orange/>6095999/red/>6583999/brown OPTIONS=hilite_status: experience/>7071999/yellow/>7559999/lightgreen/>8047999/green OPTIONS=hilite_status: experience/>8535999/cyan/>9023999/lightcyan/>9511999/lightblue # 21 OPTIONS=hilite_status: experience/>9999999/black/>10999999/orange/>11999999/red/12999999/brown OPTIONS=hilite_status: experience/>13999999/yellow/>14999999/lightgreen/>15999999/green OPTIONS=hilite_status: experience/>16999999/cyan/>17999999/lightcyan/>18999999/lightblue # 22 OPTIONS=hilite_status: experience/>19999999/black/>20999999/orange/>21999999/red/22999999/brown OPTIONS=hilite_status: experience/>23999999/yellow/>24999999/lightgreen/>25999999/green OPTIONS=hilite_status: experience/>26999999/cyan/>27999999/lightcyan/>28999999/lightblue # 23 OPTIONS=hilite_status: experience/>29999999/black/>30999999/orange/>31999999/red/32999999/brown OPTIONS=hilite_status: experience/>33999999/yellow/>34999999/lightgreen/>35999999/green OPTIONS=hilite_status: experience/>36999999/cyan/>37999999/lightcyan/>38999999/lightblue # 24 OPTIONS=hilite_status: experience/>39999999/black/>40999999/orange/>41999999/red/42999999/brown OPTIONS=hilite_status: experience/>43999999/yellow/>44999999/lightgreen/>45999999/green OPTIONS=hilite_status: experience/>46999999/cyan/>47999999/lightcyan/>48999999/lightblue # 25 OPTIONS=hilite_status: experience/>49999999/black/>50999999/orange/>51999999/red/52999999/brown OPTIONS=hilite_status: experience/>53999999/yellow/>54999999/lightgreen/>55999999/green OPTIONS=hilite_status: experience/>56999999/cyan/>57999999/lightcyan/>58999999/lightblue # 26 OPTIONS=hilite_status: experience/>59999999/black/>60999999/orange/>61999999/red/62999999/brown OPTIONS=hilite_status: experience/>63999999/yellow/>64999999/lightgreen/>65999999/green OPTIONS=hilite_status: experience/>66999999/cyan/>67999999/lightcyan/>68999999/lightblue # 27 OPTIONS=hilite_status: experience/>69999999/black/>70999999/orange/>71999999/red/72999999/brown OPTIONS=hilite_status: experience/>73999999/yellow/>74999999/lightgreen/>75999999/green OPTIONS=hilite_status: experience/>76999999/cyan/>77999999/lightcyan/>78999999/lightblue # 28 OPTIONS=hilite_status: experience/>79999999/black/>80999999/orange/>81999999/red/82999999/brown OPTIONS=hilite_status: experience/>83999999/yellow/>84999999/lightgreen/>85999999/green OPTIONS=hilite_status: experience/>86999999/cyan/>87999999/lightcyan/>88999999/lightblue # 29 OPTIONS=hilite_status: experience/>89999999/black/>90999999/orange/>91999999/red/92999999/brown OPTIONS=hilite_status: experience/>93999999/yellow/>94999999/lightgreen/>95999999/green OPTIONS=hilite_status: experience/>96999999/cyan/>97999999/lightcyan/>98999999/lightblue # 30+ OPTIONS=hilite_status: experience/>99999999/white ############### # ITEM COLORS # ############### OPTIONS=color,menucolors MENUCOLOR="gold piece"=yellow # BUC Status MENUCOLOR=" blessed "=cyan MENUCOLOR=" holy "=cyan MENUCOLOR=" cursed "=orange&bold MENUCOLOR=" unholy "=orange&bold MENUCOLOR=" uncursed "=white ## Food status # Vegetarian MENUCOLOR="egg|pancake|fortune cookie|candy bar|royal jelly|cream pie"=green&dim MENUCOLOR="(tin of )?brown pudding|gray ooze( corpse)?"=green&dim # Vegan MENUCOLOR="(food |cram |K-|C-)ration|gunyoki"=green MENUCOLOR="(lembas wafer|melon|carrot|spinach)"=green MENUCOLOR="(orange| pear)s?( named.*)?$"=green MENUCOLOR="(apple|banana|kelp|eucalyptus|garlic|wolfsbane)"=green MENUCOLOR="(slime mold|dwarven root|paddle cact(i|us))"=green MENUCOLOR="(tins? of )?(gelatinous cube|acid blob|quivering blob)( corpse)?"=green MENUCOLOR="(tins? of )?(blue|spotted|ochre) jelly( corpse)?"=green MENUCOLOR="(tins? of )?lichen|shrieker|violet fungus|(brown|yellow|green|red) mold( corpse)?"=green # 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 # Dangerous or otherwise unpleasant items MENUCOLOR="(loadstone|LOADSTONE)"=orange&inverse MENUCOLOR="(cockatrice|chickatrice)"=yellow&inverse MENUCOLOR="amulet (called|of) (strangulation|restful sleep|change)"=orange MENUCOLOR="(fumble|fumbling|FUMBLE|FUMBLING)"=orange MENUCOLOR=" (bad|BAD)"=orange MENUCOLOR=" cursed .* \(((being worn)|((tethered )?weapon in hands?))\)"=orange&inverse # Will explode bag of holding MENUCOLOR="wand (called|of) cancel(lation)?"=yellow&inverse MENUCOLOR="vanish"=yellow&inverse MENUCOLOR="bag (called|of) tricks"=yellow&inverse MENUCOLOR="NEVER"=yellow&inverse # 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|[Cc]andelabrum|Book of the Dead|papyrus spellbook)"=magenta&bold # Raison d'etre MENUCOLOR=" Amulet of Yendor named"=magenta&inverse ####################### # 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 ########### # ENHANCE # ########### MENUCOLOR="^ +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=black 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="^ +# +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=black #################### # MESSAGE HANDLING # #################### # Emergencies MSGTYPE=stop "The .* 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" MSGTYPE=stop "You die" MSGTYPE=stop "You feel feverish." MSGTYPE=stop "You feel purified." # Vibrating square MSGTYPE=stop "You feel a strange vibration" # Enhance MSGTYPE=stop "You feel more confident " # Status effects MSGTYPE=stop "You feel hungry" MSGTYPE=stop "You are beginning to feel hungry" MSGTYPE=stop "You are getting the munchies" MSGTYPE=stop "You feel weak now" MSGTYPE=stop "You still have the munchies" MSGTYPE=stop "You feel weak" MSGTYPE=stop "You are beginning to feel weak" MSGTYPE=stop "The munchies are interfering with your motor capabilities" MSGTYPE=stop " needs food, badly!" MSGTYPE=stop "You only feel hungry now" MSGTYPE=stop "You now have a lesser case of the munchies" MSGTYPE=stop "You faint from lack of food" MSGTYPE=stop "You regain consciousness" MSGTYPE=stop "You feel deathly sick" MSGTYPE=stop "You feel even worse" MSGTYPE=stop "You feel much worse" # Traps MSGTYPE=stop "You feel your magical energy drain away." MSGTYPE=stop "You feel momentarily lethargic." MSGTYPE=stop "You feel sluggish." MSGTYPE=stop "You feel very lethargic." MSGTYPE=stop "You feel unbearably torpid!" MSGTYPE=stop " seems lethargic." MSGTYPE=stop " is killed by the compression from an anti-magic field!" MSGTYPE=stop "An arrow shoots out at you!" MSGTYPE=stop " is hit by an arrow!" MSGTYPE=stop "You hear a loud click!" MSGTYPE=stop "A bear trap closes on your " MSGTYPE=stop " is caught in a bear trap!" MSGTYPE=stop "You hear the roaring of an angry bear!" MSGTYPE=stop "You howl in anger!" MSGTYPE=stop "A little dart shoots out at you!" MSGTYPE=stop " is hit by a dart!" MSGTYPE=stop "You hear a soft click." MSGTYPE=stop "A tower of flame erupts from the floor!" MSGTYPE=stop "There's a gaping hole under you!" MSGTYPE=stop "You are caught in a magical explosion! Your body absorbs some of the magical energy!" MSGTYPE=stop "You are momentarily blinded by a flash of light!" MSGTYPE=stop "You see a flash of light!" MSGTYPE=stop "You hear a deafening roar!" MSGTYPE=stop "You feel rankled." MSGTYPE=stop "A trapdoor in the ceiling opens and a rock falls on your head!" MSGTYPE=stop " is hit by a rock!" MSGTYPE=stop "A trapdoor in the sky opens and a rock falls on your head!" MSGTYPE=stop "KAABLAMM!!!" MSGTYPE=stop "You discover a trigger in a pile of soil below you." MSGTYPE=stop " falls into a pit!" MSGTYPE=stop "Click! You trigger a rolling boulder trap!" MSGTYPE=stop "A gush of water hits " MSGTYPE=stop "cloud of gas" # Potential inventory cursing MSGTYPE=stop "You feel a malignant aura " # Near-death MSGTYPE=stop "You hear the howling of the CwnAnnwn..." MSGTYPE=stop ", your life force is running out." MSGTYPE=stop ", all your powers will be lost..." MSGTYPE=stop "You hear the wailing of the Banshee..." MSGTYPE=stop " is about to die." # Cockatrice wielding MSGTYPE=stop " .* (wields|picks up) .*(cock|chick)atrice .* " # Noise MSGTYPE=hide "You swap places with .*" MSGTYPE=hide "You descend .*" MSGTYPE=hide "You (climb|fly) (up|down) .*" MSGTYPE=norep "You see here an? .*" MSGTYPE=hide "^With great effort you move the boulder" MSGTYPE=norep "^Your .* moves the boulder" MSGTYPE=hide "^Your armor is rather cumbersome..." # 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!