Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is an example nethackrc file. You should edit this to suit your needs
- # This editor is vi-like. Type ESC a couple times, then ':q!' (without quotes)
- # to exit if you get stuck. To save, hit ESC and then ZZ or type ':wq'
- # (without quotes.) To insert text, hit 'i' to enter insert mode.
- # Here are some examples of reasonable defaults:
- OPTIONS=showexp,showscore,time,color,!autopickup
- OPTIONS=autodig,fruit:slime mold,boulder:0
- OPTIONS=msg_window:reversed
- OPTIONS=number_pad:0
- OPTIONS=suppress_alert:3.4.3
- OPTIONS=lit_corridor
- OPTIONS=hilite_pet
- ## http://nethackwiki.com/wiki/Autopickup_exceptions
- # Uses globbing, unless you set OPTIONS=apexception_regex
- ## Always pick these:
- #AUTOPICKUP_EXCEPTION="<*magic lamp*"
- #AUTOPICKUP_EXCEPTION="<*wand of wishing*"
- #AUTOPICKUP_EXCEPTION="<*wand of death*"
- #AUTOPICKUP_EXCEPTION="<*wand of polymorph*"
- ## Don't pick these:
- #AUTOPICKUP_EXCEPTION=">*worthless piece of*"
- #AUTOPICKUP_EXCEPTION=">*loadstone*"
- #AUTOPICKUP_EXCEPTION=">*flint stone*"
- ## The following are options not in vanilla NetHack:
- #
- ## Use the dark gray color. Might not work on all terminals.
- #OPTIONS=use_darkgray
- #
- ## Try to hilight stairs under items with red background.
- ## Try to hilight piles of objects with blue background.
- ## Might not work on all terminals.
- #OPTIONS=hilite_hidden_stairs
- #OPTIONS=hilite_obj_piles
- #
- ## In dumplog, display the number of each type of monster created,
- ## rather than just the number killed
- #OPTIONS=showborn
- #
- ## Disable the generic item use menu (select an item to use directly
- ## from inventory)
- #OPTIONS=!item_use_menu
- #
- ## Say in the message line whenever you walk against a wall.
- ## Useful for blind players.
- #OPTIONS=msg_wall_hits
- #
- ## Show item glyphs (color and symbol) in tty menus.
- #OPTIONS=menu_glyphs
- #
- ## Name and rank background correspond to statuscolor HP colors.
- #OPTIONS=hitpointbar
- #
- ## Colored status lines. See http://bilious.alt.org/?142
- OPTIONS=statuscolors
- ## HP
- STATUSCOLOR=hp%100=green,hp%66=yellow,hp%50=orange
- STATUSCOLOR=hp%33=red&bold,hp%15:red&inverse,hp%0:red&inverse&blink
- ## Pw
- STATUSCOLOR=pw%100=green,pw%66=yellow,pw%50:orange,pw%33=red&bold
- ## HP & Pw also support exact numbers, for example:
- #STATUSCOLOR=hp.1:red&inverse,hp<8:red,hp>50:grey
- ## Carry
- STATUSCOLOR=burdened:yellow,stressed:orange,strained:red&bold
- STATUSCOLOR=overtaxed:red&inverse,overloaded:red&inverse&blink
- ## Hunger
- STATUSCOLOR=satiated:yellow,hungry:orange,weak:red&bold
- STATUSCOLOR=fainting:red&inverse,fainted:red&inverse&blink
- ## Mental
- STATUSCOLOR=hallu:yellow,conf:orange,stun:red&bold
- ## Health
- STATUSCOLOR=ill:red&inverse,foodpois:red&inverse,slime:red&inverse
- #
- #
- ## 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
- #Scrolls
- MENUCOLOR="genocide"=yellow&underline
- #Light sources
- MENUCOLOR="lamp"=yellow
- MENUCOLOR="lantern"=yellow
- #Elemental wands
- MENUCOLOR="wand of cold"=blue
- MENUCOLOR="wand of fire"=red
- MENUCOLOR="wand of lightning"=yellow
- #Food
- MENUCOLOR="grapefruit"=orange
- MENUCOLOR="royal jelly"=yellow
- MENUCOLOR="ration"=magenta
- MENUCOLOR="lizard corpse"=cyan&underline
- #Rings
- MENUCOLOR=" ring.*levitation"=yellow
- MENUCOLOR="free action"=yellow
- MENUCOLOR="conflict"=yellow
- MENUCOLOR="slow digestion"=yellow
- #Gold
- MENUCOLOR="gold piece"=yellow
- #Most useful wands
- MENUCOLOR="wand of teleportation"=yellow
- MENUCOLOR="digging"=yellow
- MENUCOLOR="cancellation"=yellow&underline
- MENUCOLOR="wishing"=cyan&underline
- MENUCOLOR="cti"=yellow
- #Most valuable potions
- MENUCOLOR="full healing"=yellow&underline
- MENUCOLOR="sickness"=green
- #...
- #Gems
- MENUCOLOR="gem"=cyan
- #...
- #Unlocking devices
- MENUCOLOR="lock pick"=yellow
- MENUCOLOR="credit card"=yellow
- MENUCOLOR="key"=yellow
- #...
- #Necessary items
- MENUCOLOR="unicorn horn"=cyan
- #Jonadab's special cursed items' rules
- #Light magenta for items I might want to leave cursed:
- MENUCOLOR="unholy.*water"=lightmagenta
- MENUCOLOR=" cursed.*water"=lightmagenta
- MENUCOLOR=" cursed.*clear potion"=lightmagenta
- MENUCOLOR=" cursed.*destroy armor"=lightmagenta
- MENUCOLOR=" cursed.*gain level"=lightmagenta
- MENUCOLOR=" cursed.*scroll.*teleportation"=lightmagenta
- MENUCOLOR=" cursed.*scroll.*create monster"=lightmagenta
- MENUCOLOR=" cursed.*blank"=lightmagenta
- MENUCOLOR=" cursed.*scroll.*genocide"=lightmagenta
- # Jonadab's spell failure rates
- MENUCOLOR=" 0%"=lightgreen
- MENUCOLOR=" [1-9]%"=green
- MENUCOLOR=" 1[0-9]%"=green
- MENUCOLOR=" 2[0-4]%"=lightcyan
- MENUCOLOR=" 2[5-9]%"=lightcyan
- MENUCOLOR=" [3-4][0-9]%"=yellow
- MENUCOLOR=" [5-9][0-9]%"=orange
- MENUCOLOR=" 100%"=lightmagenta
- MENUCOLOR="knife"=yellow&underline
- #
- # Messagetype patch: http://bilious.alt.org/?397
- # Uses globbing, unless you set OPTIONS=msgtype_regex
- ## displacing pets. hide the message.
- #MSGTYPE=hide "You displaced *"
- ## 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 *"
- #
- # amulet of strangulation
- MSGTYPE=stop "It constricts your throat!"
- MSGTYPE=stop "You find it hard to breathe."
- MSGTYPE=stop "Your * is becoming constricted."
- 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 "The pressure on your * increases."
- MSGTYPE=stop "You're turning blue."
- MSGTYPE=stop "Your consciousness is fading."
- MSGTYPE=stop "You suffocate."
- MSGTYPE=stop "* beheads *"
- # bullwhip
- MSGTYPE=stop "* flicks a bullwhip towards your *!"
- MSGTYPE=stop "* wraps around * you're wielding!"
- MSGTYPE=stop "* yanks * from your *!"
- MSGTYPE=stop "* yanks * to the *!"
- MSGTYPE=stop "* snatches *!"
- MSGTYPE=stop "* malignant *"
- # dangerous items
- MSGTYPE=stop "*chickatrice corpse*"
- MSGTYPE=stop "*cockatrice corpse*"
- MSGTYPE=stop "*cockatrice egg*"
- MSGTYPE=stop "*Tsurugi of Muramasa*"
- MSGTYPE=stop "*Vorpal Blade*"
- # drowning attack
- 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!"
- # experience gain/loss
- MSGTYPE=stop "You feel more experienced."
- MSGTYPE=stop "Welcome to experience level *."
- MSGTYPE=stop "Goodbye level *." # default
- MSGTYPE=stop "Fare thee well level *." # knight
- MSGTYPE=stop "Sayonara level *." # samurai
- MSGTYPE=stop "Aloha level *." # tourist
- MSGTYPE=stop "Farvel level *." # valkyrie
- # food poisoning
- MSGTYPE=stop "Ulch - that * was tainted*!"
- # hunger
- MSGTYPE=stop "You feel hungry."
- MSGTYPE=stop "You are beginning to feel hungry."
- MSGTYPE=stop "You are getting the munchies." # hallu
- MSGTYPE=stop "You feel weak now."
- MSGTYPE=stop "You still have the munchies." # hallu
- MSGTYPE=stop "You feel weak."
- MSGTYPE=stop "You are beginning to feel weak."
- MSGTYPE=stop "The munchies are interfering with your motor capabilities." # hallu
- MSGTYPE=stop "* needs food, badly!"
- MSGTYPE=stop "You only feel hungry now."
- MSGTYPE=stop "You now have a lesser case of the munchies." # hallu
- 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 "* decapitates *"
- # illness
- MSGTYPE=stop "You feel deathly sick."
- MSGTYPE=stop "You feel even worse."
- MSGTYPE=stop "You feel much worse."
- MSGTYPE=stop "You feel somewhat better."
- MSGTYPE=stop "What a relief!"
- MSGTYPE=stop "You die from your illness."
- # inventory cursing
- MSGTYPE=stop "You feel a malignant aura surround you."
- MSGTYPE=stop "You feel a malignant aura surround the magic-absorbing blade."
- # mind flayer (these can get quite annoying)
- MSGTYPE=stop "You sense a faint wave of psychic energy."
- MSGTYPE=stop "A wave of psychic energy pours over you!"
- MSGTYPE=stop "It locks on to your *!"
- MSGTYPE=stop "* concentrates."
- MSGTYPE=stop "* tentacles suck you!"
- MSGTYPE=stop "You don't seem harmed."
- MSGTYPE=stop "Your helmet blocks the attack to your head."
- MSGTYPE=stop "Your brain is eaten!"
- MSGTYPE=stop "Your last thought fades away."
- MSGTYPE=stop "Unfortunately your brain is still gone."
- # near-death
- MSGTYPE=stop "You hear the howling of the CwnAnnwn..."
- MSGTYPE=stop "You hear the wailing of the Banshee..."
- MSGTYPE=stop "*, all your powers will be lost..."
- MSGTYPE=stop "*, your life force is running out."
- MSGTYPE=stop "* is about to die."
- # shop
- MSGTYPE=stop "You hear someone cursing shoplifters."
- MSGTYPE=stop "You hear the chime of a cash register."
- MSGTYPE=stop "You hear Neiman and Marcus arguing!" # hallu
- # skill training
- MSGTYPE=stop "You feel more confident in your *skills."
- MSGTYPE=stop "You are now more skilled in *."
- MSGTYPE=stop "You are now most skilled in *."
- # sliming
- MSGTYPE=stop "You don't feel very well."
- MSGTYPE=stop "You suck in some slime and 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 turning into *." # hallu
- MSGTYPE=stop "You have become a green slime."
- MSGTYPE=stop "You have become *." # hallu
- # (failed) spell casting
- MSGTYPE=stop "You don't have enough energy to cast that spell."
- MSGTYPE=stop "You fail to cast the spell correctly."
- # stoning
- MSGTYPE=stop "You are slowing down."
- MSGTYPE=stop "Your limbs are stiffening."
- MSGTYPE=stop "Your limbs have turned to stone."
- MSGTYPE=stop "You have turned to stone."
- MSGTYPE=stop "You are a statue."
- # theft attack (incomplete)
- MSGTYPE=stop "* stole *." # steal()
- MSGTYPE=stop "* stole *!" # stealamulet()
- # vault
- MSGTYPE=stop "You hear someone counting money."
- MSGTYPE=stop "You hear the quarterback calling the play." # hallu
- MSGTYPE=stop "You hear the footsteps of a guard on patrol."
- MSGTYPE=stop "You hear Ebenezer Scrooge!" # hallu
- MSGTYPE=hide "You hear someone searching." # empty
- # vibrating square
- MSGTYPE=stop "You feel a strange vibration beneath *."
- MSGTYPE=stop "You feel a strange vibration under your *."
- # vomiting
- MSGTYPE=stop "You are feeling mildly nauseated."
- MSGTYPE=stop "You feel slightly confused."
- MSGTYPE=stop "You can't seem to think straight."
- MSGTYPE=stop "You feel incredibly sick."
- MSGTYPE=stop "You suddenly vomit!"
- # Wizard of Yendor
- MSGTYPE=stop "You feel vaguely nervous."
- MSGTYPE=stop "You notice a black glow surrounding you."
- MSGTYPE=stop "A voice booms out..."
- MSGTYPE=stop "So thou thought thou couldst * me, fool."
- #
- #
- ## Require you to type "yes" instead of just "y"
- #OPTIONS=paranoid_hit,paranoid_quit,paranoid_remove
- #
- ## Sort items by name. One of "none", "loot", or "full"
- #OPTIONS=sortloot:full
- #
- ## Always show BUC status?
- #OPTIONS=showbuc
- #
- ## Always show windows starting from left edge of screen?
- #OPTIONS=win_edge
- #
- ## Show object class symbol in menus where it acts as a hotkey
- #OPTIONS=show_obj_sym
- #
- ## If off, you never load bones files.
- #OPTIONS=!bones
- #
- ## If on, you'll quiver items if you fire 'em.
- #OPTIONS=!quiver_fired
- #
- #
- # To make playing with a screen-reader such as JAWS easier:
- # Prevent status lines from updating. use extended command
- # #updatestatus to force an update.
- #OPTIONS=!botl_updates
- # Notify HP changes in the message lines.
- #OPTIONS=hp_notify
- # Optionally, change HP notify format. Accepts following codes:
- # %a = HP adjustment since last notification. No + or - sign.
- # %c = HP adjustment sign ('+' or '-')
- # %h = Current HP
- # %m = Max. HP
- # %H = Current HP, or "max" if hp=maxhp
- #OPTIONS=hp_notify_fmt:[HP%c%a=%H]
- #
- #
- # Configurable dungeon feature colors: http://bilious.alt.org/?17
- #DUNGEONCOLOR= 0 7 7 7 7 7 7 7 7 7 \
- # 7 7 7 3 3 3 3 6 2 7 \
- # 0 7 15 15 3 3 7 7 11 7 \
- # 4 4 6 1 3 3 3 3 6 7 \
- # 4
- #TRAPCOLORS= 6 6 7 3 6 1 7 12 4 9 0 0 3 3 5 5 13 7 7 12 12 10
- #
- # ``DUNGEONCOLOR'' are in the same order as ``DUNGEON'', and
- # ``TRAPCOLORS'' as ``TRAPS''
- #
- #
- # Configurable monster colors
- #MONSTERCOLOR=floating eye:yellow
- #MONSTERCOLOR=master mind flayer:lightmagenta
- #
- #
- #Key rebinding and extended command autocomplete:
- # 1) All commands are now extended commands. Use the ext command name
- # for binding and autocompleting.
- # 2) Key to bind can be:
- # "x" for regular key x,
- # "mx" or "m-x" for meta-x,
- # "cx" or "c-x" or "^x" for ctrl-x,
- # "<enter>", "<space>" or "<esc>"
- #BINDINGS=!:inventory,v:untrap
- # binding a key to "nothing" will remove the binding.
- #
- #AUTOCOMPLETE=save,!quit
- # prefixing the command name with '!' will prevent it from being autocompleted.
- #
- # Messagetype patch: http://bilious.alt.org/?397
- # Uses globbing, unless you set OPTIONS=msgtype_regex
- ## displacing pets. hide the message.
- #MSGTYPE=hide "You displaced *"
- ## 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 *"
- #
- # See http://nethackwiki.com/wiki/Curses_interface
- #OPTIONS=windowtype:curses
- # UTF8 support.
- # Does NOT play nice with windowtype:curses
- # Not FULL unicode support. eg. Double width characters will screw
- # up the display and combining characters are not supported.
- #OPTIONS=utf8graphics
- # Change the UTF8 symbols for monsters, objects, and dungeon features.
- #MONSTERSYMBOL='horse':U+24FA
- #OBJECTSYMBOL='apple':0x03a9
- #SYMBOL='altar':0x1234
- # Instead of using SYMBOL, you can also change all dungeon feature symbols
- # by using DUNGEONSYMBOLS. The format for it is the same as DUNGEON, but
- # DUNGEONSYMBOLS takes numbers that can also be hexadecimals or
- # unicode codepoints.
- # For more information on what you can set in your nethackrc file, refer to:
- # http://www.nethack.org/v343/Guidebook.html#_TOCentry_42
- # or http://nethackwiki.com/wiki/Options
- # Happy hacking!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement