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

Function angry_shk_exists

src/shk.c:1330–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328}
1329
1330staticfn boolean
1331angry_shk_exists(void)
1332{
1333 struct monst *shkp;
1334
1335 for (shkp = next_shkp(fmon, FALSE); shkp;
1336 shkp = next_shkp(shkp->nmon, FALSE))
1337 if (ANGRY(shkp))
1338 return TRUE;
1339 return FALSE;
1340}
1341
1342/* remove previously applied surcharge from all billed items */
1343staticfn void

Callers 1

make_happy_shoppersFunction · 0.85

Calls 1

next_shkpFunction · 0.85

Tested by

no test coverage detected