]> granicus.if.org Git - nethack/commitdiff
slippery fingers
authorPatR <rankin@nethack.org>
Fri, 21 Jan 2022 00:31:34 +0000 (16:31 -0800)
committerPatR <rankin@nethack.org>
Fri, 21 Jan 2022 00:31:34 +0000 (16:31 -0800)
When the hero has the Glib condition, ^X reports "you have slippery
fingers" or "you have slippery gloves" but self-probing (either wand
or stethoscope aimed at self) was reporting "you have slippery hands."
Change self-probing to match enlightenment for this.

doc/fixes37.0
src/insight.c

index 559169e253a8987e5e0315074051411e617263fb..b0725fac5f4c27fb32bfd43ea0d9f59bd86c9faa 100644 (file)
@@ -751,6 +751,8 @@ change movement keys and some special keys into extended commands
 "WHAMMM!!!" feedback when kicking a door suggests noise so if hero is deaf an
        alternate message should be given
 fix typo in message shown when hero sees a monster's wet towel become drier
+for hero with slippery fingers, enlightenment reports "slippery fingers" or
+       "slippery gloves" but self-probing described it as "slippery hands"
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
index 4314304e7c88a20df4d625ba5b38a3c8aac4fd94..5b789418b0e424b43c0974d42348e48291c7aac1 100644 (file)
@@ -2928,7 +2928,7 @@ ustatusline(void)
         Sprintf(eos(info), ", injured %s", what);
     }
     if (Glib)
-        Sprintf(eos(info), ", slippery %s", makeplural(body_part(HAND)));
+        Sprintf(eos(info), ", slippery %s", fingers_or_gloves(TRUE));
     if (u.utrap)
         Strcat(info, ", trapped");
     if (Fast)