OSDN Git Service

fix #36370
authorSHIRAKATA Kentaro <argrath@ub32.org>
Fri, 20 Jan 2017 09:44:04 +0000 (18:44 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Fri, 20 Jan 2017 09:44:04 +0000 (18:44 +0900)
22 files changed:
src/apply.c
src/artifact.c
src/detect.c
src/dig.c
src/do_wear.c
src/dothrow.c
src/eat.c
src/hack.c
src/mcastu.c
src/mhitu.c
src/pickup.c
src/polyself.c
src/potion.c
src/pray.c
src/priest.c
src/sounds.c
src/spell.c
src/steal.c
src/timeout.c
src/topten.c
src/trap.c
src/uhitm.c

index 3fb52d7..e018ec0 100644 (file)
@@ -1078,7 +1078,10 @@ struct obj *obj;
                         pline("\82¨\82ì\81I\82 \82È\82½\82Í\93®\82¯\82È\82­\82È\82Á\82½\81I");
                     if (!Hallucination || !rn2(4)) {
                         nomul(-rnd(MAXULEV + 6 - u.ulevel));
+/*JP
                         multi_reason = "gazing into a mirror";
+*/
+                        multi_reason = "\8b¾\82É\94½\8eË\82µ\82½\8e\8b\90ü\82Å\8dd\92¼\82µ\82Ä\82¢\82é\8aÔ\82É";
                     }
                     nomovemsg = 0; /* default, "you can move again" */
                 }
@@ -2257,7 +2260,10 @@ int magic; /* 0=Physical, otherwise skill level */
         teleds(cc.x, cc.y, TRUE);
         sokoban_guilt();
         nomul(-1);
+/*JP
         multi_reason = "jumping around";
+*/
+        multi_reason = "\92µ\82Ë\89ñ\82Á\82Ä\82¢\82é\8e\9e\82É";
         nomovemsg = "";
         morehungry(rnd(25));
         return 1;
