Better feedback for monster falling into a hole

... or a trap door. The trap is immediately identified anyway,
so just name the trap in the message.
This commit is contained in:
Pasi Kallinen
2022-08-12 18:17:27 +03:00
parent 1a5cd08b32
commit fc3729d249

View File

@@ -1589,7 +1589,10 @@ mlevel_tele_trap(
}
if (in_sight) {
pline("Suddenly, %s disappears out of sight.", mon_nam(mtmp));
pline("Suddenly, %s %s.", mon_nam(mtmp),
(tt == HOLE) ? "falls into a hole"
: (tt == TRAPDOOR) ? "falls through a trap door"
: "disappears out of sight");
if (trap)
seetrap(trap);
}