enlght_line(prefix, final ? past : present, suffix, ps)
#else
#define enl_msg(prefix, present, past, suffix, ps) \
- enlght_line(prefix, suffix, final ? past : present, ps)
+ enlght_line(prefix, ps, suffix, final ? past : present)
#endif
#define you_are(attr, ps) enl_msg(You_, are, were, attr, ps)
#define you_have(attr, ps) enl_msg(You_, have, had, attr, ps)
enl_msg(something, "\82Ä\82¢\82é", "\82½", "", "")
#endif
#if 1 /*JP*/
-#define you_are_ing(goodthing) enl_msg(You_, iru, ita, goodthing, "")
+#define you_are_ing(goodthing, ps) enl_msg(You_, iru, ita, goodthing, ps)
#endif
static void
/*JP
Sprintf(tmpbuf, "%s ", genders[flags.female ? 1 : 0].adj);
*/
- Sprintf(tmpbuf, "%s", genders[flags.female ? 1 : 0].adj);
+ Sprintf(tmpbuf, "%s\82Ì", genders[flags.female ? 1 : 0].adj);
+#if 0 /*JP*/
Sprintf(buf, "%sin %s%s form", !final ? "currently " : "", tmpbuf,
uasmon->mname);
+#else
+ Sprintf(buf, "%s%s%s\82Ì\8ep", !final ? "\8d¡\82Ì\82Æ\82±\82ë" : "", tmpbuf,
+ uasmon->mname);
+#endif
you_are(buf, "");
}
Sprintf(tmpbuf, "%s", genders[innategend].adj);
buf[0] = '\0';
if (Upolyd)
+#if 0 /*JP*/
Strcpy(buf, "actually "); /* "You are actually a ..." */
+#else
+ Strcpy(buf, "\8eÀ\8dÛ\82É\82Í"); /* "\82 \82È\82½\82Í\8eÀ\8dÛ\82É\82Í..." */
+#endif
if (!strcmpi(rank_titl, role_titl)) {
/* omit role when rank title matches it */
#if 0 /*JP*/
: "",
u_gname());
#else
- Sprintf(buf, " \82 \82È\82½\82Í%s\82Å, %s%s\82Ì\82½\82ß\82Ì\94C\96±\82ð\8ds\82Á\82Ä%s",
+ Sprintf(buf, "\82 \82È\82½\82Í%s\82Å, %s%s\82Ì\82½\82ß\82Ì\94C\96±\82ð\8ds\82Á\82Ä%s\81D",
align_str(u.ualign.type),
/* helm of opposite alignment (might hide conversion) */
(u.ualign.type != u.ualignbase[A_CURRENT]) ? "\88ê\8e\9e\93I\82É"
+ ((u.ualignbase[A_CURRENT] != u.ualignbase[A_ORIGINAL])
? 2 : 0));
if (difalgn & 1) { /* have temporary alignment so report permanent one */
+/*JP
Sprintf(buf, "actually %s", align_str(u.ualignbase[A_CURRENT]));
+*/
+ Sprintf(buf, "\8eÀ\8dÛ\82É\82Í%s", align_str(u.ualignbase[A_CURRENT]));
you_are(buf, "");
difalgn &= ~1; /* suppress helm from "started out <foo>" message */
}
if (difgend || difalgn) { /* sex change or perm align change or both */
+#if 0 /*JP*/
Sprintf(buf, " You started out %s%s%s.",
difgend ? genders[flags.initgend].adj : "",
(difgend && difalgn) ? " and " : "",
difalgn ? align_str(u.ualignbase[A_ORIGINAL]) : "");
+#else
+ Sprintf(buf, "\82 \82È\82½\82Í%s%s%s\82Å\8aJ\8en\82µ\82½\81D",
+ difgend ? genders[flags.initgend].adj : "",
+ (difgend && difalgn) ? "\82©\82Â" : "",
+ difalgn ? align_str(u.ualignbase[A_ORIGINAL]) : "");
+#endif
putstr(en_win, 0, buf);
}
}
}
switch (attrindx) {
case A_STR:
+/*JP
attrname = "strength";
+*/
+ attrname = "\8b\82³";
if (uarmg && uarmg->otyp == GAUNTLETS_OF_POWER && uarmg->cursed)
hide_innate_value = TRUE;
break;
case A_DEX:
+/*JP
attrname = "dexterity";
+*/
+ attrname = "\91f\91\81\82³";
break;
case A_CON:
+/*JP
attrname = "constitution";
+*/
+ attrname = "\91Ï\8bv\97Í";
break;
case A_INT:
+/*JP
attrname = "intelligence";
+*/
+ attrname = "\92m\97Í";
if (uarmh && uarmh->otyp == DUNCE_CAP && uarmh->cursed)
hide_innate_value = TRUE;
break;
case A_WIS:
+/*JP
attrname = "wisdom";
+*/
+ attrname = "\8c«\82³";
if (uarmh && uarmh->otyp == DUNCE_CAP && uarmh->cursed)
hide_innate_value = TRUE;
break;
case A_CHA:
+/*JP
attrname = "charisma";
+*/
+ attrname = "\96£\97Í";
break;
default:
return; /* impossible */
acurrent = ACURR(attrindx);
(void) attrval(attrindx, acurrent, valubuf); /* Sprintf(valubuf,"%d",) */
+/*JP
Sprintf(subjbuf, "Your %s ", attrname);
+*/
+ Sprintf(subjbuf, "\82 \82È\82½\82Ì%s\82Í", attrname);
if (!hide_innate_value) {
/* show abase, amax, and/or attrmax if acurr doesn't match abase
interesting_alimit =
final ? TRUE /* was originally `(abase != alimit)' */
: (alimit != (attrindx != A_STR ? 18 : STR18(100)));
+/*JP
paren_pfx = final ? " (" : " (current; ";
+*/
+ paren_pfx = final ? " (" : " (\8c»\8dÝ; ";
if (acurrent != abase) {
+#if 0 /*JP*/
Sprintf(eos(valubuf), "%sbase:%s", paren_pfx,
attrval(attrindx, abase, valstring));
+#else
+ Sprintf(eos(valubuf), "%s\8aî\96{:%s", paren_pfx,
+ attrval(attrindx, abase, valstring));
+#endif
paren_pfx = ", ";
}
if (abase != apeak) {
+#if 0 /*JP*/
Sprintf(eos(valubuf), "%speak:%s", paren_pfx,
attrval(attrindx, apeak, valstring));
+#else
+ Sprintf(eos(valubuf), "%s\8dÅ\91å:%s", paren_pfx,
+ attrval(attrindx, apeak, valstring));
+#endif
paren_pfx = ", ";
}
if (interesting_alimit) {
+#if 0 /*JP*/
Sprintf(eos(valubuf), "%s%slimit:%s", paren_pfx,
/* more verbose if exceeding 'limit' due to magic bonus */
(acurrent > alimit) ? "innate " : "",
attrval(attrindx, alimit, valstring));
+#else
+ Sprintf(eos(valubuf), "%s%s\8fã\8cÀ:%s", paren_pfx,
+ /* more verbose if exceeding 'limit' due to magic bonus */
+ (acurrent > alimit) ? "\96{\97\88\82Ì" : "",
+ attrval(attrindx, alimit, valstring));
+#endif
/* paren_pfx = ", "; */
}
if (acurrent != abase || abase != apeak || interesting_alimit)
Strcat(valubuf, ")");
}
+/*JP
enl_msg(subjbuf, "is ", "was ", valubuf, "");
+*/
+ enl_msg(subjbuf, "\82¾", "\82¾\82Á\82½", valubuf, "");
}
/* status: selected obvious capabilities, assorted troubles */
/* if hero dies while dismounting, u.usteed will still
be set; we want to ignore steed in that situation */
&& !(final == ENL_GAMEOVERDEAD
+/*JP
&& !strcmp(killer.name, "riding accident")));
+*/
+ && !strcmp(killer.name, "\8bR\8fæ\8e\96\8cÌ\82Å")));
const char *steedname = (!Riding ? (char *) 0
: x_monnam(u.usteed,
u.usteed->mtame ? ARTICLE_YOUR : ARTICLE_THE,
* should be discernible to the hero hence to the player)
\*/
putstr(en_win, 0, ""); /* separator after title or characteristics */
+/*JP
putstr(en_win, 0, final ? "Final Status:" : "Current Status:");
+*/
+ putstr(en_win, 0, final ? "\8dÅ\8fI\8fó\91Ô:" : "\8c»\8dÝ\82Ì\8fó\91Ô:");
Strcpy(youtoo, You_);
/* not a traditional status but inherently obvious to player; more
detail given below (attributes section) for magic enlightenment */
if (Upolyd)
+/*JP
you_are("transformed", "");
+*/
+ you_are_ing("\95Ï\89»\82µ\82Ä", "");
/* not a trouble, but we want to display riding status before maybe
reporting steed as trapped or hero stuck to cursed saddle */
if (Riding) {
+#if 0 /*JP*/
Sprintf(buf, "riding %s", steedname);
you_are(buf, "");
+#else
+ Sprintf(buf, "%s\82É\8fæ\82Á\82Ä", steedname);
+ you_are_ing(buf, "");
+#endif
+/*JP
Sprintf(eos(youtoo), "and %s ", steedname);
+*/
+ Sprintf(youtoo, "\82 \82È\82½\82Æ%s\82Í", steedname);
}
/* other movement situations that hero should always know */
if (Levitation) {
if (Lev_at_will && magic)
+/*JP
you_are("levitating, at will", "");
+*/
+ you_are_ing("\8e©\95ª\82Ì\88Ó\8eu\82Å\95\82\97V\82µ\82Ä", "");
else
+/*JP
enl_msg(youtoo, are, were, "levitating", from_what(LEVITATION));
+*/
+ enl_msg(youtoo, "\82¢\82é", "\82¢\82½", "\95\82\97V\82µ\82Ä", from_what(LEVITATION));
} else if (Flying) { /* can only fly when not levitating */
+/*JP
enl_msg(youtoo, are, were, "flying", from_what(FLYING));
+*/
+ enl_msg(youtoo, "\82¢\82é", "\82¢\82½", "\94ò\82ñ\82Å", from_what(FLYING));
}
if (Underwater) {
+/*JP
you_are("underwater", "");
+*/
+ enl_msg(You_, "\82¢\82é", "\82¢\82½", "\90\85\96Ê\89º\82É", "");
} else if (u.uinwater) {
+/*JP
you_are(Swimming ? "swimming" : "in water", from_what(SWIMMING));
+*/
+ enl_msg(You_, Swimming ? "\89j\82¢\82Å" : "\90\85\92\86\82É", "\82¢\82é", "\82¢\82½", from_what(SWIMMING));
} else if (walking_on_water()) {
/* show active Wwalking here, potential Wwalking elsewhere */
+#if 0 /*JP*/
Sprintf(buf, "walking on %s",
is_pool(u.ux, u.uy) ? "water"
: is_lava(u.ux, u.uy) ? "lava"
: surface(u.ux, u.uy)); /* catchall; shouldn't happen */
you_are(buf, from_what(WWALKING));
+#else
+ Sprintf(buf, "%\82Ì\8fã\82ð\95à\82¢\82Ä",
+ is_pool(u.ux, u.uy) ? "\90\85"
+ : is_lava(u.ux, u.uy) ? "\97n\8aâ"
+ : surface(u.ux, u.uy)); /* catchall; shouldn't happen */
+ you_are_ing(buf, from_what(WWALKING));
+#endif
}
if (Upolyd && (u.uundetected || youmonst.m_ap_type != M_AP_NOTHING))
youhiding(TRUE, final);
/* internal troubles, mostly in the order that prayer ranks them */
if (Stoned)
+/*JP
you_are("turning to stone", "");
+*/
+ enl_msg("\82 \82È\82½\82Í", "\82È\82è\82Â\82Â\82 \82é", "\82È\82Á\82½", "\90Î\82É", "");
if (Slimed)
+/*JP
you_are("turning into slime", "");
+*/
+ enl_msg("\82 \82È\82½\82Í", "\82È\82è\82Â\82Â\82 \82é", "\82È\82Á\82½", "\83X\83\89\83C\83\80\82É", "");
if (Strangled) {
if (u.uburied) {
+/*JP
you_are("buried", "");
+*/
+ you_are_ing("\92\82\91§\82µ\82Ä", "");
} else {
+/*JP
Strcpy(buf, "being strangled");
+*/
+ Strcpy(buf, "\8eñ\82ð\8di\82ß\82ç\82ê\82Ä");
if (wizard)
Sprintf(eos(buf), " (%ld)", (Strangled & TIMEOUT));
+/*JP
you_are(buf, from_what(STRANGLED));
+*/
+ enl_msg("\82 \82È\82½\82Í", "\82¢\82é", "\82¢\82½", buf, from_what(STRANGLED));
}
}
if (Sick) {
/* prayer lumps these together; botl puts Ill before FoodPois */
if (u.usick_type & SICK_NONVOMITABLE)
+/*JP
you_are("terminally sick from illness", "");
+*/
+ enl_msg("\82 \82È\82½\82Í\95a\8bC\82Å\92v\96½\93I\82É\8bC\95ª\82ª\88«", "\82¢", "\82©\82Á\82½", "", "");
if (u.usick_type & SICK_VOMITABLE)
+/*JP
you_are("terminally sick from food poisoning", "");
+*/
+ enl_msg("\82 \82È\82½\82Í\90H\92\86\93Å\82Å\92v\96½\93I\82É\8bC\95ª\82ª\88«", "\82¢", "\82©\82Á\82½", "", "");
}
if (Vomiting)
+/*JP
you_are("nauseated", "");
+*/
+ enl_msg(You_, "\93f\82«\8bC\82ª", "\82 \82é", "\82 \82Á\82½", "");
if (Stunned)
+/*JP
you_are("stunned", "");
+*/
+ you_are("\82\82ç\82\82ç\8fó\91Ô", "");
if (Confusion)
+/*JP
you_are("confused", "");
+*/
+ you_are("\8d¬\97\90\8fó\91Ô", "");
if (Hallucination)
+/*JP
you_are("hallucinating", "");
+*/
+ you_are("\8c¶\8ao\8fó\91Ô", "");
if (Blind) {
/* from_what() (currently wizard-mode only) checks !haseyes()
before u.uroleplay.blind, so we should too */
+#if 0 /*JP*/
Sprintf(buf, "%s blind",
!haseyes(youmonst.data) ? "innately"
: u.uroleplay.blind ? "permanently"
/* better phrasing desperately wanted... */
: Blindfolded_only ? "deliberately"
: "temporarily");
+#else
+ Sprintf(buf, "%s\96Ó\96Ú",
+ !haseyes(youmonst.data) ? "\90¶\82Ü\82ê\82È\82ª\82ç\82É"
+ : u.uroleplay.blind ? "\8dP\8bv\93I\82É"
+ /* better phrasing desperately wanted... */
+ : Blindfolded_only ? "\8cÌ\88Ó\82É"
+ : "\88ê\8e\9e\93I\82É");
+#endif
if (wizard && (Blinded & TIMEOUT) != 0L
&& !u.uroleplay.blind && haseyes(youmonst.data))
Sprintf(eos(buf), " (%ld)", (Blinded & TIMEOUT));
you_are(buf, !haseyes(youmonst.data) ? "" : from_what(BLINDED));
}
if (Deaf)
+/*JP
you_are("deaf", from_what(DEAF));
+*/
+ you_are("\8e¨\82ª\95·\82±\82¦\82È\82¢\8fó\91Ô", from_what(DEAF));
/* external troubles, more or less */
if (Punished) {
if (uball) {
+/*JP
Sprintf(buf, "chained to %s", ansimpleoname(uball));
+*/
+ Sprintf(buf, "%s\82É\82Â\82È\82ª\82ê\82Ä", ansimpleoname(uball));
} else {
impossible("Punished without uball?");
+/*JP
Strcpy(buf, "punished");
+*/
+ Strcpy(buf, "\94±\82ð\8eó\82¯\82Ä");
}
+/*JP
you_are(buf, "");
+*/
+ you_are_ing(buf, "");
}
if (u.utrap) {
char predicament[BUFSZ];
boolean anchored = (u.utraptype == TT_BURIEDBALL);
if (anchored) {
+/*JP
Strcpy(predicament, "tethered to something buried");
+*/
+ Strcpy(predicament, "\89½\82©\96\84\82Ü\82Á\82Ä\82¢\82é\82à\82Ì\82É\82Â\82È\82ª\82ê\82Ä");
} else if (u.utraptype == TT_INFLOOR || u.utraptype == TT_LAVA) {
+/*JP
Sprintf(predicament, "stuck in %s", the(surface(u.ux, u.uy)));
+*/
+ Sprintf(predicament, "%s\82É\96\84\82Ü\82Á\82Ä", surface(u.ux, u.uy));
} else {
+#if 0 /*JP*/
Strcpy(predicament, "trapped");
if ((t = t_at(u.ux, u.uy)) != 0)
Sprintf(eos(predicament), " in %s",
an(defsyms[trap_to_defsym(t->ttyp)].explanation));
+#else
+ predicament[0] = '\0';
+ if ((t = t_at(u.ux, u.uy)) != 0)
+ Sprintf(predicament, "%s\82É",
+ defsyms[trap_to_defsym(t->ttyp)].explanation);
+ Strcat(predicament, "\82Ð\82Á\82©\82©\82Á\82Ä");
+#endif
}
if (u.usteed) { /* not `Riding' here */
+#if 0 /*JP*/
Sprintf(buf, "%s%s ", anchored ? "you and " : "", steedname);
*buf = highc(*buf);
enl_msg(buf, (anchored ? "are " : "is "),
(anchored ? "were " : "was "), predicament, "");
+#else
+ Sprintf(buf, "%s%s\82Í", anchored ? "\82 \82È\82½\82Æ" : "", steedname);
+ enl_msg(buf, "\82¢\82é", "\82¢\82½" , predicament, "");
+#endif
} else
you_are(predicament, "");
} /* (u.utrap) */
if (u.uswallow) {
+/*JP
Sprintf(buf, "swallowed by %s", a_monnam(u.ustuck));
+*/
+ Sprintf(buf, "%s\82É\88ù\82Ý\8d\9e\82Ü\82ê\82Ä", a_monnam(u.ustuck));
if (wizard)
Sprintf(eos(buf), " (%u)", u.uswldtim);
you_are(buf, "");
} else if (u.ustuck) {
+#if 0 /*JP*/
Sprintf(buf, "%s %s",
(Upolyd && sticks(youmonst.data)) ? "holding" : "held by",
a_monnam(u.ustuck));
you_are(buf, "");
+#else
+ Sprintf(buf, "%s%s",
+ a_monnam(u.ustuck),
+ (Upolyd && sticks(youmonst.data)) ? "\82ð\95ß\82Ü\82¦\82Ä" : "\82É\95ß\82Ü\82Á\82Ä");
+ you_are_ing(buf, "");
+#endif
}
if (Riding) {
struct obj *saddle = which_armor(u.usteed, W_SADDLE);
hero; we only report steed's wounded legs in wizard mode */
if (u.usteed) { /* not `Riding' here */
if (wizard && steedname) {
+#if 0 /*JP*/
Strcpy(buf, steedname);
*buf = highc(*buf);
enl_msg(buf, " has", " had", " wounded legs", "");
+#else
+ enl_msg(buf, iru, ita, "\82Í\8e\88\82ð\89ö\89ä\82µ\82Ä", "");
+#endif
}
} else {
+#if 0 /*JP*/
Sprintf(buf, "wounded %s", makeplural(body_part(LEG)));
you_have(buf, "");
+#else
+ Sprintf(buf, "%s\82ð\89ö\89ä\82µ\82Ä", makeplural(body_part(LEG)));
+ you_are_ing(buf, "");
+#endif
}
}
if (Glib) {
+#if 0 /*JP*/
Sprintf(buf, "slippery %s", makeplural(body_part(FINGER)));
you_have(buf, "");
+#else
+ Sprintf(buf, "%s\82ª\82Ê\82é\82Ê\82é\82µ\82Ä", body_part(FINGER));
+ enl_msg(buf, iru, ita, "", "");
+#endif
}
if (Fumbling) {
if (magic || cause_known(FUMBLING))
+/*JP
enl_msg(You_, "fumble", "fumbled", "", from_what(FUMBLING));
+*/
+ you_are_ing("\95s\8aí\97p\82É\82È\82Á\82Ä", from_what(FUMBLING));
}
if (Sleepy) {
if (magic || cause_known(SLEEPY)) {
Strcpy(buf, from_what(SLEEPY));
if (wizard)
Sprintf(eos(buf), " (%ld)", (HSleepy & TIMEOUT));
+/*JP
enl_msg("You ", "fall", "fell", " asleep uncontrollably", buf);
+*/
+ you_are_ing("\96°\82Á\82Ä", buf);
}
}
/* hunger/nutrition */
if (Hunger) {
if (magic || cause_known(HUNGER))
+#if 0 /*JP*/
enl_msg(You_, "hunger", "hungered", " rapidly",
from_what(HUNGER));
+#else
+ enl_msg("\82 \82È\82½\82Í\82·\82®\82É\95 \82ª\8c¸\82é\8fó\91Ô", "\82Å\82 \82é", "\82¾\82Á\82½", "", "");
+#endif
}
Strcpy(buf, hu_stat[u.uhs]); /* hunger status; omitted if "normal" */
mungspaces(buf); /* strip trailing spaces */
if (*buf) {
+#if 0 /*JP*/
*buf = lowc(*buf); /* override capitalization */
if (!strcmp(buf, "weak"))
Strcat(buf, " from severe hunger");
else if (!strncmp(buf, "faint", 5)) /* fainting, fainted */
Strcat(buf, " due to starvation");
you_are(buf, "");
+#else
+ Strcat(buf, "\8fó\91Ô");
+ you_are(buf, "");
+#endif
}
/* encumbrance */
if ((cap = near_capacity()) > UNENCUMBERED) {
+#if 0 /*JP*/
const char *adj = "?_?"; /* (should always get overridden) */
Strcpy(buf, enc_stat[cap]);
Sprintf(eos(buf), "; movement %s %s%s", !final ? "is" : "was", adj,
(cap < OVERLOADED) ? " slowed" : "");
you_are(buf, "");
+#else
+ Sprintf(buf, "\89×\95¨\82É\82æ\82Á\82Ä%s\8fó\91Ô", enc_stat[cap]);
+ you_are(buf, "");
+#endif
} else {
/* last resort entry, guarantees Status section is non-empty
(no longer needed for that purpose since weapon status added;
still useful though) */
+/*JP
you_are("unencumbered", "");
+*/
+ you_are("\89×\95¨\82Í\8e×\96\82\82É\82È\82ç\82È\82¢\8fó\91Ô", "");
}
/* report being weaponless; distinguish whether gloves are worn */
if (!uwep) {
+#if 0 /*JP*/
you_are(uarmg ? "empty handed" /* gloves imply hands */
: humanoid(youmonst.data)
/* hands but no weapon and no gloves */
/* alternate phrasing for paws or lack of hands */
: "not wielding anything",
"");
+#else
+ enl_msg(You_, "\82¢", "\82©\82Á\82½", "\95\90\8aí\82ð\91\95\94õ\82µ\82Ä\82¢\82È", "");
+#endif
/* two-weaponing implies a weapon (not other odd stuff) in each hand */
} else if (u.twoweap) {
+/*JP
you_are("wielding two weapons at once", "");
+*/
+ you_are("\93ñ\93\81\97¬", "");
/* report most weapons by their skill class (so a katana will be
described as a long sword, for instance; mattock and hook are
exceptions), or wielded non-weapon item by its object class */
} else {
const char *what = weapon_descr(uwep);
+#if 0 /*JP*/
if (!strcmpi(what, "armor") || !strcmpi(what, "food")
|| !strcmpi(what, "venom"))
Sprintf(buf, "wielding some %s", what);
Sprintf(buf, "wielding %s",
(uwep->quan == 1L) ? an(what) : makeplural(what));
you_are(buf, "");
+#else
+ Sprintf(buf, "%s\82ð\91\95\94õ\82µ\82Ä", what);
+ enl_msg(You_, "\82¢\82é", "\82¢\82½", buf, "");
+#endif
}
/* report 'nudity' */
if (!uarm && !uarmu && !uarmc && !uarmg && !uarmf && !uarmh) {
if (u.uroleplay.nudist)
+#if 0 /*JP*/
enl_msg(You_, "do", "did", " not wear any armor", "");
+#else
+ enl_msg(You_, "\82¢", "\82©\82Á\82½", "\89½\82Ì\8aZ\82à\91\95\94õ\82µ\82È", "");
+#endif
else
+#if 0 /*JP*/
you_are("not wearing any armor", "");
+#else
+ enl_msg(You_, "\82¢", "\82©\82Á\82½", "\89½\82Ì\8aZ\82à\91\95\94õ\82µ\82Ä\82¢\82È", "");
+#endif
}
}
* Attributes
\*/
putstr(en_win, 0, "");
+/*JP
putstr(en_win, 0, final ? "Final Attributes:" : "Current Attributes:");
+*/
+ putstr(en_win, 0, final ? "\8dÅ\8fI\91®\90«:" : "\8c»\8dÝ\82Ì\91®\90«:");
if (u.uevent.uhand_of_elbereth) {
#if 0 /*JP*/
/*JP
you_have("strayed", "");
*/
- you_are_ing("\90M\8bÂ\82É\96À\82¢\82ð\82à\82Á\82Ä");
+ you_are_ing("\90M\8bÂ\82É\96À\82¢\82ð\82à\82Á\82Ä", "");
else if (u.ualign.record >= -8)
/*JP
you_have("sinned", "");
*/
- you_are_ing("\8dß\82ð\95\89\82Á\82Ä");
+ you_are_ing("\8dß\82ð\95\89\82Á\82Ä", "");
else
/*JP
you_have("transgressed", "");
*/
- you_are_ing("\90M\8bÂ\82©\82ç\88í\92E\82µ\82Ä");
+ you_are_ing("\90M\8bÂ\82©\82ç\88í\92E\82µ\82Ä", "");
if (wizard) {
#if 0 /*JP*/
Sprintf(buf, " %d", u.ualign.record);
/*** Resistances to troubles ***/
if (Invulnerable)
+/*JP
you_are("invulnerable", from_what(INVULNERABLE));
+*/
+ you_are("\95s\8e\80\90g", from_what(INVULNERABLE));
if (Antimagic)
+/*JP
you_are("magic-protected", from_what(ANTIMAGIC));
+*/
+ you_have("\96\82\96@\96h\8cä\94\\97Í", from_what(ANTIMAGIC));
if (Fire_resistance)
+/*JP
you_are("fire resistant", from_what(FIRE_RES));
+*/
+ you_have("\89Î\82Ö\82Ì\91Ï\90«", from_what(FIRE_RES));
if (Cold_resistance)
+/*JP
you_are("cold resistant", from_what(COLD_RES));
+*/
+ you_have("\8a¦\82³\82Ö\82Ì\91Ï\90«", from_what(COLD_RES));
if (Sleep_resistance)
+/*JP
you_are("sleep resistant", from_what(SLEEP_RES));
+*/
+ you_have("\96°\82è\82Ö\82Ì\91Ï\90«", from_what(SLEEP_RES));
if (Disint_resistance)
+/*JP
you_are("disintegration-resistant", from_what(DISINT_RES));
+*/
+ you_have("\95²\8dÓ\82Ö\82Ì\91Ï\90«", from_what(DISINT_RES));
if (Shock_resistance)
+/*JP
you_are("shock resistant", from_what(SHOCK_RES));
+*/
+ you_have("\93d\8c\82\82Ö\82Ì\91Ï\90«", from_what(SHOCK_RES));
if (Poison_resistance)
+/*JP
you_are("poison resistant", from_what(POISON_RES));
+*/
+ you_have("\93Å\82Ö\82Ì\91Ï\90«", from_what(POISON_RES));
if (Acid_resistance)
+/*JP
you_are("acid resistant", from_what(ACID_RES));
+*/
+ you_have("\8e_\82Ö\82Ì\91Ï\90«", from_what(ACID_RES));
if (Drain_resistance)
+/*JP
you_are("level-drain resistant", from_what(DRAIN_RES));
+*/
+ you_have("\83\8c\83x\83\8b\83_\83E\83\93\82Ö\82Ì\91Ï\90«", from_what(DRAIN_RES));
if (Sick_resistance)
+/*JP
you_are("immune to sickness", from_what(SICK_RES));
+*/
+ you_have("\95a\8bC\82É\91Î\82·\82é\96Æ\89u", from_what(SICK_RES));
if (Stone_resistance)
+/*JP
you_are("petrification resistant", from_what(STONE_RES));
+*/
+ you_have("\90Î\89»\82Ö\82Ì\91Ï\90«", from_what(STONE_RES));
if (Halluc_resistance)
+#if 0 /*JP*/
enl_msg(You_, "resist", "resisted", " hallucinations",
from_what(HALLUC_RES));
+#else
+ you_have("\8c¶\8ao\82Ö\82Ì\91Ï\90«", from_what(HALLUC_RES));
+#endif
if (u.uedibility)
+/*JP
you_can("recognize detrimental food", "");
+*/
+ you_can("\97L\8aQ\82È\90H\97¿\82ð\8e¯\95Ê", "");
/*** Vision and senses ***/
if (!Blind && (Blinded || !haseyes(youmonst.data)))
you_can("see", from_what(-BLINDED)); /* Eyes of the Overworld */
if (See_invisible) {
if (!Blind)
+/*JP
enl_msg(You_, "see", "saw", " invisible", from_what(SEE_INVIS));
+*/
+ enl_msg("\82 \82È\82½\82Í\93§\96¾\82È\82à\82Ì\82ð\8c©\82ç\82ê", "\82é", "\82½", "", from_what(SEE_INVIS));
else
+#if 0 /*JP*/
enl_msg(You_, "will see", "would have seen",
" invisible when not blind", from_what(SEE_INVIS));
+#else
+ enl_msg(You_, "\82é", "\82½",
+ "\96Ó\96Ú\82Å\82È\82¢\82Æ\82«\82É\82Í\93§\96¾\82È\82à\82Ì\82ð\8c©\82ç\82ê", from_what(SEE_INVIS));
+#endif
}
if (Blind_telepat)
+/*JP
you_are("telepathic", from_what(TELEPAT));
+*/
+ you_have("\83e\83\8c\83p\83V\81[", from_what(TELEPAT));
if (Warning)
+/*JP
you_are("warned", from_what(WARNING));
+*/
+ you_have("\8cx\89ú\94\\97Í", from_what(WARNING));
if (Warn_of_mon && context.warntype.obj) {
+#if 0 /*JP*/
Sprintf(buf, "aware of the presence of %s",
(context.warntype.obj & M2_ORC) ? "orcs"
: (context.warntype.obj & M2_ELF) ? "elves"
: (context.warntype.obj & M2_DEMON) ? "demons" : something);
you_are(buf, from_what(WARN_OF_MON));
+#else
+ Sprintf(buf, "%s\82Ì\91¶\8dÝ\82ð\8a´\82¶\82é\94\\97Í",
+ (context.warntype.obj & M2_ORC) ? "\83I\81[\83N"
+ : (context.warntype.obj & M2_ELF) ? "\83G\83\8b\83t"
+ : (context.warntype.obj & M2_DEMON) ? "\88«\96\82" : something);
+ you_have(buf, "");
+#endif
}
if (Warn_of_mon && context.warntype.polyd) {
+#if 0 /*JP*/
Sprintf(buf, "aware of the presence of %s",
((context.warntype.polyd & (M2_HUMAN | M2_ELF))
== (M2_HUMAN | M2_ELF))
? "demons"
: "certain monsters");
you_are(buf, "");
+#else
+ Sprintf(buf, "%s\82Ì\91¶\8dÝ\82ð\8a´\82¶\82é\94\\97Í",
+ ((context.warntype.polyd & (M2_HUMAN | M2_ELF))
+ == (M2_HUMAN | M2_ELF))
+ ? "\90l\8aÔ\82Æ\83G\83\8b\83t"
+ : (context.warntype.polyd & M2_HUMAN)
+ ? "\90l\8aÔ"
+ : (context.warntype.polyd & M2_ELF)
+ ? "\83G\83\8b\83t"
+ : (context.warntype.polyd & M2_ORC)
+ ? "\83I\81[\83N"
+ : (context.warntype.polyd & M2_DEMON)
+ ? "\88«\96\82"
+ : "\82 \82é\8eí\82Ì\89ö\95¨");
+ you_have(buf, "");
+#endif
}
if (Warn_of_mon && context.warntype.speciesidx) {
+#if 0 /*JP*/
Sprintf(buf, "aware of the presence of %s",
makeplural(mons[context.warntype.speciesidx].mname));
you_are(buf, from_what(WARN_OF_MON));
+#else
+ Sprintf(buf, "%s\82Ì\91¶\8dÝ\82ð\8a´\82¶\82é\94\\97Í",
+ mons[context.warntype.speciesidx].mname);
+ you_have(buf, from_what(WARN_OF_MON));
+#endif
}
if (Undead_warning)
+/*JP
you_are("warned of undead", from_what(WARN_UNDEAD));
+*/
+ you_have("\95s\8e\80\82Ì\90¶\95¨\82Ö\82Ì\8cx\89ú\94\\97Í", from_what(WARN_UNDEAD));
if (Searching)
+/*JP
you_have("automatic searching", from_what(SEARCHING));
+*/
+ you_have("\92T\8d¸\94\\97Í", from_what(SEARCHING));
if (Clairvoyant)
+/*JP
you_are("clairvoyant", from_what(CLAIRVOYANT));
+*/
+ you_have("\90ç\97¢\8aá\94\\97Í", from_what(CLAIRVOYANT));
else if ((HClairvoyant || EClairvoyant) && BClairvoyant) {
Strcpy(buf, from_what(-CLAIRVOYANT));
+#if 0 /*JP*/
if (!strncmp(buf, " because of ", 12))
/* overwrite substring; strncpy doesn't add terminator */
(void) strncpy(buf, " if not for ", 12);
enl_msg(You_, "could be", "could have been", " clairvoyant", buf);
+#else
+ /*JP:\81u\81c\82É\82æ\82Á\82Ä\81v*/
+ if (!strncmp(buf, "\82É\82æ\82Á\82Ä", 8))
+ /*JP:\81u\81c\82ª\82È\82¯\82ê\82Î\81v\82É\8f\91\82«\8a·\82¦\82é*/
+ strcpy(eos(buf) - 8, "\82ª\82È\82¯\82ê\82Î");
+ you_have("\90ç\97¢\8aá\94\\97Í", buf);
+#endif
}
if (Infravision)
+/*JP
you_have("infravision", from_what(INFRAVISION));
+*/
+ you_have("\88Ã\88Å\82Å\95¨\82ð\8c©\82é\94\\97Í", from_what(INFRAVISION));
if (Detect_monsters)
+/*JP
you_are("sensing the presence of monsters", "");
+*/
+ you_have("\89ö\95¨\82ð\92T\82·\94\\97Í", "");
if (u.umconf)
+/*JP
you_are("going to confuse monsters", "");
+*/
+ you_have("\89ö\95¨\82ð\8d¬\97\90\82³\82¹\82é\94\\97Í", "");
/*** Appearance and behavior ***/
if (Adornment) {
/* the sum might be 0 (+0 ring or two which negate each other);
that yields "you are charismatic" (which isn't pointless
because it potentially impacts seduction attacks) */
+#if 0 /*JP*/
Sprintf(buf, "%scharismatic",
(adorn > 0) ? "more " : (adorn < 0) ? "less " : "");
you_are(buf, from_what(ADORNED));
+#else
+ Sprintf(buf, "\96£\97Í%s\82Ä",
+ (adorn > 0) ? "\82ª\91\9d\89Á\82µ" : (adorn < 0) ? "\82ª\8c¸\8f\82µ" : "\93I\82É\82È\82Á");
+ enl_msg(You_, "\82Ä\82¢\82é", "\82½", buf, "");
+#endif
}
if (Invisible)
+/*JP
you_are("invisible", from_what(INVIS));
+*/
+ you_are("\93§\96¾", from_what(INVIS));
else if (Invis)
+/*JP
you_are("invisible to others", from_what(INVIS));
+*/
+ you_are("\91¼\90l\82É\91Î\82µ\82Ä\93§\96¾", from_what(INVIS));
/* ordinarily "visible" is redundant; this is a special case for
the situation when invisibility would be an expected attribute */
else if ((HInvis || EInvis) && BInvis)
+/*JP
you_are("visible", from_what(-INVIS));
+*/
+ you_are("\95s\93§\96¾", from_what(-INVIS));
if (Displaced)
+/*JP
you_are("displaced", from_what(DISPLACED));
+*/
+ you_have("\8c¶\89e\94\\97Í", from_what(DISPLACED));
if (Stealth)
+/*JP
you_are("stealthy", from_what(STEALTH));
+*/
+ you_have("\90l\96Ú\82ð\93\90\82Þ\94\\97Í", from_what(STEALTH));
if (Aggravate_monster)
+#if 0 /*JP*/
enl_msg("You aggravate", "", "d", " monsters",
from_what(AGGRAVATE_MONSTER));
+#else
+ you_are_ing("\94½\8a´\82ð\82©\82Á\82Ä", from_what(AGGRAVATE_MONSTER));
+#endif
if (Conflict)
+/*JP
enl_msg("You cause", "", "d", " conflict", from_what(CONFLICT));
+*/
+ you_are_ing("\93¬\91\88\82ð\88ø\82«\8bN\82±\82µ\82Ä", from_what(CONFLICT));
/*** Transportation ***/
if (Jumping)
+/*JP
you_can("jump", from_what(JUMPING));
+*/
+ you_can("\92µ\96ô\82·\82é\82±\82Æ\82ª", from_what(JUMPING));
if (Teleportation)
+/*JP
you_can("teleport", from_what(TELEPORT));
+*/
+ you_can("\8fu\8aÔ\88Ú\93®\82ª", from_what(TELEPORT));
if (Teleport_control)
+/*JP
you_have("teleport control", from_what(TELEPORT_CONTROL));
+*/
+ you_have("\8fu\8aÔ\88Ú\93®\82Ì\90§\8cä\94\\97Í", from_what(TELEPORT_CONTROL));
/* actively levitating handled earlier as a status condition */
if (BLevitation) { /* levitation is blocked */
long save_BLev = BLevitation;
BLevitation = 0L;
if (Levitation)
+#if 0 /*JP*/
enl_msg(You_, "would levitate", "would have levitated",
if_surroundings_permitted, "");
+#else
+ you_are("\95\82\97V\8fó\91Ô", "");
+#endif
BLevitation = save_BLev;
}
/* actively flying handled earlier as a status condition */
BFlying = 0L;
if (Flying)
+#if 0 /*JP*/
enl_msg(You_, "would fly", "would have flown",
Levitation
? "if you weren't levitating"
/* both surroundings and [latent] levitation */
: " if circumstances permitted",
"");
+#else
+ you_can("\94ò\82Ô\82±\82Æ\82ª", "");
+#endif
BFlying = save_BFly;
}
/* actively walking on water handled earlier as a status condition */
if (Wwalking && !walking_on_water())
+/*JP
you_can("walk on water", from_what(WWALKING));
+*/
+ you_can("\90\85\82Ì\8fã\82ð\95à\82\82±\82Æ\82ª", from_what(WWALKING));
/* actively swimming (in water but not under it) handled earlier */
if (Swimming && (Underwater || !u.uinwater))
+/*JP
you_can("swim", from_what(SWIMMING));
+*/
+ you_can("\89j\82®\82±\82Æ\82ª", from_what(SWIMMING));
if (Breathless)
+/*JP
you_can("survive without air", from_what(MAGICAL_BREATHING));
+*/
+ you_can("\8bó\8bC\82È\82µ\82Å\90¶\82«\89\84\82Ñ\82é\82±\82Æ\82ª", from_what(MAGICAL_BREATHING));
else if (Amphibious)
+/*JP
you_can("breathe water", from_what(MAGICAL_BREATHING));
+*/
+ you_can("\90\85\92\86\82Å\8cÄ\8bz\82ª", from_what(MAGICAL_BREATHING));
if (Passes_walls)
+/*JP
you_can("walk through walls", from_what(PASSES_WALLS));
+*/
+ you_can("\95Ç\82ð\92Ê\82è\94²\82¯\82é\82±\82Æ\82ª", from_what(PASSES_WALLS));
/*** Physical attributes ***/
if (Regeneration)
+/*JP
enl_msg("You regenerate", "", "d", "", from_what(REGENERATION));
+*/
+ you_have("\8dÄ\90¶\94\\97Í", from_what(REGENERATION));
if (Slow_digestion)
+/*JP
you_have("slower digestion", from_what(SLOW_DIGESTION));
+*/
+ enl_msg("\90H\95¨\82Ì\8fÁ\89»\82ª\92x", "\82¢", "\82©\82Á\82½", "", from_what(SLOW_DIGESTION));
if (u.uhitinc)
+/*JP
you_have(enlght_combatinc("to hit", u.uhitinc, final, buf), "");
+*/
+ you_have(enlght_combatinc("\96½\92\86\97¦", u.uhitinc, final, buf), "");
if (u.udaminc)
+/*JP
you_have(enlght_combatinc("damage", u.udaminc, final, buf), "");
+*/
+ you_have(enlght_combatinc("\83_\83\81\81[\83W", u.udaminc, final, buf), "");
if (u.uspellprot || Protection) {
int prot = 0;
prot += u.ublessed;
prot += u.uspellprot;
if (prot)
+/*JP
you_have(enlght_combatinc("defense", prot, final, buf), "");
+*/
+ you_have(enlght_combatinc("\96h\8cä", prot, final, buf), "");
}
if ((armpro = magic_negation(&youmonst)) > 0) {
/* magic cancellation factor, conferred by worn armor */
static const char *const mc_types[] = {
+#if 0 /*JP*/
"" /*ordinary*/, "warded", "guarded", "protected",
+#else
+ "" /*ordinary*/, "\89q\82ç\82ê\82Ä", "\8cì\82ç\82ê\82Ä", "\8eç\82ç\82ê\82Ä",
+#endif
};
/* sanity check */
if (armpro >= SIZE(mc_types))
armpro = SIZE(mc_types) - 1;
+/*JP
you_are(mc_types[armpro], "");
+*/
+ you_are_ing(mc_types[armpro], "");
}
if (Half_physical_damage)
enlght_halfdmg(HALF_PHDAM, final);
enlght_halfdmg(HALF_SPDAM, final);
/* polymorph and other shape change */
if (Protection_from_shape_changers)
+#if 0 /*JP*/
you_are("protected from shape changers",
from_what(PROT_FROM_SHAPE_CHANGERS));
+#else
+ you_have("\95Ï\89»\89ö\95¨\82Ö\82Ì\91Ï\90«", from_what(PROT_FROM_SHAPE_CHANGERS));
+#endif
if (Unchanging) {
const char *what = 0;
if (!Upolyd) /* Upolyd handled below after current form */
+/*JP
you_can("not change from your current form",
+*/
+ you_are("\8c»\8dÝ\82Ì\8ep\82©\82ç\95Ï\89»\82Å\82«\82È\82¢\8fó\91Ô",
from_what(UNCHANGING));
/* blocked shape changes */
if (Polymorph)
+/*JP
what = !final ? "polymorph" : "have polymorphed";
+*/
+ what = "\95Ï\89»\82µ\82Ä";
else if (u.ulycn >= LOW_PM)
+/*JP
what = !final ? "change shape" : "have changed shape";
+*/
+ what = "\8ep\82ð\95Ï\82¦\82Ä";
if (what) {
+#if 0 /*JP*/
Sprintf(buf, "would %s periodically", what);
/* omit from_what(UNCHANGING); too verbose */
enl_msg(You_, buf, buf, " if not locked into your current form",
"");
+#else
+ Sprintf(buf, "\82à\82µ\8c»\8dÝ\82Ì\8ep\82É\8cÅ\92è\82³\82ê\82Ä\82¢\82È\82¯\82ê\82Î\92è\8aú\93I\82É%s", what);
+ you_are_ing(buf, "");
+#endif
}
} else if (Polymorph) {
+/*JP
you_are("polymorphing periodically", from_what(POLYMORPH));
+*/
+ you_are("\92è\8aú\93I\82É\95Ï\89»\82µ\82Ä", from_what(POLYMORPH));
}
if (Polymorph_control)
+/*JP
you_have("polymorph control", from_what(POLYMORPH_CONTROL));
+*/
+ you_have("\95Ï\89»\82Ì\90§\8cä\94\\97Í", from_what(POLYMORPH_CONTROL));
if (Upolyd && u.umonnum != u.ulycn) {
/* foreign shape (except were-form which is handled below) */
+/*JP
Sprintf(buf, "polymorphed into %s", an(youmonst.data->mname));
+*/
+ Sprintf(buf, "%s\82É\95Ï\89»\82µ\82Ä", youmonst.data->mname);
if (wizard)
Sprintf(eos(buf), " (%d)", u.mtimedone);
+/*JP
you_are(buf, "");
+*/
+ you_are_ing(buf, "");
}
if (lays_eggs(youmonst.data) && flags.female) /* Upolyd */
+/*JP
you_can("lay eggs", "");
+*/
+ you_can("\97\91\82ð\8eY\82Þ\82±\82Æ\82ª", "");
if (u.ulycn >= LOW_PM) {
+#if 0 /*JP*/
/* "you are a werecreature [in beast form]" */
Strcpy(buf, an(mons[u.ulycn].mname));
if (u.umonnum == u.ulycn) {
if (wizard)
Sprintf(eos(buf), " (%d)", u.mtimedone);
}
+#else
+ /*JP:\81u\82 \82È\82½\82Í[\8fb\82Ì\8ep\82Ì]\81\9b\81\9b\90l\8aÔ\82Å\82 \82é\81v*/
+ buf[0] = '\0';
+ if (u.umonnum == u.ulycn) {
+ Strcpy(buf, "\8fb\82Ì\8ep\82Ì");
+ if (wizard)
+ Sprintf(eos(buf), " (%d)", u.mtimedone);
+ }
+ Strcat(buf, mons[u.ulycn].mname);
+#endif
you_are(buf, "");
}
if (Unchanging && Upolyd) /* !Upolyd handled above */
+/*JP
you_can("not change from your current form", from_what(UNCHANGING));
+*/
+ enl_msg("\8d¡\82Ì\8ep\82©\82ç\95Ï\89»\82·\82é\82±\82Æ\82ª\82Å\82«\82È", "\82¢", "\82©\82Á\82½", "", from_what(UNCHANGING));
if (Hate_silver)
you_are("harmed by silver", "");
/* movement and non-armor-based protection */
if (Fast)
+/*JP
you_are(Very_fast ? "very fast" : "fast", from_what(FAST));
+*/
+ you_have(Very_fast ? "\82Æ\82Ä\82à\91f\91\81\82\8ds\93®\82·\82é\94\\97Í" : "\91f\91\81\82\8ds\93®\82·\82é\94\\97Í", from_what(FAST));
if (Reflecting)
+/*JP
you_have("reflection", from_what(REFLECTING));
+*/
+ you_have("\94½\8eË\94\\97Í", from_what(REFLECTING));
if (Free_action)
+/*JP
you_have("free action", from_what(FREE_ACTION));
+*/
+ you_have("\8dS\91©\82³\82ê\82È\82¢\94\\97Í", from_what(FREE_ACTION));
if (Fixed_abil)
+/*JP
you_have("fixed abilities", from_what(FIXED_ABIL));
+*/
+ enl_msg("\94\\97Í\82ª\95Ï\89»\82µ\82È", "\82¢", "\82©\82Á\82½", "", from_what(FIXED_ABIL));
if (Lifesaved)
+/*JP
enl_msg("Your life ", "will be", "would have been", " saved", "");
+*/
+ enl_msg("\82 \82È\82½\82Ì\90¶\96½\82Í\95Û\91¶\82³\82ê\82Ä", iru, ita, "", "");
/*** Miscellany ***/
if (Luck) {
ltmp = abs((int) Luck);
+#if 0 /*JP*/
Sprintf(buf, "%s%slucky",
ltmp >= 10 ? "extremely " : ltmp >= 5 ? "very " : "",
Luck < 0 ? "un" : "");
+#else
+ Sprintf(buf, "%s%s",
+ ltmp >= 10 ? "\96Ò\97ó\82É" : ltmp >= 5 ? "\82Æ\82Ä\82à" : "",
+ Luck < 0 ? "\95s\8dK" : "\8dK\95\9f");
+#endif
if (wizard)
Sprintf(eos(buf), " (%d)", Luck);
you_are(buf, "");
} else if (wizard)
+/*JP
enl_msg("Your luck ", "is", "was", " zero", "");
+*/
+ enl_msg("\82 \82È\82½\82Ì\89^\82Í\83[\83\8d", "\82Å\82 \82é", "\82¾\82Á\82½", "", "");
if (u.moreluck > 0)
+/*JP
you_have("extra luck", "");
+*/
+ you_have("\82³\82ç\82È\82é\8dK\89^", "");
else if (u.moreluck < 0)
+/*JP
you_have("reduced luck", "");
+*/
+ you_have("\82³\82ç\82È\82é\95s\89^", "");
if (carrying(LUCKSTONE) || stone_luck(TRUE)) {
ltmp = stone_luck(0);
if (ltmp <= 0)
+/*JP
enl_msg("Bad luck ", "does", "did", " not time out for you", "");
+*/
+ enl_msg("\95s\89^\82Í\8e\9e\8aÔ\90Ø\82ê\82É\82È\82ç\82È", "\82¢", "\82©\82Á\82½", "", "");
if (ltmp >= 0)
+/*JP
enl_msg("Good luck ", "does", "did", " not time out for you", "");
+*/
+ enl_msg("\8dK\89^\82Í\8e\9e\8aÔ\90Ø\82ê\82É\82È\82ç\82È", "\82¢", "\82©\82Á\82½", "", "");
}
if (u.ugangr) {
+#if 0 /*JP*/
Sprintf(buf, " %sangry with you",
u.ugangr > 6 ? "extremely " : u.ugangr > 3 ? "very " : "");
+#else
+ Sprintf(buf, "%s\82Í%s\93{\82Á\82Ä%s", u_gname(),
+ u.ugangr > 6 ? "\96Ò\97ó\82É" : u.ugangr > 3 ? "\82Æ\82Ä\82à" : "", final ? ita : iru);
+#endif
if (wizard)
Sprintf(eos(buf), " (%d)", u.ugangr);
+#if 0 /*JP*/
enl_msg(u_gname(), " is", " was", buf, "");
+#else
+ enl_msg(buf, "", "", "", "");
+#endif
} else {
/*
* We need to suppress this when the game is over, because death
char buf2[BUFSZ];
for (f = ffruit; f; f = f->nextf) {
+/*JP
Sprintf(buf, "Fruit %d ", ++fcount);
+*/
+ Sprintf(buf, "fruit %d \82Í", ++fcount);
Sprintf(buf2, "%s (id %d)", f->fname, f->fid);
+/*JP
enl_msg(buf, "is ", "was ", buf2, "");
+*/
+ enl_msg(buf, "\82¾", "\82¾\82Á\82½", buf2, "");
}
+/*JP
enl_msg("The current fruit ", "is ", "was ", pl_fruit, "");
+*/
+ enl_msg("\8c»\8dÝ\82Ì fruit \82Í", "\82¾", "\82¾\82Á\82½", pl_fruit, "");
Sprintf(buf, "%d", flags.made_fruit);
+/*JP
enl_msg("The made fruit flag ", "is ", "was ", buf, "");
+*/
+ enl_msg("made fruit flag \82Í", "\82¾", "\82¾\82Á\82½", buf, "");
}
{
tmpwin = create_nhwindow(NHW_MENU);
start_menu(tmpwin);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, iflags.menu_headings,
+/*JP
"Starting", FALSE);
+*/
+ "\8aJ\8en", FALSE);
/* Starting name, race, role, gender */
+/*JP
Sprintf(buf, fmtstr, "name", plname);
+*/
+ Sprintf(buf, fmtstr, "\96¼\91O", plname);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
+/*JP
Sprintf(buf, fmtstr, "race", urace.noun);
+*/
+ Sprintf(buf, fmtstr, "\8eí\91°", urace.noun);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
+/*JP
Sprintf(buf, fmtstr, "role",
+*/
+ Sprintf(buf, fmtstr, "\90E\8bÆ",
(flags.initgend && urole.name.f) ? urole.name.f : urole.name.m);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
+/*JP
Sprintf(buf, fmtstr, "gender", genders[flags.initgend].adj);
+*/
+ Sprintf(buf, fmtstr, "\90«\95Ê", genders[flags.initgend].adj);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
/* Starting alignment */
+/*JP
Sprintf(buf, fmtstr, "alignment", align_str(u.ualignbase[A_ORIGINAL]));
+*/
+ Sprintf(buf, fmtstr, "\91®\90«", align_str(u.ualignbase[A_ORIGINAL]));
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
/* Current name, race, role, gender */
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, "", FALSE);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, iflags.menu_headings,
+/*JP
"Current", FALSE);
+*/
+ "\8c»\8dÝ", FALSE);
+/*JP
Sprintf(buf, fmtstr, "race", Upolyd ? youmonst.data->mname : urace.noun);
+*/
+ Sprintf(buf, fmtstr, "\8eí\91°", Upolyd ? youmonst.data->mname : urace.noun);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
if (Upolyd) {
+/*JP
Sprintf(buf, fmtstr, "role (base)",
+*/
+ Sprintf(buf, fmtstr, "\90E\8bÆ(\8aî\96{)",
(u.mfemale && urole.name.f) ? urole.name.f
: urole.name.m);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
} else {
+/*JP
Sprintf(buf, fmtstr, "role",
+*/
+ Sprintf(buf, fmtstr, "\90E\8bÆ",
(flags.female && urole.name.f) ? urole.name.f
: urole.name.m);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
}
/* don't want poly_gender() here; it forces `2' for non-humanoids */
genidx = is_neuter(youmonst.data) ? 2 : flags.female;
+/*JP
Sprintf(buf, fmtstr, "gender", genders[genidx].adj);
+*/
+ Sprintf(buf, fmtstr, "\90«\95Ê", genders[genidx].adj);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
if (Upolyd && (int) u.mfemale != genidx) {
+/*JP
Sprintf(buf, fmtstr, "gender (base)", genders[u.mfemale].adj);
+*/
+ Sprintf(buf, fmtstr, "\90«\95Ê(\8aî\96{)", genders[u.mfemale].adj);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
}
/* Current alignment */
+/*JP
Sprintf(buf, fmtstr, "alignment", align_str(u.ualign.type));
+*/
+ Sprintf(buf, fmtstr, "\91®\90«", align_str(u.ualign.type));
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
/* Deity list */
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, "", FALSE);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, iflags.menu_headings,
+/*JP
"Deities", FALSE);
+*/
+ "\90_", FALSE);
+#if 0 /*JP*/
Sprintf(buf2, deity_fmtstr, align_gname(A_CHAOTIC),
(u.ualignbase[A_ORIGINAL] == u.ualign.type
&& u.ualign.type == A_CHAOTIC) ? " (s,c)"
: (u.ualignbase[A_ORIGINAL] == A_CHAOTIC) ? " (s)"
: (u.ualign.type == A_CHAOTIC) ? " (c)" : "");
+#else
+ Sprintf(buf2, deity_fmtstr, align_gname(A_CHAOTIC),
+ (u.ualignbase[A_ORIGINAL] == u.ualign.type
+ && u.ualign.type == A_CHAOTIC) ? " (\8f\89\81C\8c»)"
+ : (u.ualignbase[A_ORIGINAL] == A_CHAOTIC) ? " (\8f\89)"
+ : (u.ualign.type == A_CHAOTIC) ? " (\8c»)" : "");
+#endif
+/*JP
Sprintf(buf, fmtstr, "Chaotic", buf2);
+*/
+ Sprintf(buf, fmtstr, "\8d¬\93×", buf2);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
+#if 0 /*JP*/
Sprintf(buf2, deity_fmtstr, align_gname(A_NEUTRAL),
(u.ualignbase[A_ORIGINAL] == u.ualign.type
&& u.ualign.type == A_NEUTRAL) ? " (s,c)"
: (u.ualignbase[A_ORIGINAL] == A_NEUTRAL) ? " (s)"
: (u.ualign.type == A_NEUTRAL) ? " (c)" : "");
+#else
+ Sprintf(buf2, deity_fmtstr, align_gname(A_NEUTRAL),
+ (u.ualignbase[A_ORIGINAL] == u.ualign.type
+ && u.ualign.type == A_NEUTRAL) ? " (\8f\89\81C\8c»)"
+ : (u.ualignbase[A_ORIGINAL] == A_NEUTRAL) ? " (\8f\89)"
+ : (u.ualign.type == A_NEUTRAL) ? " (\8c»)" : "");
+#endif
+/*JP
Sprintf(buf, fmtstr, "Neutral", buf2);
+*/
+ Sprintf(buf, fmtstr, "\92\86\97§", buf2);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
+#if 0 /*JP*/
Sprintf(buf2, deity_fmtstr, align_gname(A_LAWFUL),
(u.ualignbase[A_ORIGINAL] == u.ualign.type
&& u.ualign.type == A_LAWFUL) ? " (s,c)"
: (u.ualignbase[A_ORIGINAL] == A_LAWFUL) ? " (s)"
: (u.ualign.type == A_LAWFUL) ? " (c)" : "");
+#else
+ Sprintf(buf2, deity_fmtstr, align_gname(A_LAWFUL),
+ (u.ualignbase[A_ORIGINAL] == u.ualign.type
+ && u.ualign.type == A_LAWFUL) ? " (\8f\89\81C\8c»)"
+ : (u.ualignbase[A_ORIGINAL] == A_LAWFUL) ? " (\8f\89)"
+ : (u.ualign.type == A_LAWFUL) ? " (\8c»)" : "");
+#endif
+/*JP
Sprintf(buf, fmtstr, "Lawful", buf2);
+*/
+ Sprintf(buf, fmtstr, "\92\81\8f\98", buf2);
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf, FALSE);
+/*JP
end_menu(tmpwin, "Base Attributes");
+*/
+ end_menu(tmpwin, "\8aî\96{\91®\90«");
n = select_menu(tmpwin, PICK_NONE, &selected);
destroy_nhwindow(tmpwin);
return (boolean) (n != -1);
{
char *bp, buf[BUFSZ];
+/*JP
Strcpy(buf, "hiding");
+*/
+ Strcpy(buf, "\89B\82ê");
if (youmonst.m_ap_type != M_AP_NOTHING) {
/* mimic; hero is only able to mimic a strange object or gold
or hallucinatory alternative to gold, so we skip the details
for the hypothetical furniture and monster cases */
+#if 0 /*JP*//*\8cã\82ë\82É\89ñ\82·*/
bp = eos(strcpy(buf, "mimicking"));
+#endif
if (youmonst.m_ap_type == M_AP_OBJECT) {
+/*JP
Sprintf(bp, " %s", an(simple_typename(youmonst.mappearance)));
+*/
+ Strcpy(buf, simple_typename(youmonst.mappearance));
} else if (youmonst.m_ap_type == M_AP_FURNITURE) {
+/*JP
Strcpy(bp, " something");
+*/
+ Strcpy(buf, "\89½\82©");
} else if (youmonst.m_ap_type == M_AP_MONSTER) {
+/*JP
Strcpy(bp, " someone");
+*/
+ Strcpy(buf, "\89½\8eÒ\82©");
} else {
; /* something unexpected; leave 'buf' as-is */
}
+#if 1 /*JP*//*\82±\82±\82Å\92Ç\89Á*/
+ Strcat(buf, "\82Ì\82Ó\82è\82ð\82µ");
+#endif
} else if (u.uundetected) {
bp = eos(buf); /* points past "hiding" */
if (youmonst.data->mlet == S_EEL) {
if (is_pool(u.ux, u.uy))
+/*JP
Sprintf(bp, " in the %s", waterbody_name(u.ux, u.uy));
+*/
+ Sprintf(bp, "%s\82Ì\92\86\82É", waterbody_name(u.ux, u.uy));
} else if (hides_under(youmonst.data)) {
struct obj *o = level.objects[u.ux][u.uy];
if (o)
+/*JP
Sprintf(bp, " underneath %s", ansimpleoname(o));
+*/
+ Sprintf(bp, "%s\82Ì\89º\82É", ansimpleoname(o));
} else if (is_clinger(youmonst.data) || Flying) {
/* Flying: 'lurker above' hides on ceiling but doesn't cling */
+/*JP
Sprintf(bp, " on the %s", ceiling(u.ux, u.uy));
+*/
+ Sprintf(bp, "%s\82É", ceiling(u.ux, u.uy));
} else {
/* on floor; is_hider() but otherwise not special: 'trapper' */
if (u.utrap && u.utraptype == TT_PIT) {
struct trap *t = t_at(u.ux, u.uy);
+#if 0 /*JP*/
Sprintf(bp, " in a %spit",
(t && t->ttyp == SPIKED_PIT) ? "spiked " : "");
+#else
+ Sprintf(bp, "%s\97\8e\82µ\8c\8a\82Ì\92\86\82É",
+ (t && t->ttyp == SPIKED_PIT) ? "\83g\83Q\82¾\82ç\82¯\82Ì" : "");
+#endif
} else
+/*JP
Sprintf(bp, " on the %s", surface(u.ux, u.uy));
+*/
+ Sprintf(bp, "%s\82É", surface(u.ux, u.uy));
}
+#if 1 /*JP*//*\82±\82±\82Å\92Ç\89Á*/
+ Strcat(buf, "\89B\82ê");
+#endif
} else {
; /* shouldn't happen; will result in generic "you are hiding" */
}
if (via_enlghtmt) {
int final = msgflag; /* 'final' is used by you_are() macro */
+/*JP
you_are(buf, "");
+*/
+ enl_msg(buf, "\82Ä\82¢\82é", "\82Ä\82¢\82½", "", "");
} else {
/* for dohide(), when player uses '#monster' command */
+#if 0 /*JP*/
You("are %s %s.", msgflag ? "already" : "now", buf);
+#else
+ if (msgflag) {
+ You("\82·\82Å\82É%s\82Ä\82¢\82é\81D", buf);
+ } else {
+ You("%s\82½\81D", buf);
+ }
+#endif
}
}