]> granicus.if.org Git - nethack/commitdiff
corpse eating feedback
authorPatR <rankin@nethack.org>
Fri, 2 Sep 2016 01:26:09 +0000 (18:26 -0700)
committerPatR <rankin@nethack.org>
Fri, 2 Sep 2016 01:26:09 +0000 (18:26 -0700)
Eating a corpse and being told that it "tastes okay" (relatively
recent change so that omnivores don't find the taste of everything
to be "terrible") doesn't warrant an exclamation point.

src/eat.c

index ff5390496ce9ebe712fda514c15e9994dd03b919..f827d71c00bd6a3eeb3df8db81ae662cfbac67cc 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -1675,20 +1675,18 @@ struct obj *otmp;
 
         if (!strncmpi(pmxnam, "the ", 4))
             pmxnam += 4;
-        pline("%s%s %s!",
+        pline("%s%s %s %s%c",
               type_is_pname(&mons[mnum])
-                  ? "" : the_unique_pm(&mons[mnum]) ? "The " : "This ",
+                 ? "" : the_unique_pm(&mons[mnum]) ? "The " : "This ",
               pmxnam,
+              Hallucination ? "is" : "tastes",
                   /* tiger reference is to TV ads for "Frosted Flakes",
                      breakfast cereal targeted at kids by "Tony the tiger" */
               Hallucination
-                  ? (yummy ? ((u.umonnum == PM_TIGER) ? "is gr-r-reat"
-                                                      : "is gnarly")
-                           : palatable ? "is copacetic"
-                                       : "is grody")
-                  : (yummy ? "tastes delicious"
-                           : palatable ? "tastes okay"
-                                       : "tastes terrible"));
+                 ? (yummy ? ((u.umonnum == PM_TIGER) ? "gr-r-reat" : "gnarly")
+                          : palatable ? "copacetic" : "grody")
+                 : (yummy ? "delicious" : palatable ? "okay" : "terrible"),
+              (yummy || !palatable) ? '!' : '.');
     }
 
     return retcode;