| 2495 | }; |
| 2496 | |
| 2497 | staticfn const char * |
| 2498 | foodword(struct obj *otmp) |
| 2499 | { |
| 2500 | if (otmp->oclass == FOOD_CLASS) |
| 2501 | return "food"; |
| 2502 | if (otmp->oclass == GEM_CLASS && objects[otmp->otyp].oc_material == GLASS |
| 2503 | && otmp->dknown) |
| 2504 | makeknown(otmp->otyp); |
| 2505 | return foodwords[objects[otmp->otyp].oc_material]; |
| 2506 | } |
| 2507 | |
| 2508 | /* called after consuming (non-corpse) food */ |
| 2509 | staticfn void |
no outgoing calls
no test coverage detected