/*JP
You("take a picture of the %s.",
*/
- You("take a picture of the %s.",
+ You("%s\82Ì\8eÊ\90^\82ð\8eB\82Á\82½\81D",
(u.dz > 0) ? surface(u.ux, u.uy) : ceiling(u.ux, u.uy));
} else if (!u.dx && !u.dy) {
(void) zapyourself(obj, TRUE);
} else if (Hallucination) {
if (!corpse) {
/* it's a statue */
+/*JP
Strcpy(buf, "You're both stoned");
+*/
+ Strcpy(buf, "\90Î\82¾");
+#if 0 /*JP*//*\91ã\96¼\8e\8c\8f\88\97\9d\82Í\95s\97v*/
} else if (corpse->quan == 1L && !more_corpses) {
int gndr = 2; /* neuter: "it" */
struct monst *mtmp = get_mtraits(corpse, FALSE);
}
Sprintf(buf, "%s's dead", genders[gndr].he); /* "he"/"she"/"it" */
buf[0] = highc(buf[0]);
+#endif
} else { /* plural */
+/*JP
Strcpy(buf, "They're dead");
+*/
+ Strcpy(buf, "\8e\80\82ñ\82Å\82é\82º");
}
/* variations on "He's dead, Jim." (Star Trek's Dr McCoy) */
/*JP
You_hear("a voice say, \"%s, Jim.\"", buf);
*/
- You_hear("\81u\82»\82¢\82Â\82Í\8e\80\82ñ\82Å\82é\82º\81C\83W\83\80\81v\82Æ\82¢\82¤\90º\82ª\95·\82±\82¦\82½\81D");
+ You_hear("\81u\82»\82¢\82Â\82Í%s\81C\83W\83\80\81v\82Æ\82¢\82¤\90º\82ª\95·\82±\82¦\82½\81D", buf);
*resp = 1;
return TRUE;
} else { /* statue */
const char *what, *how;
+#if 0 /*JP*/
mptr = &mons[statue->corpsenm];
if (Blind) { /* ignore statue->dknown; it'll always be set */
Sprintf(buf, "%s %s",
if (!type_is_pname(mptr))
what = The(what);
}
+#else /*JP:\93ú\96{\8cê\82Å\82Í\83V\83\93\83v\83\8b\82É*/
+ if (Blind) { /* ignore statue->dknown; it'll always be set */
+ what = (rx == u.ux && ry == u.uy) ? "\82±\82ê" : "\82 \82ê";
+ } else {
+ what = mons[statue->corpsenm].mname;
+ }
+#endif
+/*JP
how = "fine";
+*/
+ how = "\82æ\82¢";
if (Role_if(PM_HEALER)) {
struct trap *ttmp = t_at(rx, ry);
/*JP
how = "extraordinary";
*/
- how = "\8c\92\8dN\93I\82È";
+ how = "\95À\8aO\82ê\82½";
else if (Has_contents(statue))
/*JP
how = "remarkable";
*/
- how = "\96ô\93®\93I\82È";
+ how = "\92\8d\96Ú\82·\82×\82«";
}
/*JP
if (mtmp->mundetected) {
if (!canspotmon(mtmp))
+/*JP
There("is %s hidden there.", mnm);
+*/
+ pline("\82±\82±\82É%s\82ª\89B\82ê\82Ä\82¢\82é\81D", mnm);
mtmp->mundetected = 0;
newsym(mtmp->mx, mtmp->my);
} else if (mtmp->mappearance) {
break;
}
seemimic(mtmp);
+/*JP
pline("That %s is really %s", what, mnm);
+*/
+ pline("\82±\82Ì%s\82Í\8eÀ\8dÛ\82É\82Í%s\81D", what, mnm);
} else if (flags.verbose && !canspotmon(mtmp)) {
+/*JP
There("is %s there.", mnm);
+*/
+ pline("\82±\82±\82É\82Í%s\82ª\82¢\82é\81D", mnm);
}
mstatusline(mtmp);
if (!canspotmon(mtmp))
/*JP
You("blow bubbles through %s.", yname(obj));
*/
- You("%s\82ð\92Ê\82µ\82Ä\96A\82ð\8fo\82µ\82½\81D", yname(obj));
+ You("%s\82ð\92Ê\82µ\82Ä\96A\82ð\8fo\82µ\82½\81D", xname(obj));
} else {
/*JP
You(whistle_str, obj->cursed ? "shrill" : "high");
return;
}
+ /*JP:\8dÅ\8fI\93I\82É\82Í\81u\82ë\82¤\82»\82\82ð\90C\91ä\82É\8eæ\82è\82Â\82¯\82Ü\82·\82©\81H\81v*/
/* first, minimal candelabrum suffix for formatting candles */
+/*JP
Sprintf(qsfx, " to\033%s?", thesimpleoname(otmp));
+*/
+ Sprintf(qsfx, "\82ð\033%s\82É\8eæ\82è\82Â\82¯\82Ü\82·\82©\81H", thesimpleoname(otmp));
/* next, format the candles as a prefix for the candelabrum */
/*JP
(void) safe_qbuf(qbuf, "Attach ", qsfx, obj, yname, thesimpleoname, s);
*/
- (void) safe_qbuf(qbuf, "Attach ", qsfx, obj, yname, thesimpleoname, s);
+ (void) safe_qbuf(qbuf, "", qsfx, obj, xname, thesimpleoname, s);
+ /*JP:\81u(\82ë\82¤\82»\82)\82ð\033\90C\91ä\82É\8eæ\82è\82Â\82¯\82Ü\82·\82©\81H\81v*/
/* strip temporary candelabrum suffix */
+#if 0 /*JP*/
if ((q = strstri(qbuf, " to\033")) != 0)
Strcpy(q, " to ");
+#else
+ if ((q = strchr(qbuf, '\033')) != 0)
+ *q = '\0';
+ /*JP:\81u(\82ë\82¤\82»\82)\82ð\81v*/
+#endif
/* last, format final "attach candles to candelabrum?" query */
+/*JP
if (yn(safe_qbuf(qbuf, qbuf, "?", otmp, yname, thesimpleoname, "it"))
+*/
+ if (yn(safe_qbuf(qbuf, qbuf, "\82É\8eæ\82è\82Â\82¯\82Ü\82·\82©\81H", otmp, xname, thesimpleoname, "\82»\82ê"))
== 'n') {
use_lamp(obj);
return;
} else {
if ((long) otmp->spe + obj->quan > 7L) {
obj = splitobj(obj, 7L - (long) otmp->spe);
+#if 0 /*JP:\93ú\96{\8cê\82Å\82Í\95s\97v*/
/* avoid a grammatical error if obj->quan gets
reduced to 1 candle from more than one */
s = (obj->quan != 1) ? "candles" : "candle";
+#endif
} else
*optr = 0;
#if 0 /*JP*/
verbalize("That's in addition to the cost of %s %s, of course.",
yname(obj), obj->quan == 1L ? "itself" : "themselves");
#else
- verbalize("\82±\82ê\82Í\82à\82¿\82ë\82ñ%s\82Ì\92l\92i\82Æ\82Í\95Ê\82¾\82æ\81D", Yname2(obj));
+ verbalize("\82±\82ê\82Í\82à\82¿\82ë\82ñ%s\82Ì\92l\92i\82Æ\82Í\95Ê\82¾\82æ\81D", xname(obj));
#endif
bill_dummy_object(obj);
}
if (obj->lamplit) {
if (obj->otyp == OIL_LAMP || obj->otyp == MAGIC_LAMP
|| obj->otyp == BRASS_LANTERN)
+/*JP
pline("%slamp is now off.", Shk_Your(buf, obj));
+*/
+ pline("%s\83\89\83\93\83v\82Ì\93\94\82Í\8fÁ\82¦\82½\81D", Shk_Your(buf, obj));
else
+/*JP
You("snuff out %s.", yname(obj));
+*/
+ You("%s\82ð\90\81\82«\8fÁ\82µ\82½\81D", xname(obj));
end_burn(obj, TRUE);
return;
}
otense(obj, "burn"), Blind ? "." : " brightly!");
#else
pline("%s\82Í%s\94R\82¦\82 \82ª\82Á\82½\81I",
- Yname2(obj), Blind ? "" : "\96¾\82é\82");
+ xname(obj), Blind ? "" : "\96¾\82é\82");
#endif
if (obj->unpaid && costly_spot(u.ux, u.uy)
&& obj->age == 20L * (long) objects[obj->otyp].oc_cost) {
struct obj *mshelter = level.objects[mtmp->mx][mtmp->my];
Sprintf(monnambuf, "%s", an(m_monnam(mtmp)));
+ /*JP:TODO:and_vanish\82Í\96¢\8f\88\97\9d*/
and_vanish[0] = '\0';
if ((mtmp->minvis && !See_invisible)
|| (mtmp->data->mlet == S_MIMIC
case OBJ_FLOOR:
if (cansee_spot && !silent) {
if (suppress_see)
+/*JP
pline("%s suddenly vanishes!", an(xname(figurine)));
+*/
+ pline("%s\82Í\93Ë\91R\8fÁ\82¦\82½\81I", xname(figurine));
else
#if 0 /*JP*/
You_see("a figurine transform into %s%s!", monnambuf,
/*JP
You("cover %s with a thick layer of grease.", yname(otmp));
*/
- You("%s\82É\8e\89\82ð\92O\94O\82É\93h\82Á\82½\81D", yname(otmp));
+ You("%s\82É\8e\89\82ð\92O\94O\82É\93h\82Á\82½\81D", xname(otmp));
otmp->greased = 1;
if (obj->cursed && !nohands(youmonst.data)) {
incr_itimeout(&Glib, rnd(15));
rx = u.ux + u.dx;
ry = u.uy + u.dy;
if (!isok(rx, ry)) {
+/*JP
You("miss.");
+*/
+ You("\82Í\82¸\82µ\82½\81D");
return res;
}
mtmp = m_at(rx, ry);
/*JP
You("wrap your bullwhip around %s.", yname(otmp));
*/
- You("\95Ú\82ð%s\82É\82©\82ç\82Ü\82¹\82½\81D", yname(otmp));
+ You("\95Ú\82ð%s\82É\82©\82ç\82Ü\82¹\82½\81D", xname(otmp));
if (gotit && mwelded(otmp)) {
#if 0 /*JP*/
pline("%s welded to %s %s%c",
/*JP
You("yank %s to the %s!", yname(otmp),
*/
- You("%s\82ð%s\82É\88ø\82«\97\8e\82µ\82½\81I", yname(otmp),
+ You("%s\82ð%s\82É\88ø\82«\97\8e\82µ\82½\81I", xname(otmp),
surface(u.ux, u.uy));
place_object(otmp, u.ux, u.uy);
stackobj(otmp);
/*JP
You("snatch %s!", yname(otmp));
*/
- You("%s\82ð\92D\82Á\82½\81I", yname(otmp));
+ You("%s\82ð\92D\82Á\82½\81I", xname(otmp));
if (otmp->otyp == CORPSE
&& touch_petrifies(&mons[otmp->corpsenm]) && !uarmg
&& !Stone_resistance
/*JP
boolean is_fragile = (!strcmp(OBJ_DESCR(objects[obj->otyp]), "balsa"));
*/
- boolean is_fragile = (!strcmp(OBJ_DESCR(objects[obj->otyp]), "\83o\83\8b\83T"));
+ boolean is_fragile = (!strcmp(OBJ_DESCR(objects[obj->otyp]), "\83o\83\8b\83T\82Ì\8fñ"));
#if 0 /*JP*/
if (!paranoid_query(ParanoidBreakwand,
if (!paranoid_query(ParanoidBreakwand,
safe_qbuf(confirm,
"\96{\93\96\82É", "\82ð\89ó\82·\82Ì\81H",
- obj, yname, ysimple_name, "\8fñ")))
+ obj, xname, ysimple_name, "\8fñ")))
#endif
return 0;
/*JP
You_cant("break %s without hands!", yname(obj));
*/
- You("\8eè\82ª\96³\82¢\82Ì\82Å%s\82ð\89ó\82¹\82È\82¢\81I", yname(obj));
+ You("\8eè\82ª\96³\82¢\82Ì\82Å%s\82ð\89ó\82¹\82È\82¢\81I", xname(obj));
return 0;
} else if (ACURR(A_STR) < (is_fragile ? 5 : 10)) {
/*JP
You("don't have the strength to break %s!", yname(obj));
*/
- You("%s\82ð\89ó\82·\82¾\82¯\82Ì\97Í\82ª\82È\82¢\81I", yname(obj));
+ You("%s\82ð\89ó\82·\82¾\82¯\82Ì\97Í\82ª\82È\82¢\81I", xname(obj));
return 0;
}
/*JP
pline("Raising %s high above your %s, you break it in two!", yname(obj),
*/
- pline("%s\82ð%s\82Ì\8fã\82É\8d\82\82\8cf\82°\81C\93ñ\82Â\82É\82Ö\82µ\90Ü\82Á\82½\81I", yname(obj),
+ You("%s\82ð%s\82Ì\8fã\82É\8d\82\82\8cf\82°\81C\93ñ\82Â\82É\82Ö\82µ\90Ü\82Á\82½\81I", xname(obj),
body_part(HEAD));
/* [ALI] Do this first so that wand is removed from bill. Otherwise,
mdef->mconf = 1;
}
+#if 0 /*JP*//*\93ú\96{\8cê\82Å\82Í\95s\97v*/
/* now give message(s) describing side-effects;
don't let vtense() be fooled by assigned name ending in 's' */
fakename = youdefend ? "you" : "mon";
+#endif
if (youattack || youdefend || vis) {
(void) upstart(hittee); /* capitalize */
if (resisted) {
*/
You("%s\82É\90[\82\8ea\82è\82Â\82¯\82½\81I",mon_nam(mdef));
else if (vis)
+#if 0 /*JP*/
pline("%s cuts deeply into %s!", Monnam(magr),
hittee);
+#else
+ pline("%s\82Í%s\82É\90[\82\8ea\82è\82Â\82¯\82½\81I", Monnam(magr),
+ hittee);
+#endif
*dmgptr *= 2;
return TRUE;
}
if (orc_count == -1 && warn_obj_cnt > 0) {
/* -1 means that blindness has just been toggled; give a
'continue' message that eventual 'stop' message will match */
+#if 0 /*JP*/
pline("%s is %s.", bare_artifactname(uwep),
!Blind ? "glowing" : "quivering");
+#else
+ pline("%s\82Í%s\82Ä\82¢\82é\81D", bare_artifactname(uwep),
+ !Blind ? "\8bP\82¢" : "\90k\82¦");
+#endif
} else if (orc_count > 0 && warn_obj_cnt == 0) {
/* 'start' message */
if (!Blind)
+#if 0 /*JP*/
pline("%s %s %s!", bare_artifactname(uwep),
otense(uwep, "glow"), glow_color(uwep->oartifact));
+#else
+ pline("%s\82Í%s\8bP\82¢\82½\81I", bare_artifactname(uwep),
+ glow_color(uwep->oartifact));
+#endif
else
+/*JP
pline("%s quivers slightly.", bare_artifactname(uwep));
+*/
+ pline("%s\82Í\8f\82µ\90k\82¦\82½\81D", bare_artifactname(uwep));
} else if (orc_count == 0 && warn_obj_cnt > 0) {
/* 'stop' message */
+#if 0 /*JP*/
pline("%s stops %s.", bare_artifactname(uwep),
!Blind ? "glowing" : "quivering");
+#else
+ pline("%s\82Ì%s\82Í\8e~\82Ü\82Á\82½\81D", bare_artifactname(uwep),
+ !Blind ? "\8bP\82«" : "\90k\82¦");
+#endif
}
}
}
/* hero can't handle this object, but didn't get touch_artifact()'s
"<obj> evades your grasp|control" message; give an alternate one */
+#if 0 /*JP*/
You_cant("handle %s%s!", yname(obj),
obj->owornmask ? " anymore" : "");
+#else
+ You_cant("%s%s\82ð\88µ\82¦\82È\82¢\81I", obj->owornmask ? "\82à\82¤" : "",
+ xname(obj));
+#endif
/* also inflict damage unless touch_artifact() already did so */
if (!touch_blasted) {
/* damage is somewhat arbitrary; half the usual 1d20 physical
tmp = rnd(10), dmg += Maybe_Half_Phys(tmp);
if (bane)
dmg += rnd(10);
+/*JP
Sprintf(buf, "handling %s", killer_xname(obj));
+*/
+ Sprintf(buf, "%s\82ð\88µ\82Á\82Ä", killer_xname(obj));
losehp(dmg, buf, KILLED_BY);
exercise(A_CON, FALSE);
}
} else {
/* dropx gives a message iff item lands on an altar */
if (!IS_ALTAR(levl[u.ux][u.uy].typ))
+#if 0 /*JP*/
pline("%s to the %s.", Tobjnam(obj, "fall"),
surface(u.ux, u.uy));
+#else
+ pline("%s\82Í%s\82É\97\8e\82¿\82½\81D", xname(obj),
+ surface(u.ux, u.uy));
+#endif
dropx(obj);
}
*objp = obj = 0; /* no longer in inventory */
if (had_rings != (!!uleft + !!uright) && uarmg && uarmg->cursed)
uncurse(uarmg); /* temporary? hack for ring removal plausibility */
if (had_gloves && !uarmg)
+/*JP
selftouch("After losing your gloves, you");
+*/
+ selftouch("\8f¬\8eè\82ð\8e¸\82Á\82½\82 \82Æ\81C\82 \82È\82½\82Í");
if (!--nesting)
clear_bypasses(); /* reset upon final exit */
void VDECL((*delivery_func), (const char *, ...));
const char *effect_msg;
} poiseff[] = {
+#if 0 /*JP*/
{ You_feel, "weaker" }, /* A_STR */
+#else
+ { You_feel, "\8eã\82\82È\82Á\82½" }, /* A_STR */
+#endif
+#if 0 /*JP*/
{ Your, "brain is on fire" }, /* A_INT */
+#else
+ { You, "\93ª\82É\8c\8c\82ª\82Ì\82Ú\82Á\82½" }, /* A_INT */
+#endif
+#if 0 /*JP*/
{ Your, "judgement is impaired" }, /* A_WIS */
+#else
+ { You, "\94»\92f\97Í\82ð\8e¸\82Á\82½" }, /* A_WIS */
+#endif
+#if 0 /*JP*/
{ Your, "muscles won't obey you" }, /* A_DEX */
+#else
+ { You, "\8ev\82¤\82æ\82¤\82É\93®\82¯\82È\82¢" }, /* A_DEX */
+#endif
+#if 0 /*JP*/
{ You_feel, "very sick" }, /* A_CON */
+#else
+ { You_feel, "\82Æ\82Ä\82à\8bC\95ª\82ª\88«\82\82È\82Á\82½" }, /* A_CON */
+#endif
+#if 0 /*JP*/
{ You, "break out in hives" } /* A_CHA */
+#else
+ { You, "\82¶\82ñ\82Ü\82µ\82ñ\82ª\82 \82ç\82í\82ê\82½" } /* A_CHA */
+#endif
};
/* feedback for attribute loss due to poisoning */
{
void VDECL((*func), (const char *, ...)) = poiseff[typ].delivery_func;
+/*JP
(*func)("%s%c", poiseff[typ].effect_msg, exclaim ? '!' : '.');
+*/
+ (*func)("%s%s", poiseff[typ].effect_msg, exclaim ? "\81I" : "\81D");
}
/* called when an attack or trap has poisoned the hero (used to be in mon.c)
*(abil->ability) |= mask;
if (!(*(abil->ability) & INTRINSIC & ~mask)) {
if (*(abil->gainstr))
+/*JP
You_feel("%s!", abil->gainstr);
+*/
+ You("%s\82æ\82¤\82È\8bC\82ª\82µ\82½\81I", abil->gainstr);
}
} else if (oldlevel >= abil->ulevel && newlevel < abil->ulevel) {
*(abil->ability) &= ~mask;
if (!(*(abil->ability) & INTRINSIC)) {
if (*(abil->losestr))
+/*JP
You_feel("%s!", abil->losestr);
+*/
+ You("%s\82æ\82¤\82È\8bC\82ª\82µ\82½\81I", abil->losestr);
+/*JP:\82±\82Ì\8fð\8c\8f\82Í\96\9e\82³\82È\82¢\82Í\82¸\81D*/
else if (*(abil->gainstr))
You_feel("less %s!", abil->gainstr);
}
/* worn helm of opposite alignment might block change */
if (!uarmh || uarmh->otyp != HELM_OF_OPPOSITE_ALIGNMENT)
u.ualign.type = u.ualignbase[A_CURRENT];
+#if 0 /*JP*/
You("have a %ssense of a new direction.",
(u.ualign.type != oldalign) ? "sudden " : "");
+#else
+ You("%s\95Ê\82Ì\95û\8cü\90«\82É\82ß\82´\82ß\82½\81D",
+ (u.ualign.type != oldalign) ? "\93Ë\91R" : "");
+#endif
} else {
/* putting on or taking off a helm of opposite alignment */
u.ualign.type = (aligntyp) newalign;
if (reason == 1)
+/*JP
Your("mind oscillates %s.", Hallucination ? "wildly" : "briefly");
+*/
+ You("%s\90Q\95Ô\82Á\82½\81D", Hallucination ? "\8dr\82Á\82Û\82" : "\82 \82Á\82³\82è\82Æ");
else if (reason == 2)
+#if 0 /*JP*/
Your("mind is %s.", Hallucination
? "much of a muchness"
: "back in sync with your body");
+#else
+ Your("\90S\82Í%s\81D", Hallucination
+ ? "\8e\97\82½\82è\8añ\82Á\82½\82è\82É\82È\82Á\82½"
+ : "\8dÄ\82Ñ\91Ì\82Æ\88ê\92v\82·\82é\82æ\82¤\82É\82È\82Á\82½");
+#endif
}
if (u.ualign.type != oldalign) {
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
+/* JNetHack Copyright */
+/* (c) Issei Numata, Naoki Hamada, Shigehiro Miyashita, 1994-2000 */
+/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2016 */
+/* JNetHack may be freely redistributed. See license for details. */
+
/* Ball & Chain
* =============================================================*/
/*JP
pline("%s does not protect you.", Yname2(uarmh));
*/
- Your("%s\82Å\82Í\8eç\82ê\82È\82¢\81D", Yname2(uarmh));
+ Your("%s\82Å\82Í\8eç\82ê\82È\82¢\81D", xname(uarmh));
}
#if 0 /*JP*/
losehp(Maybe_Half_Phys(dmg), "crunched in the head by an iron ball",
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985,1993. */
/* NetHack may be freely redistributed. See license for details. */
+/* JNetHack Copyright */
+/* (c) Issei Numata, Naoki Hamada, Shigehiro Miyashita, 1994-2000 */
+/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2016 */
+/* JNetHack may be freely redistributed. See license for details. */
+
#include "hack.h"
#include "lev.h"
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
+/* JNetHack Copyright */
+/* (c) Issei Numata, Naoki Hamada, Shigehiro Miyashita, 1994-2000 */
+/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2016 */
+/* JNetHack may be freely redistributed. See license for details. */
+
#include "hack.h"
#include <limits.h>
return role->name.f;
else if (role->name.m)
return role->name.m;
+/*JP
return "Player";
+*/
+ return "\83v\83\8c\83C\83\84\81[";
}
STATIC_OVL const char *
func = extcmdlist[idx].ef_funct;
if (iflags.menu_requested && !accept_menu_prefix(func)) {
+/*JP
pline("'m' prefix has no effect for this command.");
+*/
+ pline("'m'\90Ú\93ª\8e«\82Í\82±\82Ì\83R\83}\83\93\83h\82É\82Í\96³\8cø\81D");
iflags.menu_requested = FALSE;
}
retval = (*func)();
: surface(u.ux, u.uy)); /* catchall; shouldn't happen */
you_are(buf, from_what(WWALKING));
#else
- Sprintf(buf, "%\82Ì\8fã\82ð\95à\82¢\82Ä",
+ Sprintf(buf, "%s\82Ì\8fã\82ð\95à\82¢\82Ä",
is_pool(u.ux, u.uy) ? "\90\85"
: is_lava(u.ux, u.uy) ? "\97n\8aâ"
: surface(u.ux, u.uy)); /* catchall; shouldn't happen */
return !stale;
} else if (!ct) {
known = TRUE;
+/*JP
You("%s %s nearby.", sobj ? "smell" : "sense", what);
+*/
+ You("\8bß\82\82Å%s%s\81D", what, sobj ? "\82Ì\82É\82¨\82¢\82ð\82©\82¢\82¾" : "\82ð\8a´\92m\82µ\82½");
if (sobj && sobj->blessed) {
if (!u.uedibility)
+/*JP
pline("Your %s starts to tingle.", body_part(NOSE));
+*/
+ pline("\82 \82È\82½\82Ì%s\82ª\82¤\82¸\82¤\82¸\82µ\82¾\82µ\82½\81D", body_part(NOSE));
u.uedibility = 1;
}
} else {
/*JP
: "You feel threatened.");
*/
- : "\82 \82È\82½\82Í\8b°\95|\82Å\82¼\82\82¼\82\82µ\82½\81D");
+ : "\82 \82È\82½\82Í\8b°\95|\82Å\82¼\82\82Á\82Æ\82µ\82½\81D");
return 1;
} else {
boolean woken = FALSE;
exercise(A_WIS, TRUE);
nomul(0);
feel_location(x, y); /* make sure it shows up */
+/*JP
You("find a hidden door.");
+*/
+ You("\89B\82³\82ê\82½\94à\82ð\8c©\82Â\82¯\82½\81D");
} else if (levl[x][y].typ == SCORR) {
if (rnl(7 - fund))
continue;
exercise(A_WIS, TRUE);
nomul(0);
feel_location(x, y); /* make sure it shows up */
+/*JP
You("find a hidden passage.");
+*/
+ You("\89B\82³\82ê\82½\92Ê\98H\82ð\8c©\82Â\82¯\82½\81D");
} else {
/* Be careful not to find anything in an SCORR or SDOOR */
if ((mtmp = m_at(x, y)) != 0 && !aflag) {
int which_subset; /* when not full, whether to suppress objs and/or traps */
{
if ((Hallucination || Stunned || Confusion) && !full) {
+/*JP
You("are too disoriented for this.");
+*/
+ You("\8d¬\97\90\82µ\82Ä\82¢\82é\82Ì\82Å\82»\82ê\82Í\82Å\82«\82È\82¢\81D");
} else {
int x, y, glyph, levl_glyph, default_glyph;
uchar seenv;
u.uswallow = 1;
flush_screen(1);
if (full) {
+/*JP
Strcpy(buf, "underlying terrain");
+*/
+ Strcpy(buf, "\89º\82É\82 \82é\92n\8c`");
} else {
+/*JP
Strcpy(buf, "known terrain");
+*/
+ Strcpy(buf, "\92m\82Á\82Ä\82¢\82é\92n\8c`");
if (keep_traps)
+#if 0 /*JP*/
Sprintf(eos(buf), "%s traps",
(keep_objs || keep_mons) ? "," : " and");
+#else
+ Strcat(buf, "\82Æã©");
+#endif
if (keep_objs)
+#if 0 /*JP*/
Sprintf(eos(buf), "%s%s objects",
(keep_traps || keep_mons) ? "," : "",
keep_mons ? "" : " and");
+#else
+ Strcat(buf, "\82Æ\95¨\91Ì");
+#endif
if (keep_mons)
+#if 0 /*JP*/
Sprintf(eos(buf), "%s and monsters",
(keep_traps || keep_objs) ? "," : "");
+#else
+ Strcat(buf, "\82Æ\89ö\95¨");
+#endif
}
+/*JP
pline("Showing %s only...", buf);
+*/
+ pline("%s\82¾\82¯\82ð\8c©\82é\81D\81D\81D", buf);
display_nhwindow(WIN_MAP, TRUE); /* give "--More--" prompt */
docrt(); /* redraw the screen, restoring regular map */
if (Underwater)
dmg = 1;
else if (uarmf)
dmg = (dmg + 1) / 2;
+/*JP
You("hit yourself in the %s.", body_part(FOOT));
+*/
+ pline("%s\82É\93\96\82½\82Á\82½\81D", body_part(FOOT));
+#if 0 /*JP*/
Sprintf(kbuf, "chopping off %s own %s", uhis(),
body_part(FOOT));
+#else
+ Sprintf(kbuf, "\8e©\95ª\82Ì%s\82ð\90Ø\82è\97\8e\82Æ\82µ\82Ä", body_part(FOOT));
+#endif
losehp(Maybe_Half_Phys(dmg), kbuf, KILLED_BY);
} else {
+#if 0 /*JP*/
You("destroy the bear trap with %s.",
yobjnam(uwep, (const char *) 0));
+#else
+ You("%s\82Å\8cF\82Ìã©\82ð\89ó\82µ\82½\81D", xname(uwep));
+#endif
u.utrap = 0; /* release from trap */
deltrap(ttmp);
}
int adjidx = (idx + 4) % 8;
trap_with_u->conjoined |= (1 << idx);
trap->conjoined |= (1 << adjidx);
+/*JP
pline("You clear some debris from between the pits.");
+*/
+ pline("\82 \82È\82½\82Í\97\8e\82µ\8c\8a\82Ì\8aÔ\82©\82ç\82²\82Ý\82ð\8eæ\82è\82Ì\82¼\82¢\82½\81D");
}
} else if (u.utrap && u.utraptype == TT_PIT
&& (trap_with_u = t_at(u.ux, u.uy))) {
+#if 0 /*JP*/
You("swing %s, but the rubble has no place to go.",
yobjnam(obj, (char *) 0));
+#else
+ You("%s\82ð\90U\82è\89ñ\82µ\82½\82ª\81C\94j\95Ð\82Ì\8ds\82«\8fê\8f\8a\82ª\82È\82¢\81D", xname(obj));
+#endif
} else
+/*JP
You("swing %s through thin air.", yobjnam(obj, (char *) 0));
+*/
+ You("\8bó\92\86\82Å%s\82ð\90U\82è\89ñ\82µ\82½\81D", xname(obj));
} else {
#if 0 /*JP*/
static const char *const d_action[6] = { "swinging", "digging",
/* U.S. classification system uses 1-A for eligible to serve
and 4-F for ineligible due to physical or mental defect;
some intermediate values exist but are rarely seen */
+#if 0 /*JP*/
You_feel("like you are %s.",
(ACURR(A_STR) < 6 || ACURR(A_DEX) < 6
|| ACURR(A_CON) < 6 || ACURR(A_CHA) < 6
|| ACURR(A_INT) < 6 || ACURR(A_WIS) < 6) ? "4-F"
: "1-A");
+#else
+ You("\93Ë\91R\90\99\97Ç\91¾\98Y\82ð\8ev\82¢\8fo\82µ\82½\81D");
+#endif
} else {
if (!Hallucination) {
+/*JP
You_feel("a draft.");
+*/
+ You_feel("\82·\82«\82Ü\95\97\82ð\8a´\82¶\82½\81D");
} else {
+#if 0 /*JP*//*"draft"=\81u\92¥\95º\81v*/
/* "marching" is deliberately ambiguous; it might mean drills
after entering military service or mean engaging in protests */
static const char *draft_reaction[] = {
/* L: +(0..2), N: +(-1..1), C: +(-2..0); all: 0..3 */
dridx += rn1(3, sgn(u.ualign.type) - 1);
You_feel("like %s.", draft_reaction[dridx]);
+#else /*JP:\93ú\96{\8cê\82Å\82Í\8bÃ\82Á\82½\82±\82Æ\82Í\82µ\82È\82¢*/
+ You("\90\99\97Ç\91¾\98Y\82ð\8ev\82¢\8fo\82µ\82½\81D");
+#endif
}
}
}
int ltyp;
struct rm *room;
const char *foundation_msg =
+/*JP
"The foundation is too hard to dig through from this angle.";
+*/
+ "\8aî\91b\82Í\82±\82Ì\8ap\93x\82©\82ç\8c@\82é\82É\82Í\8cÅ\82·\82¬\82é\81D";
if (!cc)
return FALSE;
return FALSE;
} else if (IS_TREE(ltyp)) { /* check trees before stone */
/* if (room->wall_info & W_NONDIGGABLE) */
+/*JP
Strcpy(msg, "The tree's roots glow then fade.");
+*/
+ Strcpy(msg, "\96Ø\82Ì\8dª\82Í\88ê\8fu\8bP\82¢\82½\81D");
return FALSE;
} else if (ltyp == STONE || ltyp == SCORR) {
if (room->wall_info & W_NONDIGGABLE) {
+/*JP
Strcpy(msg, "The rock glows then fades.");
+*/
+ Strcpy(msg, "\90Î\82Í\88ê\8fu\8bP\82¢\82½\81D");
return FALSE;
}
} else if (ltyp == IRONBARS) {
/* "set of iron bars" */
+/*JP
Strcpy(msg, "The bars go much deeper than your pit.");
+*/
+ Strcpy(msg, "\96_\82Í\97\8e\82µ\8c\8a\82æ\82è\97y\82©\82É\90[\82¢\82Æ\82±\82ë\82Ü\82Å\96\84\82Ü\82Á\82Ä\82¢\82é\81D");
#if 0
} else if (is_lava(cc->x, cc->y)) {
} else if (is_ice(cc->x, cc->y)) {
} else if (IS_GRAVE(ltyp)) {
#endif
} else if (IS_SINK(ltyp)) {
+/*JP
Strcpy(msg, "A tangled mass of plumbing remains below the sink.");
+*/
+ Strcpy(msg, "\93ü\82è\91g\82ñ\82¾\94z\8aÇ\82ª\97¬\82µ\91ä\82Ì\89º\82É\8ec\82Á\82½\82Ü\82Ü\82¾\81D");
return FALSE;
} else if ((cc->x == xupladder && cc->y == yupladder) /* ladder up */
|| (cc->x == xdnladder && cc->y == ydnladder)) { /* " down */
+/*JP
Strcpy(msg, "The ladder is unaffected.");
+*/
+ Strcpy(msg, "\82Í\82µ\82²\82Í\89e\8b¿\82ð\8eó\82¯\82È\82¢\81D");
return FALSE;
} else {
const char *supporting = (const char *) 0;
if (IS_FOUNTAIN(ltyp))
+/*JP
supporting = "fountain";
+*/
+ supporting = "\90ò";
else if (IS_THRONE(ltyp))
+/*JP
supporting = "throne";
+*/
+ supporting = "\8bÊ\8dÀ";
else if (IS_ALTAR(ltyp))
+/*JP
supporting = "altar";
+*/
+ supporting = "\8dÕ\92d";
else if ((cc->x == xupstair && cc->y == yupstair)
|| (cc->x == sstairs.sx && cc->y == sstairs.sy
&& sstairs.up))
/* "staircase up" */
+/*JP
supporting = "stairs";
+*/
+ supporting = "\8aK\92i";
else if ((cc->x == xdnstair && cc->y == ydnstair)
|| (cc->x == sstairs.sx && cc->y == sstairs.sy
&& !sstairs.up))
/* "staircase down" */
+/*JP
supporting = "stairs";
+*/
+ supporting = "\8aK\92i";
else if (ltyp == DRAWBRIDGE_DOWN /* "lowered drawbridge" */
|| ltyp == DBWALL) /* "raised drawbridge" */
+/*JP
supporting = "drawbridge";
+*/
+ supporting = "\92µ\82Ë\8b´";
if (supporting) {
+#if 0 /*JP*/
Sprintf(msg, "The %s%ssupporting structures remain intact.",
supporting ? s_suffix(supporting) : "",
supporting ? " " : "");
+#else
+ Sprintf(msg, "%s%s\8ex\82¦\82Ä\82¢\82é\95\94\95ª\82Í\82»\82Ì\82Ü\82Ü\82¾\81D",
+ supporting ? supporting : "",
+ supporting ? "\82ð" : "");
+#endif
return FALSE;
}
}
levl[trap->tx][trap->ty].typ = filltyp;
liquid_flow(trap->tx, trap->ty, filltyp, trap,
(trap->tx == u.ux && trap->ty == u.uy)
+/*JP
? "Suddenly %s flows in from the adjacent pit!"
+*/
+ ? "\93Ë\91R\97×\82Ì\97\8e\82µ\8c\8a\82©\82ç%s\82ª\97¬\82ê\8d\9e\82ñ\82Å\82«\82½\81I"
: (char *) 0);
for (idx = 0; idx < 8; ++idx) {
if (t.conjoined & (1 << idx)) {
unpunish();
u.utrap = rn1(50, 20);
u.utraptype = TT_BURIEDBALL;
+/*JP
pline_The("iron ball gets buried!");
+*/
+ pline_The("\93S\82Ì\8b\85\82Í\96\84\82Ü\82Á\82½\81I");
}
/* after unpunish(), or might get deallocated chain */
otmp2 = otmp->nexthere;
make_grave(u.ux, u.uy, (char *) 0);
break;
}
+#if 0 /*JP*/
pline_The("sink transforms into %s!", (levl[u.ux][u.uy].typ == THRONE)
? "a throne"
: an(surface(u.ux, u.uy)));
+#else
+ pline_The("\97¬\82µ\91ä\82Í%s\82É\95Ï\89»\82µ\82½\81I", (levl[u.ux][u.uy].typ == THRONE)
+ ? "\8bÊ\8dÀ"
+ : an(surface(u.ux, u.uy)));
+#endif
newsym(u.ux, u.uy);
}
/* getobj() kludge sets corpsenm to user's specified count
when refusing to split a stack of cursed loadstones */
if (*word) {
+#if 0 /*JP*//*\93ú\96{\8cê\82Å\82Í\95s\97v*/
/* getobj() ignores a count for throwing since that is
implicitly forced to be 1; replicate its kludge... */
if (!strcmp(word, "throw") && obj->quan > 1L)
obj->corpsenm = 1;
+#endif
#if 0 /*JP*/
pline("For some reason, you cannot %s%s the stone%s!", word,
obj->corpsenm ? " any of" : "", plur(obj->quan));
/*JP
if (!u.uswallow && flooreffects(obj, u.ux, u.uy, "drop"))
*/
- if (!u.uswallow && flooreffects(obj,u.ux,u.uy,"\97\8e\82¿\82é"))
+ if (!u.uswallow && flooreffects(obj,u.ux,u.uy, "\97\8e\82¿\82é"))
return;
/* uswallow check done by GAN 01/29/87 */
if (u.uswallow) {
if (float_down(I_SPECIAL | TIMEOUT, W_ARTI)) {
return 1; /* came down, so moved */
} else if (!HLevitation && !ELevitation) {
+/*JP
Your("latent levitation ceases.");
+*/
+ pline("\90ö\8dÝ\93I\82È\95\82\97V\94\\97Í\82ª\92\86\92f\82µ\82½\81D");
return 1; /* did something, effectively moved */
}
}
#endif
if ((annotation = get_annotation(&u.uz)))
+/*JP
You("remember this level as %s.", annotation);
+*/
+ You("\82±\82Ì\8aK\82ª%s\82Å\82 \82é\82±\82Æ\82ð\8ev\82¢\8fo\82µ\82½\81D", annotation);
/* assume this will always return TRUE when changing level */
(void) in_out_region(u.ux, u.uy);
if (rloc(mtmp, TRUE)) {
if (notice_it && !canseemon(mtmp))
+/*JP
pline("%s vanishes.", monname);
+*/
+ pline("%s\82Í\8fÁ\82¦\82½\81D", monname);
else if (!notice_it && canseemon(mtmp))
+#if 0 /*JP*/
pline("%s appears.", Monnam(mtmp)); /* not pre-rloc monname */
+#else
+ pline("%s\82ª\8c»\82ê\82½\81D", Monnam(mtmp)); /* not pre-rloc monname */
+#endif
else if (notice_it && dist2(mtmp->mx, mtmp->my, x, y) > 2)
+#if 0 /*JP*/
pline("%s teleports.", monname); /* saw it and still see it */
+#else
+ pline("%s\82Í\8fu\8aÔ\88Ú\93®\82µ\82½\81D", monname); /* saw it and still see it */
+#endif
}
}