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

Function picking_at

src/lock.c:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29boolean
30picking_at(coordxy x, coordxy y)
31{
32 return (boolean) (go.occupation == picklock
33 && gx.xlock.door == &levl[x][y]);
34}
35
36/* produce an occupation string appropriate for the current activity */
37staticfn const char *

Callers 3

doorlockFunction · 0.85
zap_over_floorFunction · 0.85
repair_damageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected