OSDN Git Service

#37449 (2.2.0.58) ウィザードモードのアイテム/モンスターメッセージを整理。 / Rearrange item/monster messages...
authorDeskull <desull@users.sourceforge.jp>
Sat, 26 Aug 2017 11:55:41 +0000 (20:55 +0900)
committerDeskull <desull@users.sourceforge.jp>
Sat, 26 Aug 2017 11:55:41 +0000 (20:55 +0900)
src/defines.h
src/monster2.c
src/mspells3.c
src/object2.c
src/rooms.c

index e62f3e7..4fc4c3e 100644 (file)
@@ -53,7 +53,7 @@
 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
 #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
-#define FAKE_VER_EXTRA 57 /*!< ゲームのバージョン番号定義(エクストラ番号) */
+#define FAKE_VER_EXTRA 58 /*!< ゲームのバージョン番号定義(エクストラ番号) */
 
 
  /*!
index ded6882..ea45441 100644 (file)
@@ -3146,29 +3146,9 @@ static bool place_monster_one(int who, int y, int x, int r_idx, u32b mode)
                else return FALSE;
        }
 
-       /* Powerful monster */
-       if (r_ptr->level > dun_level)
-       {
-               /* Unique monsters */
-               if (r_ptr->flags1 & (RF1_UNIQUE))
-               {
-                       /* Message for cheaters */
-                       if (cheat_hear) msg_format(_("深層のユニーク・モンスター (%s)。", "Deep Unique (%s)."), name);
-               }
-
-               /* Normal monsters */
-               else
-               {
-                       /* Message for cheaters */
-                       if (cheat_hear) msg_format(_("深層のモンスター (%s)。", "Deep Monster (%s)."), name);
-               }
-       }
-
-       /* Note the monster */
-       else if (r_ptr->flags1 & (RF1_UNIQUE))
+       if (cheat_hear)
        {
-               /* Unique monsters induce message */
-               if (cheat_hear) msg_format(_("ユニーク・モンスター (%s)。", "Unique (%s)."), name);
+               msg_format(_("WIZ: モンスター (%s)[Lv%d]を生成しました。", "WIZ: Monster (%s)[Lv%d]."), name, r_ptr->level);
        }
 
        if ((r_ptr->flags1 & RF1_UNIQUE) || (r_ptr->flags7 & RF7_NAZGUL) || (r_ptr->level < 10)) mode &= ~PM_KAGE;
index 49a2a37..4f70c89 100644 (file)
@@ -1424,20 +1424,20 @@ static bool cast_learned_spell(int spell, bool success)
        case MS_S_UNIQUE:
        {
                int k, count = 0;
-        msg_print(_("特別な強敵を召喚した!", "You summon a special opponent!"));
+               msg_print(_("特別な強敵を召喚した!", "You summon a special opponent!"));
                for (k = 0;k < 1; k++)
                        if (summon_specific((pet ? -1 : 0), p_ptr->y, p_ptr->x, summon_lev, SUMMON_UNIQUE, (g_mode | p_mode | PM_ALLOW_UNIQUE)))
                        {
                                count++;
-                if (!pet)
-                    msg_print(_("召喚されたユニーク・モンスターは怒っている!", "Summoned special opponents are angry!"));
+                               if (!pet)
+                                       msg_print(_("召喚されたユニーク・モンスターは怒っている!", "Summoned special opponents are angry!"));
                        }
                for (k = count;k < 1; k++)
                        if (summon_specific((pet ? -1 : 0), p_ptr->y, p_ptr->x, summon_lev, SUMMON_HI_UNDEAD, (g_mode | p_mode | PM_ALLOW_UNIQUE)))
                        {
                                count++;
-                if (!pet)
-                    msg_print(_("召喚された上級アンデッドは怒っている!", "Summoned greater undeads are angry!"));
+                               if (!pet)
+                                       msg_print(_("召喚された上級アンデッドは怒っている!", "Summoned greater undeads are angry!"));
                        }
                if (!count)
                {
index 38777b1..38e34de 100644 (file)
@@ -2087,19 +2087,19 @@ static void object_mention(object_type *o_ptr)
 
        if (object_is_fixed_artifact(o_ptr))
        {
-               msg_format(_("伝説のアイテム (%s)", "Artifact (%s)"), o_name);
+               msg_format(_("WIZ: ★(%s)を生成しました。", "WIZ: Artifact (%s)"), o_name);
        }
        else if (o_ptr->art_name)
        {
-               msg_format(_("ランダム・アーティファクト (%s)", "Random artifact (%s)"), o_name);
+               msg_format(_("WIZ: ☆(%s)を生成しました。", "WIZ: Random Artifact (%s)"), o_name);
        }
        else if (object_is_ego(o_ptr))
        {
-               msg_format(_("名のあるアイテム (%s)", "Ego-item (%s)"), o_name);
+               msg_format(_("WIZ: エゴ(%s)を生成しました。", "WIZ: Ego-item (%s)"), o_name);
        }
        else
        {
-               msg_format(_("アイテム (%s)", "Object (%s)"), o_name);
+               msg_format(_("WIZ: アイテム(%s)を生成しました。", "WIZ: Object (%s)"), o_name);
        }
 }
 
index 0009a2b..2ea685b 100644 (file)
@@ -2394,7 +2394,7 @@ static bool build_type5(void)
        if (cheat_room)
        {
                /* Room type */
-               msg_format(_("モンスター部屋(nest)(%s%s)", "Monster nest (%s%s)"), n_ptr->name, pit_subtype_string(cur_nest_type, TRUE));
+               msg_format(_("WIZ: モンスター部屋(nest)(%s%s)を生成します。", "WiZ: Monster nest (%s%s)"), n_ptr->name, pit_subtype_string(cur_nest_type, TRUE));
        }
 
        /* Place some monsters */
@@ -2429,7 +2429,7 @@ static bool build_type5(void)
                                if (nest_mon_info[i].r_idx != nest_mon_info[i + 1].r_idx) break;
                                if (!nest_mon_info[i + 1].used) break;
                        }
-                       msg_print(r_name + r_info[nest_mon_info[i].r_idx].name);
+                       msg_format("WIZ: Nest構成モンスターNo.%d:%s", i, r_name + r_info[nest_mon_info[i].r_idx].name);
                }
        }
 
@@ -2630,7 +2630,7 @@ static bool build_type6(void)
        if (cheat_room)
        {
                /* Room type */
-               msg_format(_("モンスター部屋(pit)(%s%s)", "Monster pit (%s%s)"), n_ptr->name, pit_subtype_string(cur_pit_type, FALSE));
+               msg_format(_("WIZ: モンスター部屋(pit)(%s%s)を生成します。", "WIZ: Monster pit (%s%s)"), n_ptr->name, pit_subtype_string(cur_pit_type, FALSE));
        }
 
        /* Select the entries */
@@ -2642,7 +2642,7 @@ static bool build_type6(void)
                if (cheat_hear)
                {
                        /* Message */
-                       msg_print(r_name + r_info[what[i]].name);
+                       msg_format("WIZ: Nest構成モンスターNo.%d:%s", i, r_name + r_info[what[i]].name);
                }
        }