# NetHack 3.6 defaults.nh $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.32 $ # Copyright (c) 2006 by Michael Allison # NetHack may be freely redistributed. See license for details. # Sample config file for win32 NetHack # A '#' at the beginning of a line means the rest of the line is a comment. # # Some options MUST be set in this file, other options can be toggled while # playing. For a list of options available see the file. # # To change the configuration, comment out the unwanted lines, and # uncomment the configuration you want. # # $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.32 $ # *** OPTIONS *** # # Use the IBM character set rather than just plain ascii characters # for tty window-port. OPTIONS=symset:curses,roguesymset:RogueEpyx # Here is a suggested symbol set from Michael Feir, # for use by blind NetHack players #OPTIONS=symset:NHAccess,roguesymset:NHAccess # Optional curses port interface OPTIONS=windowtype:curses # # Keyboard handling # Different keyboard handlers can be loaded. # Default is nhdefkey.dll but you can override that. # Ray Chason's keyboard handler OPTIONS=altkeyhandler:nhraykey.dll # # NetHack 3.4.0 keyboard handling # OPTIONS=altkeyhandler:nh340key.dll # *** Personal Preferences *** # Some options to set personal preferences. Uncomment and change these to # suit your personal preference. If several people are to use the same # configuration, options like these should not be set. # #OPTIONS=name:Janet,role:Valkyrie,race:Human,gender:female,align:lawful #OPTIONS=dogname:Fido,catname:Morris,fruit:guava #OPTIONS=horsename:Silver # Disable autopickup OPTIONS=!autopickup # When autopickup is on, automatically pick up these types of objects OPTIONS=pickup_types:$"=/!?+ #OPTIONS=packorder:")[%?+/=!(*0_` #OPTIONS=scores:10 top/2 around/own #OPTIONS=nolegacy,noverbose #OPTIONS=menustyle:traditional OPTIONS=!pickup_thrown # stth++ MONSTERCOLOR=floating eye:lightgreen OPTIONS=statuscolors STATUSCOLOR=HP%99:green,HP%75:brown,HP%50:red,HP%25:orange # prayer threshold (<= 1/7 of maxHP) (stth++) STATUSCOLOR=HP%14:lightmagenta&inverse STATUSCOLOR=Pw%99:cyan&bold,Pw%75:cyan,Pw%50:magenta,Pw%25:magenta&bold STATUSCOLOR=Satiated:green,Hungry:brown,Weak:red,Fainting:orange&inverse,Fainted:orange&inverse,Starved:orange&inverse STATUSCOLOR=Burdened:orange,Stressed:orange,Strained:orange,Overtaxed:orange,Overloaded:orange STATUSCOLOR=Blind:red,Stun:brown,Conf:brown,Hallu:brown STATUSCOLOR=Ill:red&inverse,FoodPois:red&inverse,Slime:red&inverse # taken from https://github.com/majutsushi/etc/blob/master/nethackrc and stth OPTIONS=msgtype_regex # emergencies MSGTYPE=stop "The (couatl.*eel|kraken) 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" # vibrating square MSGTYPE=stop "You feel a strange vibration beneath " MSGTYPE=stop "You feel a strange vibration under your " # #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 die from starvation" MSGTYPE=stop "You die from hunger and exhaustion" MSGTYPE=stop "You feel deathly sick" MSGTYPE=stop "You feel even worse" MSGTYPE=stop "You feel much worse" MSGTYPE=stop "You die from your illness" # (potential) inventory cursing MSGTYPE=stop "You feel a malignant aura surround the magic-absorbing blade" MSGTYPE=stop "You feel a malignant aura surround you" # 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." # noise MSGTYPE=hide "^With great effort you move the boulder" MSGTYPE=hide "^Your armor is rather cumbersome..." # monk wearing body armor MSGTYPE=hide "^You displaced " 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|brain)"=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 # ########### # Wands and other charged items MENUCOLOR=" \([0-7]:.*\)"=yellow MENUCOLOR=" \([0-7]:[1-3]\)"=brown MENUCOLOR=" \([0-7]:(0|-1)\)"=brown&underline MENUCOLOR=" named empty"=brown&underline 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&underline ################## # 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 # General options. You might also set "silent" so as not to attract # the boss's attention. # # number_pad option can have an optional value of 0 (off), 1 (on), # or 2(on,legacy-mode) which causes 5='g', alt-5='G', alt-0='I' OPTIONS=time,showexp,number_pad:1,lit_corridor,mouse_support:1 # Make commands that ask for an inventory item pop up a menu OPTIONS=force_invmenu # # If you want to get rid of "use #quit to quit..." use: OPTIONS=suppress_alert:3.3.1 # # Note: the rest_on_space in the next line may not be # appropriate for a beginning NetHack player, since # it could result in use of a turn unintentionally. # If you're new to NetHack, leave it commented it out. #OPTIONS=rest_on_space # # Set some options to control graphical window-port (these will # be safely and silently ignored by the tty port) # # Map window settings # possible map_mode options include: tiles|ascii4x6|ascii6x8|ascii8x8|ascii16x8| # ascii7x12|ascii8x12|ascii16x12|ascii12x16| # ascii10x18|fit_to_screen|ascii_fit_to_screen| # tiles_fit_to_screen OPTIONS=map_mode:tiles,scroll_margin:10 # Message window settings OPTIONS=font_message:Arial,font_size_message:14,align_message:top # Menu settings OPTIONS=font_menu:Arial,font_size_menu:14 # Text settings OPTIONS=font_text:Courier New,font_size_text:14 # Status window settings OPTIONS=font_status:Courier New,font_size_status:14 # Other OPTIONS=hilite_pet,!toptenwin OPTIONS=!hilite_pile #OPTIONS=!splash_screen,player_selection:prompts # Status/message window colors # Possible color options include: # six digit hexadecimal RGB color value ("#8F8F8F"), black, red, green, brown, # blue, magenta, cyan, gray (or grey), orange, brightgreen, yellow, brightblue, # brightmagenta, brightcyan, white, trueblack, purple, silver, maroon, fuchsia, # lime, olive, navy, teal, aqua, activeborder, activecaption, appworkspace, # background, btnface, btnshadow, btntext, captiontext, graytext, highlight, # highlighttext, inactiveborder, inactivecaption, menu, menutext, scrollbar, # window, windowframe, windowtext. #OPTIONS=windowcolors:status windowtext/window message windowtext/window # "Nethack mode" colors OPTIONS=windowcolors:status white/#000000 message white/#000000 text white/#000000 menu white/#000000 menutext white/#000000 OPTIONS=vary_msgcount:4 # *** LOCATIONS *** # IMPORTANT: If you change any of these locations, the directories they # point at must exist. NetHack will not create them for you. # # The location that documentation and helps files are placed #HACKDIR=c:\User\USERNAME\NetHack\3.6 # # The location that level files in progress are stored (writeable) #LEVELDIR=c:\User\USERNAME\AppData\Local\NetHack\3.6 # # The location where saved games are kept (writeable) #SAVEDIR=c:\User\USERNAME\AppData\Local\NetHack\3.6 # # The location that bones files are kept (writeable) #BONESDIR=c: # # The location that score files are kept (writeable) #SCOREDIR=c:\ProgramData\NetHack\3.6 # # The location that file synchronization locks are stored (writeable) #LOCKDIR=c:\ProgramData\NetHack\3.6 # # Finnish keyboards might need these modifications uncommented. # For \, @, $, [, | #OPTIONS=subkeyvalue:171/92 #OPTIONS=subkeyvalue:178/64 #OPTIONS=subkeyvalue:180/36 #OPTIONS=subkeyvalue:184/91 #OPTIONS=subkeyvalue:188/124 # # Some versions of Windows allow you to adjust the win32 console port # colors using R-G-B settings. # #OPTIONS=palette:black-0-0-0 #OPTIONS=palette:red-210-0-0 #OPTIONS=palette:green-80-200-0 #OPTIONS=palette:brown-180-100-0 #OPTIONS=palette:blue-0-0-200 #OPTIONS=palette:magenta-128-0-128 #OPTIONS=palette:cyan-50-180-180 #OPTIONS=palette:gray-192-192-192 #OPTIONS=palette:dark gray-100-100-100 #OPTIONS=palette:orange-255-128-0 #OPTIONS=palette:bright green-0-255-0 #OPTIONS=palette:yellow-255-255-0 #OPTIONS=palette:bright blue-100-100-240 #OPTIONS=palette:bright magenta-255-0-255 #OPTIONS=palette:bright cyan-0-255-255 #OPTIONS=palette:white-255-255-255 # gold OPTIONS=hilite_status:gold/up/yellow/down/brown # St, Dx, Co, In, Wi, Ch OPTIONS=hilite_status:characteristics/up/green/down/red