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:
+3
-3
@@ -21,7 +21,7 @@ b Go southwest 1 space
|
|||||||
B Go southwest until you are on top of something
|
B Go southwest until you are on top of something
|
||||||
^B Go southwest until you are near something
|
^B Go southwest until you are near something
|
||||||
c Close a door
|
c Close a door
|
||||||
C Call (name) a particular monster
|
C Call (name) a monster, an individual object, or a type of object
|
||||||
d Drop an item
|
d Drop an item
|
||||||
D Drop specific item types
|
D Drop specific item types
|
||||||
e Eat something
|
e Eat something
|
||||||
@@ -47,7 +47,7 @@ L Go east until you are on top of something
|
|||||||
m Followed by direction, move without picking anything up or fighting
|
m Followed by direction, move without picking anything up or fighting
|
||||||
M Followed by direction, move a distance without picking anything up
|
M Followed by direction, move a distance without picking anything up
|
||||||
n Go southeast 1 space
|
n Go southeast 1 space
|
||||||
N Go southeast until you are on something (if number_pad, name an object)
|
N Go southeast until you are on something (if number_pad is on, name)
|
||||||
^N Go southeast until you are near something
|
^N Go southeast until you are near something
|
||||||
o Open a door
|
o Open a door
|
||||||
O Show option settings, possibly change them
|
O Show option settings, possibly change them
|
||||||
@@ -109,7 +109,7 @@ M-i Invoke an object's special powers
|
|||||||
M-j Jump to another location
|
M-j Jump to another location
|
||||||
M-l Loot a box on the floor
|
M-l Loot a box on the floor
|
||||||
M-m Use a monster's special ability
|
M-m Use a monster's special ability
|
||||||
M-n Name an item or type of object
|
M-n Name a monster, an individual object, or a type of object
|
||||||
M-o Offer a sacrifice to the gods
|
M-o Offer a sacrifice to the gods
|
||||||
M-p Pray to the gods for help
|
M-p Pray to the gods for help
|
||||||
M-q Quit
|
M-q Quit
|
||||||
|
|||||||
@@ -83,12 +83,12 @@ Commands:
|
|||||||
< Go up a staircase (if you are standing on it).
|
< Go up a staircase (if you are standing on it).
|
||||||
> Go down a staircase (if you are standing on it).
|
> Go down a staircase (if you are standing on it).
|
||||||
. Rest, do nothing for one turn.
|
. Rest, do nothing for one turn.
|
||||||
_ Travel via a shortest-path algorithm to a point on the map
|
_ Travel via a shortest-path algorithm to a point on the map.
|
||||||
a Apply (use) a tool (pick-axe, key, lamp...)
|
a Apply (use) a tool (pick-axe, key, lamp...).
|
||||||
A Remove all armor.
|
A Remove all armor.
|
||||||
^A Redo the previous command
|
^A Redo the previous command.
|
||||||
c Close a door.
|
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 something. d7a: drop seven items of object a.
|
||||||
D Drop multiple items. This command is implemented in two
|
D Drop multiple items. This command is implemented in two
|
||||||
different ways. One way is:
|
different ways. One way is:
|
||||||
@@ -184,8 +184,8 @@ Commands:
|
|||||||
j Jump to another location.
|
j Jump to another location.
|
||||||
k Kick (for doors, usually).
|
k Kick (for doors, usually).
|
||||||
l Loot a box on the floor.
|
l Loot a box on the floor.
|
||||||
n followed by number of times to repeat the next command
|
n followed by number of times to repeat the next command.
|
||||||
N Name an object or type of object.
|
N Name a monster, an individual object, or a type of object.
|
||||||
u Untrap a trapped object or door.
|
u Untrap a trapped object or door.
|
||||||
|
|
||||||
You can put a number before a command to repeat it that many times,
|
You can put a number before a command to repeat it that many times,
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ Game commands:
|
|||||||
a apply apply or use a tool (pick-axe, key, camera, etc.)
|
a apply apply or use a tool (pick-axe, key, camera, etc.)
|
||||||
A armor take off all armor
|
A armor take off all armor
|
||||||
c close close a door
|
c close close a door
|
||||||
C call name an individual monster (ex. baptize your dog)
|
C call name a monster, an individual object, or a type of object
|
||||||
d drop drop an object. d7a: drop seven items of object 'a'
|
d drop drop an object. d7a: drop seven items of object 'a'
|
||||||
D Drop drop selected types of objects
|
D Drop drop selected types of objects
|
||||||
e eat eat something
|
e eat eat something
|
||||||
@@ -100,7 +100,7 @@ M-i invoke invoke an object's special powers
|
|||||||
M-j jump jump to another location
|
M-j jump jump to another location
|
||||||
M-l loot loot a box on the floor
|
M-l loot loot a box on the floor
|
||||||
M-m monster use a monster's special ability
|
M-m monster use a monster's special ability
|
||||||
M-n name name an item or type of object
|
M-n name name a monster, an individual object, or a type of object
|
||||||
M-o offer offer a sacrifice to the gods
|
M-o offer offer a sacrifice to the gods
|
||||||
M-p pray pray to the gods for help
|
M-p pray pray to the gods for help
|
||||||
M-q quit stop playing
|
M-q quit stop playing
|
||||||
|
|||||||
+11
-7
@@ -5,7 +5,7 @@
|
|||||||
.ds vr "NetHack 3.5
|
.ds vr "NetHack 3.5
|
||||||
.ds f0 "\*(vr
|
.ds f0 "\*(vr
|
||||||
.ds f1
|
.ds f1
|
||||||
.ds f2 "September 20, 2006
|
.ds f2 "May 24, 2007
|
||||||
.mt
|
.mt
|
||||||
A Guide to the Mazes of Menace
|
A Guide to the Mazes of Menace
|
||||||
(Guidebook for NetHack)
|
(Guidebook for NetHack)
|
||||||
@@ -497,7 +497,8 @@ Redo the previous command.
|
|||||||
.lp c
|
.lp c
|
||||||
Close a door.
|
Close a door.
|
||||||
.lp C
|
.lp C
|
||||||
Call (name) an individual monster.
|
Call (name) a monster, an individual object, or a type of object.
|
||||||
|
Same as extended command ``#name''.
|
||||||
.lp ^C
|
.lp ^C
|
||||||
Panic button. Quit the game.
|
Panic button. Quit the game.
|
||||||
.lp d
|
.lp d
|
||||||
@@ -707,7 +708,7 @@ from a horse standing next to you.
|
|||||||
.lp #monster
|
.lp #monster
|
||||||
Use a monster's special ability (when polymorphed into monster form).
|
Use a monster's special ability (when polymorphed into monster form).
|
||||||
.lp #name
|
.lp #name
|
||||||
Name an item or type of object.
|
Name a monster, an individual object, or a type of object. Same as `C'.
|
||||||
.lp #offer
|
.lp #offer
|
||||||
Offer a sacrifice to the gods.
|
Offer a sacrifice to the gods.
|
||||||
.lp #pray
|
.lp #pray
|
||||||
@@ -802,7 +803,9 @@ Kick something (usually a door). Same as `^D'.
|
|||||||
Loot a box or bag on the floor beneath you, or the saddle
|
Loot a box or bag on the floor beneath you, or the saddle
|
||||||
from a horse standing next to you. Same as ``#loot'' or ``M-l''.
|
from a horse standing next to you. Same as ``#loot'' or ``M-l''.
|
||||||
.lp N
|
.lp N
|
||||||
Name an item or type of object. Same as ``#name'' or ``M-n''.
|
Name a monster, an individual object, or a type of object. Same
|
||||||
|
as ``#name'' (or ``M-n'') which is the same as the `C'
|
||||||
|
command.
|
||||||
.lp u
|
.lp u
|
||||||
Untrap a trap, door, or chest. Same as ``#untrap'' or ``M-u''.
|
Untrap a trap, door, or chest. Same as ``#untrap'' or ``M-u''.
|
||||||
|
|
||||||
@@ -949,7 +952,8 @@ help you locate them before they locate you (which some monsters can do
|
|||||||
very well).
|
very well).
|
||||||
.pg
|
.pg
|
||||||
The commands `/' and `;' may be used to obtain information about those
|
The commands `/' and `;' may be used to obtain information about those
|
||||||
monsters who are displayed on the screen. The command `C' allows you
|
monsters who are displayed on the screen. The command ``#name'', or
|
||||||
|
its synonym `C', allows you
|
||||||
to assign a name to a monster, which may be useful to help distinguish
|
to assign a name to a monster, which may be useful to help distinguish
|
||||||
one from another when multiple monsters are present. Assigning a name
|
one from another when multiple monsters are present. Assigning a name
|
||||||
which is just a space will remove any prior name.
|
which is just a space will remove any prior name.
|
||||||
@@ -1066,8 +1070,8 @@ When you use one of these objects, if its effect is obvious, NetHack
|
|||||||
will remember what it is for you. If its effect isn't extremely
|
will remember what it is for you. If its effect isn't extremely
|
||||||
obvious, you will be asked what you want to call this type of object
|
obvious, you will be asked what you want to call this type of object
|
||||||
so you will recognize it later. You can also use the ``#name''
|
so you will recognize it later. You can also use the ``#name''
|
||||||
command for the same purpose at any time, to name all objects of a
|
command, or its synonym `C', for the same purpose at any time, to name
|
||||||
particular type or just an individual object.
|
all objects of a particular type or just an individual object.
|
||||||
When you use ``#name'' on an object which has already been named,
|
When you use ``#name'' on an object which has already been named,
|
||||||
specifying a space as the value will remove the prior name instead
|
specifying a space as the value will remove the prior name instead
|
||||||
of assigning a new one.
|
of assigning a new one.
|
||||||
|
|||||||
+12
-7
@@ -31,7 +31,7 @@
|
|||||||
\begin{document}
|
\begin{document}
|
||||||
%
|
%
|
||||||
% input file: guidebook.mn
|
% input file: guidebook.mn
|
||||||
% $Revision: 1.104 $ $Date: 2007/02/18 04:49:19 $
|
% $Revision: 1.105 $ $Date: 2007/04/27 02:05:28 $
|
||||||
%
|
%
|
||||||
%.ds h0 "
|
%.ds h0 "
|
||||||
%.ds h1 %.ds h2 \%
|
%.ds h1 %.ds h2 \%
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
%.au
|
%.au
|
||||||
\author{Eric S. Raymond\\
|
\author{Eric S. Raymond\\
|
||||||
(Extensively edited and expanded for 3.5)}
|
(Extensively edited and expanded for 3.5)}
|
||||||
\date{September 20, 2006}
|
\date{May 24, 2007}
|
||||||
|
|
||||||
\maketitle
|
\maketitle
|
||||||
|
|
||||||
@@ -669,7 +669,8 @@ Redo the previous command.
|
|||||||
Close a door.
|
Close a door.
|
||||||
%.lp
|
%.lp
|
||||||
\item[\tb{C}]
|
\item[\tb{C}]
|
||||||
Call (name) an individual monster.
|
Call (name) a monster, an individual object, or an object type.
|
||||||
|
Same as extended command ``{\tt \#name}''.
|
||||||
%.lp
|
%.lp
|
||||||
\item[\tb{\^{}C}]
|
\item[\tb{\^{}C}]
|
||||||
Panic button. Quit the game.
|
Panic button. Quit the game.
|
||||||
@@ -940,7 +941,7 @@ from a horse standing next to you.
|
|||||||
Use a monster's special ability (when polymorphed into monster form).
|
Use a monster's special ability (when polymorphed into monster form).
|
||||||
%.lp
|
%.lp
|
||||||
\item[\tb{\#name}]
|
\item[\tb{\#name}]
|
||||||
Name an item or type of object.
|
Name a monster, an individual object, or a type of object. Same as `{\tt C}'.
|
||||||
%.lp
|
%.lp
|
||||||
\item[\tb{\#offer}]
|
\item[\tb{\#offer}]
|
||||||
Offer a sacrifice to the gods.
|
Offer a sacrifice to the gods.
|
||||||
@@ -1080,6 +1081,9 @@ from a horse standing next to you. Same as ``{\tt \#loot}'' or ``{\tt M-l}''.
|
|||||||
%.lp
|
%.lp
|
||||||
\item[\tb{N}]
|
\item[\tb{N}]
|
||||||
Name an object or type of object. Same as ``{\tt \#name}'' or ``{\tt M-n}''.
|
Name an object or type of object. Same as ``{\tt \#name}'' or ``{\tt M-n}''.
|
||||||
|
Name a monster, an individual object, or a type of object. Same
|
||||||
|
as ``{\tt \#name}'' (or ``{\tt M-n}'') which is the same as the `{\tt C}'
|
||||||
|
command.
|
||||||
%.lp
|
%.lp
|
||||||
\item[\tb{u}]
|
\item[\tb{u}]
|
||||||
Untrap a trap, door, or chest. Same as ``{\tt \#untrap}'' or ``{\tt M-u}''.
|
Untrap a trap, door, or chest. Same as ``{\tt \#untrap}'' or ``{\tt M-u}''.
|
||||||
@@ -1263,7 +1267,8 @@ very well).
|
|||||||
%.pg
|
%.pg
|
||||||
The commands `{\tt /}' and `{\tt ;}' may be used to obtain information
|
The commands `{\tt /}' and `{\tt ;}' may be used to obtain information
|
||||||
about those
|
about those
|
||||||
monsters who are displayed on the screen. The command `{\tt C}' allows you
|
monsters who are displayed on the screen. The command ``{\tt \#name}'', or
|
||||||
|
its synonym `{\tt C}', allows you
|
||||||
to assign a name to a monster, which may be useful to help distinguish
|
to assign a name to a monster, which may be useful to help distinguish
|
||||||
one from another when multiple monsters are present. Assigning a name
|
one from another when multiple monsters are present. Assigning a name
|
||||||
which is just a space will remove any prior name.
|
which is just a space will remove any prior name.
|
||||||
@@ -1396,8 +1401,8 @@ When you use one of these objects, if its effect is obvious, {\it NetHack\/}
|
|||||||
will remember what it is for you. If its effect isn't extremely
|
will remember what it is for you. If its effect isn't extremely
|
||||||
obvious, you will be asked what you want to call this type of object
|
obvious, you will be asked what you want to call this type of object
|
||||||
so you will recognize it later. You can also use the ``{\tt \#name}''
|
so you will recognize it later. You can also use the ``{\tt \#name}''
|
||||||
command for the same purpose at any time, to name all objects of a
|
command, or its synonym `{\tt C}', for the same purpose at any time, to name
|
||||||
particular type or just an individual object.
|
all objects of a particular type or just an individual object.
|
||||||
When you use ``{\tt \#name}'' on an object which has already been named,
|
When you use ``{\tt \#name}'' on an object which has already been named,
|
||||||
specifying a space as the value will remove the prior name instead
|
specifying a space as the value will remove the prior name instead
|
||||||
of assigning a new one.
|
of assigning a new one.
|
||||||
|
|||||||
@@ -336,6 +336,7 @@ pile_limit option to control when to switch to "there are objects here"
|
|||||||
vs listing objects on floor when hero goes over objects while moving
|
vs listing objects on floor when hero goes over objects while moving
|
||||||
some monsters will use fire to prevent selves being turned into green slime
|
some monsters will use fire to prevent selves being turned into green slime
|
||||||
add `#vanquished' debug mode command
|
add `#vanquished' debug mode command
|
||||||
|
C and #name commands are now same and use menu to choose monster vs object
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific New Features
|
Platform- and/or Interface-Specific New Features
|
||||||
|
|||||||
Reference in New Issue
Block a user