more deafness-related message corrections

This commit is contained in:
nhmall
2019-11-04 00:36:54 -05:00
parent c92544750a
commit 93f95dd051
4 changed files with 16 additions and 5 deletions
+1
View File
@@ -213,6 +213,7 @@ when entering Astral level, initial rendering of guardian angel didn't show
fix a leashed pet polymorphed into a long worm staying leashed fix a leashed pet polymorphed into a long worm staying leashed
prevent leashing unsolid monsters and monsters with no extremities prevent leashing unsolid monsters and monsters with no extremities
playing musical instruments gave feedback which ignored deafness playing musical instruments gave feedback which ignored deafness
some other deafness-related message corrections
Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository
+10 -3
View File
@@ -1197,9 +1197,16 @@ dokick()
exercise(A_DEX, TRUE); exercise(A_DEX, TRUE);
return 1; return 1;
} else if (!rn2(3)) { } else if (!rn2(3)) {
pline("Flupp! %s.", if (Blind && Deaf)
(Blind ? "You hear a sloshing sound" Sprintf(buf, " %s", body_part(FACE));
: "Muddy waste pops up from the drain")); else
buf[0] = '\0';
pline("%s%s%s.", !Deaf ? "Flupp! " : "",
!Blind
? "Muddy waste pops up from the drain"
: !Deaf
? "You hear a sloshing sound"
: "Something splashes you in the", buf);
if (!(maploc->looted & S_LRING)) { /* once per sink */ if (!(maploc->looted & S_LRING)) { /* once per sink */
if (!Blind) if (!Blind)
You_see("a ring shining in its midst."); You_see("a ring shining in its midst.");
+2 -1
View File
@@ -2989,8 +2989,9 @@ boolean peaceful, silent;
if (canseemon(shkp)) { if (canseemon(shkp)) {
Norep("%s booms: \"%s, you are a thief!\"", Norep("%s booms: \"%s, you are a thief!\"",
Shknam(shkp), plname); Shknam(shkp), plname);
} else } else if (!Deaf) {
Norep("You hear a scream, \"Thief!\""); Norep("You hear a scream, \"Thief!\"");
}
} }
hot_pursuit(shkp); hot_pursuit(shkp);
(void) angry_guards(FALSE); (void) angry_guards(FALSE);
+3 -1
View File
@@ -4441,7 +4441,9 @@ short exploding_wand_typ;
if (is_ice(x, y)) { if (is_ice(x, y)) {
melt_ice(x, y, (char *) 0); melt_ice(x, y, (char *) 0);
} else if (is_pool(x, y)) { } else if (is_pool(x, y)) {
const char *msgtxt = "You hear hissing gas."; const char *msgtxt = (!Deaf)
? "You hear hissing gas."
: "That seemed remarkably uneventful.";
if (lev->typ != POOL) { /* MOAT or DRAWBRIDGE_UP */ if (lev->typ != POOL) { /* MOAT or DRAWBRIDGE_UP */
if (see_it) if (see_it)