scroll labeling while blind #986
Adjust the wording a little as discussed in #986. Close #986.
This commit is contained in:
@@ -241,6 +241,8 @@ mreadmsg(struct monst *mtmp, struct obj *otmp)
|
||||
/* directly see the monster reading the scroll */
|
||||
pline("%s reads %s!", Monnam(mtmp), onambuf);
|
||||
} else {
|
||||
char blindbuf[BUFSZ];
|
||||
|
||||
boolean m_is_like_u = (!Hallucination
|
||||
&& same_race(gy.youmonst.data, mtmp->data));
|
||||
/* describe the unseen monster accurately if it is similar to the
|
||||
@@ -254,9 +256,11 @@ mreadmsg(struct monst *mtmp, struct obj *otmp)
|
||||
if (couldsee(mtmp->mx, mtmp->my) && mdistu(mtmp) <= 10 * 10)
|
||||
map_invisible(mtmp->mx, mtmp->my);
|
||||
|
||||
You_hear("%s reading %s.",
|
||||
Snprintf(blindbuf, sizeof blindbuf, "reading %s.", onambuf);
|
||||
strsubst(blindbuf, "reading a scroll labeled", "incant");
|
||||
You_hear("%s %s.",
|
||||
x_monnam(mtmp, ARTICLE_A, (char *) 0, mflags, FALSE),
|
||||
onambuf);
|
||||
blindbuf);
|
||||
}
|
||||
if (mtmp->mconf)
|
||||
pline("Being confused, %s mispronounces the magic words...",
|
||||
|
||||
Reference in New Issue
Block a user