identify_pack (trunk only)
Three years ago <email deleted> reported that
stepping off the end of inventory via typing space to go to the next menu
page wasted his identify scroll. He suggested that some people might do
that because they don't know how to back up in a multi-page menu. I
pointed out the Guidebook section that describes < and ^ to go back one
page or back to start and left things at that. However, traditional mode
reprompts if you step through all of inventory without choosing something,
so this changes identify-via-menu to do likewise. You can dismiss the
menu with ESC to really avoid choosing anything.
This also makes identification of N items when you're carrying N or
fewer unID'd things behave the same as identify all: identify everything
without any prompting.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)hack.h 3.5 2008/01/30 */
|
||||
/* SCCS Id: @(#)hack.h 3.5 2008/02/15 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -221,7 +221,8 @@ NEARDATA extern coord bhitpos; /* place where throw or zap hits or stops */
|
||||
#define USE_INVLET 0x4 /* use object's invlet */
|
||||
#define INVORDER_SORT 0x8 /* sort objects by packorder */
|
||||
#define SIGNAL_NOMENU 0x10 /* return -1 rather than 0 if none allowed */
|
||||
#define FEEL_COCKATRICE 0x20 /* engage cockatrice checks and react */
|
||||
#define SIGNAL_ESCAPE 0x20 /* return -2 rather than 0 for ESC */
|
||||
#define FEEL_COCKATRICE 0x40 /* engage cockatrice checks and react */
|
||||
|
||||
/* Flags to control query_category() */
|
||||
/* BY_NEXTHERE used by query_category() too, so skip 0x01 */
|
||||
|
||||
Reference in New Issue
Block a user