home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 September / PCWorld_2003-09_cd.bin / Software / TemaCD / nethack / Guidebook.txt < prev    next >
Text File  |  2003-02-12  |  150KB  |  3,433 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                            A Guide to the Mazes of Menace
  12.                                (Guidebook for NetHack)
  13.  
  14.  
  15.                                    Eric S. Raymond
  16.                       (Extensively edited and expanded for 3.4)
  17.  
  18.  
  19.  
  20.           1.  Introduction
  21.  
  22.           Recently, you have begun to find yourself unfulfilled and distant
  23.           in your daily occupation.  Strange dreams of prospecting,  steal-
  24.           ing,  crusading,  and  combat  have haunted you in your sleep for
  25.           many months, but you aren't  sure  of  the  reason.   You  wonder
  26.           whether  you have in fact been having those dreams all your life,
  27.           and somehow managed to forget about them until now.  Some  nights
  28.           you awaken suddenly and cry out, terrified at the vivid recollec-
  29.           tion of the strange and powerful creatures that seem to be  lurk-
  30.           ing  behind  every  corner  of  the dungeon in your dream.  Could
  31.           these details haunting your dreams be real?  As each night  pass-
  32.           es,  you feel the desire to enter the mysterious caverns near the
  33.           ruins grow stronger.  Each morning, however, you quickly put  the
  34.           idea  out  of  your head as you recall the tales of those who en-
  35.           tered the caverns before you and did not return.  Eventually  you
  36.           can  resist  the yearning to seek out the fantastic place in your
  37.           dreams no longer.  After all, when other  adventurers  came  back
  38.           this  way after spending time in the caverns, they usually seemed
  39.           better off than when they passed through the first time.  And who
  40.           was to say that all of those who did not return had not just kept
  41.           going?
  42.  
  43.  
  44.                Asking around, you hear about a bauble, called the Amulet of
  45.           Yendor  by  some, which, if you can find it, will bring you great
  46.           wealth.  One legend you were told even mentioned that the one who
  47.           finds  the  amulet  will be granted immortality by the gods.  The
  48.           amulet is rumored to be somewhere beyond the Valley of  Gehennom,
  49.           deep  within  the Mazes of Menace.  Upon hearing the legends, you
  50.           immediately realize that there is some profound and  undiscovered
  51.           reason that you are to descend into the caverns and seek out that
  52.           amulet of which they spoke.  Even if the rumors of  the  amulet's
  53.           powers are untrue, you decide that you should at least be able to
  54.           sell the tales of your adventures to the local  minstrels  for  a
  55.           tidy  sum,  especially if you encounter any of the terrifying and
  56.           magical creatures of your dreams along the way.   You  spend  one
  57.           last  night  fortifying  yourself at the local inn, becoming more
  58.           and more depressed as you watch the odds of  your  success  being
  59.           posted on the inn's walls getting lower and lower.
  60.  
  61.  
  62.  
  63.           NetHack Guidebook                                               1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.           NetHack Guidebook                                               2
  70.  
  71.  
  72.  
  73.                  In the morning you awake, collect your belongings, and set
  74.           off for the dungeon.  After several days  of  uneventful  travel,
  75.           you  see the ancient ruins that mark the entrance to the Mazes of
  76.           Menace.  It is late at night, so you make camp  at  the  entrance
  77.           and  spend the night sleeping under the open skies.  In the morn-
  78.           ing, you gather your gear, eat what may be your  last  meal  out-
  79.           side, and enter the dungeon...
  80.  
  81.  
  82.           2.  What is going on here?
  83.  
  84.                You have just begun a game of NetHack.  Your goal is to grab
  85.           as much treasure as you can, retrieve the Amulet of  Yendor,  and
  86.           escape the Mazes of Menace alive.
  87.  
  88.                Your abilities and strengths for dealing with the hazards of
  89.           adventure will vary with your background and training:
  90.  
  91.                Archeologists understand dungeons pretty well; this  enables
  92.           them  to  move  quickly  and sneak up on the local nasties.  They
  93.           start equipped with the tools for a proper scientific expedition.
  94.  
  95.                Barbarians  are  warriors out of the hinterland, hardened to
  96.           battle.   They  begin  their  quests  with  naught  but  uncommon
  97.           strength, a trusty hauberk, and a great two-handed sword.
  98.  
  99.                Cavemen  and  Cavewomen start with exceptional strength but,
  100.           unfortunately, with neolithic weapons.
  101.  
  102.                Healers are wise in medicine and apothecary.  They know  the
  103.           herbs  and  simples  that  can restore vitality, ease pain, anes-
  104.           thetize, and neutralize poisons; and with their instruments, they
  105.           can  divine a being's state of health or sickness.  Their medical
  106.           practice earns them quite reasonable amounts of money, with which
  107.           they enter the dungeon.
  108.  
  109.                Knights  are  distinguished  from  the  common skirmisher by
  110.           their devotion to the ideals of chivalry and  by  the  surpassing
  111.           excellence of their armor.
  112.  
  113.                Monks are ascetics, who by rigorous practice of physical and
  114.           mental disciplines have become capable of fighting as effectively
  115.           without  weapons  as with.  They wear no armor but make up for it
  116.           with increased mobility.
  117.  
  118.                Priests and Priestesses are clerics militant, crusaders  ad-
  119.           vancing  the  cause  of  righteousness with arms, armor, and arts
  120.           thaumaturgic.  Their ability to commune with deities  via  prayer
  121.           occasionally extricates them from peril, but can also put them in
  122.           it.
  123.  
  124.                Rangers are most at home in the woods, and some say slightly
  125.           out of place in a dungeon.  They are, however, experts in archery
  126.           as well as tracking and stealthy movement.
  127.  
  128.  
  129.           NetHack 3.4                                     February 12, 2003
  130.  
  131.  
  132.  
  133.  
  134.  
  135.           NetHack Guidebook                                               3
  136.  
  137.  
  138.  
  139.                Rogues are agile and stealthy  thieves,  with  knowledge  of
  140.           locks,  traps,  and  poisons.   Their advantage lies in surprise,
  141.           which they employ to great advantage.
  142.  
  143.                Samurai are the elite warriors of feudal Nippon.   They  are
  144.           lightly  armored  and  quick, and wear the dai-sho, two swords of
  145.           the deadliest keenness.
  146.  
  147.                Tourists start out with lots of gold (suitable for  shopping
  148.           with),  a  credit card, lots of food, some maps, and an expensive
  149.           camera.  Most monsters don't like being photographed.
  150.  
  151.                Valkyries are hardy warrior women.  Their upbringing in  the
  152.           harsh  Northlands  makes  them strong, inures them to extremes of
  153.           cold, and instills in them stealth and cunning.
  154.  
  155.                Wizards start out with a knowledge of magic, a selection  of
  156.           magical  items,  and a particular affinity for dweomercraft.  Al-
  157.           though seemingly weak and easy to overcome at first sight, an ex-
  158.           perienced Wizard is a deadly foe.
  159.  
  160.                You may also choose the race of your character:
  161.  
  162.                Dwarves are smaller than humans or elves, but are stocky and
  163.           solid individuals.  Dwarves' most notable trait  is  their  great
  164.           expertise  in mining and metalwork.  Dwarvish armor is said to be
  165.           second in quality not even to the mithril armor of the Elves.
  166.  
  167.                Elves are agile, quick, and perceptive; very little of  what
  168.           goes  on  will escape an Elf.  The quality of Elven craftsmanship
  169.           often gives them an advantage in arms and armor.
  170.  
  171.                Gnomes are smaller than but generally  similar  to  dwarves.
  172.           Gnomes  are known to be expert miners, and it is known that a se-
  173.           cret underground mine complex built by this  race  exists  within
  174.           the Mazes of Menace, filled with both riches and danger.
  175.  
  176.                Humans are by far the most common race of the surface world,
  177.           and are thus the norm by which other races  are  often  compared.
  178.           Although  they have no special abilities, they can succeed in any
  179.           role.
  180.  
  181.                Orcs are a cruel and barbaric race that  hate  every  living
  182.           thing  (including other orcs).  Above all others, Orcs hate Elves
  183.           with a passion unequalled, and will go out of their way  to  kill
  184.           one  at  any opportunity.  The armor and weapons fashioned by the
  185.           Orcs are typically of inferior quality.
  186.  
  187.           3.  What do all those things on the screen mean?
  188.  
  189.                On the screen is kept a map of where you have been and  what
  190.           you  have  seen on the current dungeon level; as you explore more
  191.           of the level, it appears on the screen in front of you.
  192.  
  193.  
  194.  
  195.           NetHack 3.4                                     February 12, 2003
  196.  
  197.  
  198.  
  199.  
  200.  
  201.           NetHack Guidebook                                               4
  202.  
  203.  
  204.  
  205.                When NetHack's ancestor rogue  first  appeared,  its  screen
  206.           orientation  was  almost  unique  among  computer  fantasy games.
  207.           Since then, screen orientation has become the  norm  rather  than
  208.           the  exception;  NetHack  continues  this fine tradition.  Unlike
  209.           text adventure games that accept commands in pseudo-English  sen-
  210.           tences and explain the results in words, NetHack commands are all
  211.           one or two keystrokes and the results are  displayed  graphically
  212.           on  the  screen.  A minimum screen size of 24 lines by 80 columns
  213.           is recommended; if the screen is larger,  only  a  21x80  section
  214.           will be used for the map.
  215.  
  216.                NetHack can even be played by blind players, with the assis-
  217.           tance of Braille readers or  speech  synthesisers.   Instructions
  218.           for  configuring NetHack for the blind are included later in this
  219.           document.
  220.  
  221.                NetHack generates a new dungeon every time you play it; even
  222.           the  authors  still find it an entertaining and exciting game de-
  223.           spite having won several times.
  224.  
  225.                NetHack offers a variety of display  options.   The  options
  226.           available  to  you  will vary from port to port, depending on the
  227.           capabilities of your hardware and software, and  whether  various
  228.           compile-time options were enabled when your executable was creat-
  229.           ed.  The three possible display options are: a monochrome charac-
  230.           ter  interface,  a color character interface, and a graphical in-
  231.           terface using small pictures called tiles.  The two character in-
  232.           terfaces allow fonts with other characters to be substituted, but
  233.           the default assignments use standard ASCII characters  to  repre-
  234.           sent everything.  There is no difference between the various dis-
  235.           play options with respect to game play.  Because we cannot repro-
  236.           duce the tiles or colors in the Guidebook, and because it is com-
  237.           mon to all ports, we will use the default ASCII  characters  from
  238.           the  monochrome  character  display  when referring to things you
  239.           might see on the screen during your game.
  240.  
  241.                In order to understand what is going on  in  NetHack,  first
  242.           you  must  understand what NetHack is doing with the screen.  The
  243.           NetHack screen replaces the ``You see ...'' descriptions of  text
  244.           adventure  games.   Figure 1 is a sample of what a NetHack screen
  245.           might look like.  The way the screen looks  for  you  depends  on
  246.           your platform.
  247.  
  248.           --------------------------------------------------------------------
  249.            The bat bites!
  250.  
  251.                ------
  252.                |....|    ----------
  253.                |.<..|####...@...$.|
  254.                |....-#   |...B....+
  255.                |....|    |.d......|
  256.                ------    -------|--
  257.  
  258.  
  259.  
  260.  
  261.           NetHack 3.4                                     February 12, 2003
  262.  
  263.  
  264.  
  265.  
  266.  
  267.           NetHack Guidebook                                               5
  268.  
  269.  
  270.  
  271.  
  272.  
  273.            Player the Rambler     St:12 Dx:7 Co:18 In:11 Wi:9 Ch:15  Neutral
  274.            Dlvl:1 $:0  HP:9(12) Pw:3(3) AC:10 Exp:1/19 T:257 Weak
  275.  
  276.           --------------------------------------------------------------------
  277.                                       Figure 1
  278.  
  279.  
  280.           3.1.  The status lines (bottom)
  281.  
  282.                The  bottom  two lines of the screen contain several cryptic
  283.           pieces of information describing your current status.  If  either
  284.           status  line  becomes  longer  than  the width of the screen, you
  285.           might not see all of it.  Here are explanations of what the vari-
  286.           ous status items mean (though your configuration may not have all
  287.           the status items listed below):
  288.  
  289.           Rank
  290.                Your character's name and professional ranking (based on the
  291.                experience level, see below).
  292.  
  293.           Strength
  294.                A  measure of your character's strength; one of your six ba-
  295.                sic attributes.  A human character's  attributes  can  range
  296.                from  3  to 18 inclusive; non-humans may exceed these limits
  297.                (occasionally you may get super-strengths of the form 18/xx,
  298.                and  magic  can  also  cause attributes to exceed the normal
  299.                limits).  The higher your strength, the  stronger  you  are.
  300.                Strength  affects  how  successfully  you  perform  physical
  301.                tasks, how much damage you do in combat, and how  much  loot
  302.                you can carry.
  303.  
  304.           Dexterity
  305.                Dexterity  affects  your  chances to hit in combat, to avoid
  306.                traps, and do other tasks requiring agility or  manipulation
  307.                of objects.
  308.  
  309.           Constitution
  310.                Constitution  affects  your ability to recover from injuries
  311.                and other strains on your stamina.
  312.  
  313.           Intelligence
  314.                Intelligence affects your ability to cast  spells  and  read
  315.                spellbooks.
  316.  
  317.           Wisdom
  318.                Wisdom comes from your practical experience (especially when
  319.                dealing with magic).  It affects your magical energy.
  320.  
  321.           Charisma
  322.                Charisma affects how certain creatures react toward you.  In
  323.                particular,  it can affect the prices shopkeepers offer you.
  324.  
  325.  
  326.  
  327.           NetHack 3.4                                     February 12, 2003
  328.  
  329.  
  330.  
  331.  
  332.  
  333.           NetHack Guidebook                                               6
  334.  
  335.  
  336.  
  337.           Alignment
  338.                Lawful, Neutral, or Chaotic.  Often, Lawful is taken as good
  339.                and Chaotic as evil, but legal and ethical do not always co-
  340.                incide.  Your alignment influences how other monsters  react
  341.                toward you.  Monsters of a like alignment are more likely to
  342.                be non-aggressive, while those of an opposing alignment  are
  343.                more likely to be seriously offended at your presence.
  344.  
  345.           Dungeon Level
  346.                How deep you are in the dungeon.  You start at level one and
  347.                the number increases as you  go  deeper  into  the  dungeon.
  348.                Some  levels  are  special, and are identified by a name and
  349.                not a number.  The Amulet of Yendor is reputed to  be  some-
  350.                where beneath the twentieth level.
  351.  
  352.           Gold
  353.                The  number  of  gold  pieces you are openly carrying.  Gold
  354.                which you have concealed in containers is not counted.
  355.  
  356.           Hit Points
  357.                Your current and maximum hit points.   Hit  points  indicate
  358.                how  much  damage you can take before you die.  The more you
  359.                get hit in a fight, the lower they get.  You can regain  hit
  360.                points  by  resting,  or  by  using certain magical items or
  361.                spells.  The number in parentheses  is  the  maximum  number
  362.                your hit points can reach.
  363.  
  364.           Power
  365.                Spell  points.  This tells you how much mystic energy (mana)
  366.                you have available for spell casting.  Again,  resting  will
  367.                regenerate the amount available.
  368.  
  369.           Armor Class
  370.                A measure of how effectively your armor stops blows from un-
  371.                friendly creatures.  The lower this number is, the more  ef-
  372.                fective the armor; it is quite possible to have negative ar-
  373.                mor class.
  374.  
  375.           Experience
  376.                Your current experience level and experience points.  As you
  377.                adventure,  you  gain experience points.  At certain experi-
  378.                ence point totals, you gain an experience level.   The  more
  379.                experienced you are, the better you fight and withstand mag-
  380.                ical attacks.  Many dungeons show only your experience level
  381.                here.
  382.  
  383.           Time
  384.                The  number  of  turns elapsed so far, displayed if you have
  385.                the time option set.
  386.  
  387.           Hunger status
  388.                Your current hunger status, ranging from  Satiated  down  to
  389.                Fainting.   If  your hunger status is normal, it is not dis-
  390.                played.
  391.  
  392.  
  393.           NetHack 3.4                                     February 12, 2003
  394.  
  395.  
  396.  
  397.  
  398.  
  399.           NetHack Guidebook                                               7
  400.  
  401.  
  402.  
  403.                Additional status flags may appear after the hunger  status:
  404.           Conf  when you're confused, FoodPois or Ill when sick, Blind when
  405.           you can't see, Stun when stunned, and Hallu when hallucinating.
  406.  
  407.           3.2.  The message line (top)
  408.  
  409.                The top line of the screen is reserved for messages that de-
  410.           scribe  things that are impossible to represent visually.  If you
  411.           see a ``--More--'' on the top line, this means that  NetHack  has
  412.           another  message  to  display on the screen, but it wants to make
  413.           certain that you've read the one that is there  first.   To  read
  414.           the next message, just press the space bar.
  415.  
  416.           3.3.  The map (rest of the screen)
  417.  
  418.                The  rest  of the screen is the map of the level as you have
  419.           explored it so far.  Each symbol on the screen  represents  some-
  420.           thing.   You  can  set various graphics options to change some of
  421.           the symbols the game uses; otherwise, the game will  use  default
  422.           symbols.  Here is a list of what the default symbols mean:
  423.  
  424.           - and |
  425.                The walls of a room, or an open door.  Or a grave (|).
  426.  
  427.           .    The floor of a room, ice, or a doorless doorway.
  428.  
  429.           #    A  corridor,  or iron bars, or a tree, or possibly a kitchen
  430.                sink (if your dungeon has sinks), or a drawbridge.
  431.  
  432.           >    Stairs down: a way to the next level.
  433.  
  434.           <    Stairs up: a way to the previous level.
  435.  
  436.           +    A closed door, or a spellbook containing a spell you may  be
  437.                able to learn.
  438.  
  439.           @    Your character or a human.
  440.  
  441.           $    A pile of gold.
  442.  
  443.           ^    A trap (once you have detected it).
  444.  
  445.           )    A weapon.
  446.  
  447.           [    A suit or piece of armor.
  448.  
  449.           %    Something edible (not necessarily healthy).
  450.  
  451.           ?    A scroll.
  452.  
  453.           /    A wand.
  454.  
  455.           =    A ring.
  456.  
  457.  
  458.  
  459.           NetHack 3.4                                     February 12, 2003
  460.  
  461.  
  462.  
  463.  
  464.  
  465.           NetHack Guidebook                                               8
  466.  
  467.  
  468.  
  469.           !    A potion.
  470.  
  471.           (    A useful item (pick-axe, key, lamp...).
  472.  
  473.           "    An amulet or a spider web.
  474.  
  475.           *    A gem or rock (possibly valuable, possibly worthless).
  476.  
  477.           `    A boulder or statue.
  478.  
  479.           0    An iron ball.
  480.  
  481.           _    An altar, or an iron chain.
  482.  
  483.           {    A fountain.
  484.  
  485.           }    A pool of water or moat or a pool of lava.
  486.  
  487.           \    An opulent throne.
  488.  
  489.           a-zA-Z and other symbols
  490.                Letters  and certain other symbols represent the various in-
  491.                habitants of the Mazes of Menace.  Watch out,  they  can  be
  492.                nasty and vicious.  Sometimes, however, they can be helpful.
  493.  
  494.           I    This marks the last known location of an invisible or other-
  495.                wise  unseen  monster.   Note  that  the  monster could have
  496.                moved.  The 'F' and 'm' commands may be useful here.
  497.  
  498.                You need not memorize all these symbols;  you  can  ask  the
  499.           game  what  any  symbol  represents with the `/' command (see the
  500.           next section for more info).
  501.  
  502.  
  503.           4.  Commands
  504.  
  505.                Commands are initiated by  typing  one  or  two  characters.
  506.           Some  commands, like ``search'', do not require that any more in-
  507.           formation be collected by NetHack.  Other commands might  require
  508.           additional  information, for example a direction, or an object to
  509.           be used.  For those commands that require additional information,
  510.           NetHack  will present you with either a menu of choices or with a
  511.           command line prompt requesting information.  Which you  are  pre-
  512.           sented with will depend chiefly on how you have set the menustyle
  513.           option.
  514.  
  515.                For example, a common question, in the form  ``What  do  you
  516.           want  to use? [a-zA-Z ?*]'', asks you to choose an object you are
  517.           carrying.  Here, ``a-zA-Z'' are the  inventory  letters  of  your
  518.           possible  choices.   Typing  `?'  gives  you an inventory list of
  519.           these items, so you can see what each letter refers to.  In  this
  520.           example,  there  is  also a `*' indicating that you may choose an
  521.           object not on the list, if you wanted to use something  unexpect-
  522.           ed.  Typing a `*' lists your entire inventory, so you can see the
  523.  
  524.  
  525.           NetHack 3.4                                     February 12, 2003
  526.  
  527.  
  528.  
  529.  
  530.  
  531.           NetHack Guidebook                                               9
  532.  
  533.  
  534.  
  535.           inventory letters of every object you're carrying.   Finally,  if
  536.           you change your mind and decide you don't want to do this command
  537.           after all, you can press the ESC key to abort the command.
  538.  
  539.                You can put a number before some  commands  to  repeat  them
  540.           that  many times; for example, ``10s'' will search ten times.  If
  541.           you have the number_pad option set, you must type `n' to prefix a
  542.           count,  so  the  example  above  would be typed ``n10s'' instead.
  543.           Commands for which counts make no sense ignore  them.   In  addi-
  544.           tion,  movement commands can be prefixed for greater control (see
  545.           below).  To cancel a count or a prefix, press the ESC key.
  546.  
  547.                The list of commands is rather long, but it can be  read  at
  548.           any  time during the game through the `?' command, which accesses
  549.           a menu of helpful texts.  Here are the commands for  your  refer-
  550.           ence:
  551.  
  552.           ?    Help menu:  display one of several help texts available.
  553.  
  554.           /    Tell  what a symbol represents.  You may choose to specify a
  555.                location or type a symbol (or even a whole word) to explain.
  556.                Specifying a location is done by moving the cursor to a par-
  557.                ticular spot on the map and then pressing one of  `.',  `,',
  558.                `;',  or `:'.  `.' will explain the symbol at the chosen lo-
  559.                cation, conditionally check for ``More info?'' depending up-
  560.                on whether the help option is on, and then you will be asked
  561.                to pick another location; `,' will explain  the  symbol  but
  562.                skip  any  additional  information; `;' will skip additional
  563.                info and also not bother asking you to choose another  loca-
  564.                tion  to  examine;  `:'  will  show additional info, if any,
  565.                without asking for confirmation.  When picking  a  location,
  566.                pressing  the ESC key will terminate this command, or press-
  567.                ing `?'  will give a brief reminder about how it works.
  568.  
  569.                Specifying a name rather than a location  always  gives  any
  570.           additional information available about that name.
  571.  
  572.           &    Tell what a command does.
  573.  
  574.           <    Go  up  to  the previous level (if you are on a staircase or
  575.                ladder).
  576.  
  577.           >    Go down to the next level (if you are on a staircase or lad-
  578.                der).
  579.  
  580.           [yuhjklbn]
  581.                Go  one  step in the direction indicated (see Figure 2).  If
  582.                you sense or remember a monster there, you  will  fight  the
  583.                monster  instead.   Only  these  one-step  movement commands
  584.                cause  you  to  fight  monsters;  the  others  (below)   are
  585.                ``safe.''
  586.  
  587.  
  588.  
  589.  
  590.  
  591.           NetHack 3.4                                     February 12, 2003
  592.  
  593.  
  594.  
  595.  
  596.  
  597.           NetHack Guidebook                                              10
  598.  
  599.  
  600.  
  601.                                     y  k  u          7  8  9
  602.                                      \ | /            \ | /
  603.                                     h- . -l          4- . -6
  604.                                      / | \            / | \
  605.                                     b  j  n          1  2  3
  606.                                               (if number_pad is set)
  607.  
  608.                                          Figure 2
  609.  
  610.  
  611.           [YUHJKLBN]
  612.                Go  in that direction until you hit a wall or run into some-
  613.                thing.
  614.  
  615.           m[yuhjklbn]
  616.                Prefix:  move without picking up objects or  fighting  (even
  617.                if you remember a monster there)
  618.  
  619.           F[yuhjklbn]
  620.                Prefix:   fight  a  monster  (even  if you only guess one is
  621.                there)
  622.  
  623.           M[yuhjklbn]
  624.                Prefix:  move far, no pickup.
  625.  
  626.           g[yuhjklbn]
  627.                Prefix:  move until something interesting is found.
  628.  
  629.           G[yuhjklbn] or <CONTROL->[yuhjklbn]
  630.                Prefix:  same as `g', but forking of corridors is  not  con-
  631.                sidered interesting.
  632.  
  633.           _    Travel to a map location via a shortest-path algorithm.  The
  634.                shortest path is computed over map locations the hero  knows
  635.                about  (e.g.  seen or previously traversed).  If there is no
  636.                known path, a guess is made instead.  Stops on most  of  the
  637.                same  conditions  as the `G' command, but without picking up
  638.                objects, similar to the `M' command.  For ports  with  mouse
  639.                support,  the  command  is  also  invoked when a mouse-click
  640.                takes place on a location other than the current position.
  641.  
  642.           .    Rest, do nothing for one turn.
  643.  
  644.           a    Apply (use) a tool (pick-axe, key, lamp...).
  645.  
  646.           A    Remove one or more worn items, such as armor.  Use `T' (take
  647.                off)  to take off only one piece of armor or `R' (remove) to
  648.                take off only one accessory.
  649.  
  650.           ^A   Redo the previous command.
  651.  
  652.           c    Close a door.
  653.  
  654.  
  655.  
  656.  
  657.           NetHack 3.4                                     February 12, 2003
  658.  
  659.  
  660.  
  661.  
  662.  
  663.           NetHack Guidebook                                              11
  664.  
  665.  
  666.  
  667.           C    Call (name) an individual monster.
  668.  
  669.           ^C   Panic button.  Quit the game.
  670.  
  671.           d    Drop something.  Ex. ``d7a'' means drop seven items  of  ob-
  672.                ject a.
  673.  
  674.           D    Drop several things.  In answer to the question ``What kinds
  675.                of things do you want to drop? [!%= BUCXaium]''  you  should
  676.                type  zero  or  more object symbols possibly followed by `a'
  677.                and/or `i' and/or `u' and/or `m'.  In addition, one or  more
  678.                of the blessed/uncursed/cursed groups may be typed.
  679.  
  680.                     DB  - drop all objects known to be blessed.
  681.                     DU  - drop all objects known to be uncursed.
  682.                     DC  - drop all objects known to be cursed.
  683.                     DX  - drop all objects of unknown B/U/C status.
  684.                     Da  - drop all objects, without asking for confirmation.
  685.                     Di  - examine your inventory before dropping anything.
  686.                     Du  - drop only unpaid objects (when in a shop).
  687.                     Dm  - use a menu to pick which object(s) to drop.
  688.                     D%u - drop only unpaid food.
  689.  
  690.           ^D   Kick something (usually a door).
  691.  
  692.           e    Eat food.
  693.  
  694.           E    Engrave  a  message  on the floor.  Engraving the word ``El-
  695.                bereth'' will cause most monsters to not attack you hand-to-
  696.                hand (but if you attack, you will rub it out); this is often
  697.                useful to give yourself a breather.  (This  feature  may  be
  698.                compiled  out  of  the  game, so your version might not have
  699.                it.)
  700.  
  701.                     E- - write in the dust with your fingers.
  702.  
  703.           f    Fire one of the objects placed in your quiver.  You may  se-
  704.                lect ammunition with a previous `Q' command, or let the com-
  705.                puter pick something appropriate if autoquiver is true.
  706.  
  707.           i    List your inventory (everything you're carrying).
  708.  
  709.           I    List selected parts of your inventory.
  710.  
  711.                     I* - list all gems in inventory;
  712.                     Iu - list all unpaid items;
  713.                     Ix - list all used up items that are on your shopping bill;
  714.                     I$ - count your money.
  715.  
  716.           o    Open a door.
  717.  
  718.           O    Set options.  A menu showing the current option values  will
  719.                be  displayed.  You can change most values simply by select-
  720.                ing the menu entry for the given option (ie, by  typing  its
  721.  
  722.  
  723.           NetHack 3.4                                     February 12, 2003
  724.  
  725.  
  726.  
  727.  
  728.  
  729.           NetHack Guidebook                                              12
  730.  
  731.  
  732.  
  733.                letter  or  clicking  upon it, depending on your user inter-
  734.                face).  For the  non-boolean  choices,  a  further  menu  or
  735.                prompt will appear once you've closed this menu.  The avail-
  736.                able options are listed later in  this  Guidebook.   Options
  737.                are  usually  set  before  the game rather than with the `O'
  738.                command; see the section on options below.
  739.  
  740.           p    Pay your shopping bill.
  741.  
  742.           P    Put on a ring or other accessory (amulet, blindfold).
  743.  
  744.           ^P   Repeat previous message.   Subsequent  ^P's  repeat  earlier
  745.                messages.  The behavior can be varied via the msg_window op-
  746.                tion.
  747.  
  748.           q    Quaff (drink) a potion.
  749.  
  750.           Q    Select an object for your quiver.  You can then  throw  this
  751.                using  the  `f' command.  (In versions prior to 3.3 this was
  752.                the command to quit the game, which has now  been  moved  to
  753.                `#quit'.)
  754.  
  755.           r    Read a scroll or spellbook.
  756.  
  757.           R    Remove an accessory (ring, amulet, etc).
  758.  
  759.           ^R   Redraw the screen.
  760.  
  761.           s    Search  for  secret  doors and traps around you.  It usually
  762.                takes several tries to find something.
  763.  
  764.           S    Save (and suspend) the game.  The game will be restored  au-
  765.                tomatically the next time you play.
  766.  
  767.           t    Throw an object or shoot a projectile.
  768.  
  769.           T    Take off armor.
  770.  
  771.           ^T   Teleport, if you have the ability.
  772.  
  773.           v    Display version number.
  774.  
  775.           V    Display the game history.
  776.  
  777.           w    Wield weapon.
  778.  
  779.                     w- - wield nothing, use your bare hands.
  780.  
  781.           W    Wear armor.
  782.  
  783.           x    Exchange your wielded weapon with the item in your alternate
  784.                weapon slot.  The latter is used as  your  secondary  weapon
  785.                when  engaging  in  two-weapon  combat.  Note that if one of
  786.                these slots is empty, the exchange still takes place.
  787.  
  788.  
  789.           NetHack 3.4                                     February 12, 2003
  790.  
  791.  
  792.  
  793.  
  794.  
  795.           NetHack Guidebook                                              13
  796.  
  797.  
  798.  
  799.           X    Enter explore (discovery) mode, explained in its own section
  800.                later.
  801.  
  802.           ^X   Display your name, role, race, gender, and alignment as well
  803.                as the various deities in your game.
  804.  
  805.           z    Zap a wand.  To aim at yourself, use `.' for the  direction.
  806.  
  807.           Z    Zap  (cast)  a  spell.  To cast at yourself, use `.' for the
  808.                direction.
  809.  
  810.           ^Z   Suspend the game (UNIX(R) versions with job control only).
  811.  
  812.           :    Look at what is here.
  813.  
  814.           ;    Show what type of thing a visible symbol corresponds to.
  815.  
  816.           ,    Pick up some things. May be preceded by `m' to force  a  se-
  817.                lection menu.
  818.  
  819.           @    Toggle the autopickup option on and off.
  820.  
  821.           ^    Ask for the type of a trap you found earlier.
  822.  
  823.           )    Tell what weapon you are wielding.
  824.  
  825.           [    Tell what armor you are wearing.
  826.  
  827.           =    Tell what rings you are wearing.
  828.  
  829.           "    Tell what amulet you are wearing.
  830.  
  831.           (    Tell what tools you are using.
  832.  
  833.           *    Tell  what  equipment  you are using; combines the preceding
  834.                five type-specific commands into one.
  835.  
  836.           $    Count your gold pieces.
  837.  
  838.           +    List the spells you know.  Using this command, you can  also
  839.                rearrange  the  order in which your spells are listed.  They
  840.                are shown via a menu, and if you  select  a  spell  in  that
  841.                menu, you'll be re-prompted for another spell to swap places
  842.                with it, and then  have  opportunity  to  make  further  ex-
  843.                changes.
  844.  
  845.           \    Show what types of objects have been discovered.
  846.  
  847.           !    Escape to a shell.
  848.  
  849.  
  850.  
  851.           __________
  852.           (R)UNIX is a registered trademark of AT&T.
  853.  
  854.  
  855.           NetHack 3.4                                     February 12, 2003
  856.  
  857.  
  858.  
  859.  
  860.  
  861.           NetHack Guidebook                                              14
  862.  
  863.  
  864.  
  865.           #    Perform an extended command.  As you can see, the authors of
  866.                NetHack used up all the letters, so this is a way to  intro-
  867.                duce  the less frequently used commands.  What extended com-
  868.                mands are available depends on what features  the  game  was
  869.                compiled with.
  870.  
  871.           #adjust
  872.                Adjust inventory letters (most useful when the fixinv option
  873.                is ``on'').
  874.  
  875.           #chat
  876.                Talk to someone.
  877.  
  878.           #conduct
  879.                List which challenges you have adhered to.  See the  section
  880.                below entitled ``Conduct'' for details.
  881.  
  882.           #dip Dip an object into something.
  883.  
  884.           #enhance
  885.                Advance or check weapons and spell skills.
  886.  
  887.           #force
  888.                Force a lock.
  889.  
  890.           #invoke
  891.                Invoke an object's special powers.
  892.  
  893.           #jump
  894.                Jump to another location.
  895.  
  896.           #loot
  897.                Loot  a  box  or bag on the floor beneath you, or the saddle
  898.                from a horse standing next to you.
  899.  
  900.           #monster
  901.                Use a monster's special ability (when polymorphed into  mon-
  902.                ster form).
  903.  
  904.           #name
  905.                Name an item or type of object.
  906.  
  907.           #offer
  908.                Offer a sacrifice to the gods.
  909.  
  910.           #pray
  911.                Pray to the gods for help.
  912.  
  913.           #quit
  914.                Quit the program without saving your game.
  915.  
  916.           #ride
  917.                Ride (or stop riding) a monster.
  918.  
  919.  
  920.  
  921.           NetHack 3.4                                     February 12, 2003
  922.  
  923.  
  924.  
  925.  
  926.  
  927.           NetHack Guidebook                                              15
  928.  
  929.  
  930.  
  931.           #rub Rub a lamp or a stone.
  932.  
  933.           #sit Sit down.
  934.  
  935.           #turn
  936.                Turn undead.
  937.  
  938.           #twoweapon
  939.                Toggle  two-weapon combat on or off.  Note that you must use
  940.                suitable weapons for this type of combat, or it will be  au-
  941.                tomatically turned off.
  942.  
  943.           #untrap
  944.                Untrap something (trap, door, or chest).
  945.  
  946.           #version
  947.                Print compile time options for this version of NetHack.
  948.  
  949.           #wipe
  950.                Wipe off your face.
  951.  
  952.           #?   Help menu:  get the list of available extended commands.
  953.  
  954.                If your keyboard has a meta key (which, when pressed in com-
  955.           bination with another key, modifies  it  by  setting  the  `meta'
  956.           [8th,  or  `high'] bit), you can invoke many extended commands by
  957.           meta-ing the first letter of the command.  In NT,  OS/2,  and  PC
  958.           NetHack, the `Alt' key can be used in this fashion.
  959.  
  960.           M-?  #? (not supported by all platforms)
  961.  
  962.           M-2  #twoweapon (unless the number_pad option is enabled)
  963.  
  964.           M-a  #adjust
  965.  
  966.           M-c  #chat
  967.  
  968.           M-d  #dip
  969.  
  970.           M-e  #enhance
  971.  
  972.           M-f  #force
  973.  
  974.           M-i  #invoke
  975.  
  976.           M-j  #jump
  977.  
  978.           M-l  #loot
  979.  
  980.           M-m  #monster
  981.  
  982.           M-n  #name
  983.  
  984.  
  985.  
  986.  
  987.           NetHack 3.4                                     February 12, 2003
  988.  
  989.  
  990.  
  991.  
  992.  
  993.           NetHack Guidebook                                              16
  994.  
  995.  
  996.  
  997.           M-o  #offer
  998.  
  999.           M-p  #pray
  1000.  
  1001.           M-q  #quit
  1002.  
  1003.           M-r  #rub
  1004.  
  1005.           M-s  #sit
  1006.  
  1007.           M-t  #turn
  1008.  
  1009.           M-u  #untrap
  1010.  
  1011.           M-v  #version
  1012.  
  1013.           M-w  #wipe
  1014.  
  1015.                If  the number_pad option is on, some additional letter com-
  1016.           mands are available:
  1017.  
  1018.           h    Help menu:  display one of  several  help  texts  available,
  1019.                like ``?''.
  1020.  
  1021.           j    Jump to another location.  Same as ``#jump'' or ``M-j''.
  1022.  
  1023.           k    Kick something (usually a door).  Same as `^D'.
  1024.  
  1025.           l    Loot  a  box  or bag on the floor beneath you, or the saddle
  1026.                from a horse standing next to you.   Same  as  ``#loot''  or
  1027.                ``M-l''.
  1028.  
  1029.           N    Name  an  item or type of object.  Same as ``#name'' or ``M-
  1030.                n''.
  1031.  
  1032.           u    Untrap a trap, door, or chest.  Same as ``#untrap'' or  ``M-
  1033.                u''.
  1034.  
  1035.  
  1036.           5.  Rooms and corridors
  1037.  
  1038.                Rooms  and  corridors in the dungeon are either lit or dark.
  1039.           Any lit areas within your line of sight will be  displayed;  dark
  1040.           areas  are  only  displayed  if they are within one space of you.
  1041.           Walls and corridors remain on the map as you explore them.
  1042.  
  1043.                Secret corridors are hidden.  You can find them with the `s'
  1044.           (search) command.
  1045.  
  1046.           5.1.  Doorways
  1047.  
  1048.                Doorways connect rooms and corridors.  Some doorways have no
  1049.           doors; you can walk right through.  Others have  doors  in  them,
  1050.           which may be open, closed, or locked.  To open a closed door, use
  1051.  
  1052.  
  1053.           NetHack 3.4                                     February 12, 2003
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.           NetHack Guidebook                                              17
  1060.  
  1061.  
  1062.  
  1063.           the `o' (open) command; to close it again, use  the  `c'  (close)
  1064.           command.
  1065.  
  1066.                You  can  get  through a locked door by using a tool to pick
  1067.           the lock with the `a' (apply) command, or by kicking it open with
  1068.           the `^D' (kick) command.
  1069.  
  1070.                Open  doors  cannot be entered diagonally; you must approach
  1071.           them straight on, horizontally or vertically.   Doorways  without
  1072.           doors are not restricted in this fashion.
  1073.  
  1074.                Doors  can  be  useful for shutting out monsters.  Most mon-
  1075.           sters cannot open doors, although a few don't need to (ex. ghosts
  1076.           can walk through doors).
  1077.  
  1078.                Secret  doors  are  hidden.   You can find them with the `s'
  1079.           (search) command.  Once found they are in all ways equivalent  to
  1080.           normal doors.
  1081.  
  1082.           5.2.  Traps (`^')
  1083.  
  1084.                There  are  traps throughout the dungeon to snare the unwary
  1085.           delver.  For example, you may suddenly fall into  a  pit  and  be
  1086.           stuck for a few turns trying to climb out.  Traps don't appear on
  1087.           your map until you see one triggered by moving onto it, see some-
  1088.           thing fall into it, or you discover it with the `s' (search) com-
  1089.           mand.  Monsters can fall prey to traps, too, which can be a  very
  1090.           useful defensive strategy.
  1091.  
  1092.                There is a special pre-mapped branch of the dungeon based on
  1093.           the classic computer game ``Sokoban.''  The goal is to  push  the
  1094.           boulders  into  the pits or holes.  With careful foresight, it is
  1095.           possible to complete all of the levels according  to  the  tradi-
  1096.           tional  rules  of Sokoban.  Some allowances are permitted in case
  1097.           the player gets stuck; however, they will lower your luck.
  1098.  
  1099.           5.3.  Stairs (`<', `>')
  1100.  
  1101.                In general, each level in the dungeon will have a  staircase
  1102.           going up (`<') to the previous level and another going down (`>')
  1103.           to the next level.  There are some exceptions  though.   For  in-
  1104.           stance,  fairly  early  in the dungeon you will find a level with
  1105.           two down staircases, one continuing into the dungeon and the oth-
  1106.           er  branching  into  an  area  known as the Gnomish Mines.  Those
  1107.           mines eventually hit a dead end, so after exploring them (if  you
  1108.           choose  to  do so), you'll need to climb back up to the main dun-
  1109.           geon.
  1110.  
  1111.                When you traverse a set of stairs, or trigger a  trap  which
  1112.           sends  you to another level, the level you're leaving will be de-
  1113.           activated and stored in a file on disk.  If you're  moving  to  a
  1114.           previously visited level, it will be loaded from its file on disk
  1115.           and reactivated.  If you're moving to a level which has  not  yet
  1116.           been  visited,  it  will be created (from scratch for most random
  1117.  
  1118.  
  1119.           NetHack 3.4                                     February 12, 2003
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.           NetHack Guidebook                                              18
  1126.  
  1127.  
  1128.  
  1129.           levels, from a template for some ``special''  levels,  or  loaded
  1130.           from  the  remains  of  an  earlier game for a ``bones'' level as
  1131.           briefly described below).  Monsters are only active on  the  cur-
  1132.           rent  level;  those  on  other levels are essentially placed into
  1133.           stasis.
  1134.  
  1135.                Ordinarily when you climb a set of stairs, you  will  arrive
  1136.           on  the  corresponding  staircase  at your destination.  However,
  1137.           pets (see below) and some other monsters  will  follow  along  if
  1138.           they're close enough when you travel up or down stairs, and occa-
  1139.           sionally one of these creatures  will  displace  you  during  the
  1140.           climb.  When that occurs, the pet or other monster will arrive on
  1141.           the staircase and you will end up nearby.
  1142.  
  1143.           5.4.  Ladders (`<', `>')
  1144.  
  1145.                Ladders serve the same purpose as staircases,  and  the  two
  1146.           types  of  inter-level  connections  are nearly indistinguishable
  1147.           during game play.
  1148.  
  1149.  
  1150.           6.  Monsters
  1151.  
  1152.                Monsters you cannot see are not  displayed  on  the  screen.
  1153.           Beware!   You  may  suddenly come upon one in a dark place.  Some
  1154.           magic items can help you  locate  them  before  they  locate  you
  1155.           (which some monsters can do very well).
  1156.  
  1157.                The  commands  `/' and `;' may be used to obtain information
  1158.           about those monsters who are displayed on the screen.   The  com-
  1159.           mand  `C'  allows you to assign a name to a monster, which may be
  1160.           useful to help distinguish one from another  when  multiple  mon-
  1161.           sters  are  present.  Assigning a name which is just a space will
  1162.           remove any prior name.
  1163.  
  1164.                The extended command ``#chat'' can be used to interact  with
  1165.           an  adjacent monster.  There is no actual dialog (in other words,
  1166.           you don't get to choose what you'll say), but chatting with  some
  1167.           monsters such as a shopkeeper or the Oracle of Delphi can produce
  1168.           useful results.
  1169.  
  1170.           6.1.  Fighting
  1171.  
  1172.                If you see a monster and you wish to fight it, just  attempt
  1173.           to  walk  into  it.   Many  monsters you find will mind their own
  1174.           business unless you attack them.  Some of them are very dangerous
  1175.           when angered.  Remember:  discretion is the better part of valor.
  1176.  
  1177.                If you can't see a monster (if it is invisible,  or  if  you
  1178.           are  blinded), the symbol `I' will be shown when you learn of its
  1179.           presence.  If you attempt to walk into it, you will try to  fight
  1180.           it  just  like a monster that you can see; of course, if the mon-
  1181.           ster has moved, you will attack empty air.  If you guess that the
  1182.           monster  has  moved  and you don't wish to fight, you can use the
  1183.  
  1184.  
  1185.           NetHack 3.4                                     February 12, 2003
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.           NetHack Guidebook                                              19
  1192.  
  1193.  
  1194.  
  1195.           `m' command to move without fighting; likewise, if you don't  re-
  1196.           member a monster but want to try fighting anyway, you can use the
  1197.           `F' command.
  1198.  
  1199.           6.2.  Your pet
  1200.  
  1201.                You start the game with a little dog (`d'),  cat  (`f'),  or
  1202.           pony  (`u'),  which follows you about the dungeon and fights mon-
  1203.           sters with you.  Like you, your pet needs food  to  survive.   It
  1204.           usually feeds itself on fresh carrion and other meats.  If you're
  1205.           worried about it or want to train it, you can feed  it,  too,  by
  1206.           throwing  it food.  A properly trained pet can be very useful un-
  1207.           der certain circumstances.
  1208.  
  1209.                Your pet also gains experience from  killing  monsters,  and
  1210.           can  grow  over  time,  gaining hit points and doing more damage.
  1211.           Initially, your pet may even be better  at  killing  things  than
  1212.           you, which makes pets useful for low-level characters.
  1213.  
  1214.                Your  pet  will  follow  you up and down staircases if it is
  1215.           next to you when you move.  Otherwise your pet will  be  stranded
  1216.           and  may  become wild.  Similarly, when you trigger certain types
  1217.           of traps which alter your location (for  instance,  a  trap  door
  1218.           which  drops you to a lower dungeon level), any adjacent pet will
  1219.           accompany you and any non-adjacent pet will be left behind.  Your
  1220.           pet  may trigger such traps itself; you will not be carried along
  1221.           with it even if adjacent at the time.
  1222.  
  1223.           6.3.  Steeds
  1224.  
  1225.                Some types of creatures in the dungeon can actually be  rid-
  1226.           den if you have the right equipment and skill.  Convincing a wild
  1227.           beast to let you saddle it up is  difficult  to  say  the  least.
  1228.           Many  a dungeoneer has had to resort to magic and wizardry in or-
  1229.           der to forge the alliance.  Once you do have the beast under your
  1230.           control  however,  you  can easily climb in and out of the saddle
  1231.           with the `#ride' command.  Lead the beast around the dungeon when
  1232.           riding, in the same manner as you would move yourself.  It is the
  1233.           beast that you will see displayed on the map.
  1234.  
  1235.                Riding skill is managed by the `#enhance' command.  See  the
  1236.           section on Weapon proficiency for more information about that.
  1237.  
  1238.           6.4.  Bones levels
  1239.  
  1240.                You  may encounter the shades and corpses of other adventur-
  1241.           ers (or even former incarnations of yourself!) and their personal
  1242.           effects.   Ghosts  are  hard  to  kill,  but easy to avoid, since
  1243.           they're slow and do little damage.  You can plunder the  deceased
  1244.           adventurer's  possessions; however, they are likely to be cursed.
  1245.           Beware of whatever killed the former player; it is probably still
  1246.           lurking around, gloating over its last victory.
  1247.  
  1248.  
  1249.  
  1250.  
  1251.           NetHack 3.4                                     February 12, 2003
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.           NetHack Guidebook                                              20
  1258.  
  1259.  
  1260.  
  1261.           7.  Objects
  1262.  
  1263.                When you find something in the dungeon, it is common to want
  1264.           to pick it up.  In NetHack, this is accomplished automatically by
  1265.           walking  over  the object (unless you turn off the autopickup op-
  1266.           tion (see below), or move with the `m' prefix  (see  above)),  or
  1267.           manually by using the `,' command.
  1268.  
  1269.                If  you're carrying too many items, NetHack will tell you so
  1270.           and you won't be able to pick up anything  more.   Otherwise,  it
  1271.           will  add  the  object(s) to your pack and tell you what you just
  1272.           picked up.
  1273.  
  1274.                As you add items to your inventory, you also add the  weight
  1275.           of  that  object to your load.  The amount that you can carry de-
  1276.           pends on your strength and your constitution.  The  stronger  you
  1277.           are, the less the additional load will affect you.  There comes a
  1278.           point, though, when the weight of all of that stuff you are  car-
  1279.           rying  around  with  you  through  the dungeon will encumber you.
  1280.           Your reactions will get slower and you'll burn  calories  faster,
  1281.           requiring  food  more  frequently  to  cope with it.  Eventually,
  1282.           you'll be so overloaded that you'll either have to  discard  some
  1283.           of what you're carrying or collapse under its weight.
  1284.  
  1285.                NetHack  will  tell  you how badly you have loaded yourself.
  1286.           The symbols `Burdened', `Stressed', `Strained',  `Overtaxed'  and
  1287.           `Overloaded' are displayed on the bottom line display to indicate
  1288.           your condition.
  1289.  
  1290.                When you pick up an object, it is assigned an inventory let-
  1291.           ter.   Many commands that operate on objects must ask you to find
  1292.           out which object you want to  use.   When  NetHack  asks  you  to
  1293.           choose a particular object you are carrying, you are usually pre-
  1294.           sented with a list of inventory letters to choose from (see  Com-
  1295.           mands, above).
  1296.  
  1297.                Some  objects,  such  as weapons, are easily differentiated.
  1298.           Others, like scrolls and potions, are  given  descriptions  which
  1299.           vary  according to type.  During a game, any two objects with the
  1300.           same description are the same type.   However,  the  descriptions
  1301.           will vary from game to game.
  1302.  
  1303.                When you use one of these objects, if its effect is obvious,
  1304.           NetHack will remember what it is for you.  If  its  effect  isn't
  1305.           extremely  obvious,  you will be asked what you want to call this
  1306.           type of object so you will recognize it later.  You can also  use
  1307.           the  ``#name''  command for the same purpose at any time, to name
  1308.           all objects of a particular type or just  an  individual  object.
  1309.           When you use ``#name'' on an object which has already been named,
  1310.           specifying a space as the value will remove the  prior  name  in-
  1311.           stead of assigning a new one.
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.           NetHack 3.4                                     February 12, 2003
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.           NetHack Guidebook                                              21
  1324.  
  1325.  
  1326.  
  1327.           7.1.  Curses and Blessings
  1328.  
  1329.                Any  object  that you find may be cursed, even if the object
  1330.           is otherwise helpful.  The most common effect of a curse is being
  1331.           stuck  with (and to) the item.  Cursed weapons weld themselves to
  1332.           your hand when wielded, so you cannot unwield them.   Any  cursed
  1333.           item  you  wear is not removable by ordinary means.  In addition,
  1334.           cursed arms and armor usually, but not always, bear negative  en-
  1335.           chantments that make them less effective in combat.  Other cursed
  1336.           objects may act poorly or detrimentally in other ways.
  1337.  
  1338.                Objects can also be blessed.   Blessed  items  usually  work
  1339.           better  or more beneficially than normal uncursed items.  For ex-
  1340.           ample, a blessed weapon will do more damage against demons.
  1341.  
  1342.                There are magical means of bestowing or removing curses upon
  1343.           objects,  so  even  if you are stuck with one, you can still have
  1344.           the curse lifted and the item removed.  Priests  and  Priestesses
  1345.           have  an  innate  sensitivity  to this property in any object, so
  1346.           they can more easily avoid cursed objects  than  other  character
  1347.           roles.
  1348.  
  1349.                An  item with unknown status will be reported in your inven-
  1350.           tory with no prefix.  An item which you know the state of will be
  1351.           distinguished  in  your  inventory  by  the  presence of the word
  1352.           ``cursed'', ``uncursed'' or ``blessed'' in the description of the
  1353.           item.
  1354.  
  1355.           7.2.  Weapons (`)')
  1356.  
  1357.                Given  a  chance,  most monsters in the Mazes of Menace will
  1358.           gratuitously try to kill you.  You need weapons for  self-defense
  1359.           (killing  them  first).   Without  a  weapon, you do only 1-2 hit
  1360.           points of damage (plus bonuses, if any).  Monk characters are  an
  1361.           exception; they normally do much more damage with bare hands than
  1362.           they do with weapons.
  1363.  
  1364.                There are wielded weapons, like maces and swords, and thrown
  1365.           weapons,  like arrows and spears.  To hit monsters with a weapon,
  1366.           you must wield it and attack them, or throw it at them.  You  can
  1367.           simply  elect  to  throw  a spear.  To shoot an arrow, you should
  1368.           first wield a bow, then throw the arrow.  Crossbows shoot  cross-
  1369.           bow bolts.  Slings hurl rocks and (other) stones (like gems).
  1370.  
  1371.                Enchanted weapons have a ``plus'' (or ``to hit enhancement''
  1372.           which can be either positive  or  negative)  that  adds  to  your
  1373.           chance  to  hit and the damage you do to a monster.  The only way
  1374.           to determine a weapon's enchantment is to have it magically iden-
  1375.           tified  somehow.  Most weapons are subject to some type of damage
  1376.           like rust.  Such ``erosion'' damage can be repaired.
  1377.  
  1378.                The chance that an attack will successfully hit  a  monster,
  1379.           and  the  amount  of damage such a hit will do, depends upon many
  1380.           factors.  Among them are:  type  of  weapon,  quality  of  weapon
  1381.  
  1382.  
  1383.           NetHack 3.4                                     February 12, 2003
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.           NetHack Guidebook                                              22
  1390.  
  1391.  
  1392.  
  1393.           (enchantment and/or erosion), experience level, strength, dexter-
  1394.           ity, encumbrance, and proficiency (see below).  The monster's ar-
  1395.           mor  class  -  a  general  defense rating, not necessarily due to
  1396.           wearing of armor - is a factor too; also, some monsters are  par-
  1397.           ticularly vulnerable to certain types of weapons.
  1398.  
  1399.                Many  weapons  can be wielded in one hand; some require both
  1400.           hands.  When wielding a two-handed weapon, you  can  not  wear  a
  1401.           shield,  and  vice versa.  When wielding a one-handed weapon, you
  1402.           can have another weapon ready to use by setting  things  up  with
  1403.           the  `x'  command,  which  exchanges  your primary (the one being
  1404.           wielded) and alternate weapons.  And if you have  proficiency  in
  1405.           the  ``two  weapon combat'' skill, you may wield both weapons si-
  1406.           multaneously as primary and secondary; use the  `#twoweapon'  ex-
  1407.           tended  command  to engage or disengage that.  Only some types of
  1408.           characters (barbarians, for instance) have  the  necessary  skill
  1409.           available.   Even  with that skill, using two weapons at once in-
  1410.           curs a penalty in the chance to hit your target compared to using
  1411.           just one weapon at a time.
  1412.  
  1413.                There  might be times when you'd rather not wield any weapon
  1414.           at all.  To accomplish that, wield `-', or else use the `A'  com-
  1415.           mand  which  allows you to unwield the current weapon in addition
  1416.           to taking off other worn items.
  1417.  
  1418.                Those of you in the audience who are AD&D players, be  aware
  1419.           that each weapon which existed in AD&D does roughly the same dam-
  1420.           age to monsters in NetHack.  Some of  the  more  obscure  weapons
  1421.           (such as the aklys, lucern hammer, and bec-de-corbin) are defined
  1422.           in an appendix to Unearthed Arcana, an AD&D supplement.
  1423.  
  1424.                The commands to use weapons are `w'  (wield),  `t'  (throw),
  1425.           `f'  (fire,  an  alternative  way of throwing), `Q' (quiver), `x'
  1426.           (exchange), `#twoweapon', and `#enhance' (see below).
  1427.  
  1428.           7.2.1.  Throwing and shooting
  1429.  
  1430.                You can throw just about anything via the `t'  command.   It
  1431.           will  prompt  for the item to throw; picking `?' will list things
  1432.           in your inventory which are considered likely to  be  thrown,  or
  1433.           picking `*' will list your entire inventory.  After you've chosen
  1434.           what to throw, you will be prompted for a direction  rather  than
  1435.           for  a specific target.  The distance something can be thrown de-
  1436.           pends mainly on the type of object and your strength.  Arrows can
  1437.           be  thrown  by  hand,  but can be thrown much farther and will be
  1438.           more likely to hit when thrown while you are wielding a bow.
  1439.  
  1440.                You can simplify the throwing operation  by  using  the  `Q'
  1441.           command  to select your preferred ``missile'', then using the `f'
  1442.           command to throw it.  You'll  be  prompted  for  a  direction  as
  1443.           above,  but  you  don't  have to specify which item to throw each
  1444.           time you use `f'.  There is also an option, autoquiver, which has
  1445.           NetHack  choose  another  item  to automatically fill your quiver
  1446.           when the inventory slot used for `Q' runs out.
  1447.  
  1448.  
  1449.           NetHack 3.4                                     February 12, 2003
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.           NetHack Guidebook                                              23
  1456.  
  1457.  
  1458.  
  1459.                Some characters have the ability to fire a volley of  multi-
  1460.           ple  items  in a single turn.  Knowing how to load several rounds
  1461.           of ammunition at once -- or hold several missiles in your hand --
  1462.           and  still  hit  a target is not an easy task.  Rangers are among
  1463.           those who are adept at this task, as are those with a high  level
  1464.           of  proficiency  in  the  relevant  weapon skill (in bow skill if
  1465.           you're wielding one to shoot arrows, in crossbow skill if  you're
  1466.           wielding one to shoot bolts, or in sling skill if you're wielding
  1467.           one to shoot stones).  The number of items that the character has
  1468.           a  chance  to  fire varies from turn to turn.  You can explicitly
  1469.           limit the number of shots by using a numeric  prefix  before  the
  1470.           `t'  or  `f'  command.   For example, ``2f'' (or ``n2f'' if using
  1471.           number_pad mode) would ensure that at most 2 arrows are shot even
  1472.           if  you  could have fired 3.  If you specify a larger number than
  1473.           would have been shot (``4f'' in this example), you'll just end up
  1474.           shooting the same number (3, here) as if no limit had been speci-
  1475.           fied.  Once the volley is in motion, all of the items will travel
  1476.           in the same direction; if the first ones kill a monster, the oth-
  1477.           ers can still continue beyond that spot.
  1478.  
  1479.           7.2.2.  Weapon proficiency
  1480.  
  1481.                You will have varying degrees of skill in the weapons avail-
  1482.           able.   Weapon proficiency, or weapon skills, affect how well you
  1483.           can use particular types of weapons, and you'll be  able  to  im-
  1484.           prove  your  skills  as you progress through a game, depending on
  1485.           your role, your experience level, and use of the weapons.
  1486.  
  1487.                For the purposes of proficiency, weapons have  been  divided
  1488.           up   into  various  groups  such  as  daggers,  broadswords,  and
  1489.           polearms.  Each role has a limit on what level of  proficiency  a
  1490.           character  can achieve for each group.  For instance, wizards can
  1491.           become highly skilled in daggers or staves but not in  swords  or
  1492.           bows.
  1493.  
  1494.                The  `#enhance'  extended  command is used to review current
  1495.           weapons proficiency (also spell proficiency) and to choose  which
  1496.           skill(s) to improve when you've used one or more skills enough to
  1497.           become eligible to do so.  The skill rankings are ``none'' (some-
  1498.           times  also  referred  to as ``restricted'', because you won't be
  1499.           able to  advance),  ``unskilled'',  ``basic'',  ``skilled'',  and
  1500.           ``expert''.  Restricted skills simply will not appear in the list
  1501.           shown by `#enhance'.  (Divine  intervention  might  unrestrict  a
  1502.           particular skill, in which case it will start at unskilled and be
  1503.           limited to basic.)  Some characters can enhance their  barehanded
  1504.           combat  or  martial  arts  skill  beyond  expert to ``master'' or
  1505.           ``grand master''.
  1506.  
  1507.                Use of a weapon in which you're restricted or unskilled will
  1508.           incur a modest penalty in the chance to hit a monster and also in
  1509.           the amount of damage done when you do hit; at basic level,  there
  1510.           is  no  penalty  or bonus; at skilled level, you receive a modest
  1511.           bonus in the chance to hit and amount of damage done;  at  expert
  1512.           level,  the  bonus  is  higher.  A successful hit has a chance to
  1513.  
  1514.  
  1515.           NetHack 3.4                                     February 12, 2003
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.           NetHack Guidebook                                              24
  1522.  
  1523.  
  1524.  
  1525.           boost your training towards the next skill level  (unless  you've
  1526.           already  reached  the  limit for this skill).  Once such training
  1527.           reaches the threshold for that next level, you'll  be  told  that
  1528.           you  feel  more  confident in your skills.  At that point you can
  1529.           use `#enhance' to increase one or more skills.  Such  skills  are
  1530.           not  increased automatically because there is a limit to your to-
  1531.           tal overall skills, so you need to actively choose  which  skills
  1532.           to enhance and which to ignore.
  1533.  
  1534.           7.3.  Armor (`[')
  1535.  
  1536.                Lots of unfriendly things lurk about; you need armor to pro-
  1537.           tect yourself from their blows.  Some types of armor offer better
  1538.           protection  than  others.   Your armor class is a measure of this
  1539.           protection.  Armor class (AC) is measured as in AD&D, with 10 be-
  1540.           ing  the equivalent of no armor, and lower numbers meaning better
  1541.           armor.  Each suit of armor which exists in AD&D  gives  the  same
  1542.           protection in NetHack.  Here is an (incomplete) list of the armor
  1543.           classes provided by various suits of armor:
  1544.  
  1545.                              dragon scale mail         1
  1546.                              plate mail                3
  1547.                              crystal plate mail        3
  1548.                              bronze plate mail         4
  1549.                              splint mail               4
  1550.                              banded mail               4
  1551.                              dwarvish mithril-coat     4
  1552.                              elven mithril-coat        5
  1553.                              chain mail                5
  1554.                              orcish chain mail         6
  1555.                              scale mail                6
  1556.                              studded leather armor     7
  1557.                              ring mail                 7
  1558.                              orcish ring mail          8
  1559.                              leather armor             8
  1560.                              leather jacket            9
  1561.                              no armor                 10
  1562.  
  1563.                You can also wear other pieces of armor (ex. helmets, boots,
  1564.           shields,  cloaks) to lower your armor class even further, but you
  1565.           can only wear one item of each category (one suit of  armor,  one
  1566.           cloak, one helmet, one shield, and so on) at a time.
  1567.  
  1568.                If  a piece of armor is enchanted, its armor protection will
  1569.           be better (or worse) than normal, and  its  ``plus''  (or  minus)
  1570.           will  subtract  from  your  armor class.  For example, a +1 chain
  1571.           mail would give you better protection  than  normal  chain  mail,
  1572.           lowering your armor class one unit further to 4.  When you put on
  1573.           a piece of armor, you immediately find out the  armor  class  and
  1574.           any ``plusses'' it provides.  Cursed pieces of armor usually have
  1575.           negative enchantments (minuses) in addition to being unremovable.
  1576.  
  1577.                Many  types of armor are subject to some kind of damage like
  1578.           rust.  Such damage can be repaired.   Some  types  of  armor  may
  1579.  
  1580.  
  1581.           NetHack 3.4                                     February 12, 2003
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.           NetHack Guidebook                                              25
  1588.  
  1589.  
  1590.  
  1591.           inhibit spell casting.
  1592.  
  1593.                The commands to use armor are `W' (wear) and `T' (take off).
  1594.           The `A' command can also be used to take off  armor  as  well  as
  1595.           other worn items.
  1596.  
  1597.           7.4.  Food (`%')
  1598.  
  1599.                Food  is  necessary  to survive.  If you go too long without
  1600.           eating you will faint, and eventually die  of  starvation.   Some
  1601.           types  of  food  will  spoil, and become unhealthy to eat, if not
  1602.           protected.  Food stored in ice boxes or tins (``cans'') will usu-
  1603.           ally  stay  fresh, but ice boxes are heavy, and tins take a while
  1604.           to open.
  1605.  
  1606.                When you kill monsters, they usually leave corpses which are
  1607.           also ``food.''  Many, but not all, of these are edible; some also
  1608.           give you special powers when you eat them.  A good rule of  thumb
  1609.           is ``you are what you eat.''
  1610.  
  1611.                Some character roles and some monsters are vegetarian.  Veg-
  1612.           etarian monsters will typically never eat animal  corpses,  while
  1613.           vegetarian  players can, but with some rather unpleasant side-ef-
  1614.           fects.
  1615.  
  1616.                You can name one food item after something you like  to  eat
  1617.           with the fruit option.
  1618.  
  1619.                The command to eat food is `e'.
  1620.  
  1621.           7.5.  Scrolls (`?')
  1622.  
  1623.                Scrolls  are labeled with various titles, probably chosen by
  1624.           ancient wizards for their amusement value (ex.  ``READ  ME,''  or
  1625.           ``THANX MAUD'' backwards).  Scrolls disappear after you read them
  1626.           (except for blank ones, without magic spells on them).
  1627.  
  1628.                One of the most useful of these is the scroll  of  identify,
  1629.           which can be used to determine what another object is, whether it
  1630.           is cursed or blessed, and how many uses it has  left.   Some  ob-
  1631.           jects  of  subtle  enchantment  are difficult to identify without
  1632.           these.
  1633.  
  1634.                A mail daemon may run up and deliver mail to you as a scroll
  1635.           of  mail  (on  versions compiled with this feature).  To use this
  1636.           feature on versions where NetHack mail delivery is  triggered  by
  1637.           electronic  mail  appearing  in your system mailbox, you must let
  1638.           NetHack know where to look for new mail by setting  the  ``MAIL''
  1639.           environment  variable  to the file name of your mailbox.  You may
  1640.           also want to set the ``MAILREADER'' environment variable  to  the
  1641.           file  name  of  your  favorite reader, so NetHack can shell to it
  1642.           when you read the scroll.  On versions of NetHack where  mail  is
  1643.           randomly  generated internal to the game, these environment vari-
  1644.           ables are ignored.  You can disable the mail  daemon  by  turning
  1645.  
  1646.  
  1647.           NetHack 3.4                                     February 12, 2003
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.           NetHack Guidebook                                              26
  1654.  
  1655.  
  1656.  
  1657.           off the mail option.
  1658.  
  1659.                The command to read a scroll is `r'.
  1660.  
  1661.           7.6.  Potions (`!')
  1662.  
  1663.                Potions  are distinguished by the color of the liquid inside
  1664.           the flask.  They disappear after you quaff them.
  1665.  
  1666.                Clear potions are potions of  water.   Sometimes  these  are
  1667.           blessed or cursed, resulting in holy or unholy water.  Holy water
  1668.           is the bane of the undead, so potions  of  holy  water  are  good
  1669.           things  to throw (`t') at them.  It is also sometimes very useful
  1670.           to dip (``#dip'') an object into a potion.
  1671.  
  1672.                The command to drink a potion is `q' (quaff).
  1673.  
  1674.           7.7.  Wands (`/')
  1675.  
  1676.                Magic wands usually have  multiple  magical  charges.   Some
  1677.           wands  are directional--you must give a direction in which to zap
  1678.           them.  You can also zap them at yourself (just give a `.' or  `s'
  1679.           for the direction). Be warned, however, for this is often unwise.
  1680.           Other wands are nondirectional--they don't require  a  direction.
  1681.           The  number  of  charges in a wand is random and decreases by one
  1682.           whenever you use it.
  1683.  
  1684.                When the number of charges left in a wand becomes zero,  at-
  1685.           tempts  to use the wand will usually result in nothing happening.
  1686.           Occasionally, however, it may be possible to squeeze the last few
  1687.           mana  points  from  an otherwise spent wand, destroying it in the
  1688.           process.  A wand may be recharged by using  suitable  magic,  but
  1689.           doing  so runs the risk of causing it to explode.  The chance for
  1690.           such an explosion starts out very small and increases  each  time
  1691.           the wand is recharged.
  1692.  
  1693.                In a truly desperate situation, when your back is up against
  1694.           the wall, you might decide to go for broke and break  your  wand.
  1695.           This  is  not  for the faint of heart.  Doing so will almost cer-
  1696.           tainly cause a catastrophic release of magical energies.
  1697.  
  1698.                When you have fully identified a particular wand,  inventory
  1699.           display  will  include additional information in parentheses: the
  1700.           number of times it has been recharged followed  by  a  colon  and
  1701.           then by its current number of charges.  A current charge count of
  1702.           -1 is a special case indicating that the wand has been cancelled.
  1703.  
  1704.                The  command  to use a wand is `z' (zap).  To break one, use
  1705.           the `a' (apply) command.
  1706.  
  1707.           7.8.  Rings (`=')
  1708.  
  1709.                Rings are very useful items, since they are relatively  per-
  1710.           manent  magic,  unlike  the  usually fleeting effects of potions,
  1711.  
  1712.  
  1713.           NetHack 3.4                                     February 12, 2003
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.           NetHack Guidebook                                              27
  1720.  
  1721.  
  1722.  
  1723.           scrolls, and wands.
  1724.  
  1725.                Putting on a ring activates its magic.  You  can  wear  only
  1726.           two rings, one on each ring finger.
  1727.  
  1728.                Most  rings  also cause you to grow hungry more rapidly, the
  1729.           rate varying with the type of ring.
  1730.  
  1731.                The commands to use rings are `P' (put on) and `R' (remove).
  1732.  
  1733.           7.9.  Spellbooks (`+')
  1734.  
  1735.                Spellbooks are tomes of mighty magic.  When studied with the
  1736.           `r' (read) command, they transfer to the reader the knowledge  of
  1737.           a  spell  (and  therefore eventually become unreadable) -- unless
  1738.           the attempt backfires.  Reading a cursed spellbook  or  one  with
  1739.           mystic runes beyond your ken can be harmful to your health!
  1740.  
  1741.                A  spell (even when learned) can also backfire when you cast
  1742.           it.  If you attempt to cast a spell well  above  your  experience
  1743.           level,  or  if  you  have little skill with the appropriate spell
  1744.           type, or cast it at a time when your luck  is  particularly  bad,
  1745.           you  can  end up wasting both the energy and the time required in
  1746.           casting.
  1747.  
  1748.                Casting a spell calls forth  magical  energies  and  focuses
  1749.           them  with  your naked mind.  Some of the magical energy released
  1750.           comes from within you, and casting several spells in  a  row  may
  1751.           tire  you.  Casting of spells also requires practice.  With prac-
  1752.           tice, your skill in each category of spell casting will  improve.
  1753.           Over  time,  however, your memory of each spell will dim, and you
  1754.           will need to relearn it.
  1755.  
  1756.                Some spells are directional--you must give  a  direction  in
  1757.           which  to  cast  them.   You can also cast them at yourself (just
  1758.           give a `.' or `s' for the direction).  Be  warned,  however,  for
  1759.           this  is  often  unwise.   Other  spells are nondirectional--they
  1760.           don't require a direction.
  1761.  
  1762.                Just as weapons are divided into groups in which a character
  1763.           can  become proficient (to varying degrees), spells are similarly
  1764.           grouped.  Successfully casting a spell exercises the skill group;
  1765.           sufficient skill may increase the potency of the spell and reduce
  1766.           the risk of spell failure.  Skill slots are shared  with  weapons
  1767.           skills.  (See also the section on ``Weapon proficiency''.)
  1768.  
  1769.                Casting a spell also requires flexible movement, and wearing
  1770.           various types of armor may interfere with that.
  1771.  
  1772.                The command to read a spellbook is the same as for  scrolls,
  1773.           `r'  (read).   The  `+'  command lists your current spells, their
  1774.           levels, categories, and chances for failure.  The `Z' (cast) com-
  1775.           mand casts a spell.
  1776.  
  1777.  
  1778.  
  1779.           NetHack 3.4                                     February 12, 2003
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.           NetHack Guidebook                                              28
  1786.  
  1787.  
  1788.  
  1789.           7.10.  Tools (`(')
  1790.  
  1791.                Tools are miscellaneous objects with various purposes.  Some
  1792.           tools have a limited number of uses, akin to wand  charges.   For
  1793.           example,  lamps burn out after a while.  Other tools are contain-
  1794.           ers, which objects can be placed into or taken out of.
  1795.  
  1796.                The command to use tools is `a' (apply).
  1797.  
  1798.           7.10.1.  Containers
  1799.  
  1800.                You may encounter bags, boxes, and chests in  your  travels.
  1801.           A  tool  of  this  sort can be opened with the ``#loot'' extended
  1802.           command when you are standing on top of it (that is, on the  same
  1803.           floor  spot), or with the `a' (apply) command when you are carry-
  1804.           ing it.  However, chests are often locked, and are  in  any  case
  1805.           unwieldy  objects.   You must set one down before unlocking it by
  1806.           using a key or lock-picking tool with the `a' (apply) command, by
  1807.           kicking  it  with the `^D' command, or by using a weapon to force
  1808.           the lock with the ``#force'' extended command.
  1809.  
  1810.                Some chests are trapped, causing nasty things to happen when
  1811.           you unlock or open them.  You can check for and try to deactivate
  1812.           traps with the ``#untrap'' extended command.
  1813.  
  1814.           7.11.  Amulets (`"')
  1815.  
  1816.                Amulets are very similar to rings, and often more  powerful.
  1817.           Like rings, amulets have various magical properties, some benefi-
  1818.           cial, some harmful, which are activated by putting them on.
  1819.  
  1820.                Only one amulet may be worn at a time, around your neck.
  1821.  
  1822.                The commands to use amulets are the same as for  rings,  `P'
  1823.           (put on) and `R' (remove).
  1824.  
  1825.           7.12.  Gems (`*')
  1826.  
  1827.                Some  gems  are valuable, and can be sold for a lot of gold.
  1828.           They are also a far more efficient way of carrying  your  riches.
  1829.           Valuable gems increase your score if you bring them with you when
  1830.           you exit.
  1831.  
  1832.                Other small rocks are also categorized as gems, but they are
  1833.           much  less  valuable.  All rocks, however, can be used as projec-
  1834.           tile weapons (if you have a sling).  In  the  most  desperate  of
  1835.           cases, you can still throw them by hand.
  1836.  
  1837.           7.13.  Large rocks (``')
  1838.  
  1839.                Statues  and  boulders  are not particularly useful, and are
  1840.           generally heavy.  It is rumored that some statues  are  not  what
  1841.           they seem.
  1842.  
  1843.  
  1844.  
  1845.           NetHack 3.4                                     February 12, 2003
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.           NetHack Guidebook                                              29
  1852.  
  1853.  
  1854.  
  1855.                Very  large humanoids (giants and their ilk) have been known
  1856.           to use boulders as weapons.
  1857.  
  1858.           7.14.  Gold (`$')
  1859.  
  1860.                Gold adds to your score, and you can  buy  things  in  shops
  1861.           with  it.  There are a number of monsters in the dungeon that may
  1862.           be influenced by the amount of gold you are carrying (shopkeepers
  1863.           aside).
  1864.  
  1865.  
  1866.           8.  Conduct
  1867.  
  1868.                As  if  winning  NetHack  were not difficult enough, certain
  1869.           players seek to challenge themselves by imposing restrictions  on
  1870.           the  way  they play the game.  The game automatically tracks some
  1871.           of these challenges, which can be checked at any  time  with  the
  1872.           #conduct  command or at the end of the game.  When you perform an
  1873.           action which breaks a challenge, it will  no  longer  be  listed.
  1874.           This gives players extra ``bragging rights'' for winning the game
  1875.           with these challenges.  Note that it is perfectly  acceptable  to
  1876.           win  the game without resorting to these restrictions and that it
  1877.           is unusual for players to adhere to  challenges  the  first  time
  1878.           they win the game.
  1879.  
  1880.                Several  of  the  challenges are related to eating behavior.
  1881.           The most difficult of these is the foodless challenge.   Although
  1882.           creatures can survive long periods of time without food, there is
  1883.           a physiological need for water; thus there is no  restriction  on
  1884.           drinking  beverages,  even  if they provide some minor food bene-
  1885.           fits.  Calling upon your god for help with  starvation  does  not
  1886.           violate any food challenges either.
  1887.  
  1888.                A  strict  vegan  diet  is one which avoids any food derived
  1889.           from animals.  The primary source of nutrition is fruits and veg-
  1890.           etables.  The corpses and tins of blobs (`b'), jellies (`j'), and
  1891.           fungi (`F') are also considered to be vegetable matter.   Certain
  1892.           human  food  is  prepared without animal products; namely, lembas
  1893.           wafers, cram rations, food rations (gunyoki), K-rations,  and  C-
  1894.           rations.   Metal  or another normally indigestible material eaten
  1895.           while polymorphed into a creature that can digest it is also con-
  1896.           sidered  vegan  food.   Note however that eating such items still
  1897.           counts against foodless conduct.
  1898.  
  1899.                Vegetarians do not eat animals; however, they are  less  se-
  1900.           lective  about eating animal byproducts than vegans.  In addition
  1901.           to the vegan items listed above, they may eat any kind of pudding
  1902.           (`P') other than the black puddings, eggs and food made from eggs
  1903.           (fortune cookies and pancakes), food made with milk  (cream  pies
  1904.           and candy bars), and lumps of royal jelly.  Monks are expected to
  1905.           observe a vegetarian diet.
  1906.  
  1907.                Eating any kind of meat violates the vegetarian, vegan,  and
  1908.           foodless  conducts.   This includes tripe rations, the corpses or
  1909.  
  1910.  
  1911.           NetHack 3.4                                     February 12, 2003
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.           NetHack Guidebook                                              30
  1918.  
  1919.  
  1920.  
  1921.           tins of any monsters not mentioned above, and the  various  other
  1922.           chunks  of meat found in the dungeon.  Swallowing and digesting a
  1923.           monster while polymorphed is treated as if you ate the creature's
  1924.           corpse.   Eating  leather, dragon hide, or bone items while poly-
  1925.           morphed into a creature that can digest  it,  or  eating  monster
  1926.           brains while polymorphed into a mind flayer, is considered eating
  1927.           an animal, although wax is only an animal byproduct.
  1928.  
  1929.                Regardless of conduct, there will be some  items  which  are
  1930.           indigestible,  and  others  which  are hazardous to eat.  Using a
  1931.           swallow-and-digest attack against a monster is equivalent to eat-
  1932.           ing the monster's corpse.  Please note that the term ``vegan'' is
  1933.           used here only in the context of diet.  You  are  still  free  to
  1934.           choose  not  to  use  or  wear  items  derived from animals (e.g.
  1935.           leather, dragon hide, bone, horns, coral), but the game will  not
  1936.           keep track of this for you.  Also note that ``milky'' potions may
  1937.           be a translucent white, but they do not contain milk, so they are
  1938.           compatible  with  a  vegan  diet.   Slime molds or player-defined
  1939.           ``fruits'', although they could be anything from ``cherries''  to
  1940.           ``pork chops'', are also assumed to be vegan.
  1941.  
  1942.                An atheist is one who rejects religion.  This means that you
  1943.           cannot #pray, #offer sacrifices to  any  god,  #turn  undead,  or
  1944.           #chat  with  a  priest.  Particularly selective readers may argue
  1945.           that playing Monk or Priest characters should violate  this  con-
  1946.           duct;  that  is a choice left to the player.  Offering the Amulet
  1947.           of Yendor to your god is necessary to win the  game  and  is  not
  1948.           counted against this conduct.  You are also not penalized for be-
  1949.           ing spoken to by an angry god, priest(ess),  or  other  religious
  1950.           figure; a true atheist would hear the words but attach no special
  1951.           meaning to them.
  1952.  
  1953.                Most players fight with a wielded weapon (or  tool  intended
  1954.           to be wielded as a weapon).  Another challenge is to win the game
  1955.           without using such a wielded weapon.  You are still permitted  to
  1956.           throw,  fire,  and kick weapons; use a wand, spell, or other type
  1957.           of item; or fight with your hands and feet.
  1958.  
  1959.                In NetHack, a pacifist refuses to cause  the  death  of  any
  1960.           other  monster  (i.e. if you would get experience for the death).
  1961.           This is a particularly difficult challenge, although it is  still
  1962.           possible to gain experience by other means.
  1963.  
  1964.                An illiterate character cannot read or write.  This includes
  1965.           reading a scroll, spellbook, fortune cookie message, or  t-shirt;
  1966.           writing a scroll; or making an engraving of anything other than a
  1967.           single ``x'' (the traditional signature of an illiterate person).
  1968.           Reading an engraving, or any item that is absolutely necessary to
  1969.           win the game, is not counted against this conduct.  The  identity
  1970.           of  scrolls  and  spellbooks  (and  knowledge  of spells) in your
  1971.           starting inventory is assumed to be learned  from  your  teachers
  1972.           prior to the start of the game and isn't counted.
  1973.  
  1974.  
  1975.  
  1976.  
  1977.           NetHack 3.4                                     February 12, 2003
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.           NetHack Guidebook                                              31
  1984.  
  1985.  
  1986.  
  1987.                There  are several other challenges tracked by the game.  It
  1988.           is possible to eliminate one or more species of monsters by geno-
  1989.           cide;  playing  without  this  feature is considered a challenge.
  1990.           When you game offers you an opportunity to genocide monsters, you
  1991.           may  respond  with  the  monster type ``none'' if you want to de-
  1992.           cline.  You can change the form of an item into another  item  of
  1993.           the  same type (``polypiling'') or the form of your own body into
  1994.           another creature (``polyself'') by  wand,  spell,  or  potion  of
  1995.           polymorph; avoiding these effects are each considered challenges.
  1996.           Polymorphing monsters, including pets, does not break  either  of
  1997.           these  challenges.   Finally, you may sometimes receive wishes; a
  1998.           game without an attempt to wish for any items is a challenge,  as
  1999.           is  a  game without wishing for an artifact (even if the artifact
  2000.           immediately disappears).  When the game offers you an opportunity
  2001.           to  make  a  wish  for an item, you may choose ``nothing'' if you
  2002.           want to decline.
  2003.  
  2004.  
  2005.           9.  Options
  2006.  
  2007.                Due to variations in personal tastes and conceptions of  how
  2008.           NetHack should do things, there are options you can set to change
  2009.           how NetHack behaves.
  2010.  
  2011.           9.1.  Setting the options
  2012.  
  2013.                Options may be set in a number of ways.   Within  the  game,
  2014.           the `O' command allows you to view all options and change most of
  2015.           them.  You can also set options automatically by placing them  in
  2016.           the  NETHACKOPTIONS  environment  variable  or in a configuration
  2017.           file.  Some versions of NetHack also have front-end programs that
  2018.           allow you to set options before starting the game.
  2019.  
  2020.           9.2.  Using the NETHACKOPTIONS environment variable
  2021.  
  2022.                The  NETHACKOPTIONS  variable  is  a comma-separated list of
  2023.           initial values for the various options.  Some can only be  turned
  2024.           on  or  off.   You turn one of these on by adding the name of the
  2025.           option to the list, and turn it off by typing a `!' or ``no'' be-
  2026.           fore  the  name.  Others take a character string as a value.  You
  2027.           can set string options by typing the  option  name,  a  colon  or
  2028.           equals sign, and then the value of the string.  The value is ter-
  2029.           minated by the next comma or the end of string.
  2030.  
  2031.                For example, to set up an environment variable so that ``au-
  2032.           toquiver''  is  on,  ``autopickup''  is  off,  the name is set to
  2033.           ``Blue Meanie'', and the fruit is set to  ``papaya'',  you  would
  2034.           enter the command
  2035.  
  2036.                % setenv NETHACKOPTIONS "autoquiver,\!autopickup,name:Blue Meanie,fruit:papaya"
  2037.  
  2038.           in  csh  (note the need to escape the ! since it's special to the
  2039.           shell), or
  2040.  
  2041.  
  2042.  
  2043.           NetHack 3.4                                     February 12, 2003
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.           NetHack Guidebook                                              32
  2050.  
  2051.  
  2052.  
  2053.                $ NETHACKOPTIONS="autoquiver,!autopickup,name:Blue Meanie,fruit:papaya"
  2054.                $ export NETHACKOPTIONS
  2055.  
  2056.           in sh or ksh.
  2057.  
  2058.           9.3.  Using a configuration file
  2059.  
  2060.                Any line in  the  configuration  file  starting  with  ``OP-
  2061.           TIONS=''  may be filled out with options in the same syntax as in
  2062.           NETHACKOPTIONS.   Any  line  starting  with  ``DUNGEON='',  ``EF-
  2063.           FECTS='',  ``MONSTERS='',  ``OBJECTS='',  ``TRAPS='',  or ``BOUL-
  2064.           DER='' is taken as defining the corresponding  dungeon,  effects,
  2065.           monsters,  objects traps or boulder option in a different syntax,
  2066.           a sequence of decimal numbers giving the  character  position  in
  2067.           the  current font to be used in displaying each entry.  A zero in
  2068.           any entry in such a sequence leaves the display of that entry un-
  2069.           changed;  this  feature is not available using the option syntax.
  2070.           Such a sequence can be continued to multiple lines by  putting  a
  2071.           `\'  at  the end of each line to be continued.  Any line starting
  2072.           with `#' is treated as a comment.
  2073.  
  2074.                The default name of the configuration file varies on differ-
  2075.           ent  operating systems, but NETHACKOPTIONS can also be set to the
  2076.           full name of a file you want to  use  (possibly  preceded  by  an
  2077.           `@').
  2078.  
  2079.           9.4.  Customization options
  2080.  
  2081.                Here are explanations of what the various options do.  Char-
  2082.           acter strings that are too long may be truncated.   Some  of  the
  2083.           options listed may be inactive in your dungeon.
  2084.  
  2085.           align
  2086.                Your  starting  alignment  (align:lawful,  align:neutral, or
  2087.                align:chaotic).  You may specify just the first letter.  The
  2088.                default  is to randomly pick an appropriate alignment.  Can-
  2089.                not be set with the `O' command.
  2090.  
  2091.           autodig
  2092.                Automatically dig if you are wielding  a  digging  tool  and
  2093.                moving into a place that can be dug (default false).
  2094.  
  2095.           autopickup
  2096.                Automatically  pick  up  things onto which you move (default
  2097.                on).
  2098.  
  2099.           autoquiver
  2100.                This option controls what happens when you attempt  the  `f'
  2101.                (fire) command with an empty quiver.  When true, the comput-
  2102.                er will fill your quiver with some  suitable  weapon.   Note
  2103.                that  it  will not take into account the blessed/cursed sta-
  2104.                tus, enchantment, damage, or quality of the weapon; you  are
  2105.                free  to  manually fill your quiver with the `Q' command in-
  2106.                stead.  If no weapon is found or the option  is  false,  the
  2107.  
  2108.  
  2109.           NetHack 3.4                                     February 12, 2003
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.           NetHack Guidebook                                              33
  2116.  
  2117.  
  2118.  
  2119.                `t' (throw) command is executed instead.  (default false)
  2120.  
  2121.           boulder
  2122.                Set  the character used to display boulders (default is rock
  2123.                class symbol).
  2124.  
  2125.           catname
  2126.                Name your starting cat (ex. ``catname:Morris'').  Cannot  be
  2127.                set with the `O' command.
  2128.  
  2129.           character
  2130.                Pick  your  type of character (ex. ``character:Monk''); syn-
  2131.                onym for ``role''.  See ``name'' for an alternate method  of
  2132.                specifying your role.  Normally only the first letter of the
  2133.                value is examined; the string ``random'' is an exception.
  2134.  
  2135.           checkpoint
  2136.                Save game state after each level change, for possible recov-
  2137.                ery after program crash (default on).
  2138.  
  2139.           checkspace
  2140.                Check  free disk space before writing files to disk (default
  2141.                on).  You may have to turn this off if you have more than  2
  2142.                GB  free space on the partition used for your save and level
  2143.                files.  Only applies when MFLOPPY was defined during  compi-
  2144.                lation.
  2145.  
  2146.           cmdassist
  2147.                Have the game provide some additional command assistance for
  2148.                new players if it detects some anticipated mistakes (default
  2149.                on).
  2150.  
  2151.           confirm
  2152.                Have  user  confirm  attacks on pets, shopkeepers, and other
  2153.                peaceable creatures (default on).
  2154.  
  2155.           DECgraphics
  2156.                Use a predefined selection of characters from  the  DEC  VT-
  2157.                xxx/DEC  Rainbow/ANSI  line-drawing character set to display
  2158.                the dungeon/effects/traps instead of having to define a full
  2159.                graphics  set yourself (default off).  This option also sets
  2160.                up proper handling of graphics characters  for  such  termi-
  2161.                nals,  so you should specify it when appropriate even if you
  2162.                override the selections with your own graphics strings.
  2163.  
  2164.           disclose
  2165.                Controls options for disclosing various information when the
  2166.                game  ends  (defaults to all possibilities being disclosed).
  2167.                The possibilities are:
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.           NetHack 3.4                                     February 12, 2003
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.           NetHack Guidebook                                              34
  2182.  
  2183.  
  2184.  
  2185.                     i - disclose your inventory.
  2186.                     a - disclose your attributes.
  2187.                     v - summarize monsters that have been vanquished.
  2188.                     g - list monster species that have been genocided.
  2189.                     c - display your conduct.
  2190.  
  2191.                Each disclosure possibility can optionally be preceded by  a
  2192.                prefix  which  let  you  refine how it behaves. Here are the
  2193.                valid prefixes:
  2194.  
  2195.                     y - prompt you and default to yes on the prompt.
  2196.                     n - prompt you and default to no on the prompt.
  2197.                     + - disclose it without prompting.
  2198.                     - - do not disclose it and do not prompt.
  2199.  
  2200.                (ex. ``disclose:yi na +v -g -c'') The example sets inventory
  2201.                to  prompt  and default to yes, attributes to prompt and de-
  2202.                fault to no, vanquished to disclose without prompting, geno-
  2203.                cided to not disclose and not to prompt, conduct to not dis-
  2204.                close and not to prompt.  Note that the vanquished  monsters
  2205.                list includes all monsters killed by traps and each other as
  2206.                well as by you.
  2207.  
  2208.           dogname
  2209.                Name your starting dog (ex.  ``dogname:Fang'').   Cannot  be
  2210.                set with the `O' command.
  2211.  
  2212.           dungeon
  2213.                Set the graphics symbols for displaying the dungeon (default
  2214.                `` |--------||.-|++##.##<><>_|\\#{}.}..## #}'').   The  dun-
  2215.                geon  option  should be followed by a string of 1-41 charac-
  2216.                ters to be used instead of the default  map-drawing  charac-
  2217.                ters.   The  dungeon map will use the characters you specify
  2218.                instead of the default symbols, and default symbols for  any
  2219.                you  do  not  specify.  Remember that you may need to escape
  2220.                some of these characters on a command line if they are  spe-
  2221.                cial to your shell.
  2222.  
  2223.                Note  that  NetHack  escape-processes  this option string in
  2224.                conventional C fashion.  This means that `\' is a prefix  to
  2225.                take  the  following character literally.  Thus `\' needs to
  2226.                be represented  as  `\\'.   The  special  escape  form  `\m'
  2227.                switches on the meta bit in the following character, and the
  2228.                `^' prefix causes the following character to be treated as a
  2229.                control character.
  2230.  
  2231.                The  order  of  the  symbols is:  solid rock, vertical wall,
  2232.                horizontal wall, upper left corner, upper right corner, low-
  2233.                er  left  corner,  lower  right corner, cross wall, upward T
  2234.                wall, downward T wall, leftward T wall, rightward T wall, no
  2235.                door,  vertical  open  door,  horizontal open door, vertical
  2236.                closed door, horizontal closed door, iron bars, tree,  floor
  2237.                of  a  room,  dark corridor, lit corridor, stairs up, stairs
  2238.                down, ladder up, ladder down, altar, grave, throne,  kitchen
  2239.  
  2240.  
  2241.           NetHack 3.4                                     February 12, 2003
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.           NetHack Guidebook                                              35
  2248.  
  2249.  
  2250.  
  2251.                sink,  fountain,  pool  or moat, ice, lava, vertical lowered
  2252.                drawbridge, horizontal lowered drawbridge,  vertical  raised
  2253.                drawbridge,  horizontal raised drawbridge, air, cloud, under
  2254.                water.
  2255.  
  2256.                You might want to use `+' for the corners and T walls for  a
  2257.                more  aesthetic,  boxier display.  Note that in the next re-
  2258.                lease, new symbols may be added, or the present  ones  rear-
  2259.                ranged.
  2260.  
  2261.                Cannot be set with the `O' command.
  2262.  
  2263.           effects
  2264.                Set the graphics symbols for displaying special effects (de-
  2265.                fault ``|-\\/*!)(0#@*/-\\||\\-//-\\| |\\-/'').  The  effects
  2266.                option  should be followed by a string of 1-29 characters to
  2267.                be used instead of the default  special-effects  characters.
  2268.                This  string is subjected to the same processing as the dun-
  2269.                geon option.
  2270.  
  2271.                The order of the  symbols  is:   vertical  beam,  horizontal
  2272.                beam,  left  slant,  right slant, digging beam, camera flash
  2273.                beam, left boomerang, right boomerang,  four  glyphs  giving
  2274.                the  sequence  for magic resistance displays, the eight sur-
  2275.                rounding glyphs for swallowed display, nine glyphs  for  ex-
  2276.                plosions.  An explosion consists of three rows (top, middle,
  2277.                and bottom) of three characters.  The explosion is  centered
  2278.                in the center of this 3 by 3 array.
  2279.  
  2280.                Note  that in the next release, new symbols may be added, or
  2281.                the present ones rearranged.
  2282.  
  2283.                Cannot be set with the `O' command.
  2284.  
  2285.           extmenu
  2286.                Changes the extended commands interface to pop-up a menu  of
  2287.                available  commands.   It  is  keystroke compatible with the
  2288.                traditional interface except that it does not  require  that
  2289.                you  hit  Enter. It is implemented only by the tty port (de-
  2290.                fault off), when the game has been compiled to  support  tty
  2291.                graphics.
  2292.  
  2293.           female
  2294.                An  obsolete  synonym  for ``gender:female''.  Cannot be set
  2295.                with the `O' command.
  2296.  
  2297.           fixinv
  2298.                An object's inventory letter sticks to it when it's  dropped
  2299.                (default on).  If this is off, dropping an object shifts all
  2300.                the remaining inventory letters.
  2301.  
  2302.           fruit
  2303.                Name  a  fruit  after  something  you  enjoy   eating   (ex.
  2304.                ``fruit:mango'')  (default  ``slime  mold'').   Basically  a
  2305.  
  2306.  
  2307.           NetHack 3.4                                     February 12, 2003
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.           NetHack Guidebook                                              36
  2314.  
  2315.  
  2316.  
  2317.                nostalgic whimsy that NetHack uses from time to  time.   You
  2318.                should  set  this to something you find more appetizing than
  2319.                slime mold.  Apples, oranges, pears, bananas, and melons al-
  2320.                ready exist in NetHack, so don't use those.
  2321.  
  2322.           gender
  2323.                Your  starting  gender  (gender:male or gender:female).  You
  2324.                may specify just the first letter.  Although you  can  still
  2325.                denote  your  gender  using  the ``male'' and ``female'' op-
  2326.                tions, the ``gender'' option will take precedence.  The  de-
  2327.                fault  is to randomly pick an appropriate gender.  Cannot be
  2328.                set with the `O' command.
  2329.  
  2330.           help If more information is available for  an  object  looked  at
  2331.                with  the  `/'  command,  ask if you want to see it (default
  2332.                on). Turning help off makes just looking at  things  faster,
  2333.                since you aren't interrupted with the ``More info?'' prompt,
  2334.                but it also means  that  you  might  miss  some  interesting
  2335.                and/or important information.
  2336.  
  2337.           horsename
  2338.                Name  your starting horse (ex. ``horsename:Trigger'').  Can-
  2339.                not be set with the `O' command.
  2340.  
  2341.           IBMgraphics
  2342.                Use a predefined selection of IBM extended ASCII  characters
  2343.                to  display  the  dungeon/effects/traps instead of having to
  2344.                define a full graphics set yourself (default off).  This op-
  2345.                tion also sets up proper handling of graphics characters for
  2346.                such terminals, so you should specify  it  when  appropriate
  2347.                even  if  you override the selections with your own graphics
  2348.                strings.
  2349.  
  2350.           ignintr
  2351.                Ignore interrupt signals, including breaks (default off).
  2352.  
  2353.           legacy
  2354.                Display an introductory message when starting the game  (de-
  2355.                fault on).
  2356.  
  2357.           lit_corridor
  2358.                Show corridor squares seen by night vision or a light source
  2359.                held by your character as lit (default off).
  2360.  
  2361.           lootabc
  2362.                Use the old `a', `b', and `c' keyboard shortcuts when  loot-
  2363.                ing,  rather  than  the mnemonics `o', `i', and `b' (default
  2364.                off).
  2365.  
  2366.           mail
  2367.                Enable mail delivery during the game (default on).
  2368.  
  2369.           male
  2370.                An obsolete synonym for ``gender:male''.  Cannot be set with
  2371.  
  2372.  
  2373.           NetHack 3.4                                     February 12, 2003
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.           NetHack Guidebook                                              37
  2380.  
  2381.  
  2382.  
  2383.                the `O' command.
  2384.  
  2385.           menustyle
  2386.                Controls  the interface used when you need to choose various
  2387.                objects (in response to the  Drop  command,  for  instance).
  2388.                The value specified should be the first letter of one of the
  2389.                following:   traditional,  combination,  partial,  or  full.
  2390.                Traditional  was  the  only  interface available for earlier
  2391.                versions; it consists of a prompt for object  class  charac-
  2392.                ters,  followed  by an object-by-object prompt for all items
  2393.                matching the selected object class(es).  Combination  starts
  2394.                with  a  prompt  for  object class(es) of interest, but then
  2395.                displays a menu of matching objects  rather  than  prompting
  2396.                one-by-one.   Partial  skips  the object class filtering and
  2397.                immediately displays a menu of all objects.  Full displays a
  2398.                menu  of  object classes rather than a character prompt, and
  2399.                then a menu of matching objects for selection.
  2400.  
  2401.           menu_deselect_all
  2402.                Menu character accelerator to deselect all items in a  menu.
  2403.                Implemented  by  the Amiga, Gem, X11 and tty ports.  Default
  2404.                '-'.
  2405.  
  2406.           menu_deselect_page
  2407.                Menu character accelerator deselect all items on  this  page
  2408.                of  a  menu.   Implemented  by the Amiga, Gem and tty ports.
  2409.                Default '\'.
  2410.  
  2411.           menu_first_page
  2412.                Menu character accelerator to jump to the first  page  in  a
  2413.                menu.  Implemented by the Amiga, Gem and tty ports.  Default
  2414.                '^'.
  2415.  
  2416.           menu_invert_all
  2417.                Menu character accelerator to invert all items  in  a  menu.
  2418.                Implemented  by  the Amiga, Gem, X11 and tty ports.  Default
  2419.                '@'.
  2420.  
  2421.           menu_invert_page
  2422.                Menu character accelerator to invert all items on this  page
  2423.                of  a  menu.   Implemented  by the Amiga, Gem and tty ports.
  2424.                Default '~'.
  2425.  
  2426.           menu_last_page
  2427.                Menu character accelerator to jump to the  last  page  in  a
  2428.                menu.  Implemented by the Amiga, Gem and tty ports.  Default
  2429.                '|'.
  2430.  
  2431.           menu_next_page
  2432.                Menu character accelerator to goto the next menu page.   Im-
  2433.                plemented by the Amiga, Gem and tty ports.  Default '>'.
  2434.  
  2435.           menu_previous_page
  2436.                Menu  character  accelerator to goto the previous menu page.
  2437.  
  2438.  
  2439.           NetHack 3.4                                     February 12, 2003
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.           NetHack Guidebook                                              38
  2446.  
  2447.  
  2448.  
  2449.                Implemented by the Amiga, Gem and tty ports.  Default '<'.
  2450.  
  2451.           menu_search
  2452.                Menu character accelerator to search for a menu  item.   Im-
  2453.                plemented by the Amiga, Gem and X11 ports.  Default ':'.
  2454.  
  2455.           menu_select_all
  2456.                Menu  character  accelerator  to select all items in a menu.
  2457.                Implemented by the Amiga, Gem, X11 and tty  ports.   Default
  2458.                '.'.
  2459.  
  2460.           menu_select_page
  2461.                Menu  character accelerator to select all items on this page
  2462.                of a menu.  Implemented by the Amiga,  Gem  and  tty  ports.
  2463.                Default ','.
  2464.  
  2465.           monsters
  2466.                Set  the characters used to display monster classes (default
  2467.                ``abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTU-
  2468.                VWXYZ@ '&;:~]'').  This string is subjected to the same pro-
  2469.                cessing as the dungeon option.  The order of the symbols  is
  2470.                ant  or other insect, blob, cockatrice, dog or other canine,
  2471.                eye or sphere, feline, gremlin, humanoid, imp or  minor  de-
  2472.                mon,  jelly, kobold, leprechaun, mimic, nymph, orc, piercer,
  2473.                quadruped, rodent, arachnid or centipede, trapper or  lurker
  2474.                above,  horse  or unicorn, vortex, worm, xan or other mythi-
  2475.                cal/fantastic insect, light, zruty, angelic  being,  bat  or
  2476.                bird, centaur, dragon, elemental, fungus or mold, gnome, gi-
  2477.                ant humanoid, invisible monster, jabberwock,  Keystone  Kop,
  2478.                lich,  mummy, naga, ogre, pudding or ooze, quantum mechanic,
  2479.                rust monster, snake, troll,  umber  hulk,  vampire,  wraith,
  2480.                xorn,  apelike creature, zombie, human, ghost, golem, demon,
  2481.                sea monster, lizard, long worm tail, and mimic.   Cannot  be
  2482.                set with the `O' command.
  2483.  
  2484.           msghistory
  2485.                The number of top line messages to save (and recall with ^P)
  2486.                (default 20).  Cannot be set with the `O' command.
  2487.  
  2488.           msg_window
  2489.                Allows you to change the  way  recalled  messages  are  dis-
  2490.                played.   (It  is  currently implemented for tty only.)  The
  2491.                possible values are:
  2492.  
  2493.                     s - single message (default, this was the behavior before 3.4.0).
  2494.                     c - combination, two messages as `single', then as `full'.
  2495.                     f - full window, oldest message first.
  2496.                     r - full window, newest message first.
  2497.  
  2498.                For backward compatibility, no value needs to  be  specified
  2499.                (which  defaults to `full'), or it can be negated (which de-
  2500.                faults to `single').
  2501.  
  2502.  
  2503.  
  2504.  
  2505.           NetHack 3.4                                     February 12, 2003
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.           NetHack Guidebook                                              39
  2512.  
  2513.  
  2514.  
  2515.           name
  2516.                Set your character's name (defaults to your user name).  You
  2517.                can  also  set your character's role by appending a dash and
  2518.                one or more letters of the role (that is, by  suffixing  one
  2519.                of -A -B -C -H -K -M -P -Ra -Ro -S -T -V -W).  If -@ is used
  2520.                for the role, then a random one will be  automatically  cho-
  2521.                sen.  Cannot be set with the `O' command.
  2522.  
  2523.           news
  2524.                Read  the NetHack news file, if present (default on).  Since
  2525.                the news is shown at the beginning of the game,  there's  no
  2526.                point in setting this with the `O' command.
  2527.  
  2528.           null
  2529.                Send padding nulls to the terminal (default off).
  2530.  
  2531.           number_pad
  2532.                Use  the  number keys to move instead of [yuhjklbn] (default
  2533.                off).
  2534.  
  2535.           objects
  2536.                Set the characters used to display object  classes  (default
  2537.                ``])[="(%!?+/$*`0_.'').   This  string  is  subjected to the
  2538.                same processing as the dungeon option.   The  order  of  the
  2539.                symbols  is  illegal-object  (should never be seen), weapon,
  2540.                armor, ring, amulet, tool, food, potion, scroll,  spellbook,
  2541.                wand,  gold,  gem  or  rock,  boulder  or statue, iron ball,
  2542.                chain, and venom.  Cannot be set with the `O' command.
  2543.  
  2544.           packorder
  2545.                Specify  the  order  to  list  object  types   in   (default
  2546.                ``")[%?+!=/(*`0_'').   The  value of this option should be a
  2547.                string containing the symbols for the various object  types.
  2548.                Any omitted types are filled in at the end from the previous
  2549.                order.
  2550.  
  2551.           perm_invent
  2552.                If true, always display your current inventory in a  window.
  2553.                This  only  makes sense for windowing system interfaces that
  2554.                implement this feature.
  2555.  
  2556.           pettype
  2557.                Specify the type of your initial pet, if you are  playing  a
  2558.                character  class that uses multiple types of pets; or choose
  2559.                to have no initial pet at all.  Possible values are ``cat'',
  2560.                ``dog'' and ``none''.  Cannot be set with the `O' command.
  2561.  
  2562.           pickup_burden
  2563.                When  you pick up an item that would exceed this encumbrance
  2564.                level (Unburdened, Burdened, streSsed, straiNed,  overTaxed,
  2565.                or  overLoaded),  you will be asked if you want to continue.
  2566.                (Default `S').
  2567.  
  2568.  
  2569.  
  2570.  
  2571.           NetHack 3.4                                     February 12, 2003
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.           NetHack Guidebook                                              40
  2578.  
  2579.  
  2580.  
  2581.           pickup_types
  2582.                Specify the object types to be picked up when autopickup  is
  2583.                on.  Default is all types.
  2584.  
  2585.           prayconfirm
  2586.                Prompt for confirmation before praying (default on).
  2587.  
  2588.           pushweapon
  2589.                Using  the  `w'  (wield) command when already wielding some-
  2590.                thing pushes the old item into your  alternate  weapon  slot
  2591.                (default off).
  2592.  
  2593.           race Selects your race (for example, ``race:human'').  Default is
  2594.                random.  Cannot be set with the `O' command.
  2595.  
  2596.           rest_on_space
  2597.                Make the space bar a synonym for the `.' (rest) command (de-
  2598.                fault off).
  2599.  
  2600.           role
  2601.                Pick  your type of character (ex. ``role:Samurai''); synonym
  2602.                for ``character''.  See ``name'' for an alternate method  of
  2603.                specifying your role.  Normally only the first letter of the
  2604.                value is examined;  `r'  is  an  exception  with  ``Rogue'',
  2605.                ``Ranger'', and ``random'' values.
  2606.  
  2607.           runmode
  2608.                Controls  the  amount  of screen updating for the map window
  2609.                when engaged in multi-turn movement (running  via  shift+di-
  2610.                rection or control+direction and so forth, or via the travel
  2611.                command or mouse click).  The possible values are:
  2612.  
  2613.                     teleport - update the map after movement has finished;
  2614.                     run - update the map after every seven or so steps;
  2615.                     walk - update the map after each step;
  2616.                     crawl - like walk, but pause briefly after each step.
  2617.  
  2618.                This option only affects the game's screen display, not  the
  2619.                actual  results  of  moving.  The default is `run'; versions
  2620.                prior to 3.4.1 used `teleport' only.  Whether or not the ef-
  2621.                fect  is noticeable will depend upon the window port used or
  2622.                on the type of terminal.
  2623.  
  2624.           safe_pet
  2625.                Prevent you from (knowingly) attacking  your  pets  (default
  2626.                on).
  2627.  
  2628.           scores
  2629.                Control  what  parts  of the score list you are shown at the
  2630.                end  (ex.   ``scores:5  top  scores/4  around  my  score/own
  2631.                scores'').   Only  the  first  letter of each category (`t',
  2632.                `a', or `o') is necessary.
  2633.  
  2634.  
  2635.  
  2636.  
  2637.           NetHack 3.4                                     February 12, 2003
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.           NetHack Guidebook                                              41
  2644.  
  2645.  
  2646.  
  2647.           showexp
  2648.                Show your accumulated experience points on bottom line  (de-
  2649.                fault off).
  2650.  
  2651.           showrace
  2652.                Display yourself as the glyph for your race, rather than the
  2653.                glyph for your role (default off).  Note that  this  setting
  2654.                affects  only the appearance of the display, not the way the
  2655.                game treats you.
  2656.  
  2657.           showscore
  2658.                Show your approximate accumulated score on bottom line  (de-
  2659.                fault off).
  2660.  
  2661.           silent
  2662.                Suppress terminal beeps (default on).
  2663.  
  2664.           sortpack
  2665.                Sort  the  pack  contents  by type when displaying inventory
  2666.                (default on).
  2667.  
  2668.           sound
  2669.                Enable messages about what  your  character  hears  (default
  2670.                on).   Note that this has nothing to do with your computer's
  2671.                audio capabilities.  This option is only partly under player
  2672.                control.   The  game  toggles it off and on during and after
  2673.                sleep, for example.
  2674.  
  2675.           sparkle
  2676.                Display a sparkly effect when a monster (including yourself)
  2677.                is hit by an attack to which it is resistant (default on).
  2678.  
  2679.           standout
  2680.                Boldface monsters and ``--More--'' (default off).
  2681.  
  2682.           suppress_alert
  2683.                This  option  may  be set to a NetHack version level to sup-
  2684.                press alert notification messages about feature changes  for
  2685.                that and prior versions (ex. ``suppress_alert:3.3.1'').
  2686.  
  2687.           time
  2688.                Show  the elapsed game time in turns on bottom line (default
  2689.                off).
  2690.  
  2691.           timed_delay
  2692.                When pausing momentarily for display effect,  such  as  with
  2693.                explosions and moving objects, use a timer rather than send-
  2694.                ing extra characters to the screen.  (Applies to ``tty'' in-
  2695.                terface  only;  ``X11''  interface always uses a timer based
  2696.                delay.  The default is on if configured into the program.)
  2697.  
  2698.           tombstone
  2699.                Draw a tombstone graphic upon your death (default on).
  2700.  
  2701.  
  2702.  
  2703.           NetHack 3.4                                     February 12, 2003
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.           NetHack Guidebook                                              42
  2710.  
  2711.  
  2712.  
  2713.           toptenwin
  2714.                Put the ending display in a NetHack  window  instead  of  on
  2715.                stdout  (default  off).  Setting this option makes the score
  2716.                list visible when a windowing version of NetHack is  started
  2717.                without  a  parent window, but it no longer leaves the score
  2718.                list around after game end on a terminal or  emulating  win-
  2719.                dow.
  2720.  
  2721.           traps
  2722.                Set  the  graphics  symbols  for  displaying  traps (default
  2723.                ``^^^^^^^^^^^^^^^^^"^^^^'').  The  traps  option  should  be
  2724.                followed  by  a string of 1-22 characters to be used instead
  2725.                of the default traps characters.  This string  is  subjected
  2726.                to the same processing as the dungeon option.
  2727.  
  2728.                The  order of the symbols is: arrow trap, dart trap, falling
  2729.                rock trap, squeaky board,  bear  trap,  land  mine,  rolling
  2730.                boulder  trap, sleeping gas trap, rust trap, fire trap, pit,
  2731.                spiked pit, hole, trap door, teleportation trap, level tele-
  2732.                porter,  magic  portal,  web, statue trap, magic trap, anti-
  2733.                magic field, polymorph trap.
  2734.  
  2735.                Cannot be set with the `O' command.
  2736.  
  2737.           travel
  2738.                Allow the travel command (default on).  Turning this  option
  2739.                off  will  prevent the game from attempting unintended moves
  2740.                if you make inadvertent mouse clicks on the map window.
  2741.  
  2742.           verbose
  2743.                Provide more commentary during the game (default on).
  2744.  
  2745.           windowtype
  2746.                Select which windowing system to use,  such  as  ``tty''  or
  2747.                ``X11''  (default  depends  on version).  Cannot be set with
  2748.                the `O' command.
  2749.  
  2750.           9.5.  Window Port Customization options
  2751.  
  2752.                Here are explanations of the various options that  are  used
  2753.           to  customize  and  change  the characteristics of the windowtype
  2754.           that you have chosen.  Character strings that are too long may be
  2755.           truncated.   Not  all  window  ports will adjust for all settings
  2756.           listed here.  You can safely add any of  these  options  to  your
  2757.           config  file,  and  if the window port is capable of adjusting to
  2758.           suit your preferences, it will attempt to do so. If it  can't  it
  2759.           will  silently  ignore it.  You can find out if an option is sup-
  2760.           ported by the window port that you are currently using by  check-
  2761.           ing  to see if it shows up in the Options list.  Some options are
  2762.           dynamic and can be specified during the game with  the  `O'  com-
  2763.           mand.
  2764.  
  2765.           align_message
  2766.                Where  to  align  or  place the message window (top, bottom,
  2767.  
  2768.  
  2769.           NetHack 3.4                                     February 12, 2003
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.           NetHack Guidebook                                              43
  2776.  
  2777.  
  2778.  
  2779.                left, or right)
  2780.  
  2781.           align_status
  2782.                Where to align or place  the  status  window  (top,  bottom,
  2783.                left, or right).
  2784.  
  2785.           ascii_map
  2786.                NetHack should display an ascii character map if it can.
  2787.  
  2788.           color
  2789.                NetHack  should  display  color if it can for different mon-
  2790.                sters, objects, and dungeon features
  2791.  
  2792.           eight_bit_tty
  2793.                NetHack should pass eight-bit character values (for example,
  2794.                specified  with  the  traps option) straight through to your
  2795.                terminal (default off).
  2796.  
  2797.           font_map
  2798.                NetHack should use a font by the chosen  name  for  the  map
  2799.                window.
  2800.  
  2801.           font_menu
  2802.                NetHack  should  use a font by the chosen name for menu win-
  2803.                dows.
  2804.  
  2805.           font_message
  2806.                NetHack should use a font by the chosen name for the message
  2807.                window.
  2808.  
  2809.           font_status
  2810.                NetHack  should use a font by the chosen name for the status
  2811.                window.
  2812.  
  2813.           font_text
  2814.                NetHack should use a font by the chosen name for  text  win-
  2815.                dows.
  2816.  
  2817.           font_size_map
  2818.                NetHack should use this size font for the map window.
  2819.  
  2820.           font_size_menu
  2821.                NetHack should use this size font for menu windows.
  2822.  
  2823.           font_size_message
  2824.                NetHack should use this size font for the message window.
  2825.  
  2826.           font_size_status
  2827.                NetHack should use this size font for the status window.
  2828.  
  2829.           font_size_text
  2830.                NetHack should use this size font for text windows.
  2831.  
  2832.  
  2833.  
  2834.  
  2835.           NetHack 3.4                                     February 12, 2003
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.           NetHack Guidebook                                              44
  2842.  
  2843.  
  2844.  
  2845.           hilite_pet
  2846.                Visually  distinguish  pets  from  similar  animals (default
  2847.                off).  The behavior of this option depends on  the  type  of
  2848.                windowing  you use.  In text windowing, text highlighting or
  2849.                inverse video is often used; with tiles, generally  displays
  2850.                a heart symbol near pets.
  2851.  
  2852.           large_font
  2853.                NetHack should use a large font.
  2854.  
  2855.           map_mode
  2856.                NetHack should display the map in the manner specified.
  2857.  
  2858.           mouse_support
  2859.                Allow use of the mouse for input and travel.
  2860.  
  2861.           player_selection
  2862.                NetHack should pop up dialog boxes, or use prompts for char-
  2863.                acter selection.
  2864.  
  2865.           popup_dialog
  2866.                NetHack should pop up dialog boxes for input.
  2867.  
  2868.           preload_tiles
  2869.                NetHack should preload tiles into memory.  For  example,  in
  2870.                the  protected mode MSDOS version, control whether tiles get
  2871.                pre-loaded into RAM at the start of the game.  Doing so  en-
  2872.                hances performance of the tile graphics, but uses more memo-
  2873.                ry. (default on).  Cannot be set with the `O' command.
  2874.  
  2875.           scroll_amount
  2876.                NetHack should scroll the display by this  number  of  cells
  2877.                when the hero reaches the scroll_margin.
  2878.  
  2879.           scroll_margin
  2880.                NetHack should scroll the display when the hero or cursor is
  2881.                this number of cells away from the edge of the window.
  2882.  
  2883.           splash_screen
  2884.                NetHack should display an  opening  splash  screen  when  it
  2885.                starts up (default yes).
  2886.  
  2887.           tiled_map
  2888.                NetHack should display a tiled map if it can.
  2889.  
  2890.           tile_file
  2891.                Specify the name of an alternative tile file to override the
  2892.                default.
  2893.  
  2894.           tile_height
  2895.                Specify the preferred height of each tile in a tile  capable
  2896.                port.
  2897.  
  2898.  
  2899.  
  2900.  
  2901.           NetHack 3.4                                     February 12, 2003
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.           NetHack Guidebook                                              45
  2908.  
  2909.  
  2910.  
  2911.           tile_width
  2912.                Specify  the  preferred width of each tile in a tile capable
  2913.                port
  2914.  
  2915.           use_inverse
  2916.                NetHack should display inverse when the game specifies it.
  2917.  
  2918.           vary_msgcount
  2919.                NetHack should display this number of messages at a time  in
  2920.                the message window.
  2921.  
  2922.           windowcolors
  2923.                NetHack  should  display  windows  with  the specified fore-
  2924.                ground/background colors if it can.
  2925.  
  2926.           9.6.  Platform-specific Customization options
  2927.  
  2928.                Here are explanations of options that are used  by  specific
  2929.           platforms or ports to customize and change the port behaviour.
  2930.  
  2931.           altmeta
  2932.                (default on, AMIGA NetHack only).
  2933.  
  2934.           BIOS
  2935.                Use  BIOS  calls to update the screen display quickly and to
  2936.                read the keyboard (allowing the use of arrow keys  to  move)
  2937.                on machines with an IBM PC compatible BIOS ROM (default off,
  2938.                OS/2, PC, and ST NetHack only).
  2939.  
  2940.           flush
  2941.                (default off, AMIGA NetHack only).
  2942.  
  2943.           MACgraphics
  2944.                (default on, Mac NetHack only).
  2945.  
  2946.           page_wait
  2947.                (default on, Mac NetHack only).
  2948.  
  2949.           rawio
  2950.                Force raw (non-cbreak) mode for faster output and more  bul-
  2951.                letproof  input  (MS-DOS  sometimes treats `^P' as a printer
  2952.                toggle without it) (default off, OS/2, PC,  and  ST  NetHack
  2953.                only).  Note:  DEC Rainbows hang if this is turned on.  Can-
  2954.                not be set with the `O' command.
  2955.  
  2956.           soundcard
  2957.                (default on, PC NetHack only).  Cannot be set with  the  `O'
  2958.                command.
  2959.  
  2960.           video
  2961.                Set  the video mode used (PC NetHack only).  Values are `au-
  2962.                todetect', `default', or `vga'.  Setting `vga' (or  `autode-
  2963.                tect' with vga hardware present) will cause the game to dis-
  2964.                play tiles.  Cannot be set with the `O' command.
  2965.  
  2966.  
  2967.           NetHack 3.4                                     February 12, 2003
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.           NetHack Guidebook                                              46
  2974.  
  2975.  
  2976.  
  2977.           videocolors
  2978.                Set the color palette for PC systems using NO_TERMS (default
  2979.                4-2-6-1-5-3-15-12-10-14-9-13-11, (PC NetHack only).  The or-
  2980.                der of colors is red, green,  brown,  blue,  magenta,  cyan,
  2981.                bright.white, bright.red, bright.green, yellow, bright.blue,
  2982.                bright.magenta, and bright.cyan.  Cannot be set with the `O'
  2983.                command.
  2984.  
  2985.           videoshades
  2986.                Set  the  intensity level of the three gray scales available
  2987.                (default dark normal light, PC NetHack only).  If  the  game
  2988.                display is difficult to read, try adjusting these scales; if
  2989.                this does not correct the problem, try  !color.   Cannot  be
  2990.                set with the `O' command.
  2991.  
  2992.           9.7.  Configuring User Sounds
  2993.  
  2994.                Some  platforms allow you to define sound files to be played
  2995.           when a message that matches a user-defined pattern  is  delivered
  2996.           to the message window.  At this time the Qt port and the win32tty
  2997.           and win32gui ports support the use of user sounds.
  2998.  
  2999.                The following config file entries are  relevant  to  mapping
  3000.           user sounds to messages:
  3001.  
  3002.           SOUNDDIR
  3003.                The directory that houses the sound files to be played.
  3004.  
  3005.           SOUND
  3006.                An  entry that maps a sound file to a user-specified message
  3007.                pattern.  Each SOUND entry is broken down into the following
  3008.                parts:
  3009.  
  3010.                     MESG       - message window mapping (the only one supported in 3.4).
  3011.                     pattern    - the pattern to match.
  3012.                     sound file - the sound file to play.
  3013.                     volume     - the volume to be set while playing the sound file.
  3014.  
  3015.                The  exact  format  for  the  pattern depends on whether the
  3016.           platform is built to use ``regular expressions'' or NetHack's own
  3017.           internal  pattern  matching facility. The ``regular expressions''
  3018.           matching can be much more sophisticated than the internal NetHack
  3019.           pattern  matching, but requires 3rd party libraries on some plat-
  3020.           forms.  There are plenty of references  available  elsewhere  for
  3021.           explaining  ``regular expressions''. You can verify which pattern
  3022.           matching is used by your port with the #version command.
  3023.  
  3024.                NetHack's internal pattern matching routine uses the follow-
  3025.           ing special characters in its pattern matching:
  3026.  
  3027.                  *--- matches 0 or more characters.
  3028.                  ?--- matches any single character.
  3029.  
  3030.  
  3031.  
  3032.  
  3033.           NetHack 3.4                                     February 12, 2003
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.           NetHack Guidebook                                              47
  3040.  
  3041.  
  3042.  
  3043.                Here's  an example of a sound mapping using NetHack's inter-
  3044.           nal pattern matching facility:
  3045.  
  3046.                    SOUND=MESG "*chime of a cash register*" "gong.wav" 50
  3047.  
  3048.           specifies that any message with "chime of a cash  register"  con-
  3049.           tained  in  it  will  trigger the playing of "gong.wav".  You can
  3050.           have multiple SOUND entries in your config file.
  3051.  
  3052.           9.8.  Configuring NetHack for Play by the Blind
  3053.  
  3054.                NetHack can be set up to use only standard ASCII  characters
  3055.           for  making  maps of the dungeons. This makes the MS-DOS versions
  3056.           of NetHack completely accessible to  the  blind  who  use  speech
  3057.           and/or  Braille access technologies.  Players will require a good
  3058.           working knowledge of their screen-reader's review  features,  and
  3059.           will  have  to  know  how to navigate horizontally and vertically
  3060.           character by character. They will also find the search  capabili-
  3061.           ties  of their screen-readers to be quite valuable. Be certain to
  3062.           examine this Guidebook before playing so you have  an  idea  what
  3063.           the  screen layout is like. You'll also need to be able to locate
  3064.           the PC cursor. It is always  where  your  character  is  located.
  3065.           Merely  searching for an @-sign will not always find your charac-
  3066.           ter since there are other humanoids represented by the same sign.
  3067.           Your  screen-reader  should  also have a function which gives you
  3068.           the row and column of your  review  cursor  and  the  PC  cursor.
  3069.           These  co-ordinates  are  often useful in giving players a better
  3070.           sense of the overall location of items on the screen.
  3071.  
  3072.                While it is not difficult for experienced users to edit  the
  3073.           defaults.nh  file  to accomplish this, novices may find this task
  3074.           somewhat daunting.  Included in  all  official  distributions  of
  3075.           NetHack is a file called NHAccess.nh.  Replacing defaults.nh with
  3076.           this file will cause the game to run in a  manner  accessible  to
  3077.           the  blind.  After  you have gained some experience with the game
  3078.           and with editing files, you may want to alter settings to  better
  3079.           suit your preferences. Instructions on how to do this are includ-
  3080.           ed in the NHAccess.nh file itself. The most crucial  settings  to
  3081.           make the game accessible are:
  3082.  
  3083.           IBMgraphics
  3084.                Disable IBMgraphics by commenting out this option.
  3085.  
  3086.           menustyle:traditional
  3087.                This will assist in the interface to speech synthesizers.
  3088.  
  3089.           number_pad
  3090.                A lot of speech access programs use the number-pad to review
  3091.                the screen.  If this is the case, disable the number_pad op-
  3092.                tion and use the traditional Rogue-like commands.
  3093.  
  3094.           Character graphics
  3095.                Comment  out all character graphics sets found near the bot-
  3096.                tom  of  the  defaults.nh  file.   Most  of  these   replace
  3097.  
  3098.  
  3099.           NetHack 3.4                                     February 12, 2003
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.           NetHack Guidebook                                              48
  3106.  
  3107.  
  3108.  
  3109.                NetHack's  default representation of the dungeon using stan-
  3110.                dard ASCII characters with fancier characters from  extended
  3111.                character  sets,  and  these  fancier  characters  can annoy
  3112.                screen-readers.
  3113.  
  3114.           10.  Scoring
  3115.  
  3116.                NetHack maintains a list of the top  scores  or  scorers  on
  3117.           your machine, depending on how it is set up.  In the latter case,
  3118.           each account on the machine can post only one  non-winning  score
  3119.           on  this  list.   If  you  score higher than someone else on this
  3120.           list, or better your previous score, you will be inserted in  the
  3121.           proper  place  under your current name.  How many scores are kept
  3122.           can also be set up when NetHack is compiled.
  3123.  
  3124.                Your score is chiefly based upon  how  much  experience  you
  3125.           gained, how much loot you accumulated, how deep you explored, and
  3126.           how the game ended.  If you quit the game, you escape with all of
  3127.           your  gold  intact.   If, however, you get killed in the Mazes of
  3128.           Menace, the guild will only hear about 90% of your gold when your
  3129.           corpse  is  discovered  (adventurers  have  been known to collect
  3130.           finder's fees).  So, consider whether you want to take  one  last
  3131.           hit  at  that  monster  and  possibly live, or quit and stop with
  3132.           whatever you have.  If you quit, you keep all your gold,  but  if
  3133.           you swing and live, you might find more.
  3134.  
  3135.                If  you  just want to see what the current top players/games
  3136.           list is, you can type nethack -s all on most versions.
  3137.  
  3138.  
  3139.           11.  Explore mode
  3140.  
  3141.                NetHack is an intricate and difficult game.   Novices  might
  3142.           falter in fear, aware of their ignorance of the means to survive.
  3143.           Well, fear not.  Your dungeon may come  equipped  with  an  ``ex-
  3144.           plore''  or  ``discovery'' mode that enables you to keep old save
  3145.           files and cheat death, at the paltry cost of not getting  on  the
  3146.           high score list.
  3147.  
  3148.                There  are  two  ways  of  enabling explore mode.  One is to
  3149.           start the game with the -X switch.  The other is to issue the `X'
  3150.           command  while  already  playing the game.  The other benefits of
  3151.           explore mode are left for the trepid reader to discover.
  3152.  
  3153.  
  3154.           12.  Credits
  3155.  
  3156.                The original hack game was  modeled  on  the  Berkeley  UNIX
  3157.           rogue  game.   Large  portions  of  this  paper  were shamelessly
  3158.           cribbed from A Guide to the Dungeons of Doom, by Michael  C.  Toy
  3159.           and  Kenneth  C.  R. C. Arnold.  Small portions were adapted from
  3160.           Further Exploration of the Dungeons of Doom, by Ken Arromdee.
  3161.  
  3162.  
  3163.  
  3164.  
  3165.           NetHack 3.4                                     February 12, 2003
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.           NetHack Guidebook                                              49
  3172.  
  3173.  
  3174.  
  3175.                NetHack is the product of literally dozens of people's work.
  3176.           Main  events  in the course of the game development are described
  3177.           below:
  3178.  
  3179.  
  3180.                Jay Fenlason wrote the original Hack, with help  from  Kenny
  3181.           Woodland, Mike Thome and Jon Payne.
  3182.  
  3183.                Andries Brouwer did a major re-write, transforming Hack into
  3184.           a very different game, and published (at  least)  three  versions
  3185.           (1.0.1, 1.0.2, and 1.0.3) for UNIX machines to the Usenet.
  3186.  
  3187.                Don  G. Kneller ported Hack 1.0.3 to Microsoft C and MS-DOS,
  3188.           producing PC HACK 1.01e, added support for DEC  Rainbow  graphics
  3189.           in  version 1.03g, and went on to produce at least four more ver-
  3190.           sions (3.0, 3.2, 3.51, and 3.6).
  3191.  
  3192.                R. Black ported PC HACK 3.51 to  Lattice  C  and  the  Atari
  3193.           520/1040ST, producing ST Hack 1.03.
  3194.  
  3195.                Mike Stephenson merged these various versions back together,
  3196.           incorporating many of the added features,  and  produced  NetHack
  3197.           1.4.   He  then  coordinated a cast of thousands in enhancing and
  3198.           debugging NetHack 1.4 and released NetHack versions 2.2 and  2.3.
  3199.  
  3200.                Later, Mike coordinated a major rewrite of the game, heading
  3201.           a team which included Ken Arromdee, Jean-Christophe Collet, Steve
  3202.           Creps, Eric Hendrickson, Izchak Miller, John Rupley, Mike Threep-
  3203.           oint, and Janet Walz, to produce NetHack 3.0c.
  3204.  
  3205.                NetHack 3.0 was ported to the Atari by  Eric  R.  Smith,  to
  3206.           OS/2  by  Timo Hakulinen, and to VMS by David Gentzel.  The three
  3207.           of them and Kevin Darcy later joined the main development team to
  3208.           produce subsequent revisions of 3.0.
  3209.  
  3210.                Olaf  Seibert ported NetHack 2.3 and 3.0 to the Amiga.  Norm
  3211.           Meluch, Stephen Spackman and Pierre  Martineau  designed  overlay
  3212.           code  for  PC  NetHack 3.0.  Johnny Lee ported NetHack 3.0 to the
  3213.           Macintosh.  Along with various other Dungeoneers, they  continued
  3214.           to  enhance  the PC, Macintosh, and Amiga ports through the later
  3215.           revisions of 3.0.
  3216.  
  3217.                Headed by Mike Stephenson and coordinated by  Izchak  Miller
  3218.           and  Janet  Walz, the development team which now included Ken Ar-
  3219.           romdee, David Cohrs, Jean-Christophe Collet,  Kevin  Darcy,  Matt
  3220.           Day,  Timo Hakulinen, Steve Linhart, Dean Luick, Pat Rankin, Eric
  3221.           Raymond, and Eric Smith undertook  a  radical  revision  of  3.0.
  3222.           They re-structured the game's design, and re-wrote major parts of
  3223.           the code.  They added multiple dungeons, a new  display,  special
  3224.           individual  character  quests,  a  new endgame and many other new
  3225.           features, and produced NetHack 3.1.
  3226.  
  3227.                Ken Lorber, Gregg Wonderly and Greg Olson,  with  help  from
  3228.           Richard  Addison,  Mike  Passaretti,  and Olaf Seibert, developed
  3229.  
  3230.  
  3231.           NetHack 3.4                                     February 12, 2003
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.           NetHack Guidebook                                              50
  3238.  
  3239.  
  3240.  
  3241.           NetHack 3.1 for the Amiga.
  3242.  
  3243.                Norm Meluch and Kevin Smolkowski, with help from Carl  Sche-
  3244.           lin, Stephen Spackman, Steve VanDevender, and Paul Winner, ported
  3245.           NetHack 3.1 to the PC.
  3246.  
  3247.                Jon W{tte and Hao-yang Wang, with help from Ross Brown, Mike
  3248.           Engber,  David  Hairston, Michael Hamel, Jonathan Handler, Johnny
  3249.           Lee, Tim Lennan, Rob Menke, and Andy Swanson,  developed  NetHack
  3250.           3.1 for the Macintosh, porting it for MPW.  Building on their de-
  3251.           velopment, Barton House added a Think C port.
  3252.  
  3253.                Timo Hakulinen ported NetHack 3.1 to OS/2.  Eric Smith port-
  3254.           ed  NetHack  3.1 to the Atari.  Pat Rankin, with help from Joshua
  3255.           Delahunty, was responsible for the VMS version  of  NetHack  3.1.
  3256.           Michael Allison ported NetHack 3.1 to Windows NT.
  3257.  
  3258.                Dean  Luick,  with  help from David Cohrs, developed NetHack
  3259.           3.1 for X11.  Warwick Allison wrote a tiled  version  of  NetHack
  3260.           for  the Atari; he later contributed the tiles to the DevTeam and
  3261.           tile support was then added to other platforms.
  3262.  
  3263.                The 3.2 development team, comprised of Michael Allison,  Ken
  3264.           Arromdee,  David  Cohrs, Jessie Collet, Steve Creps, Kevin Darcy,
  3265.           Timo Hakulinen, Steve  Linhart,  Dean  Luick,  Pat  Rankin,  Eric
  3266.           Smith,  Mike  Stephenson,  Janet  Walz, and Paul Winner, released
  3267.           version 3.2 in April of 1996.
  3268.  
  3269.                Version 3.2 marked the tenth anniversary of the formation of
  3270.           the  development team.  In a testament to their dedication to the
  3271.           game, all thirteen members of the original development  team  re-
  3272.           mained  on the team at the start of work on that release.  During
  3273.           the interval between the release of 3.1.3 and  3.2,  one  of  the
  3274.           founding  members of the development team, Dr. Izchak Miller, was
  3275.           diagnosed with cancer and passed away.  That release of the  game
  3276.           was dedicated to him by the development and porting teams.
  3277.  
  3278.                During the lifespan of NetHack 3.1 and 3.2, several enthusi-
  3279.           asts of the game added their own modifications to  the  game  and
  3280.           made these ``variants'' publicly available:
  3281.  
  3282.                Tom  Proudfoot  and  Yuval Oren created NetHack++, which was
  3283.           quickly renamed NetHack--.  Working independently, Stephen  White
  3284.           wrote  NetHack Plus.  Tom Proudfoot later merged NetHack Plus and
  3285.           his own NetHack-- to produce SLASH.  Larry Stewart-Zerba and War-
  3286.           wick  Allison  improved  the spell casting system with the Wizard
  3287.           Patch.  Warwick Allison also ported NetHack to use the Qt  inter-
  3288.           face.
  3289.  
  3290.                Warren  Cheung  combined SLASH with the Wizard Patch to pro-
  3291.           duce Slash'em, and with the help of Kevin Hugo, added  more  fea-
  3292.           tures.   Kevin later joined the DevTeam and incorporated the best
  3293.           of these ideas in NetHack 3.3.
  3294.  
  3295.  
  3296.  
  3297.           NetHack 3.4                                     February 12, 2003
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.           NetHack Guidebook                                              51
  3304.  
  3305.  
  3306.  
  3307.                The final update to 3.2 was the bug fix release 3.2.3, which
  3308.           was  released  simultaneously with 3.3.0 in December 1999 just in
  3309.           time for the Year 2000.
  3310.  
  3311.                The 3.3 development team, consisting of Michael Allison, Ken
  3312.           Arromdee,  David  Cohrs, Jessie Collet, Steve Creps, Kevin Darcy,
  3313.           Timo Hakulinen, Kevin  Hugo,  Steve  Linhart,  Ken  Lorber,  Dean
  3314.           Luick,  Pat  Rankin, Eric Smith, Mike Stephenson, Janet Walz, and
  3315.           Paul Winner, released 3.3.0 in December 1999 and 3.3.1 in  August
  3316.           of 2000.
  3317.  
  3318.                Version 3.3 offered many firsts. It was the first version to
  3319.           separate race and profession. The Elf class was removed in  pref-
  3320.           erence to an elf race, and the races of dwarves, gnomes, and orcs
  3321.           made their first appearance in the game  alongside  the  familiar
  3322.           human  race.  Monk and Ranger roles joined Archeologists, Barbar-
  3323.           ians,  Cavemen,  Healers,  Knights,  Priests,  Rogues,   Samurai,
  3324.           Tourists,  Valkyries  and  of  course,  Wizards.  It was also the
  3325.           first version to allow you to ride a steed,  and  was  the  first
  3326.           version  to  have  a  publicly available web-site listing all the
  3327.           bugs that had been discovered.  Despite that  constantly  growing
  3328.           bug  list,  3.3 proved stable enough to last for more than a year
  3329.           and a half.
  3330.  
  3331.                The 3.4 development team initially consisted of Michael  Al-
  3332.           lison,  Ken Arromdee, David Cohrs, Jessie Collet, Kevin Hugo, Ken
  3333.           Lorber, Dean Luick, Pat Rankin, Mike Stephenson, Janet Walz,  and
  3334.           Paul  Winner,  with   Warwick Allison joining just before the re-
  3335.           lease of NetHack 3.4.0 in March 2002.
  3336.  
  3337.                As with version 3.3, various people contributed to the  game
  3338.           as a whole as well as supporting ports on the different platforms
  3339.           that NetHack runs on:
  3340.  
  3341.                Pat Rankin maintained 3.4 for VMS.
  3342.  
  3343.                Michael Allison maintained NetHack 3.4 for the MS-DOS  plat-
  3344.           form.  Paul Winner and Yitzhak Sapir provided encouragement.
  3345.  
  3346.                Dean  Luick, Mark Modrall, and Kevin Hugo maintained and en-
  3347.           hanced the Macintosh port of 3.4.
  3348.  
  3349.                Michael Allison, David Cohrs, Alex  Kompel,  Dion  Nicolaas,
  3350.           and  Yitzhak  Sapir maintained and enhanced 3.4 for the Microsoft
  3351.           Windows platform.  Alex Kompel contributed a new graphical inter-
  3352.           face  for  the Windows port.  Alex Kompel also contributed a Win-
  3353.           dows CE port for 3.4.1.
  3354.  
  3355.                Ron Van Iwaarden maintained 3.4 for OS/2.
  3356.  
  3357.                Janne Salmijarvi and Teemu Suikki  maintained  and  enhanced
  3358.           the  Amiga  port of 3.4 after Janne Salmijarvi resurrected it for
  3359.           3.3.1.
  3360.  
  3361.  
  3362.  
  3363.           NetHack 3.4                                     February 12, 2003
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.           NetHack Guidebook                                              52
  3370.  
  3371.  
  3372.  
  3373.                Christian ``Marvin'' Bressler maintained 3.4 for  the  Atari
  3374.           after he resurrected it for 3.3.1.
  3375.  
  3376.                There  is  a  NetHack  web  site maintained by Ken Lorber at
  3377.           http://www.nethack.org/.
  3378.  
  3379.                        - - - - - - - - - -
  3380.  
  3381.                From time to time, some depraved  individual  out  there  in
  3382.           netland  sends a particularly intriguing modification to help out
  3383.           with the game.  The Gods of the Dungeon sometimes  make  note  of
  3384.           the  names  of the worst of these miscreants in this, the list of
  3385.           Dungeoneers:
  3386.  
  3387.  
  3388.                    Adam Aronow       Irina Rempt-Drijfhout       Mike Gallop
  3389.                    Alex Kompel           Izchak Miller         Mike Passaretti
  3390.                   Andreas Dorn           J. Ali Harlow         Mike Stephenson
  3391.                    Andy Church             Janet Walz            Norm Meluch
  3392.                   Andy Swanson          Janne Salmijarvi         Olaf Seibert
  3393.                   Ari Huttunen       Jean-Christophe Collet     Pasi Kallinen
  3394.                   Barton House           Jochen Erwied            Pat Rankin
  3395.                Benson I. Margulies        John Kallen            Paul Winner
  3396.                     Bill Dyer             John Rupley          Pierre Martineau
  3397.                 Boudewijn Waijers         John S. Bien            Ralf Brown
  3398.                     Bruce Cox              Johnny Lee          Richard Addison
  3399.                  Bruce Holloway            Jon W{tte            Richard Beigel
  3400.                  Bruce Mewborne         Jonathan Handler      Richard P. Hughey
  3401.                   Carl Schelin          Joshua Delahunty          Rob Menke
  3402.                    Chris Russo           Keizo Yamamoto         Robin Johnson
  3403.                    David Cohrs             Ken Arnold         Roderick Schertler
  3404.                  David Damerell           Ken Arromdee          Roland McGrath
  3405.                   David Gentzel            Ken Lorber          Ron Van Iwaarden
  3406.                  David Hairston          Ken Washikita          Ronnen Miller
  3407.                    Dean Luick             Kevin Darcy             Ross Brown
  3408.                     Del Lamb               Kevin Hugo          Sascha Wostmann
  3409.                   Deron Meranda           Kevin Sitze            Scott Bigham
  3410.                   Dion Nicolaas         Kevin Smolkowski       Scott R. Turner
  3411.                  Dylan O'Donnell          Kevin Sweet          Stephen Spackman
  3412.                    Eric Backus            Lars Huttar           Stephen White
  3413.                 Eric Hendrickson          Malcolm Ryan           Steve Creps
  3414.                   Eric R. Smith          Mark Gooderum          Steve Linhart
  3415.                  Eric S. Raymond          Mark Modrall        Steve VanDevender
  3416.                   Erik Andersen         Marvin Bressler          Teemu Suikki
  3417.                 Frederick Roeber          Matthew Day             Tim Lennan
  3418.                    Gil Neiger             Merlyn LeRoy          Timo Hakulinen
  3419.                    Greg Laskin          Michael Allison            Tom Almy
  3420.                    Greg Olson             Michael Feir             Tom West
  3421.                  Gregg Wonderly          Michael Hamel          Warren Cheung
  3422.                   Hao-yang Wang         Michael Sokolov        Warwick Allison
  3423.                   Helge Hafting           Mike Engber           Yitzhak Sapir
  3424.  
  3425.           Brand and product names are trademarks or  registered  trademarks
  3426.           of their respective holders.
  3427.  
  3428.  
  3429.           NetHack 3.4                                     February 12, 2003
  3430.  
  3431.  
  3432.  
  3433.