Hero was poly'd into a hider monster and was swallowed by something.
Attempting to hide via '#monster' gave "You can't hide while you're
being held." It correctly blocked hiding due to u.ustuck but the
feedback ignored the possibility of u.ustuck+u.uswallow.
instead of bear trap; bear trap tile is still used on map though
thrown potion that killed peaceful monster would cause "the <mon> gets argry"
after the message about it being killed
+when poly'd into a hider and engulfed, attempt to hide via #monster was blocked
+ but feedback said "can't hide while held" rather than "while engulfed"
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
(except for floor hiders [trapper or mimic] in pits) */
if (u.ustuck || (u.utrap && (u.utraptype != TT_PIT || on_ceiling))) {
You_cant("hide while you're %s.",
- !u.ustuck ? "trapped" : !sticks(youmonst.data)
- ? "being held"
- : humanoid(u.ustuck->data)
- ? "holding someone"
- : "holding that creature");
+ !u.ustuck ? "trapped"
+ : u.uswallow ? (is_animal(u.ustuck->data) ? "swallowed"
+ : "engulfed")
+ : !sticks(youmonst.data) ? "being held"
+ : (humanoid(u.ustuck->data) ? "holding someone"
+ : "holding that creature"));
if (u.uundetected
|| (ismimic && youmonst.m_ap_type != M_AP_NOTHING)) {
u.uundetected = 0;