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

Function ckunpaid

src/invent.c:2142–2146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2140}
2141
2142staticfn int
2143ckunpaid(struct obj *otmp)
2144{
2145 return (otmp->unpaid || (Has_contents(otmp) && count_unpaid(otmp->cobj)));
2146}
2147
2148boolean
2149wearing_armor(void)

Callers

nothing calls this directly

Calls 1

count_unpaidFunction · 0.85

Tested by

no test coverage detected