C/#name menu, calling old discoveries [2 of 2] (trunk only)

Implement <Someone>'s menu-mode for #name, primarily because it
is the natural place to add [re]naming entries in the discoveries list,
something that was requested in the newsgroup ten or so years ago.  The
latter allows changing the type name of something which has previously
been named and is no longer being carried.

     This also makes the C command become a synonym for #name or vice
versa; one or the other could now be reassigned to something else.
This commit is contained in:
nethack.rankin
2007-05-25 02:02:44 +00:00
parent 97928335ae
commit 86a1e8b1b1
6 changed files with 35 additions and 25 deletions

View File

@@ -83,12 +83,12 @@ Commands:
< Go up a staircase (if you are standing on it).
> Go down a staircase (if you are standing on it).
. Rest, do nothing for one turn.
_ Travel via a shortest-path algorithm to a point on the map
a Apply (use) a tool (pick-axe, key, lamp...)
_ Travel via a shortest-path algorithm to a point on the map.
a Apply (use) a tool (pick-axe, key, lamp...).
A Remove all armor.
^A Redo the previous command
^A Redo the previous command.
c Close a door.
C Call (name) an individual monster.
C Call (name) monster, individual object, or type of object.
d Drop something. d7a: drop seven items of object a.
D Drop multiple items. This command is implemented in two
different ways. One way is:
@@ -184,8 +184,8 @@ Commands:
j Jump to another location.
k Kick (for doors, usually).
l Loot a box on the floor.
n followed by number of times to repeat the next command
N Name an object or type of object.
n followed by number of times to repeat the next command.
N Name a monster, an individual object, or a type of object.
u Untrap a trapped object or door.
You can put a number before a command to repeat it that many times,