| 523 | } |
| 524 | |
| 525 | boolean |
| 526 | interesting_to_discover(int i) |
| 527 | { |
| 528 | /* most players who don't speak Japanese manage to figure out what |
| 529 | gunyoki, osaku, and so forth mean, but treat them as pre-discovered |
| 530 | to be disclosed by '\' */ |
| 531 | if (Role_if(PM_SAMURAI) && Japanese_item_name(i, (const char *) 0)) |
| 532 | return TRUE; |
| 533 | |
| 534 | /* Objects that were discovered without encountering them are now printed |
| 535 | with a '*' */ |
| 536 | return (boolean) (objects[i].oc_uname != (char *) 0 |
| 537 | || ((objects[i].oc_name_known |
| 538 | || objects[i].oc_encountered) |
| 539 | && OBJ_DESCR(objects[i]) != (char *) 0)); |
| 540 | } |
| 541 | |
| 542 | /* items that should stand out once they're known */ |
| 543 | static const short uniq_objs[] = { |
no test coverage detected