index bf2cbd0..db6e4cc 100644 (file)
@@ -1092,7 +1092,10 @@ char *hittee;              /* target's name: "you" or mon_nam(mdef) */
                 resisted = TRUE;
             } else {
                 nomul(-3);
+/*JP
                 multi_reason = "being scared stiff";
+*/
+                multi_reason = "\8b°\95|\82Å\98T\94\82\82µ\82½\8c\84\82É";
                 nomovemsg = "";
                 if (magr && magr == u.ustuck && sticks(youmonst.data)) {
                     u.ustuck = (struct monst *) 0;
index d5c52ef..dde9220 100644 (file)
@@ -1189,7 +1189,10 @@ struct obj **optr;
 */
     You("%s\82ð\94`\82«\82±\82ñ\82¾\81D\81D\81D", the(xname(obj)));
     nomul(-rnd(10));
+/*JP
     multi_reason = "gazing into a crystal ball";
+*/
+    multi_reason = "\90\85\8f»\8b\85\82ð\94`\82«\8d\9e\82ñ\82Å\82¢\82é\8e\9e\82É";
     nomovemsg = "";
     if (obj->spe <= 0)
 /*JP
index cfeda2b..074bbac 100644 (file)
--- a/src/dig.c
+++ b/src/dig.c
@@ -1348,7 +1348,10 @@ struct obj *obj;
                 /* you ought to be able to let go; tough luck */
                 /* (maybe `move_into_trap()' would be better) */
                 nomul(-d(2, 2));
+/*JP
                 multi_reason = "stuck in a spider web";
+*/
+                multi_reason = "\82­\82à\82Ì\91\83\82É\95ß\82Ü\82Á\82Ä\82¢\82é\8aÔ\82É";
 /*JP
                 nomovemsg = "You pull free.";
 */
index caef62d..8c76f0a 100644 (file)
@@ -1701,7 +1701,10 @@ register struct obj *otmp;
         return 0;
     if (delay) {
         nomul(delay);
+/*JP
         multi_reason = "disrobing";
+*/
+        multi_reason = "\92E\82¢\82Å\82¢\82é\8e\9e\82É";
         if (is_helmet(otmp)) {
             /* ick... */
 /*JP
@@ -2261,7 +2264,10 @@ struct obj *obj;
         delay = -objects[obj->otyp].oc_delay;
         if (delay) {
             nomul(delay);
+/*JP
             multi_reason = "dressing up";
+*/
+            multi_reason = "\91\95\94õ\82µ\82Ä\82¢\82é\8e\9e\82É";
             if (is_boots(obj))
                 afternmv = Boots_on;
             if (is_helmet(obj))
index ba6c524..3ac71dd 100644 (file)
@@ -862,7 +862,10 @@ boolean verbose;
         return; /* paranoia */
 
     nomul(-range);
+/*JP
     multi_reason = "moving through the air";
+*/
+    multi_reason = "\8bó\92\86\82ð\88Ú\93®\82µ\82Ä\82¢\82é\8e\9e\82É";
     nomovemsg = ""; /* it just happens */
     if (verbose)
 /*JP
index eb9ef7a..8a7a66f 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -1177,7 +1177,10 @@ register int pm;
             if (u.usteed)
                 dismount_steed(DISMOUNT_FELL);
             nomul(-tmp);
+/*JP
             multi_reason = "pretending to be a pile of gold";
+*/
+            multi_reason = "\8bà\89Ý\82Ì\8eR\82Ì\90^\8e\97\82ð\82µ\82Ä\82¢\82é\8e\9e\82É";
             Sprintf(buf,
                     Hallucination
 /*JP
@@ -1875,7 +1878,10 @@ struct obj *obj;
         pline("\90¢\8aE\82ª\89ñ\93]\82µ\81C%s%s\81D", where, what);
         incr_itimeout(&HDeaf, duration);
         nomul(-duration);
+/*JP
         multi_reason = "unconscious from rotten food";
+*/
+        multi_reason = "\95\85\82Á\82½\90H\82×\95¨\82Å\88Ó\8e¯\82ð\8e¸\82Á\82Ä\82¢\82é\8aÔ\82É";
 /*JP
         nomovemsg = "You are conscious again.";
 */
@@ -3464,7 +3470,10 @@ boolean incr;
                     selftouch("\97\8e\82¿\82È\82ª\82ç\81C\82 \82È\82½\82Í");
                 incr_itimeout(&HDeaf, duration);
                 nomul(-duration);
+/*JP
                 multi_reason = "fainted from lack of food";
+*/
+                multi_reason = "\8bó\95 \82Å\91²\93|\82µ\82Ä\82¢\82é\8aÔ\82É";
 /*JP
                 nomovemsg = "You regain consciousness.";
 */
@@ -3734,7 +3743,10 @@ vomit() /* A good idea from David Neves */
     else
         make_sick(0L, (char *) 0, TRUE, SICK_VOMITABLE);
     nomul(-2);
+/*JP
     multi_reason = "vomiting";
+*/
+    multi_reason = "\9aq\93f\82µ\82Ä\82¢\82é\8dÅ\92\86\82É";
     nomovemsg = You_can_move_again;
 }
 
index b0a8ea5..1fa1774 100644 (file)
@@ -2067,7 +2067,10 @@ domove()
     /* must come after we finished picking up, in spoteffects() */
     if (cause_delay) {
         nomul(-2);
+/*JP
         multi_reason = "dragging an iron ball";
+*/
+        multi_reason = "\93S\8b\85\82É\88ø\82«\82¸\82ç\82ê\82Ä\82¢\82é\8e\9e\82É";
         nomovemsg = "";
     }
 
index 5b6cea9..01712c8 100644 (file)
@@ -853,7 +853,10 @@ int spellnum;
 */
                 You("\88ê\8fu\8dd\92¼\82µ\82½\81D");
             nomul(-1);
+/*JP
             multi_reason = "paralyzed by a monster";
+*/
+            multi_reason = "\89ö\95¨\82É\96\83á\83\82³\82¹\82ç\82ê\82½\8c\84\82É";
         } else {
             if (multi >= 0)
 /*JP
@@ -864,7 +867,10 @@ int spellnum;
             if (Half_spell_damage)
                 dmg = (dmg + 1) / 2;
             nomul(-dmg);
+/*JP
             multi_reason = "paralyzed by a monster";
+*/
+            multi_reason = "\89ö\95¨\82É\96\83á\83\82³\82¹\82ç\82ê\82½\8c\84\82É";
         }
         nomovemsg = 0;
         dmg = 0;
index c626e3d..81e0a9b 100644 (file)
@@ -1437,7 +1437,10 @@ register struct attack *mattk;
                     pline("%s\82É\82æ\82Á\82Ä\93®\82¯\82È\82­\82È\82Á\82½\81I", mon_nam(mtmp));
                 nomovemsg = You_can_move_again;
                 nomul(-rnd(10));
+/*JP
                 multi_reason = "paralyzed by a monster";
+*/
+                multi_reason = "\89ö\95¨\82É\96\83á\83\82³\82¹\82ç\82ê\82½\8c\84\82É";
                 exercise(A_DEX, FALSE);
             }
         }
index b80e070..2cc62d1 100644 (file)
@@ -2679,7 +2679,10 @@ int held;
         /* even if the trap fails, you've used up this turn */
         if (multi >= 0) { /* in case we didn't become paralyzed */
             nomul(-1);
+/*JP
             multi_reason = "opening a container";
+*/
+            multi_reason = "\94 \82ð\8aJ\82¯\82Ä\82¢\82é\8e\9e\82É";
             nomovemsg = "";
         }
         return 1;
@@ -3360,7 +3363,10 @@ struct obj *box; /* or bag */
         /* even if the trap fails, you've used up this turn */
         if (multi >= 0) { /* in case we didn't become paralyzed */
             nomul(-1);
+/*JP
             multi_reason = "tipping a container";
+*/
+            multi_reason = "\94 \82ð\82Ð\82Á\82­\82è\95Ô\82µ\82Ä\82¢\82é\8e\9e\82É";
             nomovemsg = "";
         }
     } else if (box->otyp == BAG_OF_TRICKS || box->otyp == HORN_OF_PLENTY) {
index bde3521..e7b784b 100644 (file)
@@ -1722,7 +1722,10 @@ dogaze()
                                   ? -d((int) mtmp->m_lev + 1,
                                        (int) mtmp->data->mattk[0].damd)
                                   : -200);
