[forwarded from newsgroup]
When polymorphed into a handless monster, you can't loot a chest
that's on the ground but you can pick it up and then apply it when
it's in your inventory.
menu_on_request;
emptymsg[0] = '\0';
+ if (nohands(youmonst.data)) {
+ You("have no hands!"); /* not `body_part(HAND)' */
+ return 0;
+ } else if (!freehand()) {
+ You("have no free %s.", body_part(HAND));
+ return 0;
+ }
if (obj->olocked) {
pline("%s to be locked.", Tobjnam(obj, "seem"));
if (held) You("must put it down to unlock.");