new command '`' to show discoveries for one class (trunk only)

Use the grave accent (back tick) character as the keystroke for a
new command which prompts for an object class and then shows a subset of
the discovered objects list covering just the selected class.  Similar
to the 'I' variant of 'i' for viewing inventory, and mainly useful once
the '\' discoveries list has grown long.
This commit is contained in:
nethack.rankin
2011-09-15 04:16:29 +00:00
parent b42cc3bdb0
commit 16e81690e3
11 changed files with 195 additions and 9 deletions
+1
View File
@@ -82,6 +82,7 @@ Z Zap (cast) a spell
& Tell what a command does
! Do a shell escape (only if defined)
\ Show what object types have been discovered
` Show discovered types for one class of objects
_ Travel via a shortest-path algorithm to a point on the map
. Rest one move while doing nothing
Rest one move while doing nothing (if rest_on_space option is on)
+1
View File
@@ -166,6 +166,7 @@ Commands:
$ Count your gold pieces.
+ List the spells you know; also rearrange them if desired.
\ Show what types of objects have been discovered.
` Show discovered types for one class of objects.
! Escape to a shell, if supported in your version and OS.
# Introduces one of the "extended" commands. To get a list of
the commands you can use with "#" type "#?". The extended
+1
View File
@@ -79,6 +79,7 @@ Z Zap cast a spell (use Y instead of Z if number_pad is -1)
* ask for combination of ),[,=,",( all at once
$ gold count your gold
+ spells list the spells you know; also rearrange them if desired
` classkn display known items for one class of objects
_ travel move via a shortest-path algorithm to a point on the map
. rest wait a moment
, pickup pick up all you can carry