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:
10
src/objnam.c
10
src/objnam.c
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user