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

Function danger_uprops

src/do.c:2318–2322  ·  view source on GitHub ↗

return TRUE if hero properties are dangerous to hero */

Source from the content-addressed store, hash-verified

2316
2317/* return TRUE if hero properties are dangerous to hero */
2318staticfn boolean
2319danger_uprops(void)
2320{
2321 return (Stoned || Slimed || Strangled || Sick);
2322}
2323
2324boolean
2325cmd_safety_prevention(const char *ucverb, const char *cmddesc,

Callers 1

cmd_safety_preventionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected