/* 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"
#ifdef MAIL
}
/* Let the mail daemon have a larger vocabulary. */
+#if 0 /*JP*/
static NEARDATA const char *mail_text[] = { "Gangway!", "Look out!",
"Pardon me!" };
+#else
+static NEARDATA const char *mail_text[] = { "\82Ç\82¢\82½\82Ç\82¢\82½\81I", "\8bC\82ð\82Â\82¯\82ë\81I",
+ "\82¶\82á\82Ü\82·\82é\82æ\81I" };
+#endif
#define md_exclamations() (mail_text[rn2(3)])
/*
if ((mon = m_at(fx, fy)) != 0) /* save monster at this position */
verbalize1(md_exclamations());
else if (fx == u.ux && fy == u.uy)
+/*JP
verbalize("Excuse me.");
+*/
+ verbalize("\82¿\82å\82Á\82Æ\82µ\82Â\82ê\82¢\81D");
place_monster(md, fx, fy); /* put md down */
newsym(fx, fy); /* see it */
if ((mon = m_at(fx, fy)) != 0) {
place_monster(md, fx, fy); /* display md with text below */
newsym(fx, fy);
+/*JP
verbalize("This place's too crowded. I'm outta here.");
+*/
+ verbalize("\82±\82±\82Í\8d¬\82Ý\82·\82¬\81D\82±\82±\82Å\91Ò\82Á\82Ä\82é\82æ\81D");
if ((mon->mx != fx) || (mon->my != fy)) /* put mon back */
place_worm_seg(mon, fx, fy);
goto go_back;
message_seen = TRUE;
+#if 0 /*JP*/
verbalize("%s, %s! %s.", Hello(md), plname, info->display_txt);
+#else
+ verbalize("%s\81I%s\81D", Hello(md), info->display_txt);
+#endif
if (info->message_typ) {
struct obj *obj = mksobj(SCR_MAIL, FALSE, FALSE);
new_omailcmd(obj, info->response_cmd);
if (distu(md->mx, md->my) > 2)
+/*JP
verbalize("Catch!");
+*/
+ verbalize("\82Ù\82ç\82æ\81I");
display_nhwindow(WIN_MESSAGE, FALSE);
+#if 0 /*JP*/
obj = hold_another_object(obj, "Oops!", (const char *) 0,
(const char *) 0);
+#else
+ obj = hold_another_object(obj, "\82¨\82Á\82Æ\81I", (const char *) 0,
+ (const char *) 0);
+#endif
}
/* zip back to starting location */
/* deliver some classes of messages even if no daemon ever shows up */
give_up:
if (!message_seen && info->message_typ == MSG_OTHER)
+/*JP
pline("Hark! \"%s.\"", info->display_txt);
+*/
+ pline("\81u%s\81D\81v\82Æ\8c¾\82¤\82±\82Æ\82¾\81I", info->display_txt);
}
#if !defined(UNIX) && !defined(VMS)
}
if (--mustgetmail <= 0) {
static struct mail_info deliver = { MSG_MAIL,
+/*JP
"I have some mail for you", 0,
+*/
+ "\83\81\81[\83\8b\82ð\8e\9d\82Á\82Ä\82«\82½\82æ", 0,
0 };
newmail(&deliver);
mustgetmail = -1;
{
static char *junk[] = {
NULL, /* placeholder for "Report bugs to <devteam@nethack.org>.", */
+/*JP
"Please disregard previous letter.", "Welcome to NetHack.",
+*/
+ "\91O\82Ì\83\81\81[\83\8b\82Í\96Y\82ê\82Ä\82\82¾\82³\82¢\81D", "NetHack\82Ö\82æ\82¤\82±\82»\81I",
#ifdef AMIGA
"Only Amiga makes it possible.", "CATS have all the answers.",
#endif
#undef BUGS_FORMAT
}
if (Blind) {
+/*JP
pline("Unfortunately you cannot see what it says.");
+*/
+ pline("\8ec\94O\82È\82ª\82ç\89½\82Æ\8f\91\82¢\82Ä\82 \82é\82Ì\82©\8c©\82é\82±\82Æ\82ª\82Å\82«\82È\82¢\81D");
} else
+/*JP
pline("It reads: \"%s\"", junk[rn2(SIZE(junk))]);
+*/
+ pline("\82»\82ê\82ð\93Ç\82ñ\82¾\81F\"%s\"", junk[rn2(SIZE(junk))]);
}
#endif /* !UNIX && !VMS */
if (nmstat.st_size) {
static struct mail_info deliver = {
#ifndef NO_MAILREADER
+/*JP
MSG_MAIL, "I have some mail for you",
+*/
+ MSG_MAIL, "\83\81\83C\83\8b\82ð\8e\9d\82Á\82Ä\82«\82½\82æ",
#else
/* suppress creation and delivery of scroll of mail */
+/*JP
MSG_OTHER, "You have some mail in the outside world",
+*/
+ MSG_OTHER, "\8aO\82Ì\90¢\8aE\82©\82ç\82Ì\83\81\81[\83\8b\82¾",
#endif
0, 0
};