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:
@@ -78,6 +78,7 @@ extern int NDECL(doopen); /**/
|
||||
extern int NDECL(doclose); /**/
|
||||
extern int NDECL(dosh); /**/
|
||||
extern int NDECL(dodiscovered); /**/
|
||||
extern int NDECL(doclassdisco); /**/
|
||||
extern int NDECL(doset); /**/
|
||||
extern int NDECL(dotogglepickup); /**/
|
||||
extern int NDECL(dowhatis); /**/
|
||||
@@ -2261,6 +2262,7 @@ static const struct func_tab cmdlist[] = {
|
||||
{';', TRUE, doquickwhatis},
|
||||
{'^', TRUE, doidtrap},
|
||||
{'\\', TRUE, dodiscovered}, /* Robert Viduya */
|
||||
{'`', TRUE, doclassdisco},
|
||||
{'@', TRUE, dotogglepickup},
|
||||
{M('2'), FALSE, dotwoweapon},
|
||||
{WEAPON_SYM, TRUE, doprwep},
|
||||
|
||||
Reference in New Issue
Block a user