Additional obstruction messaging fixup
This commit is contained in:
+12
-5
@@ -627,14 +627,21 @@ register int x, y;
|
|||||||
boolean quietly;
|
boolean quietly;
|
||||||
{
|
{
|
||||||
register struct monst *mtmp = m_at(x, y);
|
register struct monst *mtmp = m_at(x, y);
|
||||||
boolean is_worm_tail = ((mtmp->mx != x) || (mtmp->my != y));
|
|
||||||
|
|
||||||
if(mtmp && mtmp->m_ap_type != M_AP_FURNITURE) {
|
if(mtmp && mtmp->m_ap_type != M_AP_FURNITURE) {
|
||||||
if (mtmp->m_ap_type == M_AP_OBJECT) goto objhere;
|
if (mtmp->m_ap_type == M_AP_OBJECT) goto objhere;
|
||||||
if (!quietly) pline("%s %s in the way!",
|
if (!quietly) {
|
||||||
is_worm_tail ? "Something" :
|
if ((mtmp->mx != x) || (mtmp->my != y)) {
|
||||||
!canspotmon(mtmp) ? "Some creature" : Monnam(mtmp),
|
/* worm tail */
|
||||||
slithy(mtmp->data) ? "is situated" : "stands");
|
pline("%s%s blocks the way!",
|
||||||
|
!canspotmon(mtmp) ? Something :
|
||||||
|
s_suffix(Monnam(mtmp)),
|
||||||
|
!canspotmon(mtmp) ? "" : " tail");
|
||||||
|
} else {
|
||||||
|
pline("%s blocks the way!",
|
||||||
|
!canspotmon(mtmp) ? "Some creature" : Monnam(mtmp));
|
||||||
|
}
|
||||||
|
}
|
||||||
if (!canspotmon(mtmp))
|
if (!canspotmon(mtmp))
|
||||||
map_invisible(x, y);
|
map_invisible(x, y);
|
||||||
return(TRUE);
|
return(TRUE);
|
||||||
|
|||||||
Reference in New Issue
Block a user