OSDN Git Service

update year to 2020
[jnethack/source.git] / src / fountain.c
index 5884525..a61c176 100644 (file)
@@ -4,7 +4,7 @@
 
 /* JNetHack Copyright */
 /* (c) Issei Numata, Naoki Hamada, Shigehiro Miyashita, 1994-2000  */
-/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2019            */
+/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2020            */
 /* JNetHack may be freely redistributed.  See license for details. */
 
 /* Code for drinking from fountains. */
@@ -49,7 +49,7 @@ dowatersnakes()
 
     if (!(mvitals[PM_WATER_MOCCASIN].mvflags & G_GONE)) {
         if (!Blind)
-#if 0 /*JP*/
+#if 0 /*JP:T*/
             pline("An endless stream of %s pours forth!",
                   Hallucination ? makeplural(rndmonnam(NULL)) : "snakes");
 #else
@@ -96,7 +96,7 @@ dowaterdemon()
             /* Give those on low levels a (slightly) better chance of survival
              */
             if (rnd(100) > (80 + level_difficulty())) {
-#if 0 /*JP*/
+#if 0 /*JP:T*/
                 pline("Grateful for %s release, %s grants you a wish!",
                       mhis(mtmp), mhe(mtmp));
 #else
@@ -253,6 +253,7 @@ boolean isyou;
 */
                         verbalize("\82¨\82¢\81C\90ò\82ð\89\98\82·\82È\81I");
                     } else {
+#if 0 /*JP:T*/
                         pline("%s earnestly %s %s %s!",
                               Amonnam(mtmp),
                               nolimbs(mtmp->data) ? "shakes" : "waves",
@@ -260,6 +261,13 @@ boolean isyou;
                               nolimbs(mtmp->data)
                                       ? mbodypart(mtmp, HEAD)
                                       : makeplural(mbodypart(mtmp, ARM)));
+#else
+                        pline("%s\82Í\90^\8c\95\82É%s\82ð\90U\82Á\82½\81I",
+                              Amonnam(mtmp),
+                              nolimbs(mtmp->data)
+                                      ? mbodypart(mtmp, HEAD)
+                                      : makeplural(mbodypart(mtmp, ARM)));
+#endif
                     }
                     break;
                 }
@@ -484,7 +492,7 @@ drinkfountain()
             dogushforth(TRUE);
             break;
         default:
-#if 0 /*JP*/
+#if 0 /*JP:T*/
             pline("This tepid %s is tasteless.",
                   hliquid("water"));
 #else
@@ -516,7 +524,7 @@ register struct obj *obj;
         && !exist_artifact(LONG_SWORD, artiname(ART_EXCALIBUR))) {
         if (u.ualign.type != A_LAWFUL) {
             /* Ha!  Trying to cheat her. */
-#if 0 /*JP*/
+#if 0 /*JP:T*/
             pline("A freezing mist rises from the %s and envelopes the sword.",
                   hliquid("water"));
 #else
@@ -750,7 +758,7 @@ drinksink()
         else {
             mtmp = makemon(&mons[PM_SEWER_RAT], u.ux, u.uy, NO_MM_FLAGS);
             if (mtmp)
-#if 0 /*JP*/
+#if 0 /*JP:T*/
                 pline("Eek!  There's %s in the sink!",
                       (Blind || !canspotmon(mtmp)) ? "something squirmy"
                                                    : a_monnam(mtmp));
@@ -770,7 +778,7 @@ drinksink()
             }
         } while (!otmp);
         otmp->cursed = otmp->blessed = 0;
-#if 0 /*JP*/
+#if 0 /*JP:T*/
         pline("Some %s liquid flows from the faucet.",
               Blind ? "odd" : hcolor(OBJ_DESCR(objects[otmp->otyp])));
 #else
@@ -867,7 +875,7 @@ drinksink()
         }
         /*FALLTHRU*/
     default:
-#if 0 /*JP*/
+#if 0 /*JP:T*/
         You("take a sip of %s %s.",
             rn2(3) ? (rn2(2) ? "cold" : "warm") : "hot",
             hliquid("water"));