/* Copyright (c) Izchak Miller, Steve Linhart, 1989. */
/* NetHack may be freely redistributed. See license for details. */
+/* JNetHack Copyright */
+/* (c) Issei Numata, Naoki Hamada, Shigehiro Miyashita, 1994-2000 */
+/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2016 */
+/* JNetHack may be freely redistributed. See license for details. */
+
#include "hack.h"
#include "mfndpos.h"
check_special_room(FALSE);
if (ib) {
if (cansee(mtmp->mx, mtmp->my))
+#if 0 /*JP*/
pline("%s picks up %s.", Monnam(mtmp),
distant_name(ib, doname));
+#else
+ pline("%s\82Í%s\82ð\8fE\82Á\82½\81D", Monnam(mtmp),
+ distant_name(ib, doname));
+#endif
obj_extract_self(ib);
(void) mpickobj(mtmp, ib);
}
|| (Conflict && !resist(priest, RING_CLASS, 0, 0))) {
if (monnear(priest, u.ux, u.uy)) {
if (Displaced)
+/*JP
Your("displaced image doesn't fool %s!", mon_nam(priest));
+*/
+ Your("\8c¶\89e\82Í%s\82ð\82¾\82Ü\82¹\82È\82©\82Á\82½\81I", mon_nam(priest));
(void) mattacku(priest);
return 0;
} else if (index(u.urooms, temple)) {
return strcpy(pname, what); /* caller must be confused */
*pname = '\0';
+#if 0 /*JP*//*\93ú\96{\8cê\82Å\82Í\95s\97v*/
if (!do_hallu || !bogon_is_pname(whatcode))
Strcat(pname, "the ");
+#endif
if (mon->minvis)
+/*JP
Strcat(pname, "invisible ");
+*/
+ Strcat(pname, "\93§\96¾\82È");
if (mon->isminion && EMIN(mon)->renegade)
+/*JP
Strcat(pname, "renegade ");
+*/
+ Strcat(pname, "\97 \90Ø\82è\8eÒ\82Ì");
if (mon->ispriest || aligned_priest) { /* high_priest implies ispriest */
if (!aligned_priest && !high_priest) {
; /* polymorphed priest; use ``what'' as is */
} else {
if (high_priest)
+#if 0 /*JP*/
Strcat(pname, "high ");
+#else
+ {
+ if (Hallucination)
+ what = "\96³\94\\8d\82\8b\89\8a¯\97»";
+ else
+ what = "\96@\89¤";
+ }
+ else /* \8fã\8bL\82Å\8a®\90¬\82³\82¹\82Ä\81A\88È\89º\82Ì\83R\81[\83h\82Í\92Ê\82ç\82È\82\82·\82é */
+#endif
if (Hallucination)
+/*JP
what = "poohbah";
+*/
+ what = "\96³\94\\8a¯\97»";
else if (mon->female)
+/*JP
what = "priestess";
+*/
+ what = "\93ò\91m";
else
+/*JP
what = "priest";
+*/
+ what = "\91m\97µ";
}
} else {
+/*JP
if (mon->mtame && !strcmpi(what, "Angel"))
+*/
+ if (mon->mtame && !strcmpi(what, "\93V\8eg"))
+/*JP
Strcat(pname, "guardian ");
+*/
+ Strcat(pname, "\8cx\8cì");
}
Strcat(pname, what);
/* same as distant_monnam(), more or less... */
if (do_hallu || !high_priest || !Is_astralevel(&u.uz)
|| distu(mon->mx, mon->my) <= 2 || program_state.gameover) {
+#if 0 /*JP*/
Strcat(pname, " of ");
Strcat(pname, halu_gname(mon_aligntyp(mon)));
+#endif
}
return pname;
}
Moloch so suppress the "of Moloch" for him here too */
if (sanctum && !Hallucination)
priest->ispriest = 0;
+#if 0 /*JP*/
pline("%s intones:",
canseemon(priest) ? Monnam(priest) : "A nearby voice");
+#else
+ pline("%s\82ª\89r\8f¥\82µ\82½\81F",
+ canseemon(priest) ? Monnam(priest) : "\8bß\82\82Å\92N\82©");
+#endif
priest->ispriest = save_priest;
epri_p->intone_time = moves + (long) d(10, 500); /* ~2505 */
/* make sure that we don't suppress entry message when
if (sanctum && Is_sanctum(&u.uz)) {
if (priest->mpeaceful) {
/* first time inside */
+/*JP
msg1 = "Infidel, you have entered Moloch's Sanctum!";
+*/
+ msg1 = "\88Ù\92[\8eÒ\82æ\81I\82±\82±\82Í\81C\83\82\81[\83\8d\83b\83N\82Ì\90¹\88æ\82¾\81I";
+/*JP
msg2 = "Be gone!";
+*/
+ msg2 = "\97§\82¿\82³\82ê\81I";
priest->mpeaceful = 0;
/* became angry voluntarily; no penalty for attacking him */
set_malign(priest);
} else {
/* repeat visit, or attacked priest before entering */
+/*JP
msg1 = "You desecrate this place by your presence!";
+*/
+ msg1 = "\82¨\82Ü\82¦\82Í\82±\82Ì\90_\90¹\82È\8fê\8f\8a\82ð\89\98\82µ\82Ä\82¢\82é\81I";
}
} else if (moves >= epri_p->enter_time) {
+#if 0 /*JP*/
Sprintf(buf, "Pilgrim, you enter a %s place!",
!shrined ? "desecrated" : "sacred");
+#else
+ Sprintf(buf, "\8f\84\97ç\8eÒ\82æ\81C\82¨\82Ü\82¦\82Í%s\92n\82É\82¢\82é\81I",
+ !shrined ? "\95s\8fò\82Ì" : "\90_\90¹\82È\82é");
+#endif
msg1 = buf;
}
if (msg1 && can_speak && !Deaf) {
if (!sanctum) {
if (!shrined || !p_coaligned(priest)
|| u.ualign.record <= ALGN_SINNED) {
+/*JP
msg1 = "have a%s forbidding feeling...";
+*/
+ msg1 = "%s\8bß\82Ã\82«\82ª\82½\82¢\8bC\8e\9d\82ª\82µ\82½\81D\81D\81D";
+/*JP
msg2 = (!shrined || !p_coaligned(priest)) ? "" : " strange";
+*/
+ msg2 = (!shrined || !p_coaligned(priest)) ? "" : "\8aï\96\82È";
this_time = &epri_p->hostile_time;
other_time = &epri_p->peaceful_time;
} else {
+/*JP
msg1 = "experience %s sense of peace.";
+*/
+ msg1 = "%s\96\9e\82¿\91«\82è\82½\8bC\8e\9d\82¿\82É\82È\82Á\82½\81D";
+/*JP
msg2 = (u.ualign.record >= ALGN_PIOUS) ? "a" : "an unusual";
+*/
+ msg2 = (u.ualign.record >= ALGN_PIOUS) ? "a" : "\82¢\82Â\82É\82È\82";
this_time = &epri_p->peaceful_time;
other_time = &epri_p->hostile_time;
}
switch (rn2(4)) {
case 0:
+/*JP
You("have an eerie feeling...");
+*/
+ You("\82¼\82Á\82Æ\82µ\82½\81D\81D\81D");
break;
case 1:
+/*JP
You_feel("like you are being watched.");
+*/
+ You("\8c©\82Â\82ß\82ç\82ê\82Ä\82¢\82é\82æ\82¤\82È\8bC\82ª\82µ\82½\81D");
break;
case 2:
+/*JP
pline("A shiver runs down your %s.", body_part(SPINE));
+*/
+ pline("\82 \82È\82½\82Ì%s\82ð\90k\82¦\82ª\91\96\82Á\82½\81D", body_part(SPINE));
break;
default:
break; /* no message; unfortunately there's no
an exclamation to a simple declaration) if hero has
already killed enough ghosts.] */
if (canspotmon(mtmp))
+/*JP
pline("An enormous ghost appears next to you!");
+*/
+ pline("\8b\90\91å\82È\97H\97ì\82ª\82 \82È\82½\82Ì\82·\82®\82»\82Î\82É\8c»\82í\82ê\82½\81I");
else
+/*JP
You("sense a presence close by!");
+*/
+ You("\82·\82®\82»\82Î\82É\89½\82©\82ª\82¢\82é\82Ì\82ð\8a´\82¶\82½\81I");
mtmp->mpeaceful = 0;
set_malign(mtmp);
if (flags.verbose)
+/*JP
You("are frightened to death, and unable to move.");
+*/
+ You("\82Ü\82Á\82³\82¨\82É\82È\82Á\82Ä\8bÁ\82«\81C\93®\82¯\82È\82\82È\82Á\82½\81D");
nomul(-3);
multi_reason = "being terrified of a demon";
+/*JP
nomovemsg = "You regain your composure.";
+*/
+ nomovemsg = "\82 \82È\82½\82Í\95½\90Ã\82ð\8eæ\82è\96ß\82µ\82½\81D";
}
}
}
u.uconduct.gnostic++;
if (priest->mflee || (!priest->ispriest && coaligned && strayed)) {
+/*JP
pline("%s doesn't want anything to do with you!", Monnam(priest));
+*/
+ pline("%s\82Í\82 \82È\82½\82É\8d\\82¢\82½\82\82È\82¢\82æ\82¤\82¾\81I", Monnam(priest));
priest->mpeaceful = 0;
return;
}
if (!inhistemple(priest) || !priest->mpeaceful
|| !priest->mcanmove || priest->msleeping) {
static const char *cranky_msg[3] = {
+/*JP
"Thou wouldst have words, eh? I'll give thee a word or two!",
+*/
+ "\93ð\8c¾\97t\82ð\96]\82Þ\82Ì\82©\81H",
+/*JP
"Talk? Here is what I have to say!",
+*/
+ "\98b\82·\81H\89½\82ð\8c¾\82¦\82Î\82æ\82¢\82Ì\82¾\81I",
+/*JP
"Pilgrim, I would speak no longer with thee."
+*/
+ "\8f\84\97ç\8eÒ\82æ\81C\93ð\82É\8cê\82é\82±\82Æ\82È\82Ç\82È\82¢\81D"
};
if (!priest->mcanmove || priest->msleeping) {
+#if 0 /*JP*/
pline("%s breaks out of %s reverie!", Monnam(priest),
mhis(priest));
+#else
+ pline("%s\82ÍáÒ\91z\82ð\92\86\92f\82µ\82½\81I", Monnam(priest));
+#endif
priest->mfrozen = priest->msleeping = 0;
priest->mcanmove = 1;
}
if (priest->mpeaceful && *in_rooms(priest->mx, priest->my, TEMPLE)
&& !has_shrine(priest)) {
verbalize(
+/*JP
"Begone! Thou desecratest this holy place with thy presence.");
+*/
+ "\97§\82¿\8b\8e\82ê\81I\93ð\82Í\82±\82Ì\90_\90¹\82È\82é\8fê\8f\8a\82ð\89\98\82µ\82Ä\82¢\82é\81D");
priest->mpeaceful = 0;
return;
}
long pmoney = money_cnt(priest->minvent);
if (pmoney > 0L) {
/* Note: two bits is actually 25 cents. Hmm. */
+#if 0 /*JP*/
pline("%s gives you %s for an ale.", Monnam(priest),
(pmoney == 1L) ? "one bit" : "two bits");
+#else
+ pline("%s\82Í\82 \82È\82½\82ª\83G\81[\83\8b\8eð\82ð\88ù\82ß\82é\82æ\82¤\82É\81C%s\82ð\97^\82¦\82½\81D", Monnam(priest),
+ (pmoney == 1L) ? "\8bà\89Ý1\96\87" : "\8bà\89Ý2\96\87");
+#endif
money2u(priest, pmoney > 1L ? 2 : 1);
} else
+/*JP
pline("%s preaches the virtues of poverty.", Monnam(priest));
+*/
+ pline("%s\82Í\90´\95n\82Ì\94ü\93¿\82É\82Â\82¢\82Ä\90à\8b³\82µ\82½\81D", Monnam(priest));
exercise(A_WIS, TRUE);
} else
+/*JP
pline("%s is not interested.", Monnam(priest));
+*/
+ pline("%s\82Í\8b»\96¡\82ð\8e¦\82³\82È\82¢\81D", Monnam(priest));
return;
} else {
long offer;
+/*JP
pline("%s asks you for a contribution for the temple.",
+*/
+ pline("%s\82Í\82 \82È\82½\82É\8e\9b\89@\82Ö\82Ì\8añ\91¡\82ð\8b\81\82ß\82½\81D",
Monnam(priest));
if ((offer = bribe(priest)) == 0) {
+/*JP
verbalize("Thou shalt regret thine action!");
+*/
+ verbalize("\93ð\82Ì\8ds\88×\82Í\90_\82ð\96`\93À\82·\82é\82à\82Ì\82È\82è\81I");
if (coaligned)
adjalign(-1);
} else if (offer < (u.ulevel * 200)) {
if (money_cnt(invent) > (offer * 2L)) {
+/*JP
verbalize("Cheapskate.");
+*/
+ verbalize("\83P\83`\82ß\81D");
} else {
+/*JP
verbalize("I thank thee for thy contribution.");
+*/
+ verbalize("\93ð\82Ì\8añ\91¡\82É\95ñ\82¢\82æ\82¤\82¼\81D");
/* give player some token */
exercise(A_WIS, TRUE);
}
} else if (offer < (u.ulevel * 400)) {
+/*JP
verbalize("Thou art indeed a pious individual.");
+*/
+ verbalize("\93ð\81C\82Ü\82³\82É\8chåi\82È\82è\81D");
if (money_cnt(invent) < (offer * 2L)) {
if (coaligned && u.ualign.record <= ALGN_SINNED)
adjalign(1);
+/*JP
verbalize("I bestow upon thee a blessing.");
+*/
+ verbalize("\93ð\82É\8fj\95\9f\82ð\81D");
incr_itimeout(&HClairvoyant, rn1(500, 500));
}
} else if (offer < (u.ulevel * 600)
&& (!(HProtection & INTRINSIC)
|| (u.ublessed < 20
&& (u.ublessed < 9 || !rn2(u.ublessed))))) {
+/*JP
verbalize("Thy devotion has been rewarded.");
+*/
+ verbalize("\93ð\82ª\8c£\90g\82É\95ñ\82í\82ñ\81D");
if (!(HProtection & INTRINSIC)) {
HProtection |= FROMOUTSIDE;
if (!u.ublessed)
} else
u.ublessed++;
} else {
+/*JP
verbalize("Thy selfless generosity is deeply appreciated.");
+*/
+ verbalize("\93ð\8e©\90g\82Ì\90^\89¿\82Í\91å\82¢\82É\94F\82ß\82ç\82ê\82½\81D");
if (money_cnt(invent) < (offer * 2L) && coaligned) {
if (strayed && (moves - u.ucleansed) > 5000L) {
u.ualign.record = 0; /* cleanse thee */
switch (rn2(3)) {
case 0:
+/*JP
pline("%s roars in anger: \"Thou shalt suffer!\"",
+*/
+ pline("%s\82Í\93{\82è\82Ì\90º\82ð\82 \82°\82½\81F\81u\93ð\81C\8bê\82µ\82Þ\82ª\82æ\82¢\81I\81v",
a_gname_at(ax, ay));
break;
case 1:
+/*JP
pline("%s voice booms: \"How darest thou harm my servant!\"",
+*/
+ pline("%s\82Ì\90º\82ª\8b¿\82¢\82½\81F\81u\82í\82ª\89º\96l\82É\8bê\82µ\82Þ\82ª\82æ\82¢\81I\81v",
s_suffix(a_gname_at(ax, ay)));
break;
default:
+/*JP
pline("%s roars: \"Thou dost profane my shrine!\"",
+*/
+ pline("%s\82Ì\90º\82ª\95·\82±\82¦\82é\81F\81u\93ð\81C\89ä\82ª\90¹\93°\82ð\89\98\82µ\82½\82è\81I\81v",
a_gname_at(ax, ay));
break;
}