+/*JP
                         multi_reason = "frozen by a monster's gaze";
+*/
+                        multi_reason = "\89ö\95¨\82Ì\82É\82ç\82Ý\82Å\8dd\92¼\82µ\82Ä\82¢\82é\8e\9e\82É";
                         nomovemsg = 0;
                         return 1;
                     } else
index 494f8fa..a3d7399 100644 (file)
@@ -537,7 +537,10 @@ ghost_from_bottle()
 */
         You("\82Ü\82Á\82³\82¨\82É\82È\82Á\82Ä\8bÁ\82«\81C\93®\82¯\82È\82­\82È\82Á\82½\81D");
     nomul(-3);
+/*JP
     multi_reason = "being frightened to death";
+*/
+    multi_reason = "\8e\80\82Ê\82Ù\82Ç\8bÁ\82¢\82½\8c\84\82É";
 /*JP
     nomovemsg = "You regain your composure.";
 */
@@ -969,7 +972,10 @@ register struct obj *otmp;
                 You("\93®\82¯\82È\82­\82È\82Á\82½\81I");
 #endif
             nomul(-(rn1(10, 25 - 12 * bcsign(otmp))));
+/*JP
             multi_reason = "frozen by a potion";
+*/
+            multi_reason = "\96ò\82Å\8dd\92¼\82µ\82Ä\82¢\82é\8e\9e\82É";
             nomovemsg = You_can_move_again;
             exercise(A_DEX, FALSE);
         }
