MCPcopy Index your code
hub / github.com/NetHack/NetHack / unconscious

Function unconscious

src/trap.c:6775–6786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6773}
6774
6775boolean
6776unconscious(void)
6777{
6778 if (gm.multi >= 0)
6779 return FALSE;
6780
6781 return (u.usleep
6782 || (gn.nomovemsg
6783 && (!strncmp(gn.nomovemsg, "You awake", 9)
6784 || !strncmp(gn.nomovemsg, "You regain con", 14)
6785 || !strncmp(gn.nomovemsg, "You are consci", 14))));
6786}
6787
6788static const char lava_killer[] = "molten lava";
6789

Callers 8

unresponsiveFunction · 0.85
mhitm_ad_tlptFunction · 0.85
scrollteleFunction · 0.85
nh_timeoutFunction · 0.85
pickupFunction · 0.85
trapeffect_landmineFunction · 0.85
you_aggravateFunction · 0.85
botl.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected