statue patch (trunk only)
Pat wrote: > <Someone> has a patch (we've added a couple of > his earlier ones) which changes the statue display from a single > one size fits all "`" to a gray monster symbol instead. > But I think the idea is a good one, and along with the > bouldersym option could make the fairly hard to > distinguish back-tick character go away. Sources tagged before applying NETHACK_PRE_STATUE, and afterwards with NETHACK_POST_STATUE for easy rollback.
This commit is contained in:
17
src/sounds.c
17
src/sounds.c
@@ -959,6 +959,23 @@ dochat()
|
||||
tx = u.ux+u.dx; ty = u.uy+u.dy;
|
||||
mtmp = m_at(tx, ty);
|
||||
|
||||
if ((!mtmp || mtmp->mundetected) &&
|
||||
(otmp = vobj_at(tx, ty)) && otmp->otyp == STATUE) {
|
||||
|
||||
/* Talking to a statue */
|
||||
|
||||
if (!Blind) {
|
||||
if (Hallucination) {
|
||||
/* if you're hallucinating, you can't tell it's a statue */
|
||||
pline_The("%s seems not to notice you.", rndmonnam());
|
||||
}
|
||||
else {
|
||||
pline_The("statue seems not to notice you.");
|
||||
}
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
if (!mtmp || mtmp->mundetected ||
|
||||
mtmp->m_ap_type == M_AP_FURNITURE ||
|
||||
mtmp->m_ap_type == M_AP_OBJECT)
|
||||
|
||||
Reference in New Issue
Block a user