B05002 can open bag then cannot loot it
> Trying to loot a bag on the floor while wielding a cursed > quarterstaff: "You carefully open the bag... You have no free hand." > Shouldn't I notice that I have no free hand before even trying? add freehand() check to able_to_loot()
This commit is contained in:
@@ -1437,6 +1437,10 @@ boolean looting; /* loot vs tip */
|
||||
} else if (nolimbs(youmonst.data)) {
|
||||
pline("Without limbs, you cannot %s anything.", verb);
|
||||
return FALSE;
|
||||
} else if (!freehand()) {
|
||||
pline("Without a free %s, you cannot loot anything.",
|
||||
body_part(HAND));
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user