/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
+/* JNetHack Copyright */
+/* (c) Issei Numata, Naoki Hamada, Shigehiro Miyashita, 1994-2000 */
+/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2016 */
+/* JNetHack may be freely redistributed. See license for details. */
+
#include "hack.h"
STATIC_DCL void FDECL(m_lose_armor, (struct monst *, struct obj *));
&& !(mon->mfrozen || mon->msleeping) && canseemon(mon)) {
/* fast to slow (skipping intermediate state) or vice versa */
const char *howmuch =
+/*JP
(mon->mspeed + oldspeed == MFAST + MSLOW) ? "much " : "";
+*/
+ (mon->mspeed + oldspeed == MFAST + MSLOW) ? "\82·\82²\82" : "";
if (petrify) {
/* mimic the player's petrification countdown; "slowing down"
even if fast movement rate retained via worn speed boots */
if (flags.verbose)
+/*JP
pline("%s is slowing down.", Monnam(mon));
+*/
+ pline("%s\82Í\82Ì\82ë\82\82È\82Á\82½\81D", Monnam(mon));
} else if (adjust > 0 || mon->mspeed == MFAST)
+/*JP
pline("%s is suddenly moving %sfaster.", Monnam(mon), howmuch);
+*/
+ pline("%s\82Ì\93®\82«\82Í\93Ë\91R%s\82·\82Î\82â\82\82È\82Á\82½\81D", Monnam(mon), howmuch);
else
+/*JP
pline("%s seems to be moving %sslower.", Monnam(mon), howmuch);
+*/
+ pline("%s\82Ì\93®\82«\82Í%s\82Ì\82ë\82\82È\82Á\82½\82æ\82¤\82É\8c©\82¦\82é\81D", Monnam(mon), howmuch);
/* might discover an object if we see the speed change happen */
if (obj != 0)
char buf[BUFSZ];
if (old)
+/*JP
Sprintf(buf, " removes %s and", distant_name(old, doname));
+*/
+ Sprintf(buf, "%s\82ð\82Í\82¸\82µ\82Ä", distant_name(old, doname));
else
buf[0] = '\0';
+#if 0 /*JP*/
pline("%s%s puts on %s.", Monnam(mon), buf,
distant_name(best, doname));
+#else
+ pline("%s\82Í%s%s\82ð\90g\82É\82Â\82¯\82½\81D", Monnam(mon), buf,
+ distant_name(best,doname));
+#endif
if (autocurse)
pline("%s %s %s %s for a moment.", s_suffix(Monnam(mon)),
simpleonames(best), otense(best, "glow"),
/* if couldn't see it but now can, or vice versa, */
if (!creation && (unseen ^ !canseemon(mon))) {
if (mon->minvis && !See_invisible) {
+/*JP
pline("Suddenly you cannot see %s.", nambuf);
+*/
+ pline("\93Ë\91R%s\82ª\8c©\82¦\82È\82\82È\82Á\82½\81D", nambuf);
makeknown(best->otyp);
} /* else if (!mon->minvis) pline("%s suddenly appears!",
Amonnam(mon)); */
struct permonst *mdat = mon->data;
boolean vis = cansee(mon->mx, mon->my);
boolean handless_or_tiny = (nohands(mdat) || verysmall(mdat));
+#if 0 /*JP*//*\8eg\82í\82È\82¢*/
const char *pronoun = mhim(mon), *ppronoun = mhis(mon);
+#endif
if (breakarm(mdat)) {
if ((otmp = which_armor(mon, W_ARM)) != 0) {
"the dragon merges with his scaly armor" is odd
and the monster's previous form is already gone */
else if (vis)
+/*JP
pline("%s breaks out of %s armor!", Monnam(mon), ppronoun);
+*/
+ pline("%s\82Í\8aZ\82ð\82â\82Ô\82è\8fo\82½\81I", Monnam(mon));
else
+/*JP
You_hear("a cracking sound.");
+*/
+ You_hear("\83o\83\8a\83o\83\8a\82Æ\82¢\82¤\89¹\82ð\95·\82¢\82½\81D");
m_useup(mon, otmp);
}
if ((otmp = which_armor(mon, W_ARMC)) != 0) {
if (otmp->oartifact) {
if (vis)
+#if 0 /*JP*/
pline("%s %s falls off!", s_suffix(Monnam(mon)),
cloak_simple_name(otmp));
+#else
+ pline("%s\82Ì%s\82Í\97\8e\82¿\82½\81I", Monnam(mon),
+ cloak_simple_name(otmp));
+#endif
if (polyspot)
bypass_obj(otmp);
m_lose_armor(mon, otmp);
} else {
if (vis)
+#if 0 /*JP*/
pline("%s %s tears apart!", s_suffix(Monnam(mon)),
cloak_simple_name(otmp));
+#else
+ pline("%s\82Ì%s\82Í\82¸\82½\82¸\82½\82É\82È\82Á\82½\81I", Monnam(mon),
+ cloak_simple_name(otmp));
+#endif
else
+/*JP
You_hear("a ripping sound.");
+*/
+ You_hear("\83r\83\8a\83b\82Æ\82¢\82¤\89¹\82ð\95·\82¢\82½\81D");
m_useup(mon, otmp);
}
}
if ((otmp = which_armor(mon, W_ARMU)) != 0) {
if (vis)
+/*JP
pline("%s shirt rips to shreds!", s_suffix(Monnam(mon)));
+*/
+ pline("%s\82Ì\83V\83\83\83c\82Í\82¸\82½\82¸\82½\82É\82È\82Á\82½\81I", Monnam(mon));
else
+/*JP
You_hear("a ripping sound.");
+*/
+ You_hear("\83r\83\8a\83b\82Æ\82¢\82¤\89¹\82ð\95·\82¢\82½\81D");
m_useup(mon, otmp);
}
} else if (sliparm(mdat)) {
if ((otmp = which_armor(mon, W_ARM)) != 0) {
if (vis)
+#if 0 /*JP*/
pline("%s armor falls around %s!", s_suffix(Monnam(mon)),
pronoun);
+#else
+ pline("%s\82Ì\8aZ\82ª\89ñ\82è\82É\97\8e\82¿\82½\81I", Monnam(mon));
+#endif
else
+/*JP
You_hear("a thud.");
+*/
+ You_hear("\83h\83V\83\93\82Æ\82¢\82¤\89¹\82ð\95·\82¢\82½\81D");
if (polyspot)
bypass_obj(otmp);
m_lose_armor(mon, otmp);
if ((otmp = which_armor(mon, W_ARMC)) != 0) {
if (vis) {
if (is_whirly(mon->data))
+#if 0 /*JP*/
pline("%s %s falls, unsupported!", s_suffix(Monnam(mon)),
cloak_simple_name(otmp));
+#else
+ pline("%s\82Ì%s\82Í\8ex\82¦\82«\82ê\82¸\82É\97\8e\82¿\82½\81I", Monnam(mon),
+ cloak_simple_name(otmp));
+#endif
else
+#if 0 /*JP*/
pline("%s shrinks out of %s %s!", Monnam(mon), ppronoun,
cloak_simple_name(otmp));
+#else
+ pline("%s\82Í%s\82æ\82è\8fk\82ñ\82¾\81I", Monnam(mon),
+ cloak_simple_name(otmp));
+#endif
}
if (polyspot)
bypass_obj(otmp);
if ((otmp = which_armor(mon, W_ARMU)) != 0) {
if (vis) {
if (sliparm(mon->data))
+#if 0 /*JP*/
pline("%s seeps right through %s shirt!", Monnam(mon),
ppronoun);
+#else
+ pline("%s\82Í\8e©\95ª\82Ì\83V\83\83\83c\82É\82µ\82Ý\8d\9e\82ñ\82¾\81I", Monnam(mon));
+#endif
else
+#if 0 /*JP*/
pline("%s becomes much too small for %s shirt!",
Monnam(mon), ppronoun);
+#else
+ pline("%s\82Í\8e©\95ª\82Ì\83V\83\83\83c\82æ\82è\82¸\82Á\82Æ\8f¬\82³\82\82È\82Á\82½\81I",
+ Monnam(mon));
+#endif
}
if (polyspot)
bypass_obj(otmp);
/* [caller needs to handle weapon checks] */
if ((otmp = which_armor(mon, W_ARMG)) != 0) {
if (vis)
+#if 0 /*JP*/
pline("%s drops %s gloves%s!", Monnam(mon), ppronoun,
MON_WEP(mon) ? " and weapon" : "");
+#else
+ pline("%s\82Í\8f¬\8eè%s\82ð\97\8e\82µ\82½\81I", Monnam(mon),
+ MON_WEP(mon) ? "\82Æ\95\90\8aí" : "");
+#endif
if (polyspot)
bypass_obj(otmp);
m_lose_armor(mon, otmp);
}
if ((otmp = which_armor(mon, W_ARMS)) != 0) {
if (vis)
+#if 0 /*JP*/
pline("%s can no longer hold %s shield!", Monnam(mon),
ppronoun);
+#else
+ pline("%s\82Í\82à\82Í\82â\8f\82\82ð\8e\9d\82Â\82±\82Æ\82ª\82Å\82«\82È\82¢\81I", Monnam(mon));
+#endif
else
+/*JP
You_hear("a clank.");
+*/
+ You_hear("\83J\83\89\83\93\82Æ\82¢\82¤\89¹\82ð\95·\82¢\82½\81D");
if (polyspot)
bypass_obj(otmp);
m_lose_armor(mon, otmp);
/* flimsy test for horns matches polyself handling */
&& (handless_or_tiny || !is_flimsy(otmp))) {
if (vis)
+#if 0 /*JP*/
pline("%s helmet falls to the %s!", s_suffix(Monnam(mon)),
surface(mon->mx, mon->my));
+#else
+ pline("%s\82Ì\8a\95\82Í%s\82Ö\97\8e\82¿\82½\81I",
+ Monnam(mon), surface(mon->mx, mon->my));
+#endif
else
+/*JP
You_hear("a clank.");
+*/
+ You_hear("\83K\83`\83\83\83\93\82Æ\82¢\82¤\89¹\82ð\95·\82¢\82½\81D");
if (polyspot)
bypass_obj(otmp);
m_lose_armor(mon, otmp);
if ((otmp = which_armor(mon, W_ARMF)) != 0) {
if (vis) {
if (is_whirly(mon->data))
+/*JP
pline("%s boots fall away!", s_suffix(Monnam(mon)));
+*/
+ pline("%s\82Ì\8cC\82Í\82Ê\82°\97\8e\82¿\82½\81I", Monnam(mon));
else
+#if 0 /*JP*/
pline("%s boots %s off %s feet!", s_suffix(Monnam(mon)),
verysmall(mdat) ? "slide" : "are pushed", ppronoun);
+#else
+ pline("%s\82Ì\8cC\82Í\91«\82©\82ç%s\81I", Monnam(mon),
+ verysmall(mdat) ? "\8a\8a\82è\97\8e\82¿\82½" : "\89\9f\82µ\8fo\82³\82ê\82½");
+#endif
}
if (polyspot)
bypass_obj(otmp);
bypass_obj(otmp);
m_lose_armor(mon, otmp);
if (vis)
+/*JP
pline("%s saddle falls off.", s_suffix(Monnam(mon)));
+*/
+ pline("%s\82©\82ç\88Æ\82ª\97\8e\82¿\82½\81D", Monnam(mon));
}
if (mon == u.usteed)
goto noride;
} else if (mon == u.usteed && !can_ride(mon)) {
noride:
+/*JP
You("can no longer ride %s.", mon_nam(mon));
+*/
+ You("\82à\82¤%s\82É\8fæ\82Á\82Ä\82¢\82ç\82ê\82È\82¢\81D", mon_nam(mon));
if (touch_petrifies(u.usteed->data) && !Stone_resistance && rnl(3)) {
char buf[BUFSZ];
+/*JP
You("touch %s.", mon_nam(u.usteed));
+*/
+ You("%s\82É\90G\82Á\82½\81D", mon_nam(u.usteed));
+/*JP
Sprintf(buf, "falling off %s", an(u.usteed->data->mname));
+*/
+ Sprintf(buf, "%s\82©\82ç\97\8e\82¿\82Ä", u.usteed->data->mname);
instapetrify(buf);
}
dismount_steed(DISMOUNT_FELL);