basic name of obj, as if it has been discovered; for some types of items, we can't just use OBJ_NAME() because it doesn't always include the class (for instance "light" when we want "spellbook of light"); minimal_xname() uses xname() to get that */
| 2487 | the class (for instance "light" when we want "spellbook of light"); |
| 2488 | minimal_xname() uses xname() to get that */ |
| 2489 | char * |
| 2490 | actualoname(struct obj *obj) |
| 2491 | { |
| 2492 | char *res; |
| 2493 | |
| 2494 | iflags.override_ID = TRUE; |
| 2495 | res = minimal_xname(obj); |
| 2496 | iflags.override_ID = FALSE; |
| 2497 | return res; |
| 2498 | } |
| 2499 | |
| 2500 | /* artifact's name without any object type or known/dknown/&c feedback */ |
| 2501 | char * |
no test coverage detected