wiz_identify change (trunk only)

This patch alters wiz_identify so that it displays an
inventory menu with all items shown identified
without actually identifying them.

You can just press ^I (or whatever the wiz_identify command
is) a second time, while the menu is displayed to actually identify
them (tested with TTY menus only).
This commit is contained in:
nethack.allison
2006-01-14 17:02:22 +00:00
parent 40b426a977
commit 70b04bfb6e
5 changed files with 116 additions and 56 deletions

View File

@@ -1176,7 +1176,7 @@ char *buf;
else if (mnum == NON_PM)
Strcpy(buf, "empty tin");
else {
if (obj->cknown && obj->spe < 0) {
if ((obj->cknown || iflags.override_ID) && obj->spe < 0) {
int r = tin_variety(obj, TRUE);
if (r == ROTTEN_TIN || r == HOMEMADE_TIN) {
/* put these before the word tin */