Accessibility: give a message when teleporting a monster
Teleporting a monster only updated the map. Give a message so blind players can get the same information. Making a monster invisible gives the same message, if you cannot detect invisible. Several other places where monsters teleported themselves now also give the same message.
This commit is contained in:
@@ -233,7 +233,7 @@ expels(struct monst *mtmp,
|
||||
}
|
||||
}
|
||||
unstuck(mtmp); /* ball&chain returned in unstuck() */
|
||||
mnexto(mtmp);
|
||||
mnexto(mtmp, RLOC_NOMSG);
|
||||
newsym(u.ux, u.uy);
|
||||
spoteffects(TRUE);
|
||||
/* to cover for a case where mtmp is not in a next square */
|
||||
@@ -1885,7 +1885,7 @@ doseduce(struct monst *mon)
|
||||
/* else no regret message if can't see or hear seducer */
|
||||
|
||||
if (!tele_restrict(mon))
|
||||
(void) rloc(mon, TRUE);
|
||||
(void) rloc(mon, RLOC_MSG);
|
||||
return 1;
|
||||
}
|
||||
if (u.ualign.type == A_CHAOTIC)
|
||||
@@ -2018,7 +2018,7 @@ doseduce(struct monst *mon)
|
||||
if (!rn2(25))
|
||||
mon->mcan = 1; /* monster is worn out */
|
||||
if (!tele_restrict(mon))
|
||||
(void) rloc(mon, TRUE);
|
||||
(void) rloc(mon, RLOC_MSG);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user