Accessibility: Add location info to messages
Adds a new boolean option, accessiblemsg. If on, some game messages are prefixed with direction or location information, for example: (west): The newt bites! (northwest): You find a hidden door. I added the info to the most common messages, but several are still missing it.
This commit is contained in:
@@ -1023,7 +1023,7 @@ thrwmu(struct monst* mtmp)
|
||||
|
||||
if (canseemon(mtmp)) {
|
||||
onm = xname(otmp);
|
||||
pline("%s %s %s.", Monnam(mtmp),
|
||||
pline_xy(mtmp->mx, mtmp->my, "%s %s %s.", Monnam(mtmp),
|
||||
/* "thrusts" or "swings", or "bashes with" if adjacent */
|
||||
mswings_verb(otmp, (rang <= 2) ? TRUE : FALSE),
|
||||
obj_is_pname(otmp) ? the(onm) : an(onm));
|
||||
|
||||
Reference in New Issue
Block a user