more things considered when you're on the brink

This commit is contained in:
nhmall
2019-11-29 11:14:55 -05:00
parent 059e0277ff
commit fd7d0f5d52
9 changed files with 31 additions and 15 deletions

View File

@@ -2635,8 +2635,10 @@ pickup_checks()
}
if (!can_reach_floor(TRUE)) {
struct trap *traphere = t_at(u.ux, u.uy);
if (traphere && uteetering_at_seen_pit(traphere))
You("cannot reach the bottom of the pit.");
if (traphere
&& (uteetering_at_seen_pit(traphere) || uescaped_shaft(traphere)))
You("cannot reach the bottom of the %s.",
is_pit(traphere->ttyp) ? "pit" : "abyss");
else if (u.usteed && P_SKILL(P_RIDING) < P_BASIC)
rider_cant_reach();
else if (Blind && !can_reach_floor(TRUE))