how hero feels "inside" after self-genocide of role or race */
| 2270 | |
| 2271 | /* how hero feels "inside" after self-genocide of role or race */ |
| 2272 | const char * |
| 2273 | udeadinside(void) |
| 2274 | { |
| 2275 | /* self-genocide used to always say "you feel dead inside" but that |
| 2276 | seems silly when you're polymorphed into something undead; |
| 2277 | monkilled() distinguishes between living (killed) and non (destroyed) |
| 2278 | for monster death message; we refine the nonliving aspect a bit */ |
| 2279 | return !nonliving(gy.youmonst.data) |
| 2280 | ? "dead" /* living, including demons */ |
| 2281 | : !weirdnonliving(gy.youmonst.data) |
| 2282 | ? "condemned" /* undead plus manes */ |
| 2283 | : "empty"; /* golems plus vortices */ |
| 2284 | } |
| 2285 | |
| 2286 | /*polyself.c*/ |
no outgoing calls
no test coverage detected