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

Function onshopbill

src/shk.c:1159–1163  ·  view source on GitHub ↗

used outside of shk.c when caller wants to know whether item is on bill but doesn't need to know any details about the bill itself */

Source from the content-addressed store, hash-verified

1157/* used outside of shk.c when caller wants to know whether item is on bill
1158 but doesn't need to know any details about the bill itself */
1159boolean
1160onshopbill(struct obj *obj, struct monst *shkp, boolean silent)
1161{
1162 return onbill(obj, shkp, silent) ? TRUE : FALSE;
1163}
1164
1165/* check whether an object or any of its contents belongs to a shop */
1166boolean

Callers 4

rloc_to_coreFunction · 0.85
dopushFunction · 0.85
shop_obj_sanityFunction · 0.85
find_objownerFunction · 0.85

Calls 1

onbillFunction · 0.85

Tested by

no test coverage detected