@@ -2054,7 +2060,10 @@ register struct obj *obj;
 */
             pline("%s\82ª\82 \82È\82½\82ð\82Â\82©\82Ü\82¦\82Ä\82¢\82é\82æ\82¤\82È\8bC\82ª\82µ\82½\81D", Something);
             nomul(-rnd(5));
+/*JP
             multi_reason = "frozen by a potion";
+*/
+            multi_reason = "\96ò\82Å\8dd\92¼\82µ\82Ä\82¢\82é\8e\9e\82É";
             nomovemsg = You_can_move_again;
             exercise(A_DEX, FALSE);
         } else
@@ -2071,7 +2080,10 @@ register struct obj *obj;
 */
             You("\82·\82±\82µ\94æ\82ê\82½\81D");
             nomul(-rnd(5));
+/*JP
             multi_reason = "sleeping off a magical draught";
+*/
+            multi_reason = "\96\82\96@\93I\82É\96°\82Á\82Ä\82¢\82é\8aÔ\82É";
             nomovemsg = You_can_move_again;
             exercise(A_DEX, FALSE);
         } else
index f69136c..edcbbfc 100644 (file)
@@ -1737,7 +1737,10 @@ dosacrifice()
 */
                     You("\8b°\95|\82Å\93®\82¯\82È\82­\82È\82Á\82½\81D");
                     nomul(-3);
+/*JP
                     multi_reason = "being terrified of a demon";
+*/
+                    multi_reason = "\88«\97ì\82É\8b°\95|\82µ\82Ä\82¢\82é\8e\9e\82É";
                     nomovemsg = 0;
                 } else
 /*JP
@@ -2366,7 +2369,10 @@ dopray()
         }
     }
     nomul(-3);
+/*JP
     multi_reason = "praying";
+*/
+    multi_reason = "\8bF\82Á\82Ä\82¢\82é\8e\9e\82É";
 /*JP
     nomovemsg = "You finish your prayer.";
 */
@@ -2573,7 +2579,10 @@ doturn()
         }
     }
     nomul(-5);
+/*JP
     multi_reason = "trying to turn the monsters";
+*/
+    multi_reason = "\89ö\95¨\82ð\93y\82É\96ß\82»\82¤\82Æ\82µ\82Ä\82¢\82é\8e\9e\82É";
     nomovemsg = You_can_move_again;
     return 1;
 }
index 142bfe5..b6db11a 100644 (file)
@@ -600,7 +600,10 @@ int roomno;
 */
                 You("\82Ü\82Á\82³\82¨\82É\82È\82Á\82Ä\8bÁ\82«\81C\93®\82¯\82È\82­\82È\82Á\82½\81D");
             nomul(-3);
+/*JP
             multi_reason = "being terrified of a demon";
+*/
+            multi_reason = "\88«\97ì\82É\8b°\95|\82µ\82Ä\82¢\82é\8e\9e\82É";
 /*JP
             nomovemsg = "You regain your composure.";
 */
index 7a75a31..17cbaf6 100644 (file)
@@ -1073,7 +1073,10 @@ register struct monst *mtmp;
 */
         You("\88ê\8fu\93\80\82è\82Â\82¢\82½\81D");
         nomul(-2);
