u.uen = u.uenmax;
context.botl = 1;
if (u.uen == u.uenmax)
+/*JP
interrupt_multi("You feel full of energy.");
+*/
+ interrupt_multi("\83G\83l\83\8b\83M\81[\82ª\89ñ\95\9c\82µ\82½\81D");
}
if (!u.uinvulnerable) {
}
if (reached_full)
+/*JP
interrupt_multi("You are in full health.");
+*/
+ interrupt_multi("\91Ì\97Í\82ª\89ñ\95\9c\82µ\82½\81D");
}
void
/* skip "welcome back" if restoring a doomed character */
if (!new_game && Upolyd && ugenocided()) {
/* death via self-genocide is pending */
+/*JP
pline("You're back, but you still feel %s inside.", udeadinside());
+*/
+ pline("\82 \82È\82½\82Í\8bA\82Á\82Ä\82«\82½\82ª\81C\8d°\82ª%s\82Ü\82Ü\82¾\81D", udeadinside());
return;
}
You("%s\82ð\92Ê\82µ\82Ä\96A\82ð\8fo\82µ\82½\81D", xname(obj));
} else {
if (Deaf)
+#if 0 /*JP*/
You_feel("rushing air tickle your %s.",
body_part(NOSE));
+#else
+ You_feel("\8bó\8bC\82Ì\97¬\82ê\82ª%s\82ð\82\82·\82®\82Á\82½\81D",
+ body_part(NOSE));
+#endif
else
/*JP
You(whistle_str, obj->cursed ? "shrill" : "high");
it from the engulfer versus from some other creature
(note: the two in-use cases can't actually occur; all
leashes are released when the hero gets engulfed) */
+#if 0 /*JP*/
You_cant((!obj->leashmon
? "leash %s from inside."
: (obj->leashmon == (int) u.ustuck->m_id)
? "unleash %s from inside."
: "unleash anything from inside %s."),
noit_mon_nam(u.ustuck));
+#else
+ You_cant((!obj->leashmon
+ ? "\93à\91¤\82©\82ç%s\82É\8c\8b\82Ñ\82Â\82¯\82é\82±\82Æ\82Í\82Å\82«\82È\82¢\81D"
+ : (obj->leashmon == (int) u.ustuck->m_id)
+ ? "\93à\91¤\82©\82ç%s\82ð\8aO\82·\82±\82Æ\82Í\82Å\82«\82È\82¢\81D"
+ : "%s\82Ì\93à\91¤\82©\82ç\8aO\82·\82±\82Æ\82Í\82Å\82«\82È\82¢\81D"),
+ noit_mon_nam(u.ustuck));
+#endif
return 0;
}
if (!obj->leashmon && number_leashed() >= MAXLEASHED) {
if (!spotmon && !glyph_is_invisible(levl[cc.x][cc.y].glyph)) {
/* for the unleash case, we don't verify whether this unseen
monster is the creature attached to the current leash */
+/*JP
You("fail to %sleash something.", obj->leashmon ? "un" : "");
+*/
+ You("%s\82Ì\82É\8e¸\94s\82µ\82½\81D", obj->leashmon ? "\8aO\82·" : "\8c\8b\82Ñ\82Â\82¯\82é");
/* trying again will work provided the monster is tame
(and also that it doesn't change location by retry time) */
map_invisible(cc.x, cc.y);
}
if (u.uswallow) {
if (useeit)
+#if 0 /*JP*/
You("reflect %s %s.", s_suffix(mon_nam(u.ustuck)),
mbodypart(u.ustuck, STOMACH));
+#else
+ You("%s\82Ì%s\82ð\89f\82µ\82½\81D", mon_nam(u.ustuck),
+ mbodypart(u.ustuck, STOMACH));
+#endif
return 1;
}
if (Underwater) {
&& (traj == jDiag
|| ((traj & jHorz) != 0) == (lev->horizontal != 0))) {
if (showmsg)
+/*JP
You_cant("jump diagonally out of a doorway.");
+*/
+ You_cant("\8fo\93ü\82è\8cû\82©\82ç\8eÎ\82ß\82É\94ò\82Ñ\8fo\82·\82±\82Æ\82Í\82Å\82«\82È\82¢\81D");
return FALSE;
}
uc.x = u.ux, uc.y = u.uy;
tc.x = x, tc.y = y; /* target */
if (!walk_path(&uc, &tc, check_jump, (genericptr_t) &traj)) {
if (showmsg)
+/*JP
There("is an obstacle preventing that jump.");
+*/
+ pline("\94ò\82Ô\82Ì\82ð\8e×\96\82\82·\82é\89½\82©\82ª\82 \82é\81D");
return FALSE;
}
}
void
mkot_trap_warn()
{
+#if 0 /*JP*/
static const char *const heat[7] = {
"cool", "slightly warm", "warm", "very warm",
"hot", "very hot", "like fire"
};
+#else
+ static const char *const heat[7] = {
+ "\97â\82½\82", "\8f\82µ\89·\82©\82", "\89·\82©\82", "\82Æ\82Ä\82à\89·\82©\82",
+ "\94M\82", "\82Æ\82Ä\82à\94M\82", "\89\8a\82Ì\82æ\82¤\82É"
+ };
+#endif
if (!uarmg && uwep && uwep->oartifact == ART_MASTER_KEY_OF_THIEVERY) {
int idx, ntraps = count_surround_traps(u.ux, u.uy);
if (ntraps != mkot_trap_warn_count) {
idx = min(ntraps, SIZE(heat) - 1);
+/*JP
pline_The("Key feels %s%c", heat[idx], (ntraps > 3) ? '!' : '.');
+*/
+ pline_The("\8c®\82Í%s\8a´\82¶\82½%s", heat[idx], (ntraps > 3) ? "\81I" : "\81D");
}
mkot_trap_warn_count = ntraps;
} else
abonflg ? "\8d¡\82Ì\82Æ\82±\82ë" : "\8aù\82É", attrstr);
#endif
else /* current stayed the same but base value changed */
+#if 0 /*JP*/
Your("innate %s has %s.", attrname[ndx],
(incr > 0) ? "improved" : "declined");
+#else
+ Your("\96{\8e¿\93I\82È%s\82ª%s\82µ\82½\81D", attrname[ndx],
+ (incr > 0) ? "\8cü\8fã" : "\92á\89º");
+#endif
}
return FALSE;
}
* (dunce cap) is such that we don't need message fixups for them.
*/
if (typ == A_STR && ACURR(A_STR) == STR19(25))
+/*JP
msg_txt = "innately weaker";
+*/
+ msg_txt = "\96{\8e¿\93I\82É\8eã\82\82È\82Á\82½";
else if (typ == A_CON && ACURR(A_CON) == 25)
+/*JP
msg_txt = "sick inside";
+*/
+ msg_txt = "\93à\95\94\82É\95a\82ð\82©\82©\82¦\82½";
/*JP
(*func)("%s%c", msg_txt, exclaim ? '!' : '.');
*/
Strcpy(buf, "\90¶\82Ü\82ê\82È\82ª\82ç\82É");
else if (innateness == FROM_INTR) /* [].intrinsic & FROMOUTSIDE */
+/*JP
Strcpy(buf, " intrinsically");
+*/
+ Strcpy(buf, "\96{\8e¿\93I\82É");
else if (innateness == FROM_EXP)
/*JP
Strcpy(buf, " because of your experience");
*/
Strcpy(buf, "\8co\8c±\82É\82æ\82Á\82Ä");
else if (innateness == FROM_LYCN)
+/*JP
Strcpy(buf, " due to your lycanthropy");
+*/
+ Strcpy(buf, "\8fb\89»\95a\82É\82æ\82Á\82Ä");
else if (innateness == FROM_FORM)
+/*JP
Strcpy(buf, " from current creature form");
+*/
+ Strcpy(buf, "\8c»\8dÝ\82Ì\8ep\82É\82æ\82Á\82Ä");
else if (propidx == FAST && Very_fast)
+#if 0 /*JP*/
Sprintf(buf, because_of,
((HFast & TIMEOUT) != 0L) ? "a potion or spell"
: ((EFast & W_ARMF) != 0L && uarmf->dknown
? ysimple_name(uarmf) /* speed boots */
: EFast ? "worn equipment"
: something);
+#else
+ Sprintf(buf, because_of,
+ ((HFast & TIMEOUT) != 0L) ? "\96ò\82â\8eô\95¶"
+ : ((EFast & W_ARMF) != 0L && uarmf->dknown
+ && objects[uarmf->otyp].oc_name_known)
+ ? ysimple_name(uarmf) /* speed boots */
+ : EFast ? "\91\95\94õ"
+ : something);
+#endif
else if (wizard
&& (obj = what_gives(&u.uprops[propidx].extrinsic)) != 0)
Sprintf(buf, because_of, obj->oartifact
* unusual for more than one of them to apply at a time.]
*/
if (Stoned)
+/*JP
Strcpy(nb = eos(nb), " Stone");
+*/
+ Strcpy(nb = eos(nb), " \90Î\89»");
if (Slimed)
/*JP
Strcpy(nb = eos(nb), " Slime");
*/
Strcpy(nb = eos(nb), " \82Ç\82ë\82Ç\82ë");
if (Strangled)
+/*JP
Strcpy(nb = eos(nb), " Strngl");
+*/
+ Strcpy(nb = eos(nb), " \92\82\91§");
if (Sick) {
if (u.usick_type & SICK_VOMITABLE)
/*JP
*/
Strcpy(nb = eos(nb), " \96Ó\96Ú");
if (Deaf)
+/*JP
Strcpy(nb = eos(nb), " Deaf");
+*/
+ Strcpy(nb = eos(nb), " \8e¨\98W");
if (Stunned)
/*JP
Strcpy(nb = eos(nb), " Stun");
Strcpy(nb = eos(nb), " \8c¶\8ao");
/* levitation and flying are mutually exclusive; riding is not */
if (Levitation)
+/*JP
Strcpy(nb = eos(nb), " Lev");
+*/
+ Strcpy(nb = eos(nb), " \95\82\97V");
if (Flying)
+/*JP
Strcpy(nb = eos(nb), " Fly");
+*/
+ Strcpy(nb = eos(nb), " \94ò\8ds");
if (u.usteed)
+/*JP
Strcpy(nb = eos(nb), " Ride");
+*/
+ Strcpy(nb = eos(nb), " \8bR\8fæ");
cln = strlen(cond);
/*
Strcpy(nb = buf, plname);
nb[0] = highc(nb[0]);
nb[10] = '\0';
+#if 0 /*JP*/
Sprintf(nb = eos(nb), " the ");
+#else
+ Sprintf(nb = eos(nb), " ");
+#endif
if (Upolyd) {
for (i = 0, nb = strcpy(eos(nb), mons[u.umonnum].mname); nb[i]; i++)
if (i == 0 || nb[i - 1] == ' ')
blstats[idx][BL_CH].a.a_int = ACURR(A_CHA);
/* Alignment */
+#if 0 /*JP*/
Strcpy(blstats[idx][BL_ALIGN].val, (u.ualign.type == A_CHAOTIC)
? "Chaotic"
: (u.ualign.type == A_NEUTRAL)
? "Neutral"
: "Lawful");
+#else
+ Strcpy(blstats[idx][BL_ALIGN].val, (u.ualign.type == A_CHAOTIC)
+ ? "\8d¬\93×"
+ : (u.ualign.type == A_NEUTRAL)
+ ? "\92\86\97§"
+ : "\92\81\8f\98");
+#endif
/* Score */
blstats[idx][BL_SCORE].a.a_long =
func = extcmdlist[idx].ef_funct;
if (!wizard && (extcmdlist[idx].flags & WIZMODECMD)) {
+/*JP
You("can't do that.");
+*/
+ pline("\82»\82ê\82Í\82Å\82«\82Ü\82¹\82ñ\81D");
return 0;
}
if (iflags.menu_requested && !accept_menu_prefix(func)) {
putstr(datawin, 0, buf);
}
putstr(datawin, 0, "");
+/*JP
putstr(datawin, 0, " Commands marked with a * will be autocompleted.");
+*/
+ putstr(datawin, 0, " *\95t\82«\82Ì\83R\83}\83\93\83h\82Í\8e©\93®\95â\8a®\82³\82ê\82Ü\82·\81D");
display_nhwindow(datawin, FALSE);
destroy_nhwindow(datawin);
return 0;
any = zeroany;
any.a_int = 1;
add_menu(men, NO_GLYPH, &any, 0, 0, ATR_NONE,
+/*JP
"known map without monsters, objects, and traps",
+*/
+ "\89ö\95¨\81C\95¨\81Cã©\82È\82µ\82Ì\92n\90}",
MENU_SELECTED);
any.a_int = 2;
add_menu(men, NO_GLYPH, &any, 0, 0, ATR_NONE,
+/*JP
"known map without monsters and objects",
+*/
+ "\89ö\95¨\81C\95¨\82È\82µ\82Ì\92n\90}",
MENU_UNSELECTED);
any.a_int = 3;
add_menu(men, NO_GLYPH, &any, 0, 0, ATR_NONE,
+/*JP
"known map without monsters",
+*/
+ "\89ö\95¨\82È\82µ\82Ì\92n\90}",
MENU_UNSELECTED);
if (discover || wizard) {
any.a_int = 4;
add_menu(men, NO_GLYPH, &any, 0, 0, ATR_NONE,
+/*JP
"full map without monsters, objects, and traps",
+*/
+ "\89ö\95¨\81C\95¨\81Cã©\82È\82µ\82Ì\8a®\91S\82È\92n\90}",
MENU_UNSELECTED);
if (wizard) {
any.a_int = 5;
MENU_UNSELECTED);
}
}
+/*JP
end_menu(men, "View which?");
+*/
+ end_menu(men, "\82Ç\82ê\82ð\8c©\82é\81H");
n = select_menu(men, PICK_ONE, &sel);
destroy_nhwindow(men);
/* Protection amount is typically larger than damage or to-hit;
reduce magnitude by a third in order to stretch modifier ranges
(small:1..5, moderate:6..10, large:11..19, huge:20+) */
+#if 0 /*JP*/
if (!strcmp(inctyp, "defense"))
+#else
+ if (!strcmp(inctyp, "\96h\8cä"))
+#endif
absamt = (absamt * 2) / 3;
if (absamt <= 3)
*/
bonus = (incamt > 0) ? "\83{\81[\83i\83X" : "\83y\83i\83\8b\83e\83B";
/* "bonus <foo>" (to hit) vs "<bar> bonus" (damage, defense) */
+#if 0 /*JP*/
invrt = strcmp(inctyp, "to hit") ? TRUE : FALSE;
+#else
+ invrt = strcmp(inctyp, "\96½\92\86\97¦") ? TRUE : FALSE;
+#endif
#if 0 /*JP*/
Sprintf(outbuf, "%s %s %s", modif, invrt ? inctyp : bonus,
switch (category) {
case HALF_PHDAM:
+/*JP
category_name = "physical";
+*/
+ category_name = "\95¨\97\9d";
break;
case HALF_SPDAM:
+/*JP
category_name = "spell";
+*/
+ category_name = "\8eô\95¶";
break;
default:
+/*JP
category_name = "unknown";
+*/
+ category_name = "\95s\96¾";
break;
}
+#if 0 /*JP*/
Sprintf(buf, " %s %s damage", (final || wizard) ? "half" : "reduced",
category_name);
enl_msg(You_, "take", "took", buf, from_what(category));
+#else
+ Sprintf(buf, " %s\83_\83\81\81[\83W\82ð%s", (final || wizard) ? "\94¼\8c¸" : "\8c¸\8f",
+ category_name);
+ enl_msg(You_, "\82µ\82Ä\82¢\82é", "\82µ\82Ä\82¢\82½", buf, from_what(category));
+#endif
}
/* is hero actively using water walking capability on water (or lava)? */
if (hp < 0)
hp = 0;
+/*JP
Sprintf(buf, "%d hit points (max:%d)", hp, hpmax);
+*/
+ Sprintf(buf, "%d\83q\83b\83g\83|\83C\83\93\83g(\8dÅ\91å:%d)", hp, hpmax);
you_have(buf, "");
+/*JP
Sprintf(buf, "%d magic power (max:%d)", u.uen, u.uenmax);
+*/
+ Sprintf(buf, "%d\96\82\97Í\83|\83C\83\93\83g(\8dÅ\91å:%d)", u.uen, u.uenmax);
you_have(buf, "");
Sprintf(buf, "%d", u.uac);
+/*JP
enl_msg("Your armor class ", "is ", "was ", buf, "");
+*/
+ enl_msg("\82 \82È\82½\82Ì\96h\8cä\92l\82Í", "\82Å\82 \82é", "\82Å\82 \82Á\82½", buf, "");
if (Upolyd) {
switch (mons[u.umonnum].mlevel) {
case 0:
/* status line currently being explained shows "HD:0" */
+/*JP
Strcpy(buf, "0 hit dice (actually 1/2)");
+*/
+ Strcpy(buf, "HD0(\8eÀ\8dÛ\82É\82Í1/2)");
break;
case 1:
+/*JP
Strcpy(buf, "1 hit die");
+*/
+ Strcpy(buf, "HD1");
break;
default:
+/*JP
Sprintf(buf, "%d hit dice", mons[u.umonnum].mlevel);
+*/
+ Sprintf(buf, "HD%d", mons[u.umonnum].mlevel);
break;
}
} else {
/* flags.showexp does not matter */
/* experience level is already shown in the Background section */
+#if 0 /*JP*/
Sprintf(buf, "%-1ld experience point%s",
u.uexp, plur(u.uexp));
+#else
+ Sprintf(buf, "\8co\8c±\92l%-1ld\83|\83C\83\93\83g",
+ u.uexp);
+#endif
}
you_have(buf, "");
/* this is shown even if the 'time' option is off */
+/*JP
Sprintf(buf, "the dungeon %ld turn%s ago", moves, plur(moves));
+*/
+ Sprintf(buf, "%ld\83^\81[\83\93\91O\82É\96À\8b{\82É\93ü\82Á\82½", moves);
/* same phrasing at end of game: "entered" is unconditional */
- enlght_line(You_, "entered ", buf, "");
+ enlght_line(You_, "", buf, "");
#ifdef SCORE_ON_BOTL
if (flags.showscore) {
/* describes what's shown on status line, which is an approximation;
only show it here if player has the 'showscore' option enabled */
+#if 0 /*JP*/
Sprintf(buf, "%ld%s", botl_score(),
!final ? "" : " before end-of-game adjustments");
enl_msg("Your score ", "is ", "was ", buf, "");
+#else
+ Sprintf(buf, "%s%ld", botl_score(),
+ !final ? "" : "\83Q\81[\83\80\8fI\97¹\8e\9e\82Ì\92²\90®\91O\82Í");
+ enl_msg("\82 \82È\82½\82Ì\83X\83R\83A\82Í", "\82Å\82 \82é", "\82Å\82 \82Á\82½", buf, "");
+#endif
}
#endif
struct obj *saddle = which_armor(u.usteed, W_SADDLE);
if (saddle && saddle->cursed) {
+#if 0 /*JP*/
Sprintf(buf, "stuck to %s %s", s_suffix(steedname),
simpleonames(saddle));
you_are(buf, "");
+#else
+ Sprintf(buf, "%s\82Ì%s\82É\82Â\82©\82Ü\82Á\82Ä", steedname,
+ simpleonames(saddle));
+ you_are_ing(buf, "");
+#endif
}
}
if (Wounded_legs) {
{ M('r'), "rub", "\83\89\83\93\83v\82ð\82±\82·\82é", dorub, AUTOCOMPLETE },
#endif
{ 'S', "save", "save the game and exit", dosave, IFBURIED | GENERALCMD },
+#if 0 /*JP*/
{ 's', "search", "search for traps and secret doors",
dosearch, IFBURIED, "searching" },
+#else
+ { 's', "search", "ã©\82â\89B\82µ\94à\82ð\92T\82·",
+ dosearch, IFBURIED, "\92T\82·" },
+#endif
{ '*', "seeall", "show all equipment in use", doprinuse, IFBURIED },
{ AMULET_SYM, "seeamulet", "show the amulet currently worn",
dopramulet, IFBURIED },
{ '\0', "vision", "\8e\8b\8aE\94z\97ñ\82ð\8c©\82é",
#endif
wiz_show_vision, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
+#if 0 /*JP*/
{ '.', "wait", "rest one move while doing nothing",
donull, IFBURIED, "waiting" },
+#else
+ { '.', "wait", "\88ê\95à\95ª\89½\82à\82µ\82È\82¢",
+ donull, IFBURIED, "\8bx\8ce\82·\82é" },
+#endif
{ 'W', "wear", "wear a piece of armor", dowear },
{ '&', "whatdoes", "tell what a command does", dowhatdoes, IFBURIED },
{ '/', "whatis", "show what type of thing a symbol corresponds to",
a movement attempt, but that didn't provide for any
feedback and led to strangeness if the key pressed
('u' in particular) was overloaded for num_pad use */
+/*JP
You_cant("get there from here...");
+*/
+ You_cant("\82±\82±\82©\82ç\82»\82±\82Ö\82Í\8ds\82¯\82Ü\82¹\82ñ\81D\81D\81D");
context.run = 0;
context.nopick = context.forcefight = FALSE;
context.move = context.mv = FALSE;
/* current - use *cmd to directly index cmdlist array */
if ((tlist = Cmd.commands[*cmd & 0xff]) != 0) {
if (!wizard && (tlist->flags & WIZMODECMD)) {
+/*JP
You_cant("do that!");
+*/
+ pline("\82»\82ê\82Í\82Å\82«\82Ü\82¹\82ñ\81I");
res = 0;
} else if (u.uburied && !(tlist->flags & IFBURIED)) {
/*JP
}
if (historical) {
+/*JP
Sprintf(qbuf, "Count: %ld ", *count);
+*/
+ Sprintf(qbuf, "\90\94: %ld ", *count);
(void) key2txt((uchar) key, eos(qbuf));
putmsghistory(qbuf, FALSE);
}
dosuspend();
} else
#endif
+/*JP
Norep("Suspend command not available.");
+*/
+ Norep("\92\86\92f\83R\83}\83\93\83h\82Í\97\98\97p\82Å\82«\82Ü\82¹\82ñ\81D");
return 0;
}
} else {
if (crm->typ == DRAWBRIDGE_DOWN) {
if (is_u(etmp)) {
+#if 0 /*JP*/
killer.format = NO_KILLER_PREFIX;
Strcpy(killer.name,
"crushed to death underneath a drawbridge");
+#else
+ killer.format = KILLED_BY;
+ Strcpy(killer.name,
+ "\92µ\82Ë\8b´\82Ì\89º\95~\82É\82È\82Á\82Ä");
+#endif
}
/*JP
pline("%s crushed underneath the drawbridge.",
*/
"\82 \82È\82½\82Í\8f«\97\88\82Ì\8co\8dÏ\8fó\8bµ\82ª\90S\94z\82É\82È\82Á\82½\81D");
else if (steedgold)
+#if 0 /*JP*/
Sprintf(buf, "You feel interested in %s financial situation.",
s_suffix(x_monnam(u.usteed,
u.usteed->mtame ? ARTICLE_YOUR
: ARTICLE_THE,
(char *) 0,
SUPPRESS_SADDLE, FALSE)));
+#else
+ Sprintf(buf, "\82 \82È\82½\82Í%s\82Ì\8co\8dÏ\8fó\8bµ\82É\8b»\96¡\82ª\8fo\82Ä\82«\82½\81D",
+ x_monnam(u.usteed,
+ u.usteed->mtame ? ARTICLE_YOUR
+ : ARTICLE_THE,
+ (char *) 0,
+ SUPPRESS_SADDLE, FALSE));
+#endif
else
/*JP
Strcpy(buf, "You feel materially poor.");
You("\82Ç\82ñ\97~\82É\82È\82Á\82½\82æ\82¤\82È\8bC\82ª\82µ\82½\81C\82»\82µ\82Ä\8bà\89Ý\82Ì\88Ê\92u\82ð\8a´\92m\82µ\82½\81I");
exercise(A_WIS, TRUE);
+/*JP
browse_map(ter_typ, "gold");
+*/
+ browse_map(ter_typ, "\8bà");
reconstrain_map();
docrt();
You("%s\82ð\8a´\92m\82µ\82½\81D", what);
exercise(A_WIS, TRUE);
+/*JP
browse_map(ter_typ, "food");
+*/
+ browse_map(ter_typ, "\90H\97¿");
reconstrain_map();
docrt();
if (!ct)
display_nhwindow(WIN_MAP, TRUE);
else
+/*JP
browse_map(ter_typ, "object");
+*/
+ browse_map(ter_typ, "\95¨\91Ì");
reconstrain_map();
docrt(); /* this will correctly reset vision */
/* one-shot detection--allow player to move cursor around and
get autodescribe feedback */
EDetect_monsters |= I_SPECIAL;
+/*JP
browse_map(TER_DETECT | TER_MON, "monster of interest");
+*/
+ browse_map(TER_DETECT | TER_MON, "\8aÖ\90S\82Ì\82 \82é\89ö\95¨");
EDetect_monsters &= ~I_SPECIAL;
}
*/
You("%s\8bC\8e\9d\82É\82È\82Á\82½\81D", cursed_src ? "\82Æ\82Ä\82à\82Ç\82ñ\97~\82È" : "\82¾\82Ü\82³\82ê\82Ä\82¢\82é\82æ\82¤\82È");
+/*JP
browse_map(ter_typ, "trap of interest");
+*/
+ browse_map(ter_typ, "\8aÖ\90S\82Ì\82 \82éã©");
reconstrain_map();
docrt(); /* redraw the screen to remove unseen traps from the map */
if (!level.flags.hero_memory || unconstrained) {
flush_screen(1); /* flush temp screen */
/* browse_map() instead of display_nhwindow(WIN_MAP, TRUE) */
+#if 0 /*JP*/
browse_map(TER_DETECT | TER_MAP | TER_TRP | TER_OBJ,
"anything of interest");
+#else
+ browse_map(TER_DETECT | TER_MAP | TER_TRP | TER_OBJ,
+ "\8aÖ\90S\82Ì\82 \82é\82à\82Ì");
+#endif
docrt();
}
reconstrain_map();
/* the getpos() prompt from browse_map() is only shown when
flags.verbose is set, but make this unconditional so that
not-verbose users become aware of the prompting situation */
+/*JP
You("sense your surroundings.");
+*/
+ You("\82Ü\82í\82è\82Ì\82à\82Ì\82ð\8a´\92m\82µ\82½\81D");
if (extended || glyph_is_monster(glyph_at(u.ux, u.uy)))
ter_typ |= TER_MON;
if (extended)
EDetect_monsters |= I_SPECIAL;
+/*JP
browse_map(ter_typ, "anything of interest");
+*/
+ browse_map(ter_typ, "\8aÖ\90S\82Ì\82 \82é\82à\82Ì");
EDetect_monsters &= ~I_SPECIAL;
refresh = TRUE;
}
if (mtmp->mundetected
&& (is_hider(mtmp->data) || mtmp->data->mlet == S_EEL))
if (via_warning) {
+#if 0 /*JP*/
Your("warning senses cause you to take a second %s.",
Blind ? "to check nearby" : "look close by");
+#else
+ Your("\8cx\89ú\90S\82ª%s\82µ\82Î\82ç\82\82©\82©\82Á\82½\81D",
+ Blind ? "\82Ü\82í\82è\82ð\92²\82×\82é\82Ì\82É" : "\8bß\82\82ð\8c©\82é\82Ì\82É");
+#endif
display_nhwindow(WIN_MESSAGE, FALSE); /* flush messages */
}
mtmp->mundetected = 0;
if (ttyp == PIT) {
if (madeby_u) {
if (x != u.ux || y != u.uy)
+/*JP
You("dig an adjacent pit.");
+*/
+ You("\97×\82Ì\97\8e\82µ\8c\8a\82ð\8c@\82Á\82½\81D");
else
/*JP
You("dig a pit in the %s.", surface_type);
newsym(x, y);
if (costly && loss) {
+#if 0 /*JP*/
You("owe %s %ld %s for burying merchandise.", mon_nam(shkp), loss,
currency(loss));
+#else
+ You("\96\84\82Ü\82Á\82½\8f¤\95i\82É\8aÖ\82µ\82Ä%s\82É%ld%s\82Ì\95\89\8dÂ\82ð\95\89\82Á\82½\81D", mon_nam(shkp), loss,
+ currency(loss));
+#endif
}
}
*/
pline_The("\97¬\82µ\91ä\82Í%s\82É\95Ï\89»\82µ\82½\81I", defsyms[sym].explanation);
else
+/*JP
pline_The("sink vanishes.");
+*/
+ pline("\97¬\82µ\91ä\82Í\8fÁ\82¦\82½\81D");
newsym(u.ux, u.uy);
}
int result = 0;
if (!invent) {
+/*JP
You("have nothing to drop.");
+*/
+ You("\97\8e\82Æ\82·\82à\82Ì\82ð\89½\82à\8e\9d\82Á\82Ä\82¢\82È\82¢\81D");
return 0;
}
add_valid_menu_class(0); /* clear any classes already there */
(glyph_to_cmap(levl[u.ux][u.uy].glyph) == S_dnladder);
}
if (Is_airlevel(&u.uz))
+/*JP
You("are floating in the %s.", surface(u.ux, u.uy));
+*/
+ You("%s\82Ì\92\86\82É\95\82\82¢\82Ä\82¢\82é\81D", surface(u.ux, u.uy));
else if (Is_waterlevel(&u.uz))
+#if 0 /*JP*/
You("are floating in %s.",
is_pool(u.ux, u.uy) ? "the water" : "a bubble of air");
+#else
+ You("%s\82Ì\92\86\82É\95\82\82¢\82Ä\82¢\82é\81D",
+ is_pool(u.ux, u.uy) ? "\90\85" : "\8bó\8bC\82Ì\96A");
+#endif
else
#if 0 /*JP:T*/
floating_above(stairs_down ? "stairs" : ladder_down
getpos_getvalid = gp_getvalidf;
}
+/*JP:
+ [0] "cannot see %s"
+ [1] "pick a %s"
+ [2] "use XXX to move the cursor to %s"
+ */
const char *const gloc_descr[NUM_GLOCS][4] = {
+#if 0 /*JP*/
{ "any monsters", "monster", "next monster", "monsters" },
{ "any items", "item", "next object", "objects" },
{ "any doors", "door", "next door or doorway", "doors or doorways" },
"unexplored locations" },
{ "anything interesting", "interesting thing", "anything interesting",
"anything interesting" }
+#else
+ { "\89ö\95¨", "\89ö\95¨", "\89ö\95¨\82Ì\97×", "\89ö\95¨" },
+ { "\95¨", "\95¨", "\95¨\82Ì\97×", "\95¨" },
+ { "\94à", "\94à", "\94à\82â\8fo\93ü\82è\8cû\82Ì\97×", "\94à\82â\8fo\93ü\82è\8cû" },
+ { "\96¢\92T\8dõ\95\94\95ª", "\96¢\92T\8dõ\95\94\95ª", "\96¢\92T\8dõ\82Ì\88Ê\92u", "\96¢\92T\8dõ\82Ì\88Ê\92u" },
+ { "\8aÖ\90S\82Ì\82 \82é\82à\82Ì", "\8aÖ\90S\82Ì\82 \82é\82à\82Ì", "\8aÖ\90S\82Ì\82 \82é\82à\82Ì", "\8aÖ\90S\82Ì\82 \82é\82à\82Ì" }
+#endif
};
const char *const gloc_filtertxt[NUM_GFILTER] = {
+#if 0 /*JP*/
"",
" in view",
" in this area"
+#else
+ "",
+ "\8e\8b\8aE\82Ì\92\86\82Ì",
+ "\82±\82Ì\83G\83\8a\83A\82Ì"
+#endif
};
void
{
char sbuf[BUFSZ];
+#if 0 /*JP*/
Sprintf(sbuf, "Use '%s' or '%s' to %s%s%s.",
k1, k2,
iflags.getloc_usemenu ? "get a menu of "
: "move the cursor to ",
gloc_descr[gloc][2 + iflags.getloc_usemenu],
gloc_filtertxt[iflags.getloc_filter]);
+#else
+ Sprintf(sbuf, "'%s'\82©'%s'\82Å%s%s%s\81D",
+ k1, k2,
+ gloc_filtertxt[iflags.getloc_filter],
+ gloc_descr[gloc][2 + iflags.getloc_usemenu],
+ iflags.getloc_usemenu ? "\82Ì\83\81\83j\83\85\81[\82ð\8fo\82·"
+ : "\82É\83J\81[\83\\83\8b\82ð\93®\82©\82·");
+#endif
putstr(tmpwin, 0, sbuf);
}
const char *const fastmovemode[2] = { "8 units at a time",
"skipping same glyphs" };
#else
- const char *const fastmovemode[2] = { "\88ê\93x\82É8\95à",
+ const char *const fastmovemode[2] = { "\88ê\93x\82É8\83}\83X",
"\93¯\82¶\92n\8c`\82ð\94ò\82Î\82µ\82Ä" };
#endif
visctrl(Cmd.spkeys[NHKF_GETPOS_INTERESTING_PREV]),
GLOC_INTERESTING);
}
+#if 0 /*JP*/
Sprintf(sbuf, "Use '%s' to change fast-move mode to %s.",
visctrl(Cmd.spkeys[NHKF_GETPOS_MOVESKIP]),
fastmovemode[!iflags.getloc_moveskip]);
+#else
+ Sprintf(sbuf, "'%s'\82Å\8d\82\91¬\88Ú\93®\83\82\81[\83h\82ð%s\88Ú\93®\82É\82·\82é\81D",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_MOVESKIP]),
+ fastmovemode[!iflags.getloc_moveskip]);
+#endif
putstr(tmpwin, 0, sbuf);
if (!iflags.terrainmode || (iflags.terrainmode & TER_DETECT) == 0) {
+#if 0 /*JP*/
Sprintf(sbuf, "Use '%s' to toggle menu listing for possible targets.",
visctrl(Cmd.spkeys[NHKF_GETPOS_MENU]));
+#else
+ Sprintf(sbuf, "'%s'\82Å\89Â\94\\82È\83^\81[\83Q\83b\83g\82Ì\83\81\83j\83\85\81[\95\\8e¦\82ð\90Ø\82è\91Ö\82¦\82é\81D",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_MENU]));
+#endif
putstr(tmpwin, 0, sbuf);
+#if 0 /*JP*/
Sprintf(sbuf,
"Use '%s' to change the mode of limiting possible targets.",
visctrl(Cmd.spkeys[NHKF_GETPOS_LIMITVIEW]));
+#else
+ Sprintf(sbuf,
+ "'%s'\82Å\90§\8cÀ\82³\82ê\82½\89Â\94\\82È\83^\81[\83Q\83b\83g\82Ì\83\82\81[\83h\82ð\90Ø\82è\91Ö\82¦\82é\81D",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_LIMITVIEW]));
+#endif
putstr(tmpwin, 0, sbuf);
}
if (!iflags.terrainmode) {
char kbuf[BUFSZ];
if (getpos_getvalid) {
+#if 0 /*JP*/
Sprintf(sbuf, "Use '%s' or '%s' to move to valid locations.",
visctrl(Cmd.spkeys[NHKF_GETPOS_VALID_NEXT]),
visctrl(Cmd.spkeys[NHKF_GETPOS_VALID_PREV]));
+#else
+ Sprintf(sbuf, "'%s'\82©'%s'\82Å\90³\93\96\82È\88Ê\92u\82É\88Ú\93®\82·\82é\81D",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_VALID_NEXT]),
+ visctrl(Cmd.spkeys[NHKF_GETPOS_VALID_PREV]));
+#endif
putstr(tmpwin, 0, sbuf);
}
if (getpos_hilitefunc) {
#endif
putstr(tmpwin, 0, sbuf);
if (iflags.cmdassist) { /* assisting the '/' command, I suppose... */
+#if 0 /*JP*/
Sprintf(sbuf,
(iflags.getpos_coords == GPCOORDS_NONE)
? "(Set 'whatis_coord' option to include coordinates with '%s' text.)"
: "(Reset 'whatis_coord' option to omit coordinates from '%s' text.)",
visctrl(Cmd.spkeys[NHKF_GETPOS_AUTODESC]));
+#else
+ Sprintf(sbuf,
+ (iflags.getpos_coords == GPCOORDS_NONE)
+ ? "('%s'\82É\8dÀ\95W\82ð\8aÜ\82Þ\82É\82Í'whatis_coord'\83I\83v\83V\83\87\83\93\82ð\83I\83\93\82É\82·\82é\81D)"
+ : "('%s'\82©\82ç\8dÀ\95W\82ð\8f\9c\82\82É\82Í'whatis_coord'\83I\83v\83V\83\87\83\93\82ð\83I\83t\82É\82·\82é\81D)",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_AUTODESC]));
+#endif
}
/* disgusting hack; the alternate selection characters work for any
getpos call, but only matter for dowhatis (and doquickwhatis) */
doing_what_is = (goal == what_is_an_unknown_object);
if (doing_what_is) {
+#if 0 /*JP*/
Sprintf(kbuf, "'%s' or '%s' or '%s' or '%s'",
visctrl(Cmd.spkeys[NHKF_GETPOS_PICK]),
visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_Q]),
visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_O]),
visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_V]));
+#else
+ Sprintf(kbuf, "'%s'\82©'%s'\82©'%s'\82©'%s'",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_PICK]),
+ visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_Q]),
+ visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_O]),
+ visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_V]));
+#endif
} else {
Sprintf(kbuf, "'%s'", visctrl(Cmd.spkeys[NHKF_GETPOS_PICK]));
}
#endif
putstr(tmpwin, 0, sbuf);
if (doing_what_is) {
+#if 0 /*JP*/
Sprintf(sbuf,
" '%s' describe current spot, show 'more info', move to another spot.",
visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_V]));
+#else
+ Sprintf(sbuf,
+ " '%s'\82Í\8c»\8dÝ\82Ì\88Ê\92u\82ð\90à\96¾\82µ\81A\92Ç\89Á\8fî\95ñ\82ð\95\\8e¦\82µ\81A\8e\9f\82Ì\88Ê\92u\82É\88Ú\93®\82·\82é\81D",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_V]));
+#endif
putstr(tmpwin, 0, sbuf);
+#if 0 /*JP*/
Sprintf(sbuf,
" '%s' describe current spot,%s move to another spot;",
visctrl(Cmd.spkeys[NHKF_GETPOS_PICK]),
flags.help ? " prompt if 'more info'," : "");
+#else
+ Sprintf(sbuf,
+ " '%s'\82Í\8c»\8dÝ\82Ì\88Ê\92u\82ð\90à\96¾\82µ\81C%s\8e\9f\82Ì\88Ê\92u\82É\88Ú\93®\82·\82é;",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_PICK]),
+ flags.help ? "\92Ç\89Á\8fî\95ñ\82ª\82 \82ê\82Î\8am\94F\82µ\81C" : "");
+#endif
putstr(tmpwin, 0, sbuf);
+#if 0 /*JP*/
Sprintf(sbuf,
" '%s' describe current spot, move to another spot;",
visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_Q]));
+#else
+ Sprintf(sbuf,
+ " '%s'\82Í\8c»\8dÝ\82Ì\88Ê\92u\82ð\90à\96¾\82µ\81C\8e\9f\82Ì\88Ê\92u\82É\88Ú\93®\82·\82é;",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_Q]));
+#endif
putstr(tmpwin, 0, sbuf);
+#if 0 /*JP*/
Sprintf(sbuf,
" '%s' describe current spot, stop looking at things;",
visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_O]));
+#else
+ Sprintf(sbuf,
+ " '%s'\82Í\8c»\8dÝ\82Ì\88Ê\92u\82ð\90à\96¾\82µ\81C\8c©\82é\82Ì\82ð\82â\82ß\82é;",
+ visctrl(Cmd.spkeys[NHKF_GETPOS_PICK_O]));
+#endif
putstr(tmpwin, 0, sbuf);
}
}
int dst;
if (!dx && !dy) {
+/*JP
Sprintf(buf, "here");
+*/
+ Sprintf(buf, "\82±\82±");
} else if ((dst = xytod(dx, dy)) != -1) {
/* explicit direction; 'one step' is implicit */
Sprintf(buf, "%s", directionname(dst));
} else {
const char *dirnames[4][2] = {
+#if 0 /*JP*/
{ "n", "north" },
{ "s", "south" },
{ "w", "west" },
{ "e", "east" } };
+#else
+ { "n", "\96k" },
+ { "s", "\93ì" },
+ { "w", "\90¼" },
+ { "e", "\93\8c" } };
+#endif
buf[0] = '\0';
/* 9999: protect buf[] against overflow caused by invalid values */
if (dy) {
coord cc;
int sym = 0;
char tmpbuf[BUFSZ];
+/*JP
const char *firstmatch = "unknown";
+*/
+ const char *firstmatch = "\95s\96¾";
cc.x = cx;
cc.y = cy;
if (do_screen_description(cc, TRUE, sym, tmpbuf, &firstmatch)) {
(void) coord_desc(cx, cy, tmpbuf, iflags.getpos_coords);
+#if 0 /*JP*/
custompline(SUPPRESS_HISTORY,
"%s%s%s%s%s", firstmatch, *tmpbuf ? " " : "", tmpbuf,
(iflags.autodescribe
? " (illegal)" : "",
(iflags.getloc_travelmode && !is_valid_travelpt(cx, cy))
? " (no travel path)" : "");
+#else
+ custompline(SUPPRESS_HISTORY,
+ "%s%s%s%s%s", firstmatch, *tmpbuf ? " " : "", tmpbuf,
+ (iflags.autodescribe
+ && getpos_getvalid && !getpos_getvalid(cx, cy))
+ ? " (\95s\90³)" : "",
+ (iflags.getloc_travelmode && !is_valid_travelpt(cx, cy))
+ ? " (\8co\98H\82È\82µ)" : "");
+#endif
curs(WIN_MAP, cx, cy);
flush_screen(0);
}
if (gcount < 2) { /* gcount always includes the hero */
free((genericptr_t) garr);
+#if 0 /*JP*/
You("cannot %s %s.",
iflags.getloc_filter == GFILTER_VIEW ? "see" : "detect",
gloc_descr[gloc][0]);
+#else
+ You("%s\82ð%s\82±\82Æ\82ª\82Å\82«\82È\82¢\81D",
+ gloc_descr[gloc][0],
+ iflags.getloc_filter == GFILTER_VIEW ? "\8c©\82é" : "\8c©\82Â\82¯\82é");
+#endif
return FALSE;
}
for (i = 1; i < gcount; i++) {
char fullbuf[BUFSZ];
coord tmpcc;
+/*JP
const char *firstmatch = "unknown";
+*/
+ const char *firstmatch = "\95s\96¾";
int sym = 0;
any.a_int = i + 1;
tmpcc.x = garr[i].x;
}
}
+#if 0 /*JP*/
Sprintf(tmpbuf, "Pick a target %s%s%s",
gloc_descr[gloc][1],
gloc_filtertxt[iflags.getloc_filter],
iflags.getloc_travelmode ? " for travel" : "");
+#else
+ Sprintf(tmpbuf, "%s%s\82Å\96Ú\95W\82Æ\82·\82é%s\82ð\91I\91ð\82µ\82Ä\82\82¾\82³\82¢",
+ iflags.getloc_travelmode ? "\88Ú\93®\82Ì\82½\82ß\82É" : "",
+ gloc_filtertxt[iflags.getloc_filter],
+ gloc_descr[gloc][1]);
+#endif
end_menu(tmpwin, tmpbuf);
pick_cnt = select_menu(tmpwin, PICK_ONE, &picks);
destroy_nhwindow(tmpwin);
goto nxtc;
} else if (c == Cmd.spkeys[NHKF_GETPOS_LIMITVIEW]) {
const char *const view_filters[NUM_GFILTER] = {
+#if 0 /*JP*/
"Not limiting targets",
"Limiting targets to in sight",
"Limiting targets to in same area"
+#else
+ "\83^\81[\83Q\83b\83g\82ð\90§\8cÀ\82µ\82È\82¢",
+ "\8e\8b\8aE\93à\82É\83^\81[\83Q\83b\83g\82ð\90§\8cÀ\82·\82é",
+ "\93¯\82¶\83G\83\8a\83A\82É\83^\81[\83Q\83b\83g\82ð\90§\8cÀ\82·\82é"
+#endif
};
iflags.getloc_filter = (iflags.getloc_filter + 1) % NUM_GFILTER;
for (i = 0; i < NUM_GLOCS; i++) {
}
gidx[i] = gcount[i] = 0;
}
+/*JP
pline("%s.", view_filters[iflags.getloc_filter]);
+*/
+ pline("%s\81D", view_filters[iflags.getloc_filter]);
msg_given = TRUE;
goto nxtc;
} else if (c == Cmd.spkeys[NHKF_GETPOS_MENU]) {
iflags.getloc_usemenu = !iflags.getloc_usemenu;
+#if 0 /*JP*/
pline("%s a menu to show possible targets.",
iflags.getloc_usemenu ? "Using" : "Not using");
+#else
+ pline("\89Â\94\\82È\83^\81[\83Q\83b\83g\82ð\8c©\82é\82Ì\82É\83\81\83j\83\85\81[\82ð\8eg%s\81D",
+ iflags.getloc_usemenu ? "\82¤" : "\82í\82È\82¢");
+#endif
msg_given = TRUE;
goto nxtc;
} else if (c == Cmd.spkeys[NHKF_GETPOS_SELF]) {
goto nxtc;
} else if (c == Cmd.spkeys[NHKF_GETPOS_MOVESKIP]) {
iflags.getloc_moveskip = !iflags.getloc_moveskip;
+#if 0 /*JP*/
pline("%skipping over similar terrain when fastmoving the cursor.",
iflags.getloc_moveskip ? "S" : "Not s");
+#else
+ pline("\83J\81[\83\\83\8b\82ð\8d\82\91¬\88Ú\93®\82³\82¹\82é\82Æ\82«\82É\8e\97\82½\82æ\82¤\82È\92n\8c`\82ð\94ò\82Î%s\81D",
+ iflags.getloc_moveskip ? "\82·" : "\82³\82È\82¢");
+#endif
} else if ((cp = index(mMoOdDxX, c)) != 0) { /* 'm|M', 'o|O', &c */
/* nearest or farthest monster or object or door or unexplored */
int gtmp = (int) (cp - mMoOdDxX), /* 0..7 */
/* catch trying to name "the {priest,Angel} of Crom" as "Crom" */
|| ((p = strstri(monnambuf, " of ")) != 0
&& fuzzymatch(usrbuf, p + 4, " -_", TRUE))) {
+#if 0 /*JP*/
pline("%s is already called %s.",
upstart(strcpy(pronounbuf, mhe(mtmp))), monnambuf);
+#else
+ pline("%s\82Í\8aù\82É%s\82Æ\8cÄ\82Î\82ê\82Ä\82¢\82é\81D",
+ upstart(strcpy(pronounbuf, mhe(mtmp))), monnambuf);
+#endif
return TRUE;
+#if 0 /*JP*//*\93ú\96{\8cê\82Å\82Í\8eg\82í\82È\82¢*/
} else if (mtmp->data == &mons[PM_JUIBLEX]
&& strstri(monnambuf, "Juiblex")
&& !strcmpi(usrbuf, "Jubilex")) {
pline("%s doesn't like being called %s.", upstart(monnambuf), usrbuf);
return TRUE;
+#endif
}
return FALSE;
}
/* "dot for under/over you" only makes sense when the cursor hasn't
been moved off the hero's '@' yet, but there's no way to adjust
the help text once getpos() has started */
+#if 0 /*JP*/
Sprintf(buf, "object on map (or '.' for one %s you)",
(u.uundetected && hides_under(youmonst.data)) ? "over" : "under");
+#else
+ Strcpy(buf, "\92n\90}\8fã\82Ì\95¨\91Ì(\82 \82é\82¢\82Í'.'\82Å\82 \82È\82½\82Ì\82¢\82é\8fê\8f\8a");
+#endif
if (getpos(&cc, FALSE, buf) < 0 || cc.x <= 0)
return;
if (cc.x == u.ux && cc.y == u.uy) {
return i + 5;
}
}
+ /*JP:Rogue\82Ì\8aJ\94\8eÒ\82Ì\96¼\91O*/
return rn2(3) ? (rn2(2) ? "Michael Toy" : "Kenneth Arnold")
: "Glenn Wichman";
}
}
static NEARDATA const char *const hliquids[] = {
+#if 0 /*JP*/
"yoghurt", "oobleck", "clotted blood", "diluted water", "purified water",
"instant coffee", "tea", "herbal infusion", "liquid rainbow",
"creamy foam", "mulled wine", "bouillon", "nectar", "grog", "flubber",
"caramel sauce", "ink", "aqueous humour", "milk substitute", "fruit juice",
"glowing lava", "gastric acid", "mineral water", "cough syrup", "quicksilver",
"sweet vitriol", "grey goo", "pink slime",
+#else
+ "\83\88\81[\83O\83\8b\83g", "\83E\81[\83u\83\8c\83b\83N", "\8c\8c\8cÐ", "\8fö\97¯\90\85", "\90¸\90»\90\85",
+ "\83C\83\93\83X\83^\83\93\83g\83R\81[\83q\81[", "\8dg\92\83", "\83n\81[\83u\89t", "\89t\91Ì\82Ì\93ø",
+ "\83N\83\8a\81[\83~\81[\83t\83H\81[\83\80", "\83z\83b\83g\83\8f\83C\83\93", "\83u\83C\83\88\83\93", "\89Ê\8f`", "\83O\83\8d\83b\83O", "\83t\83\89\83o\81[",
+ "\83P\83`\83\83\83b\83v", "\92á\91¬\8cõ", "\96û", "\83r\83l\83O\83\8c\83b\83g\83\\81[\83X", "\89t\91Ì\90\85\8f»", "\96I\96¨",
+ "\83J\83\89\83\81\83\8b\83\\81[\83X", "\83C\83\93\83N", "\96[\90\85", "\91ã\97p\93û", "\83t\83\8b\81[\83c\83W\83\85\81[\83X",
+ "\97¬\82ê\82é\97n\8aâ", "\88Ý\8e_", "\83~\83l\83\89\83\8b\83E\83H\81[\83^\81[", "\8aP\8e~\82ß\83V\83\8d\83b\83v", "\90\85\8bâ",
+ "\83W\83G\83`\83\8b\83G\81[\83e\83\8b", "\83O\83\8c\83C\83O\81[", "\83s\83\93\83N\83X\83\89\83C\83\80",
+#endif
};
const char *
#include "hack.h"
+#if 0 /*JP*//*\96¢\8eg\97p*/
static NEARDATA const char see_yourself[] = "see yourself";
+#endif
static NEARDATA const char unknown_type[] = "Unknown type of %s (%d)";
#if 0 /*JP*/
static NEARDATA const char c_armor[] = "armor", c_suit[] = "suit",
Strcat(what, cloak_simple_name(uarmc));
if ((obj == uarmu) && uarm) {
if (uarmc)
+#if 0 /*JP*/
Strcat(what, " and ");
+#else
+ Strcat(what, "\82Æ");
+#endif
Strcat(what, suit_simple_name(uarm));
}
+#if 0 /*JP*/
Sprintf(why, " without taking off your %s first", what);
+#else
+ Sprintf(why, "\90æ\82É%s\82ð\82Í\82¸\82³\82È\82¢\82Æ", what);
+#endif
} else {
+#if 0 /*JP*/
Strcpy(why, "; it's embedded");
+#else
+ Strcpy(why, "\82\82Á\82Â\82¢\82Ä\82¢\82é\82Ì\82Å");
+#endif
}
#if 0 /*JP*/
You_cant("take that off%s.", why);
#else
m = joffmsg(obj, &j);
- You("\82»\82ê%s%s\82±\82Æ\82Í\82Å\82«\82È\82¢\81D", j, m);
+ pline("%s\82»\82ê%s%s\82±\82Æ\82Í\82Å\82«\82È\82¢\81D", why, j, m);
#endif
return 0;
}
in case we get here via 'P' (doputon) */
if (verysmall(youmonst.data) || nohands(youmonst.data)) {
if (noisy)
+/*JP
You("can't wear any armor in your current form.");
+*/
+ You("\8c»\8dÝ\82Ì\8ep\82Å\82Í\96h\8bï\82ð\90g\82É\82Â\82¯\82é\82±\82Æ\82Í\82Å\82«\82È\82¢\81D");
return 0;
}
if (!mtmp->mtame) {
if (!quietly && canspotmon(mtmp))
+#if 0 /*JP*/
pline("%s %s.", Monnam(mtmp),
mtmp->mpeaceful ? "is no longer tame" : "has become feral");
+#else
+ pline("%s\82Í%s\81D", Monnam(mtmp),
+ mtmp->mpeaceful ? "\83y\83b\83g\82Å\82È\82\82È\82Á\82½" : "\96ì\90¶\89»\82µ\82½");
+#endif
newsym(mtmp->mx, mtmp->my);
/* a life-saved monster might be leashed;
don't leave it that way if it's no longer tame */
const char *s;
if (odoor_diag)
+/*JP
You("hit the door edge!");
+*/
+ You("\94à\82Ì\92[\82É\93\96\82½\82Á\82½\81I");
/*JP
pline("Ouch!");
*/
mon->mundetected = 0; /* wakeup() will handle mimic */
mnam = a_monnam(mon); /* after unhiding */
pronoun = mhim(mon);
+#if 0 /*JP*/
if (!strcmp(mnam, "it")) {
+#else
+ if (!strcmp(mnam, "\89½\8eÒ\82©")) {
+#endif
/* mhim() uses pronoun_gender() which forces neuter if monster
can't be seen; we want him/her for humanoid sensed by touch */
+#if 0 /*JP*/
if (!strcmp(pronoun, "it") && humanoid(mon->data))
+#else
+ if (!strcmp(pronoun, "\89½\8eÒ\82©") && humanoid(mon->data))
+#endif
pronoun = genders[mon->female].him;
+#if 0 /*JP*/
mnam = !strcmp(pronoun, "it") ? "something" : "someone";
+#else
+ mnam = !strcmp(pronoun, "\89½\8eÒ\82©") ? "\89½\82©" : "\89½\8eÒ\82©";
+#endif
}
if (!glyph_is_monster(glyph) && !glyph_is_invisible(glyph))
+#if 0 /*JP*/
You("find %s by bumping into %s.", mnam, pronoun);
+#else
+ You("\82Ô\82¿\82 \82½\82Á\82½\82±\82Æ\82Å%s\82ð\8c©\82Â\82¯\82½\81D", mnam);
+#endif
else
/*JP
You("bump into %s.", mnam);
dotrap(ttmp, 0);
return FALSE;
} else if (ttmp->ttyp == VIBRATING_SQUARE) {
+/*JP
pline("The ground vibrates as you pass it.");
+*/
+ pline("\82 \82È\82½\82ª\92Ê\89ß\82·\82é\82Æ\92n\96Ê\82ª\90k\93®\82µ\82½\81D");
dotrap(ttmp, 0); /* doesn't print messages */
} else if (ttmp->ttyp == FIRE_TRAP) {
dotrap(ttmp, 0);
that slot is empty at the time; since hero will need to
explicitly rewield the weapon to get throw-and-return
capability back anyway, quivered or not shouldn't matter */
+/*JP
pline("%s to return!", Tobjnam(obj, "fail"));
+*/
+ pline("%s\82Í\96ß\82é\82Ì\82É\8e¸\94s\82µ\82½\81I", xname(obj));
/* continue below with placing 'obj' at target location */
}
}
} else {
/* no matching annotation, check whether they used a name we know */
+#if 0 /*JP*//*\93ú\96{\8cê\82Å\82Í\8f\88\97\9d\82µ\82È\82¢*/
/* allow strings like "the oracle level" to find "oracle" */
if (!strncmpi(nam, "the ", 4))
nam += 4;
else
nam = "valley";
}
+#endif
if ((slev = find_level(nam)) != 0)
dlev = slev->dlevel;
{
switch (type) {
case BR_PORTAL:
+/*JP
return "Portal";
+*/
+ return "\96\82\96@\82Ì\93ü\82è\8cû";
case BR_NO_END1:
/*JP
return "Connection";
*/
return "\90Ú\91±\95\94";
case BR_NO_END2:
+/*JP
return "One way stair";
+*/
+ return "\88ê\95û\92Ê\8ds\82Ì\8aK\92i";
case BR_STAIR:
+/*JP
return "Stair";
+*/
+ return "\8aK\92i";
}
+/*JP
return " (unknown)";
+*/
+ return " (\95s\96¾)";
}
STATIC_OVL char
for (br = branches; br; br = br->next) {
if (br->end1.dnum == dnum && lower_bound < br->end1.dlevel
&& br->end1.dlevel <= upper_bound) {
+#if 0 /*JP*/
Sprintf(buf, "%c %s to %s: %d",
bymenu ? chr_u_on_lvl(&br->end1) : ' ',
br_string(br->type),
dungeons[br->end2.dnum].dname, depth(&br->end1));
+#else
+ Sprintf(buf, "%c %s\82©\82ç%s: %d",
+ bymenu ? chr_u_on_lvl(&br->end1) : ' ',
+ br_string(br->type),
+ dungeons[br->end2.dnum].dname, depth(&br->end1));
+#endif
if (bymenu)
tport_menu(win, buf, lchoices_p, &br->end1,
unreachable_level(&br->end1, FALSE));
if (bymenu && In_endgame(&u.uz) && i != astral_level.dnum)
continue;
unplaced = unplaced_floater(dptr);
+/*JP
descr = unplaced ? "depth" : "level";
+*/
+ descr = unplaced ? "\92n\89º" : "\83\8c\83x\83\8b";
nlev = dptr->num_dunlevs;
if (nlev > 1)
+#if 0 /*JP*/
Sprintf(buf, "%s: %s %d to %d", dptr->dname, makeplural(descr),
dptr->depth_start, dptr->depth_start + nlev - 1);
+#else
+ Sprintf(buf, "%s: %s%d\82©\82ç%d", dptr->dname, descr,
+ dptr->depth_start, dptr->depth_start + nlev - 1);
+#endif
else
Sprintf(buf, "%s: %s %d", dptr->dname, descr, dptr->depth_start);
/* Most entrances are uninteresting. */
if (dptr->entry_lev != 1) {
if (dptr->entry_lev == nlev)
+/*JP
Strcat(buf, ", entrance from below");
+*/
+ Strcat(buf, ", \89º\82©\82ç\82Ì\93ü\82è\8cû");
else
+#if 0 /*JP*/
Sprintf(eos(buf), ", entrance on %d",
dptr->depth_start + dptr->entry_lev - 1);
+#else
+ Sprintf(eos(buf), ", %d\82Ì\93ü\82è\8cû",
+ dptr->depth_start + dptr->entry_lev - 1);
+#endif
}
if (bymenu) {
any = zeroany;
menu_item *selected;
int idx;
+/*JP
end_menu(win, "Level teleport to where:");
+*/
+ end_menu(win, "\82Ç\82±\82É\8fu\8aÔ\88Ú\93®\82·\82é\81F");
n = select_menu(win, PICK_ONE, &selected);
destroy_nhwindow(win);
if (n > 0) {
if (br->end1.dnum == n_dgns) {
if (first) {
putstr(win, 0, "");
+/*JP
putstr(win, 0, "Floating branches");
+*/
+ putstr(win, 0, "\95\82\93®\95ª\8aò");
first = FALSE;
}
+#if 0 /*JP*/
Sprintf(buf, " %s to %s", br_string(br->type),
dungeons[br->end2.dnum].dname);
+#else
+ Sprintf(buf, " %s\82©\82ç%s", br_string(br->type),
+ dungeons[br->end2.dnum].dname);
+#endif
putstr(win, 0, buf);
}
}
/* I hate searching for the invocation pos while debugging. -dean */
if (Invocation_lev(&u.uz)) {
putstr(win, 0, "");
+#if 0 /*JP*/
Sprintf(buf, "Invocation position @ (%d,%d), hero @ (%d,%d)",
inv_pos.x, inv_pos.y, u.ux, u.uy);
+#else
+ Sprintf(buf, "\94\93®\88Ê\92u @ (%d,%d), \83v\83\8c\83C\83\84\81[ @ (%d,%d)",
+ inv_pos.x, inv_pos.y, u.ux, u.uy);
+#endif
putstr(win, 0, buf);
} else {
struct trap *trap;
TRUE, SICK_VOMITABLE);
#endif
+/*JP
pline("(It must have died too long ago to be safe to eat.)");
+*/
+ pline("(\82±\82Ì\93÷\82Í\88À\91S\82É\90H\82×\82ç\82ê\82é\8e\9e\8aÔ\82ð\89ß\82¬\82Ä\82µ\82Ü\82Á\82Ä\82¢\82½\82æ\82¤\82¾\81D)");
}
if (carried(otmp))
useup(otmp);
break;
case LEMBAS_WAFER:
if (maybe_polyd(is_orc(youmonst.data), Race_if(PM_ORC))) {
+/*JP
pline("%s", "!#?&* elf kibble!");
+*/
+ pline("%s", "\81I\81\94\81H\81\95\81\96 \83G\83\8b\83N\82Ì\90H\82¢\95¨\81I");
break;
} else if (maybe_polyd(is_elf(youmonst.data), Race_if(PM_ELF))) {
+/*JP
pline("A little goes a long way.");
+*/
+ pline("\8f\82µ\82Å\8f\\95ª\82¾\81D");
break;
}
goto give_feedback;
#ifdef MAIL
if (otmp->otyp == SCR_MAIL)
/* no nutrition */
+/*JP
pline("This junk mail is less than satisfying.");
+*/
+ pline("\82±\82Ì\83S\83~\83\81\81[\83\8b\82Í\96\9e\91«\82É\82Í\82Ù\82Ç\89\93\82¢\81D");
else
#endif
if (otmp->otyp == SCR_SCARE_MONSTER)
/* to eat scroll, hero is currently polymorphed into a monster */
+/*JP
pline("Yuck%c", otmp->blessed ? '!' : '.');
+*/
+ pline("\82¨\82¦\82Á%s", otmp->blessed ? "\81I" : "\81D");
else if (otmp->oclass == SCROLL_CLASS
/* check description after checking for specific scrolls */
&& !strcmpi(OBJ_DESCR(objects[otmp->otyp]), "YUM YUM"))
+/*JP
pline("Yum%c", otmp->blessed ? '!' : '.');
+*/
+ pline("\82¤\82Ü\82¢%s", otmp->blessed ? "\81I" : "\81D");
else
+/*JP
pline("Needs salt...");
+*/
+ pline("\96¡\82ª\82¤\82·\82¢\81D\81D\81D");
}
if (otmp->oclass == POTION_CLASS) {
otmp->quan++; /* dopotion() does a useup() */
#else
Strcpy(foodsmell, xname(otmp));
#endif
+#if 0 /*JP*/
Strcpy(it_or_they, (otmp->quan == 1L) ? "it" : "they");
+#endif
#if 0 /*JP*/
Sprintf(eat_it_anyway, "Eat %s anyway?",
(otmp->quan == 1L) ? "it" : "one");
*/
if (welded(otmp) || (otmp->cursed && (otmp->owornmask & W_RING))) {
otmp->bknown = 1; /* for ring; welded() does this for weapon */
+/*JP
You("spit out %s.", the(xname(otmp)));
+*/
+ You("%s\82ð\93f\82«\8fo\82µ\82½\81D", xname(otmp));
} else {
#if 0 /*JP*/
You("spit %s out onto the %s.", the(xname(otmp)),
if (obj->cursed && obj->bknown) {
char qbuf[QBUFSZ];
+#if 0 /*JP*/
if (ynq(safe_qbuf(qbuf, "Really wield ", "?",
obj, doname, thesimpleoname, "that")) != 'y')
+#else
+ if (ynq(safe_qbuf(qbuf, "\96{\93\96\82É", "\82ð\91\95\94õ\82·\82é\81H",
+ obj, doname, thesimpleoname, "\82»\82ê")) != 'y')
+#endif
return 0;
}
if (!wield_tool(obj, "use"))
}
/* some special cases for overriding while-helpless reason */
+#if 0 /*JP*//*\93ú\96{\8cê\82Å\82Í\8eg\82í\82È\82¢*/
static const struct {
int why, unmulti;
const char *exclude, *include;
}
}
}
+#endif
#if defined(WIN32) && !defined(SYSCF)
#define NOTIFY_NETHACK_BUGS
if (how == ESCAPED || how == PANICKED)
killer.format = NO_KILLER_PREFIX;
+#if 0 /*JP*//*\93ú\96{\8cê\82Å\82Í\8eg\82í\82È\82¢*/
fixup_death(how); /* actually, fixup multi_reason */
+#endif
if (how != PANICKED) {
/* these affect score and/or bones, but avoid them during panic */
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, vanqorders[i],
(i == vanq_sortmode) ? MENU_SELECTED : MENU_UNSELECTED);
}
+/*JP
end_menu(tmpwin, "Sort order for vanquished monster counts");
+*/
+ end_menu(tmpwin, "\93|\82µ\82½\93G\82Ì\83\\81[\83g\8f\87");
n = select_menu(tmpwin, PICK_ONE, &selected);
destroy_nhwindow(tmpwin);
#endif
}
/* number of leading spaces to match 3 digit prefix */
+#if 0 /*JP*/
pfx = !strncmpi(buf, "the ", 3) ? 0
: !strncmpi(buf, "an ", 3) ? 1
: !strncmpi(buf, "a ", 2) ? 2
: !digit(buf[2]) ? 4 : 0;
+#else
+ pfx = !digit(buf[2]) ? 4 : 0;
+#endif
if (class_header)
++pfx;
Sprintf(buftoo, "%*s%s", pfx, "", buf);
*inp = in;
}
+/*JP: files.c\82Å1\83\96\8f\8a\8eg\82í\82ê\82Ä\82¢\82é\82ª\82±\82±\82Í\89p\8cê\82Ì\82Ü\82Ü\82É\82µ\82Ä\82¨\82*/
char *
build_english_list(in)
char *in;
/*JP
You("would only make a small smudge on the %s.",
*/
- You("\82Í%s\82É\8f¬\82³\82È\82µ\82Ý\82ð\82Â\82¯\82é\82±\82Æ\82µ\82©\82Å\82«\82È\82©\82Á\82½\81D",
+ You("%s\82ð\8f\82µ\82æ\82²\82·\82±\82Æ\82µ\82©\82Å\82«\82È\82©\82Á\82½\81D",
surface(u.ux, u.uy));
return 0;
} else if (!levl[u.ux][u.uy].disturbed) {
struct monst *mtmp, *mdef = 0;
uchar adtyp;
int explmask[3][3]; /* 0=normal explosion, 1=do shieldeff, 2=do nothing */
+#if 0 /*JP*//*do_hallu\82Ì\8f\88\97\9d\82Í\82Æ\82è\82 \82¦\82¸\8aO\82·*/
boolean shopdamage = FALSE, generic = FALSE, physical_dmg = FALSE,
do_hallu = FALSE, inside_engulfer, grabbed, grabbing;
+#else
+ boolean shopdamage = FALSE, generic = FALSE, physical_dmg = FALSE,
+ inside_engulfer, grabbed, grabbing;
+#endif
coord grabxy;
char hallu_buf[BUFSZ], killr_buf[BUFSZ];
short exploding_wand_typ = 0;
* skip harm to gear of any extended targets when inflicting damage.
*/
+#if 0 /*JP*//*do_hallu\82Ì\8f\88\97\9d\82Í\82Æ\82è\82 \82¦\82¸\8aO\82·*/
if (olet == MON_EXPLODE) {
/* when explode() is called recursively, killer.name might change so
we need to retain a copy of the current value for this explosion */
|| strstri(str, "s' explosion")));
adtyp = AD_PHYS;
} else
+#endif
switch (abs(type) % 10) {
case 0:
/*JP
mtmp = u.usteed;
if (!mtmp)
continue;
+#if 0 /*JP*//*do_hallu\82Ì\8f\88\97\9d\82Í\82Æ\82è\82 \82¦\82¸\8aO\82·*/
if (do_hallu) {
/* replace "gas spore" with a different description
for each target (we can't distinguish personal names
} while (*hallu_buf != lowc(*hallu_buf));
str = hallu_buf;
}
+#endif
if (u.uswallow && mtmp == u.ustuck) {
const char *adj = (char *) 0;
* would be "you killed <mdef>" so give our own.
*/
if (cansee(mtmp->mx, mtmp->my) || canspotmon(mtmp))
+#if 0 /*JP*/
pline("%s is %s!", Monnam(mtmp),
xkflg ? "burned completely"
: nonliving(mtmp->data) ? "destroyed"
: "killed");
+#else
+ pline("%s\82Í%s\81I", Monnam(mtmp),
+ xkflg ? "\94R\82¦\82Â\82«\82½"
+ : nonliving(mtmp->data) ? "\93|\82³\82ê\82½"
+ : "\8eE\82³\82ê\82½");
+#endif
xkilled(mtmp, XKILL_NOMSG | XKILL_NOCONDUCT | xkflg);
} else {
if (xkflg)
/* give message for any monster-induced explosion
or player-induced one other than scroll of fire */
if (flags.verbose && (type < 0 || olet != SCROLL_CLASS)) {
+#if 0 /*JP*//*do_hallu\82Ì\8f\88\97\9d\82Í\82Æ\82è\82 \82¦\82¸\8aO\82·*/
if (do_hallu) { /* (see explanation above) */
do {
Sprintf(hallu_buf, "%s explosion",
} while (*hallu_buf != lowc(*hallu_buf));
str = hallu_buf;
}
+#endif
/*JP
You("are caught in the %s!", str);
*/
*/
pline("%s\82Í\88ê\95\94\95ª\82ª\8dÓ\82¯\82½\81D",xname(otmp));
else
+/*JP
You_hear("stone breaking.");
+*/
+ You_hear("\90Î\82ª\8dÓ\82¯\82é\89¹\82ð\95·\82¢\82½\81D");
fracture_rock(otmp);
place_object(otmp, sx, sy);
if ((otmp = sobj_at(BOULDER, sx, sy)) != 0) {
*/
pline("%s\82Í\82±\82È\82²\82È\82É\82È\82Á\82½\81D",xname(otmp));
else
+/*JP
You_hear("stone crumbling.");
+*/
+ You_hear("\90Î\82ª\82±\82È\82²\82È\82É\82È\82é\89¹\82ð\95·\82¢\82½\81D");
(void) break_statue(otmp);
#ifndef FIX_BUG_C340_2
place_object(otmp, sx, sy); /* put fragments on floor */
so we won't get here, hence don't need to worry about
"there" being somewhere the player isn't sure of */
if (mode == DO_MOVE)
+/*JP
pline("There is an obstacle there.");
+*/
+ pline("\8fá\8aQ\95¨\82ª\82 \82é\81D");
return FALSE;
} else if (tmpr->typ == IRONBARS) {
if ((dmgtype(youmonst.data, AD_RUST)
You("\83h\83A\82Ì\89º\82©\82ç\82É\82¶\82Ý\8fo\82½\81D");
} else if (Underwater) {
if (mode == DO_MOVE)
+/*JP
pline("There is an obstacle there.");
+*/
+ pline("\8fá\8aQ\95¨\82ª\82 \82é\81D");
return FALSE;
} else if (tunnels(youmonst.data) && !needspick(youmonst.data)) {
/* Eat the door. */
if (Blind)
feel_location(x, y);
if (Underwater || iflags.mention_walls)
+/*JP
You_cant("move diagonally into an intact doorway.");
+*/
+ You_cant("\89ó\82ê\82Ä\82¢\82È\82¢\94à\82É\8eÎ\82ß\82É\88Ú\93®\82·\82é\82±\82Æ\82Í\82Å\82«\82È\82¢\81D");
}
return FALSE;
}
&& (!doorless_door(ux, uy) || block_entry(x, y))) {
/* Can't move at a diagonal out of a doorway with door. */
if (mode == DO_MOVE && iflags.mention_walls)
+/*JP
You_cant("move diagonally out of an intact doorway.");
+*/
+ You_cant("\89ó\82ê\82Ä\82¢\82È\82¢\94à\82©\82ç\8eÎ\82ß\82É\88Ú\93®\82·\82é\82±\82Æ\82Í\82Å\82«\82È\82¢\81D");
return FALSE;
}
if (!(Blind || Hallucination) && (context.run >= 2)
&& mode != TEST_TRAV) {
if (mode == DO_MOVE && iflags.mention_walls)
+/*JP
pline("A boulder blocks your path.");
+*/
+ pline("\8b\90\8aâ\82ª\93¹\82ð\82Ó\82³\82¢\82Å\82¢\82é\81D");
return FALSE;
}
if (mode == DO_MOVE) {
if (iflags.mention_walls) {
if (trap && trap->tseen) {
int tt = what_trap(trap->ttyp);
+/*JP
You("stop in front of %s.",
+*/
+ You("%s\82Ì\8eè\91O\82Å\8e~\82Ü\82Á\82½\81D",
an(defsyms[trap_to_defsym(tt)].explanation));
} else if (is_pool_or_lava(x,y) && levl[x][y].seenv) {
+#if 0 /*JP*/
You("stop at the edge of the %s.",
hliquid(is_pool(x,y) ? "water" : "lava"));
+#else
+ You("%s\82Ì\92[\82Å\8e~\82Ü\82Á\82½\81D.",
+ hliquid(is_pool(x,y) ? "\90\85" : "\97n\8aâ"));
+#endif
}
}
nomul(0);
/* Grid bugs stop if trying to move diagonal, even if blind. Maybe */
/* they polymorphed while in the middle of a long move. */
if (NODIAG(u.umonnum) && u.dx && u.dy) {
+/*JP
You("cannot move diagonally.");
+*/
+ You("\8eÎ\82ß\82É\88Ú\93®\82Å\82«\82È\82¢\81D");
nomul(0);
return;
}
|| (x == u.ux + u.dx && y == u.uy + u.dy
&& !context.travel)) {
if (iflags.mention_walls)
+/*JP
pline("%s blocks your path.", upstart(a_monnam(mtmp)));
+*/
+ pline("%s\82ª\93¹\82ð\82Ó\82³\82¢\82Å\82¢\82é\81D", a_monnam(mtmp));
goto stop;
}
}
continue;
if (context.run != 1) {
if (iflags.mention_walls)
+/*JP
You("stop in front of the door.");
+*/
+ You("\94à\82Ì\8eè\91O\82Å\8e~\82Ü\82Á\82½\81D");
goto stop;
}
goto bcorr;
if (x == u.ux + u.dx && y == u.uy + u.dy) {
if (iflags.mention_walls) {
int tt = what_trap(trap->ttyp);
+/*JP
You("stop in front of %s.",
+*/
+ You("%s\82Ì\8eè\91O\82Å\8e~\82Ü\82Á\82½\81D",
an(defsyms[trap_to_defsym(tt)].explanation));
}
goto stop;
* into a pool and seeing if the game allowed it
*/
if (iflags.mention_walls)
+#if 0 /*JP*/
You("stop at the edge of the %s.",
hliquid(is_pool(x,y) ? "water" : "lava"));
+#else
+ You("%s\82Ì\92[\82Å\8e~\82Ü\82Á\82½\81D",
+ hliquid(is_pool(x,y) ? "\90\85" : "\97n\8aâ"));
+#endif
goto stop;
}
continue;
if (corrct > 1 && context.run == 2) {
if (iflags.mention_walls)
+/*JP
pline_The("corridor widens here.");
+*/
+ pline("\92Ê\98H\82Í\82±\82±\82Å\8dL\82\82È\82Á\82Ä\82¢\82é\81D");
goto stop;
}
if ((context.run == 1 || context.run == 3 || context.run == 8) && !noturn
* of objects to be treated. Return the number of objects treated.
*/
/*JP CHECK: 3.6.0 \82Å\82Ì\8cÄ\82Ñ\8fo\82µ\8c³
-invent.c:1728: int cnt = askchain(&invent, olets, allflag, fn, ckfn, mx, word);
-pickup.c:2882: if (askchain(objlist, (one_by_one ? (char *) 0 : selection), allflag,
+invent.c:1886: int cnt = askchain(&invent, olets, allflag, fn, ckfn, mx, word);
+pickup.c:3145: if (askchain(objlist, (one_by_one ? (char *) 0 : selection), allflag,
word\82É\82Í\93®\8e\8c\82ª\89p\8cê\82Å\93ü\82é\81B
*/
int
}
if (iflags.force_invmenu && lets && want_reply) {
any = zeroany;
+#if 0 /*JP*/
add_menu(win, NO_GLYPH, &any, 0, 0, iflags.menu_headings,
"Special", MENU_UNSELECTED);
+#else
+ add_menu(win, NO_GLYPH, &any, 0, 0, iflags.menu_headings,
+ "\93Á\8eê", MENU_UNSELECTED);
+#endif
any.a_char = '*';
+#if 0 /*JP*/
add_menu(win, NO_GLYPH, &any, '*', 0, ATR_NONE,
"(list everything)", MENU_UNSELECTED);
+#else
+ add_menu(win, NO_GLYPH, &any, '*', 0, ATR_NONE,
+ "(\91S\82Ä\82Ì\88ê\97\97)", MENU_UNSELECTED);
+#endif
}
/* for permanent inventory where we intend to show everything but
nothing has been listed (because there isn't anyhing to list;
pline1(Never_mind);
return 0;
} else if (let == GOLD_SYM && obj->oclass != COIN_CLASS) {
+#if 0 /*JP*/
pline("Only gold coins may be moved into the '%c' slot.",
GOLD_SYM);
+#else
+ pline("'%c'\82É\82Å\82«\82é\82Ì\82Í\8bà\89Ý\82¾\82¯\81D",
+ GOLD_SYM);
+#endif
ever_mind = TRUE;
goto noadjust;
}
/* unfortunately we don't have a 'tknown' flag to record
"known to be trapped" so declining to disarm and then
retrying lock manipulation will find it all over again */
+/*JP
if (yn("You find a trap! Do you want to try to disarm it?") == 'y') {
+*/
+ if (yn("ã©\82ð\8c©\82Â\82¯\82½\81I\8aO\82µ\82Ü\82·\82©\81H") == 'y') {
const char *what;
boolean alreadyunlocked;
/* disarming while using magic key always succeeds */
if (xlock.door) {
xlock.door->doormask &= ~D_TRAPPED;
+/*JP
what = "door";
+*/
+ what = "\94à";
alreadyunlocked = !(xlock.door->doormask & D_LOCKED);
} else {
xlock.box->otrapped = 0;
+/*JP
what = (xlock.box->otyp == CHEST) ? "chest" : "box";
+*/
+ what = (xlock.box->otyp == CHEST) ? "\95ó\94 " : "\94 ";
alreadyunlocked = !xlock.box->olocked;
}
+#if 0 /*JP*/
You("succeed in disarming the trap. The %s is still %slocked.",
what, alreadyunlocked ? "un" : "");
+#else
+ You("ã©\82ð\8aO\82µ\82½\81D%s\82Í\8c®\82ª%s\82Ü\82Ü\82¾\81D",
+ what, alreadyunlocked ? "\8aJ\82¢\82½" : "\82©\82©\82Á\82½");
+#endif
exercise(A_WIS, TRUE);
} else {
+/*JP
You("stop %s.", lock_action());
+*/
+ You("%s\82Ì\82ð\82â\82ß\82½\81D", lock_action());
exercise(A_WIS, FALSE);
}
return ((xlock.usedtime = 0));
*/
pline_The("\92µ\82Ë\8b´\82Í\82à\82¤\8aJ\82¢\82Ä\82¢\82é\81D");
else if (container_at(cc.x, cc.y, TRUE))
+#if 0 /*JP*/
pline("%s like something lootable over there.",
Blind ? "Feels" : "Seems");
+#else
+ pline("\82±\82±\82É\82Í\89½\82©\93ü\82ê\95¨\82ª\82 \82é\82æ\82¤\82¾\81D");
+#endif
else
/*JP
You("%s no door there.", Blind ? "feel" : "see");
struct flock fl = { 0 };
#endif
const char *msgfrom = adminmsg
+#if 0 /*JP*/
? "The voice of %s booms through the caverns:"
: "This message is from '%s'.";
+#else
+ ? "%s\82Ì\90º\82ª\93´\8cA\82É\8b¿\82«\82í\82½\82Á\82½:"
+ : "\82±\82ê\82Í'%s'\82©\82ç\82Ì\83\81\83b\83Z\81[\83W\82¾\81D";
+#endif
if (!mb)
goto bail;
fl.l_type = F_UNLCK;
fcntl (fileno(mb), F_UNLCK, &fl);
#endif
+#if 0 /*JP*/
pline("There is a%s message on this scroll.",
seen_one_already ? "nother" : "");
+#else
+ pline("\82±\82Ì\8aª\95¨\82É\82Í%s\83\81\83b\83Z\81[\83W\82ª\82 \82é\81D",
+ seen_one_already ? "\82Ü\82¾" : "");
+#endif
}
msg = strchr(curline, ':');
if (adminmsg)
verbalize(msg);
else
+/*JP
pline("It reads: \"%s\".", msg);
+*/
+ pline("\82»\82ê\82ð\93Ç\82ñ\82¾\81F\81u%s\81v", msg);
seen_one_already = TRUE;
#ifdef SIMPLE_MAIL
bail:
/* bail out _professionally_ */
if (!adminmsg)
+/*JP
pline("It appears to be all gibberish.");
+*/
+ pline("\82±\82ê\82Í\82Ü\82Á\82½\82\82¿\82ñ\82Õ\82ñ\82©\82ñ\82Õ\82ñ\82¾\81D");
}
#endif /* SIMPLE_MAIL */
if (vis) {
/* 'it' -- previous form is no longer available and
using that would be excessively verbose */
+#if 0 /*JP*/
pline("%s expels %s.", Monnam(magr),
canspotmon(mdef) ? "it" : something);
+#else
+ pline("%s\82Í%s\82ð\93f\82«\8fo\82µ\82½\81D", Monnam(magr),
+ canspotmon(mdef) ? "\89½\82©" : something);
+#endif
if (canspotmon(mdef))
+/*JP
pline("It turns into %s.", a_monnam(mdef));
+*/
+ pline("\82»\82ê\82Í%s\82É\82È\82Á\82½\81D", a_monnam(mdef));
}
return MM_HIT; /* bypass mdamagem() */
}
if (uwep && uwep->oartifact == ART_DEMONBANE && is_demon(ptr)) {
if (canseemon(mon))
+/*JP
pline("%s looks puzzled for a moment.", Monnam(mon));
+*/
+ pline("%s\82Í\8f\82µ\8d¢\98f\82µ\82Ä\82¢\82é\82æ\82¤\82¾\81D", Monnam(mon));
return 0;
}
*buf = '\0';
if (iflags.last_msg == PLNMSG_OBJ_GLOWS)
/* we just saw "The <obj> glows <color>." from dipping */
+#if 0 /*JP*/
Strcpy(buf, (obj->quan == 1L) ? "It" : "They");
+#else
+ Strcpy(buf, "\82»\82ê");
+#endif
else if (carried(obj) || cansee(ox, oy))
Strcpy(buf, Yname2(obj));
if (*buf) {
when changing intensity, using "less brightly" is
straightforward for dimming, but we need "brighter"
rather than "more brightly" for brightening; ugh */
+#if 0 /*JP*/
pline("%s %s %s%s.", buf, otense(obj, "shine"),
(abs(delta) > 1) ? "much " : "",
(delta > 0) ? "brighter" : "less brightly");
+#else
+ pline("%s\82Ì\8bP\82«\82Í%s%s\81D", buf,
+ (abs(delta) > 1) ? "\82©\82È\82è" : "",
+ (delta > 0) ? "\91\9d\82µ\82½" : "\8c¸\82Á\82½");
+#endif
}
}
}
&& closed_door(mtmp->mx, mtmp->my));
/* construct a format string before transformation */
+#if 0 /*JP*/
Sprintf(buf, "The lapidifying %s %s %s",
x_monnam(mtmp, ARTICLE_NONE, (char *) 0,
(SUPPRESS_SADDLE | SUPPRESS_HALLUCINATION
: is_flyer(mtmp->data) ? "drops to the"
: "writhes on the",
surface(x,y));
+#else
+ Sprintf(buf, "\90Î\89»\82µ\82Â\82Â\82 \82é%s\82ª%s%s",
+ x_monnam(mtmp, ARTICLE_NONE, (char *) 0,
+ (SUPPRESS_SADDLE | SUPPRESS_HALLUCINATION
+ | SUPPRESS_INVISIBLE | SUPPRESS_IT), FALSE),
+ surface(x,y),
+ amorphous(mtmp->data) ? "\82Ì\8fã\82Å\97Z\8d\87\82µ\82½"
+ : is_flyer(mtmp->data) ? "\82É\97\8e\82¿\82½"
+ : "\82Ì\8fã\82Å\90g\82à\82¾\82¦\82½");
+#endif
mtmp->mcanmove = 1;
mtmp->mfrozen = 0;
if (mtmp->mhpmax <= 0)
}
}
if (canspotmon(mtmp)) {
+/*JP
pline("%s!", buf);
+*/
+ pline("%s\81I", buf);
display_nhwindow(WIN_MESSAGE, FALSE);
}
newcham(mtmp, &mons[mndx], FALSE, FALSE);
else
mtmp->cham = mndx;
if (canspotmon(mtmp)) {
+#if 0 /*JP*/
pline("%s rises from the %s with renewed agility!",
Amonnam(mtmp), surface(mtmp->mx, mtmp->my));
+#else
+ pline("%s\82Í\8b@\95q\82³\82ð\8eæ\82è\96ß\82µ\82Ä%s\82©\82ç\95\9c\8a\88\82µ\82½\81I",
+ Amonnam(mtmp), surface(mtmp->mx, mtmp->my));
+#endif
}
newsym(mtmp->mx, mtmp->my);
return FALSE; /* didn't petrify */
boolean via_attack;
{
if (via_attack && sengr_at("Elbereth", u.ux, u.uy, TRUE)) {
+/*JP
You_feel("like a hypocrite.");
+*/
+ You_feel("\8bU\91P\8eÒ\82Ì\82æ\82¤\82È\8bC\82ª\82µ\82½\81D");
/* AIS: Yes, I know alignment penalties and bonuses aren't balanced
at the moment. This is about correct relative to other "small"
penalties; it should be fairly large, as attacking while standing
adjalign(-5);
if (!Blind)
+/*JP
pline("The engraving beneath you fades.");
+*/
+ pline("\82 \82È\82½\82Ì\91«\8c³\82Ì\95¶\8e\9a\82ª\94\96\82ê\82½\81D");
del_engr_at(u.ux, u.uy);
}
/* make other peaceful monsters react */
if (!context.mon_moving) {
static const char *const Exclam[] = {
+/*JP
"Gasp!", "Uh-oh.", "Oh my!", "What?", "Why?",
+*/
+ "\82®\82Í\82Á\81I", "\82¤\82í\81D", "Oh my!", "\82È\82É\82Á\81H", "\82È\82ñ\82¾\81H",
};
struct monst *mon;
int mndx = monsndx(mtmp->data);
if (humanoid(mon->data) || mon->isshk || mon->ispriest) {
if (is_watch(mon->data)) {
+/*JP
verbalize("Halt! You're under arrest!");
+*/
+ verbalize("\8e~\82Ü\82ê\81I\91ß\95ß\82·\82é\81I");
(void) angry_guards(!!Deaf);
} else {
if (!rn2(5)) {
mon->mpeaceful = 0;
adjalign(-1);
if (!exclaimed)
+/*JP
pline("%s gets angry!", Monnam(mon));
+*/
+ pline("%s\82Í\93{\82Á\82½\81I", Monnam(mon));
}
}
} else if (mon->data->mlet == mtmp->data->mlet
char msgtrail[BUFSZ];
if (is_vampshifter(mtmp)) {
+#if 0 /*JP*/
Sprintf(msgtrail, " which was a shapeshifted %s",
noname_monnam(mtmp, ARTICLE_NONE));
+#else
+ Sprintf(msgtrail, "(\8eÀ\8dÛ\82É\82Í\8c`\82ð\95Ï\82¦\82½%s)",
+ noname_monnam(mtmp, ARTICLE_NONE));
+#endif
} else if (is_animal(mdat)) {
/*JP
Strcpy(msgtrail, "'s stomach");
/* Sidenote on "A watchman angrily waves her arms!"
* Female being called watchman is correct (career name).
*/
+#if 0 /*JP*/
pline("%s angrily %s %s %s!",
Amonnam(mon),
nolimbs(mon->data) ? "shakes" : "waves",
mhis(mon),
nolimbs(mon->data) ? mbodypart(mon, HEAD)
: makeplural(mbodypart(mon, ARM)));
+#else
+ pline("%s\82Í\93{\82Á\82Ä%s\82ð\90U\82Á\82½\81I",
+ Amonnam(mon),
+ nolimbs(mon->data) ? mbodypart(mon, HEAD)
+ : makeplural(mbodypart(mon, ARM)));
+#endif
} else {
if (canspotmon(mon))
/*JP
}
if (reslt && domsg) {
+#if 0 /*JP*/
pline("You %s %s where %s was.",
!canseemon(mon) ? "now detect" : "observe",
noname_monnam(mon, ARTICLE_A), oldmtype);
+#else
+ pline("\82 \82È\82½\82Í%s\82ª\82¢\82½\8fê\8f\8a\82É%s\82ð%s\81D",
+ oldmtype, noname_monnam(mon, ARTICLE_A),
+ !canseemon(mon) ? "\8a´\92m\82µ\82½" : "\8c©\82Â\82¯\82½");
+#endif
}
return reslt;
} else if (u.uac + tlev <= dieroll - 2) {
if (onm != onmbuf)
Strcpy(onmbuf, onm); /* [modifiable buffer for upstart()] */
+/*JP
pline("%s %s you.", upstart(onmbuf), vtense(onmbuf, "miss"));
+*/
+ pline("%s\82Í\8dU\8c\82\82ð\82Í\82¸\82µ\82½\81D", upstart(onmbuf));
} else
/*JP
You("are almost hit by %s.", onm);
}
m_shot.s = ammo_and_launcher(otmp, mwep) ? TRUE : FALSE;
Strcpy(trgbuf, mtarg ? mon_nam(mtarg) : "");
+#if 0 /*JP*//*\93ú\96{\8cê\82Å\82Ímon_nam\82Í\81u\89½\8eÒ\82©\81v\82ð\95Ô\82·\82Ì\82Å\95Ï\8dX\95s\97v*/
if (!strcmp(trgbuf, "it"))
Strcpy(trgbuf, humanoid(mtmp->data) ? "someone" : something);
+#endif
#if 0 /*JP*/
pline("%s %s %s%s%s!", Monnam(mtmp),
m_shot.s ? "shoots" : "throws", onm,
mtmp->msleeping = 0;
if (vis) {
if (otmp->otyp == EGG)
+#if 0 /*JP*/
pline("Splat! %s is hit with %s egg!", Monnam(mtmp),
otmp->known ? an(mons[otmp->corpsenm].mname) : "an");
+#else
+ pline("\83r\83`\83\83\83b\81I%s\82Í%s\97\91\82É\93\96\82½\82Á\82½\81I", Monnam(mtmp),
+ otmp->known ? s_suffix(mons[otmp->corpsenm].mname) : "");
+#endif
else
hit(distant_name(otmp, mshot_xname), mtmp, exclam(damage));
} else if (verbose && !target)
&& (!mesg_given || bhitpos.x != u.ux || bhitpos.y != u.uy)
&& (cansee(bhitpos.x, bhitpos.y)
|| (archer && canseemon(archer))))
+/*JP
pline("%s misses.", The(mshot_xname(singleobj)));
+*/
+ pline("%s\82Í\82Í\82¸\82ê\82½\81D", mshot_xname(singleobj));
(void) drop_throw(singleobj, 0, bhitpos.x, bhitpos.y);
}
break;
if (!mtmp->mspec_used && rn2(3)) {
if ((typ >= AD_MAGM) && (typ <= AD_ACID)) {
if (canseemon(mtmp))
+/*JP
pline("%s breathes %s!", Monnam(mtmp), breathwep[typ - 1]);
+*/
+ pline("%s\82Í%s\82ð\82Í\82¢\82½\81I", Monnam(mtmp), breathwep[typ - 1]);
dobuzz((int) (-20 - (typ - 1)), (int)mattk->damn,
mtmp->mx, mtmp->my, sgn(tbx), sgn(tby), FALSE);
nomul(0);
if (mtmp->mcan) {
if (!Deaf)
+#if 0 /*JP*/
pline("A dry rattle comes from %s throat.",
s_suffix(mon_nam(mtmp)));
+#else
+ pline("\8a£\82¢\82½\83K\83\89\83K\83\89\89¹\82ª%s\82Ì\82Ì\82Ç\82©\82ç\95·\82±\82¦\82Ä\82«\82½\81D",
+ mon_nam(mtmp));
+#endif
return 0;
}
if (lined_up(mtmp)) {
if (!rn2(BOLT_LIM
- distmin(mtmp->mx, mtmp->my, mtmp->mux, mtmp->muy))) {
if (canseemon(mtmp))
+/*JP
pline("%s spits venom!", Monnam(mtmp));
+*/
+ pline("%s\82Í\93Å\89t\82ð\93f\82¢\82½\81I", Monnam(mtmp));
m_throw(mtmp, mtmp->mx, mtmp->my, sgn(tbx), sgn(tby),
distmin(mtmp->mx, mtmp->my, mtmp->mux, mtmp->muy), otmp);
nomul(0);
if (mtmp->mcan) {
if (!Deaf) {
if (canseemon(mtmp))
+/*JP
pline("%s coughs.", Monnam(mtmp));
+*/
+ pline("%s\82Í\82¹\82«\82ð\82µ\82½\81D", Monnam(mtmp));
else
+/*JP
You_hear("a cough.");
+*/
+ You_hear("\82¹\82«\82Ì\89¹\82ð\95·\82¢\82½\81D");
}
return 0;
}
/* breakage makes its own noises */
if (obj_type == POT_ACID) {
if (cansee(barsx, barsy) && !unbreakable)
+/*JP
pline_The("iron bars are dissolved!");
+*/
+ pline_The("\93S\82Ì\96_\82Í\97Z\82¯\82½\81I");
else
+/*JP
You_hear(Hallucination ? "angry snakes!" : "a hissing noise.");
+*/
+ You_hear(Hallucination ? "\93{\82Á\82½\82Ö\82Ñ\82Ì\90º\82ð\95·\82¢\82½\81I" : "\83V\81[\83b\82Æ\82¢\82¤\89¹\82ð\95·\82¢\82½\81D");
if (!unbreakable)
dissolve_bars(barsx, barsy);
}
boolean vis = canseemon(mon), res = TRUE;
if (vis)
+#if 0 /*JP*/
pline("%s starts turning %s.", Monnam(mon),
green_mon(mon) ? "into ooze" : hcolor(NH_GREEN));
+#else
+ pline("%s\82Í%s\82É\82È\82è\82Í\82¶\82ß\82½\81D", Monnam(mon),
+ green_mon(mon) ? "\83X\83\89\83C\83\80" : hcolor(NH_GREEN));
+#endif
/* -4 => sliming, causes quiet loss of enhanced speed */
mon_adjust_speed(mon, -4, (struct obj *) 0);
if (mon->mx == trap->tx && mon->my == trap->ty) {
if (vis)
+#if 0 /*JP*/
pline("%s triggers %s fire trap!", Mnam,
trap->tseen ? "the" : "a");
+#else
+ pline("%s\82Í\89\8a\82Ìã©\82ð\94\93®\82³\82¹\82½\81I", Mnam);
+#endif
} else {
remove_monster(mon->mx, mon->my);
newsym(mon->mx, mon->my);
worm_move(mon);
newsym(mon->mx, mon->my);
if (vis)
+#if 0 /*JP*/
pline("%s %s %s %s fire trap!", Mnam,
vtense(Mnam, locomotion(mon->data, "move")),
is_floater(mon->data) ? "over" : "onto",
trap->tseen ? "the" : "a");
+#else
+ pline("%s\82Í\89\8a\82Ìã©\82É\94ò\82Ñ\8d\9e\82ñ\82¾\81I", Mnam);
+#endif
}
/* hack to avoid mintrap()'s chance of avoiding known trap */
mon->mtrapseen &= ~(1 << (FIRE_TRAP - 1));
} else if (otyp == STRANGE_OBJECT) {
/* monster is using fire breath on self */
if (vis)
+/*JP
pline("%s breathes fire on %sself.", Monnam(mon), mhim(mon));
+*/
+ pline("%s\82Í\89Î\82ð\82Í\82¢\82½\81D", Monnam(mon));
if (!rn2(3))
mon->mspec_used = rn1(10, 5);
/* -21 => monster's fire breath; 1 => # of damage dice */
mreadmsg(mon, obj);
if (mon->mconf) {
if (cansee(mon->mx, mon->my))
+/*JP
pline("Oh, what a pretty fire!");
+*/
+ pline("\82 \82ç\81A\82È\82ñ\82Ä\82©\82í\82¢\82¢\89Î\82¾\81I");
if (vis && !objects[otyp].oc_name_known
&& !objects[otyp].oc_uname)
docall(obj);
for pacifist conduct); xkilled()'s message would say
"You killed/destroyed <mon>" so give our own message */
if (vis)
+#if 0 /*JP*/
pline("%s is %s by the fire!", Monnam(mon),
nonliving(mon->data) ? "destroyed" : "killed");
+#else
+ pline("%s\82Í\89Î\82Å%s\82³\82ê\82½\81I", Monnam(mon),
+ nonliving(mon->data) ? "\93|" : "\8eE");
+#endif
xkilled(mon, XKILL_NOMSG | XKILL_NOCONDUCT);
} else
+/*JP
monkilled(mon, "fire", AD_FIRE);
+*/
+ monkilled(mon, "\89Î", AD_FIRE);
} else {
/* non-fatal damage occurred */
if (vis)
+/*JP
pline("%s is burned%s", Monnam(mon), exclam(dmg));
+*/
+ pline("%s\82Í\94R\82¦\82½%s", Monnam(mon), exclam(dmg));
}
}
if (vis) {
return (ptr->mcolor == CLR_GREEN || ptr->mcolor == CLR_BRIGHT_GREEN);
#endif
/* approximation */
+#if 0 /*JP*/
if (strstri(ptr->mname, "green"))
+#else
+ if (strstri(ptr->mname, "\97Î"))
+#endif
return TRUE;
switch (monsndx(ptr)) {
case PM_FOREST_CENTAUR:
generic_lvl_desc()
{
if (Is_astralevel(&u.uz))
+/*JP
return "astral plane";
+*/
+ return "\93V\8fã\8aE";
else if (In_endgame(&u.uz))
+/*JP
return "plane";
+*/
+ return "\90¸\97ì\8aE";
else if (Is_sanctum(&u.uz))
+/*JP
return "sanctum";
+*/
+ return "\90¹\88æ";
else if (In_sokoban(&u.uz))
+/*JP
return "puzzle";
+*/
+ return "\91q\8cÉ";
else if (In_V_tower(&u.uz))
+/*JP
return "tower";
+*/
+ return "\93\83";
else
+/*JP
return "dungeon";
+*/
+ return "\96À\8b{";
}
/*
*/
break;
case PLAY_CONFUSED:
+/*JP
You("produce a raucous noise.");
+*/
+ You("\8e¨\8fá\82è\82È\89¹\82ð\8fo\82µ\82½\81D");
break;
case PLAY_HALLU:
+/*JP
You("produce a kaleidoscopic display of floating butterfiles.");
+*/
+ You("\8bó\82É\95\82\82©\82Ô\92±\82Ì\96\9c\89Ø\8b¾\93I\82È\95\\8c»\82ð\91n\8fo\82µ\82½\81D");
break;
/* TODO? give some or all of these combinations their own feedback;
hallucination ones should reference senses other than hearing... */
*/
Strcat(buf, "\96\82\96@\8f\91");
} else {
+/*JP
Strcpy(buf, !nn ? "book" : "novel");
+*/
+ Strcpy(buf, !nn ? "\96{" : "\8f¬\90à");
nn = 0;
}
break;
case SPBOOK_CLASS:
if (typ == SPE_NOVEL) { /* 3.6 tribute */
if (!dknown)
+/*JP
Strcpy(buf, "book");
+*/
+ Strcpy(buf, "\96{");
else if (nn)
Strcpy(buf, actualn);
else if (un)
+/*JP
Sprintf(buf, "novel called %s", un);
+*/
+ Sprintf(buf, "%s\82Æ\82¢\82¤\8f¬\90à", un);
else
+/*JP
Sprintf(buf, "%s book", dn);
+*/
+ Sprintf(buf, "%s\96{", dn);
break;
/* end of tribute */
} else if (!dknown) {
Sprintf(prefix, "%ld%s\82Ì", obj->quan, numeral(obj));
#endif
else
+/*JP
Strcpy(prefix, "some ");
+*/
+ Strcpy(prefix, "\82¢\82\82Â\82©\82Ì");
} else if (obj->otyp == CORPSE) {
/* skip article prefix for corpses [else corpse_xname()
would have to be taught how to strip it off again] */
if (!iflags.suppress_price && is_unpaid(obj)) {
long quotedprice = unpaid_cost(obj, TRUE);
+#if 0 /*JP*/
Sprintf(eos(bp), " (%s, %ld %s)",
obj->unpaid ? "unpaid" : "contents",
quotedprice, currency(quotedprice));
+#else
+ Sprintf(eos(bp), " (%s, %ld%s)",
+ obj->unpaid ? "\96¢\95¥\82¢" : "\92\86\90g",
+ quotedprice, currency(quotedprice));
+#endif
} else if (with_price) {
long price = get_cost_of_shop_item(obj);
Strcasecpy(bspot + 1, "s");
}
-#else
+#else /*\90V\82µ\82¢\83o\83b\83t\83@\82Í\95K\97v*/
char *buf;
buf = nextobuf();
bottom:
if (excess)
Strcat(str, excess);
-#else /*JP*/
+#else /*JP*//*\90V\82µ\82¢\83o\83b\83t\83@\82Í\95K\97v*/
char *str = nextobuf();
Strcpy(str, oldstr);
#endif
Strcat(bp, excess);
return bp;
-#else /*JP*/
+#else /*JP*//*\90V\82µ\82¢\83o\83b\83t\83@\82Í\95K\97v*/
char *str = nextobuf();
Strcpy(str, oldstr);
return str;
const char *suitnm, *esuitp;
if (Is_dragon_mail(suit))
+#if 0 /*JP*/
return "dragon mail"; /* <color> dragon scale mail */
+#else
+ return "\97Ø\8aZ"; /* <color> dragon scale mail */
+#endif
else if (Is_dragon_scales(suit))
+/*JP
return "dragon scales";
+*/
+ return "\97Ø";
suitnm = OBJ_NAME(objects[suit->otyp]);
esuitp = eos((char *) suitnm);
+#if 0 /*JP*/
if (strlen(suitnm) > 5 && !strcmp(esuitp - 5, " mail"))
return "mail"; /* most suits fall into this category */
+#else
+ if (strlen(suitnm) > 2 && !strcmp(esuitp - 2, "\8aZ"))
+ return "\8aZ"; /* most suits fall into this category */
+#endif
+#if 0 /*JP*/
else if (strlen(suitnm) > 7 && !strcmp(esuitp - 7, " jacket"))
return "jacket"; /* leather jacket */
+#endif
/* suit is lame but armor is ambiguous and body armor is absurd */
+/*JP
return "suit";
+*/
+ return "\95\9e";
}
const char *
{ "soundcard", "\8eg\97p\82µ\82Ä\82¢\82é\83T\83E\83\93\83h\83J\81[\83h\82Ì\8eí\97Þ", 20, SET_IN_FILE },
#endif
#ifdef STATUS_HILITES
+#if 0 /*JP*/
{ "statushilites",
"0=no status highlighting, N=show highlights for N turns",
+#else
+ { "statushilites",
+ "0=\83X\83e\81[\83^\83X\83n\83C\83\89\83C\83g\82È\82µ\81CN\83^\81[\83\93\96\88\82É\83n\83C\83\89\83C\83g\95\\8e¦",
+#endif
20, SET_IN_GAME },
#else
+/*JP
{ "statushilites", "highlight control", 20, SET_IN_FILE },
+*/
+ { "statushilites", "\83n\83C\83\89\83C\83g\82Ì\90§\8cä", 20, SET_IN_FILE },
#endif
#if 0 /*JP*/
{ "symset", "load a set of display symbols from the symbols file", 70,
{ "videoshades", "\95\\8e¦\82É\83O\83\8c\83C\83X\83P\81[\83\8b\82ð\97p\82¢\82é", 32,
DISP_IN_GAME },
#endif
+#if 0 /*JP*/
{ "whatis_coord", "show coordinates when auto-describing cursor position",
1, SET_IN_GAME },
+#else
+ { "whatis_coord", "\83J\81[\83\\83\8b\88Ê\92u\82ð\8e©\93®\90à\96¾\82·\82é\82Æ\82«\82É\8dÀ\95W\82ð\95\\8e¦\82·\82é",
+ 1, SET_IN_GAME },
+#endif
+#if 0 /*JP*/
{ "whatis_filter",
"filter coordinate locations when targeting next or previous",
1, SET_IN_GAME },
+#else
+ { "whatis_filter",
+ "\8e\9f\82â\8eè\91O\82ð\83^\81[\83Q\83b\83g\82·\82é\82Æ\82«\82É\8dÀ\95W\88Ê\92u\82ð\83t\83B\83\8b\83^\82·\82é",
+ 1, SET_IN_GAME },
+#endif
#if 0 /*JP*/
{ "windowcolors", "the foreground/background colors of windows", /*WC*/
80, DISP_IN_GAME },
const char *optname;
boolean with_parameter;
{
+#if 0 /*JP*/
pline_The("%s option may not %sbe negated.", optname,
with_parameter ? "both have a value and " : "");
+#else
+ pline_The("%s\83I\83v\83V\83\87\83\93\82Í\94Û\92è%s\82Å\82«\82È\82¢\81D", optname,
+ with_parameter ? "\82Æ\92l\8ew\92è\82Ì\97¼\95û\82Í" : "");
+#endif
}
/*
return 0;
if (fnv > get_current_feature_ver()) {
if (!initial) {
+/*JP
You_cant("disable new feature alerts for future versions.");
+*/
+ You_cant("\8f«\97\88\82Ì\83o\81[\83W\83\87\83\93\82Ì\8b@\94\\8cx\8d\90\82ð\96³\8cø\82É\82·\82é\82±\82Æ\82Í\82Å\82«\82È\82¢\81D");
} else {
config_error_add(
"%s=%s Invalid reference to a future version ignored",
if (!initial) {
Sprintf(buf, "%lu.%lu.%lu", FEATURE_NOTICE_VER_MAJ,
FEATURE_NOTICE_VER_MIN, FEATURE_NOTICE_VER_PATCH);
+#if 0 /*JP*/
pline(
"Feature change alerts disabled for NetHack %s features and prior.",
buf);
+#else
+ pline(
+ "NetHack %s \88È\91O\82Ì\8b@\94\\82É\91Î\82·\82é\8b@\94\\95Ï\8dX\8cx\8d\90\82ð\96³\8cø\82É\82µ\82½\81D",
+ buf);
+#endif
}
return 1;
}
int x = isyou ? u.ux : mon->mx, y = isyou ? u.uy : mon->my,
glyph = (level.flags.hero_memory && !isyou) ? levl[x][y].glyph
: glyph_at(x, y);
+#if 1 /*JP*/
+ char suffixbuf[QBUFSZ];
+#endif
*outbuf = '\0';
+#if 1 /*JP*/
+ suffixbuf[0] = '\0';
+#endif
if (mon->m_ap_type == M_AP_FURNITURE
|| mon->m_ap_type == M_AP_OBJECT) {
+#if 0 /*JP*/
Strcpy(outbuf, ", mimicking ");
+#else /*\8cã\82Å\92Ç\89Á\82·\82é*/
+ Strcpy(suffixbuf, "\82Ì\82Ó\82è\82ð\82µ\82Ä\82¢\82é");
+#endif
if (mon->m_ap_type == M_AP_FURNITURE) {
Strcat(outbuf, an(defsyms[mon->mappearance].explanation));
} else if (mon->m_ap_type == M_AP_OBJECT
} else {
Strcat(outbuf, something);
}
+#if 1 /*JP*/
+ Strcat(outbuf, suffixbuf);
+#endif
} else if (mon->m_ap_type == M_AP_MONSTER) {
if (altmon)
+#if 0 /*JP*/
Sprintf(outbuf, ", masquerading as %s",
an(mons[mon->mappearance].mname));
+#else
+ Sprintf(outbuf, "%s\82É\82È\82è\82·\82Ü\82µ\82Ä\82¢\82é",
+ mons[mon->mappearance].mname);
+#endif
} else if (isyou ? u.uundetected : mon->mundetected) {
+#if 0 /*JP*/
Strcpy(outbuf, ", hiding");
+#else
+ Strcpy(suffixbuf, "\82É\89B\82ê\82Ä\82¢\82é");
+#endif
if (hides_under(mon->data)) {
+#if 0 /*JP*//*\92n\8c`\82Ì\8fê\8d\87\81u\82Ì\89º\82É\81v\82È\82Ç\82Í\95s\8e©\91R\82È\82Ì\82Å\81A\92P\82É\8fÈ\97ª\82µ\82Ä\82¨\82*/
Strcat(outbuf, " under ");
+#endif
/* remembered glyph, not glyph_at() which is 'mon' */
if (glyph_is_object(glyph))
goto objfrommap;
Strcat(outbuf, something);
} else if (is_hider(mon->data)) {
+#if 0 /*JP*/
Sprintf(eos(outbuf), " on the %s",
(is_flyer(mon->data) || mon->data->mlet == S_PIERCER)
? "ceiling"
: surface(x, y)); /* trapper */
+#else
+ Sprintf(eos(outbuf), "%s",
+ (is_flyer(mon->data) || mon->data->mlet == S_PIERCER)
+ ? "\93V\88ä"
+ : surface(x, y)); /* trapper */
+#endif
} else {
if (mon->data->mlet == S_EEL && is_pool(x, y))
+#if 0 /*JP*/
Strcat(outbuf, " in murky water");
+#else
+ Strcat(outbuf, "\82É\82²\82Á\82½\90\85\82Ì\92\86");
+#endif
}
+#if 1 /*JP*/
+ Strcat(outbuf, suffixbuf);
+#endif
}
}
Strcpy(buf, something); /* sanity precaution */
if (otmp && otmp->where == OBJ_BURIED)
+/*JP
Strcat(buf, " (buried)");
+*/
+ Strcat(buf, " (\96\84\82Ü\82Á\82Ä\82¢\82é)");
else if (levl[x][y].typ == STONE || levl[x][y].typ == SCORR)
/*JP
Strcat(buf, " embedded in stone");
#endif
if (u.ustuck == mtmp) {
if (u.uswallow || iflags.save_uswallow) /* monster detection */
+#if 0 /*JP*/
Strcat(buf, is_animal(mtmp->data)
? ", swallowing you" : ", engulfing you");
+#else
+ Strcat(buf, ", \82 \82È\82½\82ð\88ù\82Ý\8d\9e\82ñ\82Å\82¢\82é");
+#endif
else
Strcat(buf, (Upolyd && sticks(youmonst.data))
/*JP
unsigned long mW = (context.warntype.obj
| context.warntype.polyd),
m2 = mtmp->data->mflags2;
+#if 0 /*JP*/
const char *whom = ((mW & M2_HUMAN & m2) ? "human"
: (mW & M2_ELF & m2) ? "elf"
: (mW & M2_ORC & m2) ? "orc"
: (mW & M2_DEMON & m2) ? "demon"
: mtmp->data->mname);
+#else
+ const char *whom = ((mW & M2_HUMAN & m2) ? "\90l\8aÔ"
+ : (mW & M2_ELF & m2) ? "\83G\83\8b\83t"
+ : (mW & M2_ORC & m2) ? "\83I\81[\83N"
+ : (mW & M2_DEMON & m2) ? "\88«\96\82"
+ : mtmp->data->mname);
+#endif
/*JP
Sprintf(eos(monbuf), "warned of %s", makeplural(whom));
* chests so that they can have their own glyphs and tiles.
*/
if (trapped_chest_at(tnum, x, y))
+#if 0 /*JP*/
Strcpy(buf, "trapped chest"); /* might actually be a large box */
+#else
+ Strcpy(buf, "ã©\82Ì\8ed\8a|\82¯\82ç\82ê\82½\94 "); /* might actually be a large box */
+#endif
else if (trapped_door_at(tnum, x, y))
+#if 0 /*JP*/
Strcpy(buf, "trapped door"); /* not "trap door"... */
+#else
+ Strcpy(buf, "ã©\82Ì\8ed\8a|\82¯\82ç\82ê\82½\94à"); /* not "trap door"... */
+#endif
else
Strcpy(buf, defsyms[trap_to_defsym(tnum)].explanation);
} else if (glyph_is_warning(glyph)) {
dbase_str = strcpy(newstr, inp);
(void) lcase(dbase_str);
+ /*JP:TODO:\83f\81[\83^\83x\81[\83X\8c\9f\8dõ\82Í\93®\82¢\82Ä\82¢\82È\82¢\82Ì\82Å\97v\8fC\90³*/
/*
* TODO:
* The switch from xname() to doname_vague_quan() in look_at_obj()
i = 0; /* undo loop increment */
x_str = defsyms[i].explanation;
if (submerged && !strcmp(x_str, defsyms[0].explanation))
+#if 0 /*JP*/
x_str = "land"; /* replace "dark part of a room" */
+#else
+ x_str = "\92n\96Ê"; /* replace "dark part of a room" */
+#endif
/* alt_i is now 3 or more and no longer of interest */
}
if (sym == (looked ? showsyms[i] : defsyms[i].sym) && *x_str) {
/* Kludge: warning trumps boulders on the display.
Reveal the boulder too or player can get confused */
if (looked && sobj_at(BOULDER, cc.x, cc.y))
+/*JP
Strcat(out_str, " co-located with a boulder");
+*/
+ Strcat(out_str, "(\8b\90\8aâ\82Æ\93¯\82¶\88Ê\92u\82É\82 \82é)");
break; /* out of for loop*/
}
}
*/
if (found > 4)
+/*JP
Sprintf(out_str, "%s", "That can be many things");
+*/
+ Sprintf(out_str, "%s", "\82±\82±\82É\82Í\91½\82\82Ì\82à\82Ì\82ª\82 \82é");
didlook:
if (looked) {
found = 1; /* we have something to look up */
}
if (monbuf[0]) {
+/*JP
Sprintf(temp_buf, " [seen: %s]", monbuf);
+*/
+ Sprintf(temp_buf, " [\8e\8b\8ao: %s]", monbuf);
(void) strncat(out_str, temp_buf,
BUFSZ - strlen(out_str) - 1);
}
cobj->lknown ? "" : "\82Þ\81[\82ñ\81C");
#endif
else if (cobj->lknown)
+/*JP
pline("%s is locked.", The(xname(cobj)));
+*/
+ pline("%s\82Í\8c®\82ª\82©\82©\82Á\82Ä\82¢\82é\81D", xname(cobj));
else
+/*JP
pline("Hmmm, %s turns out to be locked.", the(xname(cobj)));
+*/
+ pline("\82Þ\81[\82ñ\81C%s\82Í\8c®\82ª\82©\82©\82Á\82Ä\82¢\82é\81D", xname(cobj));
cobj->lknown = 1;
return 0;
}
add_menu(win, NO_GLYPH, &any, 0, 0, ATR_NONE, "", MENU_UNSELECTED);
if (more_containers) {
any.a_int = 7; /* 'n' */
+#if 0 /*JP*/
add_menu(win, NO_GLYPH, &any, menuselector[any.a_int], 0, ATR_NONE,
"loot next container", MENU_SELECTED);
+#else
+ add_menu(win, NO_GLYPH, &any, menuselector[any.a_int], 0, ATR_NONE,
+ "\8e\9f\82Ì\94 \82ð\8aJ\82¯\82é", MENU_SELECTED);
+#endif
}
any.a_int = 8; /* 'q' */
/*JP
/* use 'i' for inventory unless there are so many
containers that it's already being used */
i = (i <= 'i' - 'a' && !flags.lootabc) ? 'i' : 0;
+#if 0 /*JP*/
add_menu(win, NO_GLYPH, &any, i, 0, ATR_NONE,
"tip something being carried", MENU_SELECTED);
+#else
+ add_menu(win, NO_GLYPH, &any, i, 0, ATR_NONE,
+ "\93ü\82ê\95¨\82ð\82Ð\82Á\82\82è\82©\82¦\82·", MENU_SELECTED);
+#endif
}
- end_menu(win, "Tip which container?");
+ end_menu(win, "\82Ç\82Ì\93ü\82ê\95¨\82ð\82Ð\82Á\82\82è\82©\82¦\82·\81H");
n = select_menu(win, PICK_ONE, &pick_list);
destroy_nhwindow(win);
/*
/*JP
pline(use_thec, monsterc, "use your breath weapon");
*/
- pline(use_thec,monsterc, "\91§\82ð\93f\82«\82©\82¯\82é");
+ pline(use_thec, monsterc, "\91§\82ð\93f\82«\82©\82¯\82é");
if (attacktype(youmonst.data, AT_SPIT))
/*JP
pline(use_thec, monsterc, "spit venom");
*/
- pline(use_thec,monsterc, "\93Å\82ð\93f\82");
+ pline(use_thec, monsterc, "\93Å\82ð\93f\82");
if (youmonst.data->mlet == S_NYMPH)
/*JP
pline(use_thec, monsterc, "remove an iron ball");
*/
- pline(use_thec,monsterc, "\93S\8b\85\82ð\82Í\82¸\82·");
+ pline(use_thec, monsterc, "\93S\8b\85\82ð\82Í\82¸\82·");
if (attacktype(youmonst.data, AT_GAZE))
/*JP
pline(use_thec, monsterc, "gaze at monsters");
*/
- pline(use_thec,monsterc, "\89ö\95¨\82ðáÉ\82Þ");
+ pline(use_thec, monsterc, "\89ö\95¨\82ðáÉ\82Þ");
if (is_hider(youmonst.data))
/*JP
pline(use_thec, monsterc, "hide");
*/
- pline(use_thec,monsterc, "\89B\82ê\82é");
+ pline(use_thec, monsterc, "\89B\82ê\82é");
if (is_were(youmonst.data))
/*JP
pline(use_thec, monsterc, "summon help");
*/
- pline(use_thec,monsterc, "\92\87\8aÔ\82ð\8f¢\8a«\82·\82é");
+ pline(use_thec, monsterc, "\92\87\8aÔ\82ð\8f¢\8a«\82·\82é");
if (webmaker(youmonst.data))
/*JP
pline(use_thec, monsterc, "spin a web");
*/
- pline(use_thec,monsterc, "\82\82à\82Ì\91\83\82ð\92£\82é");
+ pline(use_thec, monsterc, "\82\82à\82Ì\91\83\82ð\92£\82é");
if (u.umonnum == PM_GREMLIN)
/*JP
pline(use_thec, monsterc, "multiply in a fountain");
*/
- pline(use_thec,monsterc, "\90ò\82Ì\92\86\82Å\95ª\97ô\82·\82é");
+ pline(use_thec, monsterc, "\90ò\82Ì\92\86\82Å\95ª\97ô\82·\82é");
if (is_unicorn(youmonst.data))
/*JP
pline(use_thec, monsterc, "use your horn");
"spine", "toe", "hair", "blood",
"lung", "nose", "stomach" },
#else
- *humanoid_parts[] = { "\98r", "\96Ú", "\8aç", "\8ew",
+ *humanoid_parts[] = {
+ "\98r", "\96Ú", "\8aç", "\8ew",
"\8ew\90æ", "\91«", "\8eè", "\8eè\82É\82·\82é",
"\93ª", "\91«", "\82ß\82Ü\82¢\82ª\82µ\82½", "\8eñ",
"\94w\8d\9c", "\92Ü\90æ", "\94¯", "\8c\8c",
"ripples", "juices", "surface", "sensor",
"stomach" },
#else
- *jelly_parts[] = { "\8b[\8e\97\90G\8eè", "\8d\95\82¢\94Á\93_", "\91O\96Ê",
- "\8b[\8e\97\90G\8eè\82Ì\90æ", "\8b[\8e\97\90G\8eè",
- "\8b[\8e\97\90G\8eè\82Ì\8a²", "\90G\8eè", "\88¬\82é",
- "\94]\82Ì\97Ì\88æ", "\89º\95û\82Ì\8b[\8e\97\90G\8eè", "\82Ë\82Î\82Ë\82Î\82µ\82Ä\82«\82½",
- "\92\86\8aÔ\97Ì\88æ", "\95\\96Ê", "\8b[\8e\97\90G\8eè",
- "\94g\96ä", "\91Ì\89t", "\95\\96Ê", "\8a´\8ao\8aí",
- "\88Ý"},
+ *jelly_parts[] = {
+ "\8b[\8e\97\90G\8eè", "\8d\95\82¢\94Á\93_", "\91O\96Ê",
+ "\8b[\8e\97\90G\8eè\82Ì\90æ", "\8b[\8e\97\90G\8eè",
+ "\8b[\8e\97\90G\8eè\82Ì\8a²", "\90G\8eè", "\88¬\82é",
+ "\94]\82Ì\97Ì\88æ", "\89º\95û\82Ì\8b[\8e\97\90G\8eè", "\82Ë\82Î\82Ë\82Î\82µ\82Ä\82«\82½",
+ "\92\86\8aÔ\97Ì\88æ", "\95\\96Ê", "\8b[\8e\97\90G\8eè",
+ "\94g\96ä", "\91Ì\89t", "\95\\96Ê", "\8a´\8ao\8aí",
+ "\88Ý"},
#endif
#if 0 /*JP*/
*animal_parts[] = { "forelimb", "eye", "face",
"blood", "lung", "nose",
"stomach" },
#else
- *animal_parts[] = { "\91O\91«", "\96Ú", "\8aç",
- "\91O\92Ü", "\92Ü\90æ", "\8cã\92Ü",
- "\91O\92Ü", "\82Ð\82Á\82©\82¯\82é", "\93ª",
- "\8cã\91«", "\82ß\82Ü\82¢\82ª\82µ\82½", "\8eñ",
- "\94w\8d\9c", "\8cã\92Ü\90æ", "\96Ñ\94ç",
- "\8c\8c", "\94x", "\95@",
- "\88Ý"},
+ *animal_parts[] = {
+ "\91O\91«", "\96Ú", "\8aç",
+ "\91O\92Ü", "\92Ü\90æ", "\8cã\92Ü",
+ "\91O\92Ü", "\82Ð\82Á\82©\82¯\82é", "\93ª",
+ "\8cã\91«", "\82ß\82Ü\82¢\82ª\82µ\82½", "\8eñ",
+ "\94w\8d\9c", "\8cã\92Ü\90æ", "\96Ñ\94ç",
+ "\8c\8c", "\94x", "\95@",
+ "\88Ý"},
#endif
#if 0 /*JP*/
*bird_parts[] = { "wing", "eye", "face", "wing",
"spine", "toe", "feathers", "blood",
"lung", "bill", "stomach" },
#else
- *bird_parts[] = { "\97\83", "\96Ú", "\8aç", "\97\83",
- "\97\83\82Ì\90æ", "\91«", "\97\83", "\97\83\82É\82Æ\82é",
- "\93ª", "\91«", "\82ß\82Ü\82¢\82ª\82µ\82½", "\8eñ",
- "\94w\8d\9c", "\92Ü\90æ", "\89H\96Ñ", "\8c\8c",
- "\94x", "\82\82¿\82Î\82µ", "\88Ý" },
+ *bird_parts[] = {
+ "\97\83", "\96Ú", "\8aç", "\97\83",
+ "\97\83\82Ì\90æ", "\91«", "\97\83", "\97\83\82É\82Æ\82é",
+ "\93ª", "\91«", "\82ß\82Ü\82¢\82ª\82µ\82½", "\8eñ",
+ "\94w\8d\9c", "\92Ü\90æ", "\89H\96Ñ", "\8c\8c",
+ "\94x", "\82\82¿\82Î\82µ", "\88Ý" },
#endif
#if 0 /*JP*/
*horse_parts[] = { "foreleg", "eye", "face",
"blood", "lung", "nose",
"stomach" },
#else
- *horse_parts[] = { "\91O\91«", "\96Ú", "\8aç",
- "\91O\92û", "\92û", "\8cã\92û",
- "\91O\92Ü", "\92û\82É\82Í\82³\82Þ", "\93ª",
- "\8cã\91«", "\82ß\82Ü\82¢\82ª\82µ\82½", "\8eñ",
- "\94w\8d\9c", "\8cã\92Ü\90æ", "\82½\82Ä\82ª\82Ý",
- "\8c\8c", "\94x", "\95@",
- "\88Ý" },
+ *horse_parts[] = {
+ "\91O\91«", "\96Ú", "\8aç",
+ "\91O\92û", "\92û", "\8cã\92û",
+ "\91O\92Ü", "\92û\82É\82Í\82³\82Þ", "\93ª",
+ "\8cã\91«", "\82ß\82Ü\82¢\82ª\82µ\82½", "\8eñ",
+ "\94w\8d\9c", "\8cã\92Ü\90æ", "\82½\82Ä\82ª\82Ý",
+ "\8c\8c", "\94x", "\95@",
+ "\88Ý" },
#endif
#if 0 /*JP*/
*sphere_parts[] = { "appendage", "optic nerve", "body", "tentacle",
"lower tentacle tip", "cilia", "life force",
"retina", "olfactory nerve", "interior" },
#else
- *sphere_parts[] = { "\93Ë\8bN", "\8e\8b\8ao\90_\8co", "\91Ì", "\90G\8eè",
+ *sphere_parts[] = {
+ "\93Ë\8bN", "\8e\8b\8ao\90_\8co", "\91Ì", "\90G\8eè",
"\90G\8eè\82Ì\90æ", "\89º\82Ì\93Ë\8bN", "\90G\8eè",
"\90G\8eè\82É\8e\9d\82Â", "\91Ì", "\89º\82Ì\90G\8eè",
"\89ñ\93]\82µ\82½", "\92\86\90S\90ü", "\91Ì",
"juices", "gill", "gill",
"interior" },
#else
- *fungus_parts[] = { "\8bÛ\8e\85\91Ì", "\8e\8b\8ao\97Ì\88æ", "\91O",
+ *fungus_parts[] = {
+ "\8bÛ\8e\85\91Ì", "\8e\8b\8ao\97Ì\88æ", "\91O",
"\8bÛ\8e\85", "\8bÛ\8e\85", "\8dª",
"\90G\8eè", "\90G\8eè\82É\82©\82ç\82Ý\82Â\82¯\82é", "\8eP",
"\8dª\8cs", "\8d¬\97\90\82·\82é", "\8e²",
"life force", "center", "leading edge",
"interior" },
#else
- *vortex_parts[] = { "\97Ì\88æ", "\96Ú", "\91O",
+ *vortex_parts[] = {
+ "\97Ì\88æ", "\96Ú", "\91O",
"\8f¬\82³\82¢\97¬\82ê", "\8f¬\82³\82¢\97¬\82ê", "\89º\95\94\82Ì\97¬\82ê",
"\89Q\8aª", "\89Q\82É\8aª\82", "\89Q\82Ì\92\86\90S",
"\89º\95\94\82Ì\97¬\82ê", "\8d¬\97\90\82µ\82½", "\92\86\90S\95\94",
"scales", "blood", "lung", "forked tongue",
"stomach" },
#else
- *snake_parts[] = { "\91Þ\89»\82µ\82½\91«", "\96Ú", "\8aç", "\91å\82«\82È\97Ø",
+ *snake_parts[] = {
+ "\91Þ\89»\82µ\82½\91«", "\96Ú", "\8aç", "\91å\82«\82È\97Ø",
"\91å\82«\82È\97Ø\82Ì\90æ", "\8cã\95\94\95ª", "\97Ø\82Ì\8c\84\8aÔ",
"\97Ø\82Ì\8c\84\8aÔ\82É\82Â\82¯\82é", "\93ª", "\8cã\95\94\95ª",
"\82ß\82Ü\82¢\82ª\82µ\82½", "\8eñ", "\91Ì", "\8cã\95\94\95ª\82Ì\8aZ",
"length", "posterior setae", "setae", "blood",
"skin", "prostomium", "stomach" },
#else
- *worm_parts[] = { "\91O\8bæ", "\8a´\8cõ\90«\8d×\96E",
- "\8aÂ\91Ñ", "\8ap", "\8ap", "\8cã\8bæ",
- "\90ß", "\90ß\82É\82Â\82¯\82é", "\91O\8bæ",
- "\8cã\95\94", "\90L\82Ñ\82·\82¬\82½", "\8aÂ\91Ñ",
- "\91Ì", "\8cã\95\94\82Ì\8ap", "\8ap", "\8c\8c",
- "\94ç\95\86", "\8cû\91O\97t", "\88Ý" },
+ *worm_parts[] = {
+ "\91O\8bæ", "\8a´\8cõ\90«\8d×\96E",
+ "\8aÂ\91Ñ", "\8ap", "\8ap", "\8cã\8bæ",
+ "\90ß", "\90ß\82É\82Â\82¯\82é", "\91O\8bæ",
+ "\8cã\95\94", "\90L\82Ñ\82·\82¬\82½", "\8aÂ\91Ñ",
+ "\91Ì", "\8cã\95\94\82Ì\8ap", "\8ap", "\8c\8c",
+ "\94ç\95\86", "\8cû\91O\97t", "\88Ý" },
#endif
#if 0 /*JP*/
*fish_parts[] = { "fin", "eye", "premaxillary", "pelvic axillary",
"dorsal fin", "caudal fin", "scales", "blood",
"gill", "nostril", "stomach" };
#else
- *fish_parts[] = { "\82Ð\82ê", "\96Ú", "\8aç", "\82Ð\82ê\82Ì\90æ",
+ *fish_parts[] = {
+ "\82Ð\82ê", "\96Ú", "\8aç", "\82Ð\82ê\82Ì\90æ",
"\82Ð\82ê\82Ì\90æ", "\94ö\82Ñ\82ê", "\8b¹\82Ð\82ê", "\82Ð\82ê\82Å\8e\9d\82Â",
"\93ª", "\94ö\95¿", "\82ß\82Ü\82¢\82ª\82µ\82½", "\82¦\82ç",
"\94w\82Ñ\82ê", "\94ö\82Ñ\82ê", "\97Ø", "\8c\8c",
: "empty"; /* golems plus vortices */
#else
return !nonliving(youmonst.data)
- ? "\8e\80\82ñ\82¾" /* living, including demons */
+ ? "\8e\80\82ñ\82¾" /* \90¶\95¨\82Æ\88«\96\82 */
: !weirdnonliving(youmonst.data)
- ? "\94j\89ó\82³\82ê\82½" /* undead plus manes */
- : "\82È\82\82È\82Á\82½"; /* golems plus vortices */
+ ? "\94j\89ó\82³\82ê\82½" /* \83A\83\93\83f\83b\83h\82Æ\96S\97ì */
+ : "\82È\82\82È\82Á\82½"; /* \83S\81[\83\8c\83\80\82Æ\89Q */
#endif
}
set_itimeout(&HPasses_walls, (long) (d(4, 4) + 4)); /* 8..20 */
/* how else could you move between packed rocks or among
lattice forming "solid" rock? */
+/*JP
You_feel("much slimmer.");
+*/
+ You_feel("\82Æ\82Ä\82à\83X\83\8a\83\80\82É\82È\82Á\82½\8bC\82ª\82µ\82½\81D");
}
break;
case TROUBLE_CURSED_LEVITATION:
the worm's segments, but we count it as such when presenting
worm feedback to the player */
if (!nsegs) {
+/*JP
Strcat(info, ", single segment");
+*/
+ Strcat(info, ", \91S\91Ì");
} else {
++nsegs; /* include head in the segment count */
segndx = wseg_at(mtmp, bhitpos.x, bhitpos.y);
+#if 0 /*JP*/
Sprintf(eos(info), ", %d%s of %d segments",
segndx, ordin(segndx), nsegs);
+#else
+ Sprintf(eos(info), ", %d\90ß\82Ì\82¤\82¿%d\94Ô\96Ú",
+ nsegs, segndx);
+#endif
}
}
if (mtmp->cham >= LOW_PM && mtmp->data != &mons[mtmp->cham])
maintained illiterate conduct so far, and this mail
scroll didn't come from bones, ask for confirmation */
if (!u.uconduct.literate) {
+#if 0 /*JP*/
if (!scroll->spe && yn(
"Reading mail will violate \"illiterate\" conduct. Read anyway?"
) != 'y')
+#else
+ if (!scroll->spe && yn(
+ "\83\81\81[\83\8b\82ð\93Ç\82Þ\82Æ\81u\95¶\8e\9a\82ð\93Ç\82Ü\82È\82¢\81v\92§\90í\82É\88á\94½\82·\82é\82¯\82Ç\81C\82»\82ê\82Å\82à\93Ç\82Þ\81H"
+ ) != 'y')
+#endif
return 0;
}
}
known = TRUE;
if (sobj->spe == 2)
/* "stamped scroll" created via magic marker--without a stamp */
+/*JP
pline("This scroll is marked \"postage due\".");
+*/
+ pline("\82±\82Ì\8aª\95¨\82É\82Í\81u\97¿\8bà\95s\91«\81v\82Æ\8f\91\82¢\82Ä\82 \82é\81D");
else if (sobj->spe)
/* scroll of mail obtained from bones file or from wishing;
* note to the puzzled: the game Larn actually sends you junk
/*JP
You_feel("confused.");
*/
- You_feel("confused.");
+ You_feel("\8d¬\97\90\82µ\82½\81D");
make_confused(HConfusion + rnd(100), FALSE);
} else if (confused) {
if (!sblessed) {
} else {
if (sblessed) {
if (!already_known)
+/*JP
pline("This is a scroll of fire!");
+*/
+ pline("\82±\82ê\82Í\89Î\82Ì\8aª\95¨\82¾\81I");
dam *= 5;
+/*JP
pline("Where do you want to center the explosion?");
+*/
+ pline("\82Ç\82±\82ð\94\9a\94\82Ì\92\86\90S\82É\82µ\82Ü\82·\82©\81H");
getpos_sethilite(display_stinking_cloud_positions, get_valid_stinking_cloud_pos);
+/*JP
(void) getpos(&cc, TRUE, "the desired position");
+*/
+ (void) getpos(&cc, TRUE, "\91_\82¢\82Ì\8fê\8f\8a");
if (!is_valid_stinking_cloud_pos(cc.x, cc.y, FALSE)) {
/* try to reach too far, get burned */
cc.x = u.ux;
if (u.uinvulnerable || nonliving(youmonst.data) || Breathless)
return FALSE;
if (!Blind) {
+/*JP
Your("%s sting.", makeplural(body_part(EYE)));
+*/
+ Your("%s\82ª\83`\83N\83`\83N\82µ\82½\81D", body_part(EYE));
make_blinded(1L, FALSE);
}
if (!Poison_resistance) {
safe_teleds(FALSE);
} else if (r) {
remove_region(r);
+/*JP
pline_The("gas cloud enveloping you dissipates.");
+*/
+ pline("\82 \82È\82½\82ð\95ï\82ñ\82Å\82¢\82½\83K\83X\89_\82Í\8fÁ\82¦\82½\81D");
} else {
/* cloud dissipated on its own, so nothing needs to be done */
+/*JP
pline_The("gas cloud has dissipated.");
+*/
+ pline("\83K\83X\89_\82Í\8fÁ\82¦\82½\81D");
}
/* maybe cure blindness too */
if ((Blinded & TIMEOUT) == 1L)
urole.cgod = roles[flags.pantheon].cgod;
}
/* 0 or 1; no gods are neuter, nor is gender randomized */
+/*JP
quest_status.godgend = !strcmpi(align_gtitle(alignmnt), "goddess");
+*/
+ quest_status.godgend = !strcmpi(align_gtitle(alignmnt), "\8f\97\90_");
/* Fix up infravision */
if (mons[urace.malenum].mflags3 & M3_INFRAVISION) {
/*JP
: "The Oracle meditates for a moment and then intones:");
*/
- : "\8c«\8eÒ\82Í\82µ\82Î\82ç\82\96»\91z\82µ\81C\89Ì\82¤\82æ\82¤\82É\98b\82µ\82½\81F");
+ : "\8c«\8eÒ\82Í\82µ\82Î\82ç\82áÒ\91z\82µ\81C\89Ì\82¤\82æ\82¤\82É\98b\82µ\82½\81F");
else
/*JP
putstr(tmpwin, 0, "The message reads:");
obj->quan <= bp->bquan
*/
+/*JP
static const char *angrytexts[] = { "quite upset", "ticked off", "furious" };
+*/
+static const char *angrytexts[] = { "\82©\82È\82è\93{\82Á\82½", "\95 \82ð\97§\82Ä\82½", "\8c\83\93{\82µ\82½" };
/*
* Transfer money from inventory to monster when paying
plname);
#endif
else
+#if 0 /*JP*/
pline("%s %s that you need to pay before leaving%s",
Shknam(shkp),
NOTANGRY(shkp) ? "points out" : "makes it clear",
NOTANGRY(shkp) ? "." : "!");
+#else
+ pline("%s\82Í\81C\8bA\82é\91O\82É\8ex\95¥\82¢\82ð\82·\82é\95K\97v\82ª\82 \82é\82±\82Æ\82ð%s",
+ Shknam(shkp),
+ NOTANGRY(shkp) ? "\8ew\93E\82µ\82½\81D" : "\82Í\82Á\82«\82è\82³\82¹\82½\81I");
+#endif
return;
}
#else
pline("\93X\82Í%s%s\81D",
!n ? "\94p\9aÐ\82Æ\89»\82µ\82Ä\82¢\82é" : "\95ú\8aü\82³\82ê\82Ä\82¢\82é",
- (m < n) ? "\82æ\82¤\82¾" : "is");
+ (m < n) ? "\82æ\82¤\82¾" : "");
#endif
}
*/
verbalize("\93§\96¾\82È\82¨\8bq\82³\82ñ\82Æ\82Í\8a´\90S\82µ\82È\82¢\82È\81I");
else
+#if 0 /*JP*/
pline("%s stands firm as if %s knows you are there.",
Shknam(shkp), mhe(shkp));
+#else
+ pline("%s\82Í\81C\82Ü\82é\82Å\82 \82È\82½\82ª\82»\82±\82É\82¢\82é\82±\82Æ\82ð\92m\82Á\82Ä\82¢\82é\82©\82Ì\82æ\82¤\82É\97§\82¿\82Í\82¾\82©\82Á\82½\81D",
+ Shknam(shkp));
+#endif
return;
}
shkname(shkp), shtypes[rt - SHOPBASE].name);
#endif
else
+#if 0 /*JP*/
pline("%s seems %s over your return to %s %s!",
Shknam(shkp),
angrytexts[rn2(SIZE(angrytexts))],
mhis(shkp),
shtypes[rt - SHOPBASE].name);
+#else
+ pline("\82 \82È\82½\82ª%s\82É\96ß\82Á\82Ä\82«\82½\82Ì\82Å%s\82Í%s\82æ\82¤\82¾\81I",
+ shtypes[rt - SHOPBASE].name,
+ Shknam(shkp),
+ angrytexts[rn2(SIZE(angrytexts))]);
+#endif
} else if (eshkp->robbed) {
if (!Deaf)
#if 0 /*JP*/
shkname(shkp));
#endif
else
+#if 0 /*JP*/
pline("%s is combing through %s inventory list.",
Shknam(shkp),
mhis(shkp));
+#else
+ pline("%s\82Í\8e©\95ª\82Ì\8e\9d\82¿\95¨\88ê\97\97\82ð\8am\94F\82µ\82Ä\82¢\82é\81D",
+ Shknam(shkp));
+#endif
} else {
if (!Deaf && !muteshk(shkp))
#if 0 /*JP:T*/
eshkp->visitct++ ? "\82Ü\82½\97\88\82Ü\82µ\82½\82Ë" : "\82æ\82¤\82±\82»");
#endif
else
+#if 0 /*JP*/
You("enter %s %s%s!",
s_suffix(shkname(shkp)),
shtypes[rt - SHOPBASE].name,
eshkp->visitct++ ? " again" : "");
+#else
+ You("%s%s\82Ì%s\82ð\96K\82ê\82½\81I",
+ eshkp->visitct++ ? "\8dÄ\82Ñ" : "",
+ shkname(shkp),
+ shtypes[rt - SHOPBASE].name);
+#endif
}
/* can't do anything about blocking if teleported in */
if (!inside_shop(u.ux, u.uy)) {
tool);
#endif
else
+#if 0 /*JP*/
pline("%s %s to let you in with your %s%s.",
Shknam(shkp),
NOTANGRY(shkp) ? "is hesitant" : "refuses",
tool, plur(cnt));
+#else
+ pline("%s\82Í\82 \82È\82½\82ª%s\82ð\8e\9d\82Á\82Ä\93ü\82é\82Ì%s\81D",
+ Shknam(shkp),
+ tool,
+ NOTANGRY(shkp) ? "\82Í\8bC\82ª\82·\82·\82Ü\82È\82¢\82æ\82¤\82¾" : "\82ð\8b\91\94Û\82µ\82½");
+#endif
should_block = TRUE;
} else if (u.usteed) {
if (!Deaf && !muteshk(shkp))
y_monnam(u.usteed));
#endif
else
+#if 0 /*JP*/
pline("%s %s to let you in while you're riding %s.",
Shknam(shkp),
NOTANGRY(shkp) ? "doesn't want" : "refuses",
y_monnam(u.usteed));
+#else
+ pline("%s\82Í\82 \82È\82½\82ª%s\82É\8fæ\82Á\82½\82Ü\82Ü\82È\82Ì%s.",
+ Shknam(shkp),
+ y_monnam(u.usteed),
+ NOTANGRY(shkp) ? "\82Í\96]\82Ü\82È\82¢\82æ\82¤\82¾" : "\82ð\8b\91\94Û\82µ\82½");
+#endif
should_block = TRUE;
} else {
should_block =
verbalize("\82Ð\82«\82å\82¤\8eÒ\82ß\81I\82Â\82é\82Í\82µ\82ð\8e\9d\82Á\82Ä\8aO\82É\8fo\82ë\81I");
#endif
else
+#if 0 /*JP*/
pline("%s %s your pick!",
Shknam(shkp),
haseyes(shkp->data) ? "glares at"
: "is dismayed because of");
+#else
+ pline("%s\82Í\82Â\82é\82Í\82µ%s\81I",
+ Shknam(shkp),
+ haseyes(shkp->data) ? "\82ð\82É\82ç\82Ý\82Â\82¯\82½"
+ : "\82É\93®\97h\82µ\82Ä\82¢\82é");
+#endif
}
pickmovetime = moves;
}
shtypes[eshkp->shoptype - SHOPBASE].name);
#endif
else
+#if 0 /*JP*/
pline("%s nods appreciatively at you for shopping in %s %s!",
Shknam(shkp),
mhis(shkp),
shtypes[eshkp->shoptype - SHOPBASE].name);
+#else
+ pline("%s\82Í%s\82Å\82Ì\94\83\82¢\95¨\82É\8a´\8eÓ\82µ\82Ä\82¤\82È\82Ã\82¢\82½\81I",
+ Shknam(shkp),
+ shtypes[eshkp->shoptype - SHOPBASE].name);
+#endif
}
return 1;
}
ANGRY(shkp) ? "\95¥\82¦\81I" : "\95¥\82Á\82Ä\82\82¾\82³\82¢\81D");
#endif
} else {
+#if 0 /*JP*/
pline("%s %s%s your bill for the other %s first.",
Shknam(shkp),
ANGRY(shkp) ? "angrily " : "",
nolimbs(shkp->data) ? "motions to" : "points out",
simpleonames(obj));
+#else
+ pline("%s\82Í%s\91¼\82Ì%s\82Ì\82½\82ß\82Ì\8ex\95¥\82¢\82ð\90æ\82É\82·\82é\82æ\82¤\82É\91£\82µ\82½\81D",
+ Shknam(shkp),
+ ANGRY(shkp) ? "\93{\82Á\82Ä" : "",
+ simpleonames(obj));
+#endif
}
buy = PAY_SKIP; /* shk won't sell */
}
if (!quietly) {
if (is_izchak(shkp, TRUE) && !u.uevent.invoked) {
if (Deaf || muteshk(shkp)) {
+#if 0 /*JP:T*/
pline("%s seems %s that you want to sell that.",
Shknam(shkp),
(obj->spe < 7) ? "horrified" : "concerned");
+#else
+ pline("%s\82Í\82 \82È\82½\82ª\82»\82ê\82ð\94\84\82ë\82¤\82Æ\82µ\82Ä\82¢\82é\82±\82Æ\82ð%s\82Ä\82¢\82é\82æ\82¤\82¾\81D",
+ Shknam(shkp),
+ (obj->spe < 7) ? "\8b°\82ê" : "\90S\94z\82µ");
+#endif
} else {
/*JP
verbalize("No thanks, I'd hang onto that if I were you.");
*/
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*/
pline("%s shakes %s %s in refusal.",
Shknam(shkp),
mhis(shkp),
mbodypart(shkp, HEAD));
+#else
+ pline("%s\82Í%s\82ð\90U\82Á\82Ä\8b\91\94Û\82µ\82½\81D",
+ Shknam(shkp),
+ mbodypart(shkp, HEAD));
+#endif
}
}
return TRUE;
*/
verbalize("\82 \82è\82ª\82Æ\82æ\81C\82±\82Ì\83N\83\\82Á\82½\82ê\81I");
else
+/*JP
pline("%s smirks with satisfaction.", Shknam(shkp));
+*/
+ pline("%s\82Í\96\9e\91«\82µ\82Ä\8dì\82è\8fÎ\82¢\82ð\95\82\82©\82×\82½\81D", Shknam(shkp));
subfrombill(obj, shkp);
return;
}
Hello(shkp));
#endif
else
+#if 0 /*JP*/
pline("%s holds out %s upturned %s.",
Shknam(shkp),
mhis(shkp),
mbodypart(shkp, HAND));
+#else
+ pline("%s\82Í%s\82ð\8fã\82É\8cü\82¯\82Ä\8d·\82µ\8fo\82µ\82½\81D",
+ Shknam(shkp),
+ mbodypart(shkp, HAND));
+#endif
followmsg = moves;
if (!rn2(9)) {
#if 0 /*JP*/
jpast(dmgstr));
#endif
else
+#if 0 /*JP*/
pline("%s is %s that you decided to %s %s %s!",
Shknam(shkp), angrytexts[rn2(SIZE(angrytexts))],
dmgstr, mhis(shkp), dugwall ? "shop" : "door");
+#else
+ pline("%s\82Í\82 \82È\82½\82ª%s\82ð%s\82±\82Æ\82É\91Î\82µ\82Ä%s\81I",
+ Shknam(shkp),
+ dugwall ? "\93X" : "\94à", dmgstr,
+ angrytexts[rn2(SIZE(angrytexts))]);
+#endif
} else {
if (!Deaf) {
/*JP
jpast(dmgstr));
#endif
} else {
+#if 0 /*JP*/
pline("%s is %s that someone decided to %s %s %s!",
Shknam(shkp), angrytexts[rn2(SIZE(angrytexts))],
dmgstr, mhis(shkp), dugwall ? "shop" : "door");
+#else
+ pline("%s\82Í\92N\82©\82ª%s\82ð%s\82±\82Æ\82É\91Î\82µ\82Ä%s\81I",
+ Shknam(shkp),
+ dugwall ? "\93X" : "\94à", dmgstr,
+ angrytexts[rn2(SIZE(angrytexts))]);
+#endif
}
}
hot_pursuit(shkp);
*/
verbalize("\82³\82 \81C\95¥\82¤\82ñ\82¾\81I");
else
+#if 0 /*JP*/
pline("%s lunges %s %s toward your %s!",
Shknam(shkp),
mhis(shkp),
mbodypart(shkp, HAND),
body_part(NECK));
+#else
+ pline("%s\82Í%s\82ð\82 \82È\82½\82Ì%s\82É\93Ë\82«\8fo\82µ\82½\81I",
+ Shknam(shkp),
+ mbodypart(shkp, HAND),
+ body_part(NECK));
+#endif
} else
growl(shkp);
hot_pursuit(shkp);
Hello(shkp));
#endif
else
+#if 0 /*JP*/
pline("%s taps you on the %s.",
Shknam(shkp), body_part(ARM));
+#else
+ pline("%s\82Í\82 \82È\82½\82Ì%s\82ð\8cy\82\82½\82½\82¢\82½\81D",
+ Shknam(shkp), body_part(ARM));
+#endif
}
} else if (eshk->billct) {
register long total = addupbill(shkp) + eshk->debit;
/*JP
You("are too impaired to cast a spell.");
*/
- You("\96\82\96@\82ð\8f¥\82¦\82ç\82ê\82È\82¢\81D");
+ You("\82\82ç\82\82ç\82µ\82Ä\82¢\82Ä\96\82\96@\82ð\8eg\82¦\82È\82¢\81D");
return TRUE;
} else if (!can_chant(&youmonst)) {
+/*JP
You("are unable to chant the incantation.");
+*/
+ You("\8eô\95¶\82ð\8f¥\82¦\82é\82±\82Æ\82ª\82Å\82«\82È\82¢\81D");
return TRUE;
} else if (!freehand()) {
/* Note: !freehand() occurs when weapon and shield (or two-handed
/*JP
if (ynq("Go to Nowhere. Are you sure?") != 'y')
*/
- if (ynq("\82Ç\82±\82Æ\82à\92m\82ê\82Ê\8fê\8f\8a\82É\8ds\82«\82Ü\82·\81H\82æ\82ë\82µ\82¢\82Å\82·\82©\81H") != 'y')
+ if (ynq("\82Ç\82±\82Æ\82à\92m\82ê\82Ê\8fê\8f\8a\82É\8ds\82«\82Ü\82·\81D\82æ\82ë\82µ\82¢\82Å\82·\82©\81H") != 'y')
return;
#if 0 /*JP*/
You("%s in agony as your body begins to warp...",
/* used by wizard mode #timeout and #wizintrinsic; order by 'interest'
for timeout countdown, where most won't occur in normal play */
+/*JP \83E\83B\83U\81[\83h\83\82\81[\83h\82Å\82µ\82©\8eg\82í\82ê\82È\82¢\82æ\82¤\82È\82Ì\82Å\96|\96ó\82µ\82È\82¢ */
const struct propname {
int prop_num;
const char *prop_name;
else if (Hallucination)
/* "hurl" is short for "hurl chunks" which is slang for
relatively violent vomiting... */
+/*JP
txt = "are about to hurl!";
+*/
+ txt = "\83\8a\83o\81[\83X\90¡\91O\82¾\81I";
break;
case 0:
stop_occupation();
[vomit() issues its own message for the cantvomit() case
and for the FAINTING-or-worse case where stomach is empty] */
if (u.uhs < FAINTING)
+/*JP
You("%s!", !Hallucination ? "vomit" : "hurl chunks");
+*/
+ You("%s\81I", !Hallucination ? "\93f\82¢\82½" : "\83\8a\83o\81[\83X\82µ\82½");
}
vomit();
break;
}
static NEARDATA const char *const levi_texts[] = {
+#if 0 /*JP*//* %s\82Í\8eg\82í\82È\82¢ */
"You float slightly lower.",
"You wobble unsteadily %s the %s."
+#else
+ "\82 \82È\82½\82Ì\95\82\82«\8bï\8d\87\82Í\8f\82µ\92á\82\82È\82Á\82½\81D",
+ "\82 \82È\82½\82Í\82®\82ç\82®\82ç\97h\82ê\82Í\82¶\82ß\82½\81D"
+#endif
};
STATIC_OVL void
if (((HLevitation & TIMEOUT) % 2L) && i > 0L && i <= SIZE(levi_texts)) {
const char *s = levi_texts[SIZE(levi_texts) - i];
+#if 0 /*JP*//* %s \82Í\8eg\82Á\82Ä\82¢\82È\82¢\82Ì\82Å\92P\8f\83\89» */
if (index(s, '%')) {
boolean danger = (is_pool_or_lava(u.ux, u.uy)
&& !Is_waterlevel(&u.uz));
pline(s, danger ? "over" : "in",
danger ? surface(u.ux, u.uy) : "air");
} else
+#endif
pline1(s);
}
}
move between things which are closely packed--like the substance of
solid rock! */
static NEARDATA const char *const phaze_texts[] = {
+#if 0 /*JP*/
"You start to feel bloated.",
"You are feeling rather flabby.",
+#else
+ "\82 \82È\82½\82Í\96c\82ç\82Ý\82Í\82¶\82ß\82½\8bC\82ª\82·\82é\81D",
+ "\82 \82È\82½\82Í\8f\82µ\82½\82é\82ñ\82¾\8bC\82ª\82·\82é\81D",
+#endif
};
STATIC_OVL void
case PASSES_WALLS:
if (!Passes_walls) {
if (stuck_in_wall())
+/*JP
You_feel("hemmed in again.");
+*/
+ You_feel("\82Ü\82½\95Â\82¶\8d\9e\82ß\82ç\82ê\82½\82æ\82¤\82¾\81D");
else
+#if 0 /*JP*/
pline("You're back to your %s self again.",
!Upolyd ? "normal" : "unusual");
+#else
+ pline("\82 \82È\82½\82Í\8dÄ\82Ñ\92Ê\8fí%s\82Ì\8fó\91Ô\82É\82È\82Á\82½\81D",
+ !Upolyd ? "" : "\82Å\82Í\82È\82¢");
+#endif
}
break;
case STRANGLED:
#endif /*JP*/
if (t1->deathdnum == astral_level.dnum) {
+#if 0 /*JP*/
const char *arg, *fmt = " on the Plane of %s";
+#else
+ const char *arg;
+#endif
switch (t1->deathlev) {
case -5:
Sprintf(eos(where), "[\8dÅ\91å\92n\89º%d\8aK]", t1->maxlvl);
}
+#if 0 /*JP*//* \93ú\96{\8cê\82Å\82Í\8d×\8dH\95s\97v */
/* kludge for "quit while already on Charon's boat" */
if (!strncmp(t1->death, "quit ", 5))
Strcat(linebuf, t1->death + 4);
+#endif
}
#if 0 /*JP*/
Strcat(linebuf, ".");
/* beginning of hp column after padding (not actually padded yet) */
hppos = COLNO - (sizeof(" Hp [max]") - 1); /* sizeof(str) includes \0 */
#if 1 /*JP*/
- while(lngr >= hppos ){
+ while (lngr >= hppos) {
/*JP hppos\82æ\82è\91O\82Ì\93K\93\96\82È\88Ê\92u\82Å\95ª\8a\84\82·\82é\81D*/
car[0] = '\0';
cdr[0] = '\0';
#else
pline("\82È\82º\82©\81C%s%s\82Í%s\82Ì\89e\8b¿\82ð\8eó\82¯\82È\82©\82Á\82½\81D",
uvictim ? "\82 \82È\82½\82Ì"
- : !vismon ? "the" /* visobj */
+ : !vismon ? "" /* visobj */
: s_suffix(mon_nam(victim)),
- vtense(ostr, "are"), bythe[type]);
+ ostr, bythe[type]);
#endif
/* We assume here that if the object is protected because it
* is blessed, it still shows some minor signs of wear, and
when former contents of a burned container get here via
flooreffects() */
if (obj == thrownobj || obj == kickedobj)
+#if 0 /*JP*/
pline("%s %s up!", is_plural(obj) ? "They" : "It",
otense(obj, "burn"));
+#else
+ pline("\82»\82ê\82Í\94R\82¦\82Â\82«\82½\81I");
+#endif
else
+/*JP
You_see("%s hit lava and burn up!", doname(obj));
+*/
+ You_see("%s\82Í\97n\8aâ\82É\93\96\82½\82Á\82Ä\94R\82¦\82Â\82«\82½\81I", doname(obj));
}
if (carried(obj)) { /* shouldn't happen */
remove_worn_item(obj, TRUE);
return ER_DAMAGED; /* contents were damaged */
} else if (obj->otyp == OILSKIN_SACK) {
if (carried(obj))
+/*JP
pline("Some water slides right off your %s.", ostr);
+*/
+ pline("%s\82Í\90\85\82ð\92e\82¢\82½\81D", ostr);
makeknown(OILSKIN_SACK);
/* not actually damaged, but because we /didn't/ get the "water
gets into!" message, the player now has more information and
vampire form now instead of dealing with that when it dies */
if (is_vampshifter(mdef)
&& newcham(mdef, &mons[mdef->cham], FALSE, FALSE)) {
+/*JP
You("engulf it, then expel it.");
+*/
+ You("\88ù\82Ý\8d\9e\82ñ\82Å\81C\93f\82«\8fo\82µ\82½\81D");
if (canspotmon(mdef))
+/*JP
pline("It turns into %s.", a_monnam(mdef));
+*/
+ pline("\82»\82ê\82Í%s\82É\82È\82Á\82½\81D", a_monnam(mdef));
else
map_invisible(mdef->mx, mdef->my);
return 1;
been given in order to vary it upon repeat visits, but
discarding the monster and its egd data renders that hard] */
if (Deaf)
+/*JP
pline("%s huffs and turns to leave.", noit_Monnam(guard));
+*/
+ pline("%s\82Í\95s\8b@\8c\99\82É\82È\82Á\82Ä\81C\8b\8e\82Á\82Ä\82¢\82Á\82½\81D", noit_Monnam(guard));
else
/*JP
verbalize("I'll be back when you're ready to speak to me!");
if (!mvitals[PM_CROESUS].died) {
if (Deaf) {
if (!Blind)
+/*JP
pline("%s waves goodbye.", noit_Monnam(guard));
+*/
+ pline("%s\82Í\82³\82æ\82È\82ç\82Æ\8eè\82ð\90U\82Á\82½\81D", noit_Monnam(guard));
} else {
verbalize(
/*JP
setmangry(guard, FALSE);
if (Deaf) {
if (!Blind)
+#if 0 /*JP:T*/
pline("%s mouths something and looks very angry!",
noit_Monnam(guard));
+#else
+ pline("%s\82Í\89½\82©\82ð\8c¾\82Á\82Ä\82¢\82é\81D\82Æ\82Ä\82à\93{\82Á\82Ä\82¢\82é\82æ\82¤\82¾\81I",
+ noit_Monnam(guard));
+#endif
} else {
#if 0 /*JP:T*/
verbalize(
return;
}
if (Deaf)
+#if 0 /*JP:T*/
pline("%s doesn't %srecognize you.", noit_Monnam(guard),
(Blind) ? "" : "appear to ");
+#else
+ pline("%s\82Í\82 \82È\82½\82Ì\82±\82Æ\82ª\95ª\82©\82ç\82È\82¢\82æ\82¤\82¾\81D", noit_Monnam(guard));
+#endif
else
/*JP
verbalize("I don't know you.");
umoney = money_cnt(invent);
if (!umoney && !hidden_gold()) {
if (Deaf)
+#if 0 /*JP:T*/
pline("%s stomps%s.", noit_Monnam(guard),
(Blind) ? "" : " and beckons");
+#else
+ pline("%s\82Í\91«\82ð\93¥\82Ý\96Â\82ç\82µ%s\82½\81D", noit_Monnam(guard),
+ (Blind) ? "" : "\82Ä\8eè\8fµ\82«\82µ");
+#endif
else
/*JP
verbalize("Please follow me.");
if (!umoney) {
if (Deaf) {
if (!Blind)
+#if 0 /*JP:T*/
pline("%s glares at you%s.", noit_Monnam(guard),
invent ? "r stuff" : "");
+#else
+ pline("%s\82Í\82 \82È\82½%s\82ð\82É\82ç\82Ý\82Â\82¯\82½\81D", noit_Monnam(guard),
+ invent ? "\82Ì\8e\9d\82¿\95¨" : "");
+#endif
} else {
/*JP
verbalize("You have hidden gold.");
}
if (Deaf) {
if (!Blind)
+#if 0 /*JP:T*/
pline(
"%s holds out %s palm and beckons with %s other hand.",
noit_Monnam(guard), mhis(guard), mhis(guard));
+#else
+ pline(
+ "%s\82Í\95Ð\8eè\82ð\8d·\82µ\8fo\82µ\81C\82à\82¤\95Ð\8eè\82Å\8eè\8fµ\82«\82µ\82½\81D",
+ noit_Monnam(guard));
+#endif
} else {
verbalize(
/*JP
egrd->warncnt = 6;
if (Deaf) {
if (!Blind)
+#if 0 /*JP*/
pline("%s holds out %s palm demandingly!",
noit_Monnam(grd), mhis(grd));
+#else
+ pline("%s\82Í\8cµ\82µ\82¢\92²\8eq\82Å\8eè\82Ì\82Ð\82ç\82ð\8d·\82µ\8fo\82µ\82½\81I",
+ noit_Monnam(grd));
+#endif
} else {
/*JP
verbalize("Drop all your gold, scoundrel!");
} else {
if (Deaf) {
if (!Blind)
+#if 0 /*JP:T*/
pline("%s rubs %s hands with enraged delight!",
noit_Monnam(grd), mhis(grd));
+#else
+ pline("%s\82Í\93{\82è\82È\82ª\82ç\8eè\82ð\82·\82è\82 \82í\82¹\82½\81I",
+ noit_Monnam(grd));
+#endif
} else {
/*JP
verbalize("So be it, rogue!");
/* note: entry [0] isn't used */
STATIC_VAR NEARDATA const char *const odd_skill_names[] = {
+#if 0 /*JP*/
"no skill", "bare hands", /* use barehands_or_martial[] instead */
"two weapon combat", "riding", "polearms", "saber", "hammer", "whip",
"attack spells", "healing spells", "divination spells",
"enchantment spells", "clerical spells", "escape spells", "matter spells",
+#else
+ "no skill", "\91f\8eè", /* use barehands_or_martial[] instead */
+ "\93ñ\93\81\97¬", "\8bR\8fæ", "\92·\95\80", "\83T\81[\83x\83\8b", "\83n\83\93\83}\81[", "\95Ú",
+ "\8dU\8c\82", "\8e¡\96ü", "\97\\92m",
+ "\95â\8f\95", "\91m\97µ", "\92E\8fo", "\95¨\8e¿",
+#endif
};
/* indexed vis `is_martial() */
STATIC_VAR NEARDATA const char *const barehands_or_martial[] = {
+#if 0 /*JP*/
"bare handed combat", "martial arts"
+#else
+ "\91f\8eè", "\91Ì\8fp"
+#endif
};
STATIC_OVL void
}
/* offer to split stack if wielding more than 1 */
if (uwep->quan > 1L && inv_cnt(FALSE) < 52 && splittable(uwep)) {
+#if 0 /*JP:T*/
Sprintf(qbuf, "You are wielding %ld %s. Ready %ld of them?",
uwep->quan, simpleonames(uwep), uwep->quan - 1L);
+#else
+ Sprintf(qbuf, "\82 \82È\82½\82Í%ld %s\82ð\91\95\94õ\82µ\82Ä\82¢\82é\81D\82»\82Ì\82¤\82¿ %ld \82ð\8f\80\94õ\82·\82é\81H",
+ uwep->quan, simpleonames(uwep), uwep->quan - 1L);
+#endif
switch (ynq(qbuf)) {
case 'q':
return 0;
default:
break;
}
+/*JP
Strcpy(qbuf, "Ready all of them instead?");
+*/
+ Strcpy(qbuf, "\91ã\82í\82è\82É\82±\82ê\82ç\91S\95\94\82ð\8f\80\94õ\82·\82é\81H");
} else {
boolean use_plural = (is_plural(uwep) || pair_of(uwep));
+#if 0 /*JP*/
Sprintf(qbuf, "You are wielding %s. Ready %s instead?",
!use_plural ? "that" : "those",
!use_plural ? "it" : "them");
+#else /* \95s\8e©\91R\82¾\82¯\82Ç\82Æ\82è\82 \82¦\82¸\82±\82ê\82Å\82æ\82µ\82Æ\82·\82é */
+ Strcpy(qbuf, "\82 \82È\82½\82Í\82»\82ê\82ð\91\95\94õ\82µ\82Ä\82¢\82é\81D\91ã\82í\82è\82É\82»\82ê\82ð\8f\80\94õ\82·\82é\81H");
+#endif
}
/* require confirmation to ready the main weapon */
if (ynq(qbuf) != 'y') {
(void) Shk_Your(qbuf, uwep); /* replace qbuf[] contents */
+#if 0 /*JP*/
pline("%s%s %s wielded.", qbuf,
simpleonames(uwep), otense(uwep, "remain"));
+#else
+ pline("%s%s\82ð\91\95\94õ\82µ\82½\82Ü\82Ü\82É\82µ\82½\81D", qbuf,
+ simpleonames(uwep));
+#endif
return 0;
}
/* quivering main weapon, so no longer wielding it */
} else if (newquiver == uswapwep) {
if (uswapwep->quan > 1L && inv_cnt(FALSE) < 52
&& splittable(uswapwep)) {
+#if 0 /*JP*/
Sprintf(qbuf, "%s %ld %s. Ready %ld of them?",
u.twoweap ? "You are dual wielding"
: "Your alternate weapon is",
uswapwep->quan, simpleonames(uswapwep),
uswapwep->quan - 1L);
+#else /*TODO:\93ñ\93\81\97¬\82Ì\82Æ\82«\82Í\82©\82È\82è\95s\8e©\91R */
+ Sprintf(qbuf, "%s %ld %s\82¾\81D\82»\82Ì\82¤\82¿%ld\82ð\8f\80\94õ\82·\82é\81H",
+ u.twoweap ? "\82 \82È\82½\82ª\82»\82ê\82¼\82ê\91\95\94õ\82µ\82Ä\82¢\82é\82Ì\82Í"
+ : "\82 \82È\82½\82Ì\97\\94õ\82Ì\95\90\8aí\82Í",
+ uswapwep->quan, simpleonames(uswapwep),
+ uswapwep->quan - 1L);
+#endif
switch (ynq(qbuf)) {
case 'q':
return 0;
default:
break;
}
+/*JP
Strcpy(qbuf, "Ready all of them instead?");
+*/
+ Strcpy(qbuf, "\91ã\82í\82è\82É\82±\82ê\82ç\91S\95\94\82ð\8f\80\94õ\82·\82é\81H");
} else {
boolean use_plural = (is_plural(uswapwep) || pair_of(uswapwep));
+#if 0 /*JP*/
Sprintf(qbuf, "%s your %s weapon. Ready %s instead?",
!use_plural ? "That is" : "Those are",
u.twoweap ? "second" : "alternate",
!use_plural ? "it" : "them");
+#else
+ Sprintf(qbuf, "\82»\82ê\82Í%s\95\90\8aí\82¾\81D\91ã\82í\82è\82É\82»\82ê\82ð\8f\80\94õ\82·\82é\81H",
+ u.twoweap ? "\93ñ\94Ô\96Ú\82Ì" : "\97\\94õ\82Ì");
+#endif
}
/* require confirmation to ready the alternate weapon */
if (ynq(qbuf) != 'y') {
(void) Shk_Your(qbuf, uswapwep); /* replace qbuf[] contents */
+#if 0 /*JP*/
pline("%s%s %s %s.", qbuf,
simpleonames(uswapwep), otense(uswapwep, "remain"),
u.twoweap ? "wielded" : "as secondary weapon");
+#else
+ pline("%s%s\82ð%s\82Ü\82Ü\82É\82µ\82½\81D", qbuf,
+ simpleonames(uswapwep),
+ u.twoweap ? "\91\95\94õ\82µ\82½" : "\93ñ\94Ô\96Ú\82Ì\95\90\8aí\82Ì");
+#endif
return 0;
}
/* quivering alternate weapon, so no more uswapwep */
something we're wielding that's vulnerable to its damage) */
res = 0;
if (was_uwep) {
+/*JP
You("are now empty %s.", body_part(HANDED));
+*/
+ You("\95\90\8aí\82ð\8e\9d\82½\82È\82\82È\82Á\82½\81D");
res = 1;
} else if (was_twoweap && !u.twoweap) {
+/*JP
You("are no longer wielding two weapons at once.");
+*/
+ You("\93ñ\93\81\97¬\82ð\82â\82ß\82½\81D");
res = 1;
}
return res;
random_insult[rn2(SIZE(random_insult))]);
#else
verbalize(rn2(2) ? "\8d¡\82Æ\82È\82Á\82Ä\82à\82È\82¨\93ð\82Ì\96½\82Í\82 \82¦\82Ä\90\8a\82¦\82é\82Ì\82¾\81C%s\81I"
- : "\91§\82ð\96¡\82í\82Á\82Ä\82¨\82¯\81C%s\81C\93ð\82Ì\8dÅ\8aú\82Ì\8e\9e\82¾\81I",
+ : "\96³\91Ê\82È\82±\82Æ\82ð\82·\82é\82È\81C%s\81C\93ð\82Ì\8dÅ\8aú\82Ì\8e\9e\82¾\81I",
random_insult[rn2(SIZE(random_insult))]);
#endif
else if (mtmp->mhp < 5 && !rn2(2)) /* Parthian shot */
char buf[BUFSZ];
unsigned pfx = CXN_PFX_THE;
+#if 1 /*JP*//* \8e\80\91Ì\96¼\82Í\90æ\82É */
+ Strcat(buf, corpse_xname(corpse, (const char *) 0, pfx));
+#endif
+#if 0 /*JP*/
Strcpy(buf, one_of ? "one of " : "");
+#else /* \8cê\8f\87\82Í\95Ï\82í\82Á\82Ä\82¢\82é */
+ if (one_of) {
+ Strcat(buf, "\82Ì\88ê\82Â");
+ }
+#endif
+#if 0 /*JP*//* \82±\82±\82Å\81u\82 \82È\82½\82Ì\81v\82Í\95s\8e©\91R */
if (carried(corpse) && !corpse->unpaid) {
Strcat(buf, "your ");
pfx = CXN_NO_PFX;
}
+#endif
if (one_of)
corpse->quan++; /* force plural */
+#if 0 /*JP*//* \8aù\82É\90Ý\92è\8dÏ\82Ý */
Strcat(buf, corpse_xname(corpse, (const char *) 0, pfx));
+#endif
if (one_of) /* could be simplified to ''corpse->quan = 1L;'' */
corpse->quan--;
/*JP
boolean one = (cnt == 1L);
if (dmgtyp == AD_FIRE && osym == FOOD_CLASS)
+/*JP
how = "exploding glob of slime";
+*/
+ how = "\83X\83\89\83C\83\80\82Ì\82Ë\82Î\82Ë\82Î\82Ì\94\9a\94\82Å";
if (physical_damage)
dmg = Maybe_Half_Phys(dmg);
losehp(dmg, one ? how : (const char *) makeplural(how),