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

Function u_handsy

src/pickup.c:2942–2953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2940}
2941
2942boolean
2943u_handsy(void)
2944{
2945 if (nohands(gy.youmonst.data)) {
2946 You("have no hands!"); /* not `body_part(HAND)' */
2947 return FALSE;
2948 } else if (!freehand()) {
2949 You("have no free %s.", body_part(HAND));
2950 return FALSE;
2951 }
2952 return TRUE;
2953}
2954
2955/* getobj callback for object to be stashed into a container */
2956staticfn int

Callers 3

use_saddleFunction · 0.85
use_containerFunction · 0.85
tipcontainer_gettargetFunction · 0.85

Calls 3

YouFunction · 0.85
freehandFunction · 0.85
body_partFunction · 0.85

Tested by

no test coverage detected