+/*JP
         multi_reason = "scared by rattling";
+*/
+        multi_reason = "\8d\9c\82Ì\83J\83^\83J\83^\8c¾\82¤\89¹\82É\82¨\82Ñ\82¦\82½\8c\84\82É";
         nomovemsg = 0;
         break;
     case MS_LAUGH: {
index 752c26d..6e4eb4b 100644 (file)
@@ -423,7 +423,10 @@ learn(VOID_ARGS)
         context.spbook.book = 0; /* no longer studying */
         context.spbook.o_id = 0;
         nomul(context.spbook.delay); /* remaining delay is uninterrupted */
+/*JP
         multi_reason = "reading a book";
+*/
+        multi_reason = "\96{\82ð\93Ç\82ñ\82Å\82¢\82é\8e\9e\82É";
         nomovemsg = 0;
         context.spbook.delay = 0;
         return 0;
@@ -667,7 +670,10 @@ register struct obj *spellbook;
             boolean gone = cursed_book(spellbook);
 
             nomul(context.spbook.delay); /* study time */
+/*JP
             multi_reason = "reading a book";
+*/
+            multi_reason = "\96{\82ð\93Ç\82ñ\82Å\82¢\82é\8e\9e\82É";
             nomovemsg = 0;
             context.spbook.delay = 0;
             if (gone || !rn2(3)) {
@@ -688,7 +694,10 @@ register struct obj *spellbook;
                 spellbook->in_use = FALSE;
             }
             nomul(context.spbook.delay);
+/*JP
             multi_reason = "reading a book";
+*/
+            multi_reason = "\96{\82ð\93Ç\82ñ\82Å\82¢\82é\8e\9e\82É";
             nomovemsg = 0;
             context.spbook.delay = 0;
             return 1;
index e276042..8aab80c 100644 (file)
@@ -484,7 +484,10 @@ gotobj:
                 named++;
                 /* the following is to set multi for later on */
                 nomul(-armordelay);
+/*JP
                 multi_reason = "taking off clothes";
+*/
+                multi_reason = "\95\9e\82ð\92E\82¢\82Å\82¢\82é\8e\9e\82É";
                 nomovemsg = 0;
                 remove_worn_item(otmp, TRUE);
                 otmp->cursed = curssv;
index 4398b5b..9246fd9 100644 (file)
@@ -71,7 +71,10 @@ stoned_dialogue()
     case 3: /* limbs turned to stone */
         stop_occupation();
         nomul(-3); /* can't move anymore */
+/*JP
         multi_reason = "getting stoned";
+*/
+        multi_reason = "\90Î\89»\82µ\82Â\82Â\82 \82é\8e\9e\82É";
         nomovemsg = You_can_move_again; /* not unconscious */
         break;
     default:
@@ -526,7 +529,10 @@ nh_timeout()
                 if (u.umoved && !Levitation) {
                     slip_or_trip();
                     nomul(-2);
+/*JP
                     multi_reason = "fumbling";
+*/
+                    multi_reason = "\82Ö\82Ü\82ð\82µ\82½\8c\84\82É";
                     nomovemsg = "";
                     /* The more you are carrying the more likely you
                      * are to make noise when you fumble.  Adjustments
@@ -562,7 +568,10 @@ boolean wakeup_msg;
 {
     stop_occupation();
     nomul(how_long);
+/*JP
     multi_reason = "sleeping";
+*/
+    multi_reason = "\96°\82è\82Ì\82³\82È\82©\82É";
     /* generally don't notice sounds while sleeping */
     if (wakeup_msg && multi == how_long) {
         /* caller can follow with a direct call to Hear_again() if
@@ -1610,7 +1619,10 @@ do_storms()
         if (!u.uinvulnerable) {
             stop_occupation();
             nomul(-3);
+/*JP
             multi_reason = "hiding from thunderstorm";
+*/
+            multi_reason = "\97\8b\82Ì\97\92\82ð\94ð\82¯\82Ä\82¢\82é\8e\9e\82É";
             nomovemsg = 0;
         }
     } else
index 0395341..8195ce8 100644 (file)
@@ -317,10 +317,17 @@ struct toptenentry *tt;
     else
         (void) fprintf(rfile, fmt33, tt->plrole, tt->plrace, tt->plgend,
                        tt->plalign);
+#if 0 /*JP*/
     (void) fprintf(rfile, fmtX, onlyspace(tt->name) ? "_" : tt->name,
                    tt->death,
                    (multi ? ", while " : ""),
                    (multi ? (multi_reason ? multi_reason : "helpless") : ""));
+#else
+    (void) fprintf(rfile, fmtX, onlyspace(tt->name) ? "_" : tt->name,
+                   (multi ? (multi_reason ? multi_reason : "\96³\97Í\82È\8aÔ\82É") : ""),
+                   tt->death,
+                   "");
+#endif
 
 #ifdef NO_SCAN_BRACK
     nsb_unmung_line(tt->name);
@@ -355,8 +362,13 @@ struct toptenentry *tt;
             buf, /* (already includes separator) */
             XLOG_SEP, plname, XLOG_SEP, tt->death);
     if (multi)
