OSDN Git Service

fix indent
[jnethack/source.git] / src / shk.c
index f49f4e0..9b53710 100644 (file)
--- a/src/shk.c
+++ b/src/shk.c
@@ -644,9 +644,9 @@ char *enterstring;
         pline("%s\82Í\82 \82È\82½\82Ì\91\8dÝ\82É\8bC\82ª\82Â\82¢\82½\81D", Shknam(shkp));
         if (!Deaf && !muteshk(shkp))
 /*JP
-        verbalize("Invisible customers are not welcome!");
+            verbalize("Invisible customers are not welcome!");
 */
-        verbalize("\93§\96¾\82È\82¨\8bq\82³\82ñ\82Æ\82Í\8a´\90S\82µ\82È\82¢\82È\81I");
+            verbalize("\93§\96¾\82È\82¨\8bq\82³\82ñ\82Æ\82Í\8a´\90S\82µ\82È\82¢\82È\81I");
         else
 #if 0 /*JP:T*/
             pline("%s stands firm as if %s knows you are there.",
@@ -1523,7 +1523,10 @@ dopay()
         }
         mtmp = m_at(cx, cy);
         if (!cansee(cx, cy) && (!mtmp || !canspotmon(mtmp))) {
+/*JP
             You("can't %s anyone there.", !Blind ? "see" : "sense");
+*/
+            You("\82±\82±\82É\82Í\92N\82à%s\82È\82¢\81D", !Blind ? "\8c©\82¦" : "\8a´\82\82ç\82ê");
             return 0;
         }
         if (!mtmp) {
@@ -1732,7 +1735,7 @@ dopay()
 /*JP
                 Strcat(sbuf, "you picked up in the store.");
 */
-                        Strcpy(sbuf, "\93X\82Ì\92\86\82Å\8fE\82Á\82½\82à\82Ì\82É\91Î\82µ\82Ä\81C");
+                Strcpy(sbuf, "\93X\82Ì\92\86\82Å\8fE\82Á\82½\82à\82Ì\82É\91Î\82µ\82Ä\81C");
             else
 #if 0 /*JP*/
                 Strcat(sbuf,
@@ -2702,9 +2705,9 @@ boolean quietly;
 #endif
                 } else {
 /*JP
-                verbalize("No thanks, I'd hang onto that if I were you.");
+                    verbalize("No thanks, I'd hang onto that if I were you.");
 */
-                verbalize("\82¢\82â\81C\82¢\82ç\82È\82¢\81D\8e\84\82È\82ç\82»\82ê\82ð\8eè\95ú\82³\82È\82¢\82Ë\81D");
+                    verbalize("\82¢\82â\81C\82¢\82ç\82È\82¢\81D\8e\84\82È\82ç\82»\82ê\82ð\8eè\95ú\82³\82È\82¢\82Ë\81D");
                     if (obj->spe < 7)
 #if 0 /*JP:T*/
                         verbalize(
@@ -2722,9 +2725,9 @@ boolean quietly;
             } else {
                 if (!Deaf && !muteshk(shkp))
 /*JP
-                verbalize("I won't stock that.  Take it out of here!");
+                    verbalize("I won't stock that.  Take it out of here!");
 */
-                verbalize("\82»\82ê\82Í\8ed\93ü\82ê\82È\82¢\82æ\81D\8e\9d\82Á\82Ä\82¢\82«\82È\82³\82¢\81I");
+                    verbalize("\82»\82ê\82Í\8ed\93ü\82ê\82È\82¢\82æ\81D\8e\9d\82Á\82Ä\82¢\82«\82È\82³\82¢\81I");
                 else
 #if 0 /*JP:T*/
                     pline("%s shakes %s %s in refusal.",
@@ -3464,13 +3467,9 @@ boolean peaceful, silent;
 */
                 still = "\82³\82ç\82É";
             }
-#if 0 /*JP:T*/
+#if 0 /*JP*/
             Sprintf(buf, "%sowe %s %ld %s", still, shkname(shkp),
                     value, currency(value));
-#else
-            Sprintf(buf, "%s%s\82É%ld%s\82Ì\8eØ\82è\82ð\82Â\82­\82Á\82½", still, shkname(shkp),
-                    value, currency(value));
-#endif
             if (u_count) /* u_count > 0 implies Has_contents(obj) */
                 Sprintf(eos(buf), " for %s%sits contents",
                         was_unpaid ? "it and " : "",
@@ -3478,6 +3477,10 @@ boolean peaceful, silent;
             else if (obj->oclass != COIN_CLASS)
                 Sprintf(eos(buf), " for %s",
                         (obj->quan > 1L) ? "them" : "it");
+#else
+            Sprintf(buf, "%s%s\82É%ld%s\82Ì\8eØ\82è\82ð\82Â\82­\82Á\82½", still, shkname(shkp),
+                    value, currency(value));
+#endif
 
 #if 0 /*JP*/
             You("%s!", buf); /* "You owe <shk> N zorkmids for it!" */
@@ -4038,7 +4041,7 @@ register xchar x, y;
 /*JP
             verbalize("Out of my way, scum!");
 */
-                    verbalize("\82Ç\82¯\81C\83N\83\\82Á\82½\82ê\81I");
+            verbalize("\82Ç\82¯\81C\83N\83\\82Á\82½\82ê\81I");
         if (cansee(x, y)) {
 #if 0 /*JP:T*/
             pline("%s nimbly%s catches %s.", Shknam(shkp),
@@ -4321,10 +4324,18 @@ boolean catchup; /* restoring a level */
            message for the only repair, but perhaps the shop repair
            incantation means that shk's untrap attempt will never fail */
         if (canseemon(shkp))
+#if 0 /*JP*/
             pline("%s whispers %s.", Shknam(shkp),
                   shk_closeby ? "an incantation" : "something");
+#else
+            pline("%s\82Í%s\82ð\82³\82³\82â\82¢\82½\81D", Shknam(shkp),
+                  shk_closeby ? "\8eô\95¶" : "\89½\82©");
+#endif
         else if (!Deaf && shk_closeby)
+/*JP
             You_hear("someone muttering an incantation.");
+*/
+            You_hear("\92N\82©\82ª\8eô\95\82ð\82Â\82Ô\82â\82¢\82Ä\82¢\82é\82Ì\82ð\95·\82¢\82½\81D");
         *once = 0;
     }
     if (ttmp) {
@@ -4884,13 +4895,13 @@ boolean cant_mollify;
             if (!animal) {
                 if (!Deaf && !muteshk(shkp)) {
 /*JP
-                You_hear("an angry voice:");
+                    You_hear("an angry voice:");
 */
-                You("\93{\82è\82Ì\90º\82ð\95·\82¢\82½\81F");
+                    You("\93{\82è\82Ì\90º\82ð\95·\82¢\82½\81F");
 /*JP
-                verbalize("Out of my way, scum!");
+                    verbalize("Out of my way, scum!");
 */
-                verbalize("\82Ç\82¯\81I\83N\83\\82Á\82½\82ê\81I");
+                    verbalize("\82Ç\82¯\81I\83N\83\\82Á\82½\82ê\81I");
                 }
                 wait_synch();
 #if defined(UNIX) || defined(VMS)
@@ -4997,9 +5008,9 @@ boolean cant_mollify;
         if (!animal) {
             if (!Deaf && !muteshk(shkp))
 /*JP
-            verbalize("Oh, yes!  You'll pay!");
+                verbalize("Oh, yes!  You'll pay!");
 */
-            verbalize("\82³\82 \81C\95¥\82¤\82ñ\82¾\81I");
+                verbalize("\82³\82 \81C\95¥\82¤\82ñ\82¾\81I");
             else
 #if 0 /*JP*/
                 pline("%s lunges %s %s toward your %s!",