MCPcopy Create free account
hub / github.com/NetHack/NetHack / udeadinside

Function udeadinside

src/polyself.c:2272–2284  ·  view source on GitHub ↗

how hero feels "inside" after self-genocide of role or race */

Source from the content-addressed store, hash-verified

2270
2271/* how hero feels "inside" after self-genocide of role or race */
2272const char *
2273udeadinside(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*/

Callers 4

welcomeFunction · 0.85
status_enlightenmentFunction · 0.85
do_class_genocideFunction · 0.85
do_genocideFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected