Message locations for Monster creation and teleporting
This commit is contained in:
@@ -1466,13 +1466,15 @@ makemon(
|
||||
mhidden_description(mtmp, FALSE, mbuf);
|
||||
what = upstart(strsubst(mbuf, ", mimicking ", ""));
|
||||
}
|
||||
if (what)
|
||||
if (what) {
|
||||
set_msg_xy(mtmp->mx, mtmp->my);
|
||||
Norep("%s%s appears%s%c", what,
|
||||
exclaim ? " suddenly" : "",
|
||||
next2u(x, y) ? " next to you"
|
||||
: (distu(x, y) <= (BOLT_LIM * BOLT_LIM)) ? " close by"
|
||||
: "",
|
||||
exclaim ? '!' : '.');
|
||||
}
|
||||
}
|
||||
/* if discernable and a threat, stop fiddling while Rome burns */
|
||||
if (go.occupation)
|
||||
|
||||
@@ -1613,6 +1613,7 @@ rloc_to_core(
|
||||
const char *next = (du <= 2) ? " next to you" : 0, /* next2u() */
|
||||
*nearu = (du <= BOLT_LIM * BOLT_LIM) ? " close by" : 0;
|
||||
|
||||
set_msg_xy(x, y);
|
||||
mtmp->mstrategy &= ~STRAT_APPEARMSG; /* one chance only */
|
||||
if (telemsg && (couldsee(x, y) || sensemon(mtmp))) {
|
||||
pline("%s vanishes and reappears%s.",
|
||||
|
||||
Reference in New Issue
Block a user