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:
@@ -112,6 +112,7 @@ stone-to-flesh of spot with multiple statues can animate more than one
|
||||
use of stethoscope now deliberately impacted when hero is engulfed by whirly
|
||||
monster but fixed so it can sometimes work on your steed there too
|
||||
typos fixed in data.base
|
||||
add freehand() check to able_to_loot()
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -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