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:
+1
-2
@@ -1,5 +1,4 @@
|
||||
/* NetHack 3.5 invent.c $Date$ $Revision$ */
|
||||
/* SCCS Id: @(#)invent.c 3.5 2008/10/19 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -2859,7 +2858,7 @@ long numused;
|
||||
STATIC_VAR NEARDATA const char *names[] = { 0,
|
||||
"Illegal objects", "Weapons", "Armor", "Rings", "Amulets",
|
||||
"Tools", "Comestibles", "Potions", "Scrolls", "Spellbooks",
|
||||
"Wands", "Coins", "Gems", "Boulders/Statues", "Iron balls",
|
||||
"Wands", "Coins", "Gems/Stones", "Boulders/Statues", "Iron balls",
|
||||
"Chains", "Venoms"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user