enlightenment

Give more information about your attributes in debug mode
via Control-X.

I'd like to see some way of getting bits of this info to the
player during the game (from the Oracle or something),
but this patch keeps it limited to debug mode.
This commit is contained in:
nethack.allison
2004-06-01 05:22:28 +00:00
parent 71ffb22812
commit e523b6accc
6 changed files with 341 additions and 117 deletions

View File

@@ -1256,6 +1256,16 @@ struct obj *obj;
return s;
}
char *
bare_artifactname(obj)
struct obj *obj;
{
char *outbuf = nextobuf();
if (obj->oartifact) Strcpy(outbuf, artiname(obj->oartifact));
else Strcpy(outbuf, xname(obj));
return outbuf;
}
static const char *wrp[] = {
"wand", "ring", "potion", "scroll", "gem", "amulet",
"spellbook", "spell book",