+#if 0 /*JP*/
         Fprintf(rfile, "%cwhile=%s", XLOG_SEP,
                 multi_reason ? multi_reason : "helpless");
+#else
+        Fprintf(rfile, "%cwhile=%s", XLOG_SEP,
+                multi_reason ? multi_reason : "\96³\97Í\82È\8aÔ\82É");
+#endif
     Fprintf(rfile, "%cconduct=0x%lx%cturns=%ld%cachieve=0x%lx", XLOG_SEP,
             encodeconduct(), XLOG_SEP, moves, XLOG_SEP, encodeachieve());
     Fprintf(rfile, "%crealtime=%ld%cstarttime=%ld%cendtime=%ld", XLOG_SEP,
index 0ec8de2..c6a0cc8 100644 (file)
@@ -6081,7 +6081,10 @@ boolean disarm;
 */
                 pline("\93Ë\91R\82»\82Ì\8fê\82Å\93®\82¯\82È\82­\82È\82Á\82½\81I");
                 nomul(-d(5, 6));
+/*JP
                 multi_reason = "frozen by a trap";
+*/
+                multi_reason = "ã©\82Å\8dd\92¼\82µ\82Ä\82¢\82é\8e\9e\82É";
                 exercise(A_DEX, FALSE);
                 nomovemsg = You_can_move_again;
             } else
index a5ce19d..8630d35 100644 (file)
@@ -2331,7 +2331,10 @@ register struct attack *mattk;
                         if (Slow_digestion)
                             tmp *= 2;
                         nomul(-tmp);
+/*JP
                         multi_reason = "digesting something";
+*/
+                        multi_reason = "\8fÁ\89»\92\86\82É";
                         nomovemsg = msgbuf;
                     } else
                         pline1(msgbuf);
@@ -2946,7 +2949,10 @@ boolean wep_was_destroyed;
 */
                         You("%s\82Ì\82É\82ç\82Ý\82Å\93®\82¯\82È\82­\82È\82Á\82½\81I", mon_nam(mon));
                         nomul((ACURR(A_WIS) > 12 || rn2(4)) ? -tmp : -127);
+/*JP
                         multi_reason = "frozen by a monster's gaze";
+*/
+                        multi_reason = "\89ö\95¨\82Ì\82É\82ç\82Ý\82Å\8dd\92¼\82µ\82Ä\82¢\82é\8e\9e\82É";
                         nomovemsg = 0;
                     }
                 } else {
@@ -2972,7 +2978,10 @@ boolean wep_was_destroyed;
                 You("%s\82É\82æ\82Á\82Ä\93®\82¯\82È\82­\82È\82Á\82½\81I", mon_nam(mon));
                 nomovemsg = You_can_move_again;
                 nomul(-tmp);
+/*JP
                 multi_reason = "frozen by a monster";
+*/
+                multi_reason = "\89ö\95¨\82É\82æ\82Á\82Ä\8dd\92¼\82µ\82Ä\82¢\82é\8e\9e\82É";
                 exercise(A_DEX, FALSE);
             }
             break;