OSDN Git Service

[Refactor] #37353 変身種族ID定義を player-race.h へ移動.
[hengband/hengband.git] / src / selfinfo.c
1 /*!
2  * @file selfinfo.c
3  * @brief 自己分析処理/ Self knowledge
4  * @date 2018/09/07
5  * @author
6  * <pre>
7  * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
8  * This software may be copied and distributed for educational, research,
9  * and not for profit purposes provided that this copyright and statement
10  * are included in all such copies.  Other copyrights may also apply.
11  * </pre>
12  * 2018 Deskull
13  * @details
14  * spell2s.cから分離
15  */
16
17 #include "angband.h"
18 #include "util.h"
19
20 #include "player-status.h"
21 #include "player-race.h"
22 #include "avatar.h"
23 #include "realm.h"
24 #include "realm-hex.h"
25 #include "realm-song.h"
26
27 /*!
28  * @brief 自己分析処理(Nethackからのアイデア) / self-knowledge... idea from nethack.
29  * @return なし
30  * @details
31  * <pre>
32  * Useful for determining powers and
33  * resistences of items.  It saves the screen, clears it, then starts listing
34  * attributes, a screenful at a time.  (There are a LOT of attributes to
35  * list.  It will probably take 2 or 3 screens for a powerful character whose
36  * using several artifacts...) -CFT
37  *
38  * It is now a lot more efficient. -BEN-
39  *
40  * See also "identify_fully()".
41  *
42  * Use the "show_file()" method, perhaps.
43  * </pre>
44  */
45 void self_knowledge(void)
46 {
47         int i = 0, j, k;
48
49         int v_nr = 0;
50         char v_string [8] [128];
51         char s_string [6] [128];
52
53         BIT_FLAGS flgs[TR_FLAG_SIZE];
54
55         object_type *o_ptr;
56
57         char Dummy[80];
58         char buf[2][80];
59
60         concptr info[220];
61
62         PLAYER_LEVEL plev = p_ptr->lev;
63
64         int percent;
65
66         for (j = 0; j < TR_FLAG_SIZE; j++)
67                 flgs[j] = 0L;
68
69         p_ptr->knowledge |= (KNOW_STAT | KNOW_HPRATE);
70
71         strcpy(Dummy, "");
72
73         percent = (int)(((long)p_ptr->player_hp[PY_MAX_LEVEL - 1] * 200L) /
74                 (2 * p_ptr->hitdie +
75                 ((PY_MAX_LEVEL - 1+3) * (p_ptr->hitdie + 1))));
76
77         sprintf(Dummy, _("現在の体力ランク : %d/100", "Your current Life Rating is %d/100."), percent);
78         strcpy(buf[0], Dummy);
79         info[i++] = buf[0];
80         info[i++] = "";
81
82         chg_virtue(V_KNOWLEDGE, 1);
83         chg_virtue(V_ENLIGHTEN, 1);
84
85         /* Acquire item flags from equipment */
86         for (k = INVEN_RARM; k < INVEN_TOTAL; k++)
87         {
88                 u32b tflgs[TR_FLAG_SIZE];
89
90                 o_ptr = &p_ptr->inventory_list[k];
91                 if (!o_ptr->k_idx) continue;
92                 object_flags(o_ptr, tflgs);
93
94                 /* Extract flags */
95                 for (j = 0; j < TR_FLAG_SIZE; j++)
96                         flgs[j] |= tflgs[j];
97         }
98
99         info[i++] = _("能力の最大値", "Limits of maximum stats");
100
101         for (v_nr = 0; v_nr < A_MAX; v_nr++)
102         {
103                 char stat_desc[80];
104
105                 sprintf(stat_desc, "%s 18/%d", stat_names[v_nr], p_ptr->stat_max_max[v_nr]-18);
106
107                 strcpy(s_string[v_nr], stat_desc);
108
109                 info[i++] = s_string[v_nr];
110         }
111         info[i++] = "";
112
113         sprintf(Dummy, _("現在の属性 : %s(%ld)", "Your alighnment : %s(%ld)"), your_alignment(), (long int)p_ptr->align);
114         strcpy(buf[1], Dummy);
115         info[i++] = buf[1];
116         for (v_nr = 0; v_nr < 8; v_nr++)
117         {
118                 GAME_TEXT vir_name [20];
119                 char vir_desc[80];
120                 int tester = p_ptr->virtues[v_nr];
121         
122                 strcpy(vir_name, virtue[(p_ptr->vir_types[v_nr])-1]);
123  
124                 sprintf(vir_desc, _("おっと。%sの情報なし。", "Oops. No info about %s."), vir_name);
125                 if (tester < -100)
126                         sprintf(vir_desc, _("[%s]の対極 (%d)", "You are the polar opposite of %s (%d)."),
127                                 vir_name, tester);
128                 else if (tester < -80)
129                         sprintf(vir_desc, _("[%s]の大敵 (%d)", "You are an arch-enemy of %s (%d)."),
130                                 vir_name, tester);
131                 else if (tester < -60)
132                         sprintf(vir_desc, _("[%s]の強敵 (%d)", "You are a bitter enemy of %s (%d)."),
133                                 vir_name, tester);
134                 else if (tester < -40)
135                         sprintf(vir_desc, _("[%s]の敵 (%d)", "You are an enemy of %s (%d)."),
136                                 vir_name, tester);
137                 else if (tester < -20)
138                         sprintf(vir_desc, _("[%s]の罪者 (%d)", "You have sinned against %s (%d)."),
139                                 vir_name, tester);
140                 else if (tester < 0)
141                         sprintf(vir_desc, _("[%s]の迷道者 (%d)", "You have strayed from the path of %s (%d)."),
142                                 vir_name, tester);
143                 else if (tester == 0)
144                         sprintf(vir_desc, _("[%s]の中立者 (%d)", "You are neutral to %s (%d)."),
145                                 vir_name, tester);
146                 else if (tester < 20)
147                         sprintf(vir_desc, _("[%s]の小徳者 (%d)", "You are somewhat virtuous in %s (%d)."),
148                                 vir_name, tester);
149                 else if (tester < 40)
150                         sprintf(vir_desc, _("[%s]の中徳者 (%d)", "You are virtuous in %s (%d)."),
151                                 vir_name, tester);
152                 else if (tester < 60)
153                         sprintf(vir_desc, _("[%s]の高徳者 (%d)", "You are very virtuous in %s (%d)."),
154                                 vir_name, tester);
155                 else if (tester < 80)
156                         sprintf(vir_desc, _("[%s]の覇者 (%d)", "You are a champion of %s (%d)."),
157                                 vir_name, tester);
158                 else if (tester < 100)
159                         sprintf(vir_desc, _("[%s]の偉大な覇者 (%d)", "You are a great champion of %s (%d)."),
160                                 vir_name, tester);
161                 else
162                         sprintf(vir_desc, _("[%s]の具現者 (%d)", "You are the living embodiment of %s (%d)."),
163                                 vir_name, tester);
164         
165                 strcpy(v_string[v_nr], vir_desc);
166         
167                 info[i++] = v_string[v_nr];
168         }
169         info[i++] = "";
170         
171         /* Racial powers... */
172         if (p_ptr->mimic_form)
173         {
174                 switch (p_ptr->mimic_form)
175                 {
176                         case MIMIC_DEMON:
177                         case MIMIC_DEMON_LORD:
178                         sprintf(Dummy, _("あなたは %d ダメージの地獄か火炎のブレスを吐くことができる。(%d MP)", 
179                                                         "You can nether breathe, dam. %d (cost %d)."), 3 * plev, 10+plev/3);
180
181                                 info[i++] = Dummy;
182                         break;
183                 case MIMIC_VAMPIRE:
184                         if (plev > 1)
185                         {
186                                 sprintf(Dummy, _("あなたは敵から %d-%d HP の生命力を吸収できる。(%d MP)", 
187                                                                 "You can steal life from a foe, dam. %d-%d (cost %d)."),
188                                     plev + MAX(1, plev / 10), plev + plev * MAX(1, plev / 10), 1 + (plev / 3));
189                                 info[i++] = Dummy;
190                         }
191                         break;
192                 }
193         }
194         else
195         {
196         switch (p_ptr->prace)
197         {
198                 case RACE_NIBELUNG:
199                 case RACE_DWARF:
200                         if (plev > 4)
201                         info[i++] = _("あなたは罠とドアと階段を感知できる。(5 MP)", "You can find traps, doors and stairs (cost 5).");
202                         break;
203                 case RACE_HOBBIT:
204                         if (plev > 14)
205                         {
206                                 info[i++] = _("あなたは食料を生成できる。(10 MP)", "You can produce food (cost 10).");
207                         }
208                         break;
209                 case RACE_GNOME:
210                         if (plev > 4)
211                         {
212                                 sprintf(Dummy, _("あなたは範囲 %d 以内にテレポートできる。(%d MP)", "You can teleport, range %d (cost %d)."),
213                                     (1 + plev), (5 + (plev / 5)));
214                                 info[i++] = Dummy;
215                         }
216                         break;
217                 case RACE_HALF_ORC:
218                         if (plev > 2)
219                                 info[i++] = _("あなたは恐怖を除去できる。(5 MP)", "You can remove fear (cost 5).");
220                         break;
221                 case RACE_HALF_TROLL:
222                         if (plev > 9)
223                                 info[i++] = _("あなたは狂暴化することができる。(12 MP) ", "You enter berserk fury (cost 12).");
224                         break;
225                 case RACE_AMBERITE:
226                         if (plev > 29)
227                                 info[i++] = _("あなたはシャドウシフトすることができる。(50 MP)", "You can Shift Shadows (cost 50).");
228
229                         if (plev > 39)
230                                 info[i++] = _("あなたは「パターン」を心に描いて歩くことができる。(75 MP)", "You can mentally Walk the Pattern (cost 75).");
231
232                         break;
233                 case RACE_BARBARIAN:
234                         if (plev > 7)
235                                 info[i++] = _("あなたは狂暴化することができる。(10 MP) ", "You can enter berserk fury (cost 10).");
236
237                         break;
238                 case RACE_HALF_OGRE:
239                         if (plev > 24)
240                                 info[i++] = _("あなたは爆発のルーンを仕掛けることができる。(35 MP)", "You can set an Explosive Rune (cost 35).");
241
242                         break;
243                 case RACE_HALF_GIANT:
244                         if (plev > 19)
245                                 info[i++] = _("あなたは石の壁を壊すことができる。(10 MP)", "You can break stone walls (cost 10).");
246                         break;
247                 case RACE_HALF_TITAN:
248                         if (plev > 34)
249                                 info[i++] = _("あなたはモンスターをスキャンすることができる。(20 MP)", "You can probe monsters (cost 20).");
250                         break;
251                 case RACE_CYCLOPS:
252                         if (plev > 19)
253                         {
254                                 sprintf(Dummy, _("あなたは %d ダメージの岩石を投げることができる。(15 MP)", 
255                                                          "You can throw a boulder, dam. %d (cost 15)."), 3 * plev);
256                                 info[i++] = Dummy;
257                         }
258                         break;
259                 case RACE_YEEK:
260                         if (plev > 14)
261                                 info[i++] = _("あなたは恐怖を呼び起こす叫び声を発することができる。(15 MP)", "You can make a terrifying scream (cost 15).");
262                         break;
263                 case RACE_KLACKON:
264                         if (plev > 8)
265                         {
266                                 sprintf(Dummy, _("あなたは %d ダメージの酸を吹きかけることができる。(9 MP)", "You can spit acid, dam. %d (cost 9)."), plev);
267                                 info[i++] = Dummy;
268                         }
269                         break;
270                 case RACE_KOBOLD:
271                         if (plev > 11)
272                         {
273                                 sprintf(Dummy,
274                                                 _("あなたは %d ダメージの毒矢を投げることができる。(8 MP)", "You can throw a dart of poison, dam. %d (cost 8)."), plev);
275                                 info[i++] = Dummy;
276                         }
277                         break;
278                 case RACE_DARK_ELF:
279                         if (plev > 1)
280                         {
281                                 sprintf(Dummy, _("あなたは %d ダメージのマジック・ミサイルの呪文を使える。(2 MP)", "You can cast a Magic Missile, dam %d (cost 2)."),
282                                     (3 + ((plev-1) / 5)));
283                                 info[i++] = Dummy;
284                         }
285                         break;
286                 case RACE_DRACONIAN:
287                         sprintf(Dummy, _("あなたは %d ダメージのブレスを吐くことができる。(%d MP)", "You can breathe, dam. %d (cost %d)."), 2 * plev, plev);
288                         info[i++] = Dummy;
289                         break;
290                 case RACE_MIND_FLAYER:
291                         if (plev > 14)
292                                 sprintf(Dummy, _("あなたは %d ダメージの精神攻撃をすることができる。(12 MP)", "You can mind blast your enemies, dam %d (cost 12)."), plev);
293                         info[i++] = Dummy;
294                         break;
295                 case RACE_IMP:
296                         if (plev > 29)
297                         {
298                                 sprintf(Dummy, _("あなたは %d ダメージのファイア・ボールの呪文を使える。(15 MP)", "You can cast a Fire Ball, dam. %d (cost 15)."), plev);
299                                 info[i++] = Dummy;
300                         }
301                         else if (plev > 8)
302                         {
303                                 sprintf(Dummy, _("あなたは %d ダメージのファイア・ボルトの呪文を使える。(15 MP)", "You can cast a Fire Bolt, dam. %d (cost 15)."), plev);
304                                 info[i++] = Dummy;
305                         }
306                         break;
307                 case RACE_GOLEM:
308                         if (plev > 19)
309                                 info[i++] = _("あなたは d20+30 ターンの間肌を石に変化させられる。(15 MP)", "You can current_world_ptr->game_turn your skin to stone, dur d20+30 (cost 15).");
310                         break;
311                 case RACE_ZOMBIE:
312                 case RACE_SKELETON:
313                         if (plev > 29)
314                                 info[i++] = _("あなたは失った経験値を回復することができる。(30 MP)", "You can restore lost experience (cost 30).");
315                         break;
316                 case RACE_VAMPIRE:
317                         if (plev > 1)
318                         {
319                                 sprintf(Dummy, _("あなたは敵から %d-%d HP の生命力を吸収できる。(%d MP)", "You can steal life from a foe, dam. %d-%d (cost %d)."),
320                                     plev + MAX(1, plev / 10), plev + plev * MAX(1, plev / 10), 1 + (plev / 3));
321                                 info[i++] = Dummy;
322                         }
323                         break;
324                 case RACE_SPECTRE:
325                         if (plev > 3)
326                         {
327                                 info[i++] = _("あなたは泣き叫んで敵を恐怖させることができる。(3 MP)", "You can wail to terrify your enemies (cost 3).");
328                         }
329                         break;
330                 case RACE_SPRITE:
331                         if (plev > 11)
332                         {
333                                 info[i++] = _("あなたは敵を眠らせる魔法の粉を投げることができる。(12 MP)", "You can throw magical dust which induces sleep (cost 12).");
334                         }
335                         break;
336                 case RACE_DEMON:
337                         sprintf(Dummy, _("あなたは %d ダメージの地獄か火炎のブレスを吐くことができる。(%d MP)", 
338                                                 "You can breathe nether, dam. %d (cost %d)."), 3 * plev, 10+plev/3);
339
340                         info[i++] = Dummy;
341                         break;
342                 case RACE_KUTAR:
343                         if (plev > 19)
344                                 info[i++] = _("あなたは d20+30 ターンの間横に伸びることができる。(15 MP)", "You can expand horizontally, dur d20+30 (cost 15).");
345                         break;
346                 case RACE_ANDROID:
347                         if (plev < 10)
348                                 sprintf(Dummy, _("あなたは %d ダメージのレイガンを撃つことができる。(7 MP)", "You can fire a ray gun with damage %d (cost 7)."), 
349                                         (plev + 1) / 2);
350                         else if (plev < 25)
351                                 sprintf(Dummy, _("あなたは %d ダメージのブラスターを撃つことができる。(13 MP)", "You can fire a blaster with damage %d (cost 13)."), plev);
352                         else if (plev < 35)
353                                 sprintf(Dummy, _("あなたは %d ダメージのバズーカを撃つことができる。(26 MP)", "You can fire a bazooka with damage %d (cost 26)."), plev * 2);
354                         else if (plev < 45)
355                                 sprintf(Dummy, _("あなたは %d ダメージのビームキャノンを撃つことができる。(40 MP)", 
356                                                 "You can fire a beam cannon with damage %d (cost 40)."), plev * 2);
357                         else
358                                 sprintf(Dummy, _("あなたは %d ダメージのロケットを撃つことができる。(60 MP)", 
359                                                 "You can fire a rocket with damage %d (cost 60)."), plev * 5);
360
361                         info[i++] = Dummy;
362                         break;
363                 default:
364                         break;
365         }
366         }
367
368         switch(p_ptr->pclass)
369         {
370                 case CLASS_WARRIOR:
371                         if (plev > 39)
372                         {
373                                 info[i++] = _("あなたはランダムな方向に対して数回攻撃することができる。(75 MP)", 
374                                                         "You can attack some random directions at a time (cost 75).");
375                         }
376                         break;
377                 case CLASS_HIGH_MAGE:
378                         if (p_ptr->realm1 == REALM_HEX) break;
379                 case CLASS_MAGE:
380                 case CLASS_SORCERER:
381                         if (plev > 24)
382                         {
383                                 info[i++] = _("あなたはアイテムの魔力を吸収することができる。(1 MP)", 
384                                                 "You can absorb charges from an item (cost 1).");
385                         }
386                         break;
387                 case CLASS_PRIEST:
388                         if (is_good_realm(p_ptr->realm1))
389                         {
390                                 if (plev > 34)
391                                 {
392                                         info[i++] = _("あなたは武器を祝福することができる。(70 MP)", "You can bless a weapon (cost 70).");
393                                 }
394                         }
395                         else
396                         {
397                                 if (plev > 41)
398                                 {
399                                         info[i++] = _("あなたは周りのすべてのモンスターを攻撃することができる。(40 MP)", "You can damages all monsters in sight (cost 40).");
400                                 }
401                         }
402                         break;
403                 case CLASS_ROGUE:
404                         if (plev > 7)
405                         {
406                                 info[i++] = _("あなたは攻撃して即座に逃げることができる。(12 MP)", "You can hit a monster and teleport at a time (cost 12).");
407                         }
408                         break;
409                 case CLASS_RANGER:
410                         if (plev > 14)
411                         {
412                                 info[i++] = _("あなたは怪物を調査することができる。(20 MP)", "You can prove monsters (cost 20).");
413                         }
414                         break;
415                 case CLASS_PALADIN:
416                         if (is_good_realm(p_ptr->realm1))
417                         {
418                                 if (plev > 29)
419                                 {
420                                         info[i++] = _("あなたは聖なる槍を放つことができる。(30 MP)", "You can fires a holy spear (cost 30).");
421                                 }
422                         }
423                         else
424                         {
425                                 if (plev > 29)
426                                 {
427                                         info[i++] = _("あなたは生命力を減少させる槍を放つことができる。(30 MP)", "You can fires a spear which drains vitality (cost 30).");
428                                 }
429                         }
430                         break;
431                 case CLASS_WARRIOR_MAGE:
432                         if (plev > 24)
433                         {
434                                 info[i++] = _("あなたはHPをMPに変換することができる。(0 MP)", "You can convert HP to SP (cost 0).");
435                                 info[i++] = _("あなたはMPをHPに変換することができる。(0 MP)", "You can convert SP to HP (cost 0).");
436                         }
437                         break;
438                 case CLASS_CHAOS_WARRIOR:
439                         if (plev > 39)
440                         {
441                                 info[i++] = _("あなたは周囲に怪物を惑わす光を発生させることができる。(50 MP)",
442                                                 "You can radiate light which confuses nearby monsters (cost 50).");
443                         }
444                         break;
445                 case CLASS_MONK:
446                         if (plev > 24)
447                         {
448                                 info[i++] = _("あなたは構えることができる。(0 MP)", "You can assume a posture of special form (cost 0).");
449                         }
450                         if (plev > 29)
451                         {
452                                 info[i++] = _("あなたは通常の2倍の攻撃を行うことができる。(30 MP)", "You can perform double attacks in a time (cost 30).");
453                         }
454                         break;
455                 case CLASS_MINDCRAFTER:
456                 case CLASS_FORCETRAINER:
457                         if (plev > 14)
458                         {
459                                 info[i++] = _("あなたは精神を集中してMPを回復させることができる。(0 MP)", "You can concentrate to regenerate your mana (cost 0).");
460                         }
461                         break;
462                 case CLASS_TOURIST:
463                         info[i++] = _("あなたは写真を撮影することができる。(0 MP)", "You can take a photograph (cost 0).");
464                         if (plev > 24)
465                         {
466                                 info[i++] = _("あなたはアイテムを完全に鑑定することができる。(20 MP)", "You can *identify* items (cost 20).");
467                         }
468                         break;
469                 case CLASS_IMITATOR:
470                         if (plev > 29)
471                         {
472                                 info[i++] = _("あなたは怪物の特殊攻撃をダメージ2倍でまねることができる。(100 MP)", 
473                                                 "You can imitate monster's special attacks with double damage (cost 100).");
474                         }
475                         break;
476                 case CLASS_BEASTMASTER:
477                         info[i++] = _("あなたは1体の生命のあるモンスターを支配することができる。(レベル/4 MP)", "You can dominate a monster (cost level/4).");
478                         if (plev > 29)
479                         {
480                                 info[i++] = _("あなたは視界内の生命のあるモンスターを支配することができる。((レベル+20)/2 MP)", 
481                                                 "You can dominate living monsters in sight (cost (level+20)/4).");
482                         }
483                         break;
484                 case CLASS_MAGIC_EATER:
485                         info[i++] = _("あなたは杖/魔法棒/ロッドの魔力を自分のものにすることができる。", "You can absorb a staff, wand or rod itself.");
486                         break;
487                 case CLASS_RED_MAGE:
488                         if (plev > 47)
489                         {
490                                 info[i++] = _("あなたは1ターンに2回魔法を唱えることができる。(20 MP)", "You can cast two spells in one time (cost 20).");
491                         }
492                         break;
493                 case CLASS_SAMURAI:
494                         {
495                                 info[i++] = _("あなたは精神を集中して気合いを溜めることができる。", "You can concentrate to regenerate your mana.");
496                         }
497                         if (plev > 24)
498                         {
499                                 info[i++] = _("あなたは特殊な型で構えることができる。", "You can assume a posture of special form.");
500                         }
501                         break;
502                 case CLASS_BLUE_MAGE:
503                         info[i++] = _("あなたは相手に使われた魔法を学ぶことができる。", "You can study spells which your enemy casts on you.");
504                         break;
505                 case CLASS_CAVALRY:
506                         if (plev > 9)
507                         {
508                                 info[i++] = _("あなたはモンスターに乗って無理矢理ペットにすることができる。", "You can ride on a hostile monster forcibly to current_world_ptr->game_turn it into pet.");
509                         }
510                         break;
511                 case CLASS_BERSERKER:
512                         if (plev > 9)
513                         {
514                                 info[i++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
515                         }
516                         break;
517                 case CLASS_MIRROR_MASTER:
518                         info[i++] = _("あなたは鏡を作り出すことができる。(2 MP)", "You can create a Mirror (cost 2).");
519                         info[i++] = _("あなたは鏡を割ることができる。(0 MP)", "You can break distant Mirrors (cost 0).");
520                         break;
521                 case CLASS_NINJA:
522                         if (plev > 19)
523                         {
524                                 info[i++] = _("あなたは素早く移動することができる。", "You can walk extremery fast.");
525                         }
526                         break;
527         }
528
529         if (p_ptr->muta1)
530         {
531                 if (p_ptr->muta1 & MUT1_SPIT_ACID)
532                 {
533                         info[i++] = _("あなたは酸を吹きかけることができる。(ダメージ レベルX1)", "You can spit acid (dam lvl).");
534                 }
535                 if (p_ptr->muta1 & MUT1_BR_FIRE)
536                 {
537                         info[i++] = _("あなたは炎のブレスを吐くことができる。(ダメージ レベルX2)", "You can breathe fire (dam lvl * 2).");
538                 }
539                 if (p_ptr->muta1 & MUT1_HYPN_GAZE)
540                 {
541                         info[i++] = _("あなたの睨みは催眠効果をもつ。", "Your gaze is hypnotic.");
542                 }
543                 if (p_ptr->muta1 & MUT1_TELEKINES)
544                 {
545                         info[i++] = _("あなたは念動力をもっている。", "You are telekinetic.");
546                 }
547                 if (p_ptr->muta1 & MUT1_VTELEPORT)
548                 {
549                         info[i++] = _("あなたは自分の意思でテレポートできる。", "You can teleport at will.");
550                 }
551                 if (p_ptr->muta1 & MUT1_MIND_BLST)
552                 {
553                         info[i++] = _("あなたは精神攻撃を行える。(ダメージ 3~12d3)", "You can Mind Blast your enemies (3 to 12d3 dam).");
554                 }
555                 if (p_ptr->muta1 & MUT1_RADIATION)
556                 {
557                         info[i++] = _("あなたは自分の意思で強い放射線を発生することができる。(ダメージ レベルX2)", "You can emit hard radiation at will (dam lvl * 2).");
558                 }
559                 if (p_ptr->muta1 & MUT1_VAMPIRISM)
560                 {
561                         info[i++] = _("あなたは吸血鬼のように敵から生命力を吸収することができる。(ダメージ レベルX2)", 
562                                                 "You can drain life from a foe like a vampire (dam lvl * 2).");
563                 }
564                 if (p_ptr->muta1 & MUT1_SMELL_MET)
565                 {
566                         info[i++] = _("あなたは近くにある貴金属をかぎ分けることができる。", "You can smell nearby precious metal.");
567                 }
568                 if (p_ptr->muta1 & MUT1_SMELL_MON)
569                 {
570                         info[i++] = _("あなたは近くのモンスターの存在をかぎ分けることができる。", "You can smell nearby monsters.");
571                 }
572                 if (p_ptr->muta1 & MUT1_BLINK)
573                 {
574                         info[i++] = _("あなたは短い距離をテレポートできる。", "You can teleport yourself short distances.");
575                 }
576                 if (p_ptr->muta1 & MUT1_EAT_ROCK)
577                 {
578                         info[i++] = _("あなたは硬い岩を食べることができる。", "You can consume solid rock.");
579                 }
580                 if (p_ptr->muta1 & MUT1_SWAP_POS)
581                 {
582                         info[i++] = _("あなたは他の者と場所を入れ替わることができる。", "You can switch locations with another being.");
583                 }
584                 if (p_ptr->muta1 & MUT1_SHRIEK)
585                 {
586                         info[i++] = _("あなたは身の毛もよだつ叫び声を発することができる。(ダメージ レベルX2)", "You can emit a horrible shriek (dam 2 * lvl).");
587                 }
588                 if (p_ptr->muta1 & MUT1_ILLUMINE)
589                 {
590                         info[i++] = _("あなたは明るい光を放つことができる。", "You can emit bright light.");
591                 }
592                 if (p_ptr->muta1 & MUT1_DET_CURSE)
593                 {
594                         info[i++] = _("あなたは邪悪な魔法の危険を感じとることができる。", "You can feel the danger of evil magic.");
595                 }
596                 if (p_ptr->muta1 & MUT1_BERSERK)
597                 {
598                         info[i++] = _("あなたは自分の意思で狂乱戦闘状態になることができる。", "You can drive yourself into a berserk frenzy.");
599                 }
600                 if (p_ptr->muta1 & MUT1_POLYMORPH)
601                 {
602                         info[i++] = _("あなたは自分の意志で変化できる。", "You can polymorph yourself at will.");
603                 }
604                 if (p_ptr->muta1 & MUT1_MIDAS_TCH)
605                 {
606                         info[i++] = _("あなたは通常アイテムを金に変えることができる。", "You can current_world_ptr->game_turn ordinary items to gold.");
607                 }
608                 if (p_ptr->muta1 & MUT1_GROW_MOLD)
609                 {
610                         info[i++] = _("あなたは周囲にキノコを生やすことができる。", "You can cause mold to grow near you.");
611                 }
612                 if (p_ptr->muta1 & MUT1_RESIST)
613                 {
614                         info[i++] = _("あなたは元素の攻撃に対して身を硬くすることができる。", "You can harden yourself to the ravages of the elements.");
615                 }
616                 if (p_ptr->muta1 & MUT1_EARTHQUAKE)
617                 {
618                         info[i++] = _("あなたは周囲のダンジョンを崩壊させることができる。", "You can bring down the dungeon around your ears.");
619                 }
620                 if (p_ptr->muta1 & MUT1_EAT_MAGIC)
621                 {
622                         info[i++] = _("あなたは魔法のエネルギーを自分の物として使用できる。", "You can consume magic energy for your own use.");
623                 }
624                 if (p_ptr->muta1 & MUT1_WEIGH_MAG)
625                 {
626                         info[i++] = _("あなたは自分に影響を与える魔法の力を感じることができる。", "You can feel the strength of the magics affecting you.");
627                 }
628                 if (p_ptr->muta1 & MUT1_STERILITY)
629                 {
630                         info[i++] = _("あなたは集団的生殖不能を起こすことができる。", "You can cause mass impotence.");
631                 }
632                 if (p_ptr->muta1 & MUT1_PANIC_HIT)
633                 {
634                         info[i++] = _("あなたは攻撃した後身を守るため逃げることができる。", "You can run for your life after hitting something.");
635                 }
636                 if (p_ptr->muta1 & MUT1_DAZZLE)
637                 {
638                         info[i++] = _("あなたは混乱と盲目を引き起こす放射能を発生することができる。 ", "You can emit confusing, blinding radiation.");
639                 }
640                 if (p_ptr->muta1 & MUT1_LASER_EYE)
641                 {
642                         info[i++] = _("あなたは目からレーザー光線を発することができる。(ダメージ レベルX2)", "Your eyes can fire laser beams (dam 2 * lvl).");
643                 }
644                 if (p_ptr->muta1 & MUT1_RECALL)
645                 {
646                         info[i++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
647                 }
648                 if (p_ptr->muta1 & MUT1_BANISH)
649                 {
650                         info[i++] = _("あなたは邪悪なモンスターを地獄に落とすことができる。", "You can send evil creatures directly to Hell.");
651                 }
652                 if (p_ptr->muta1 & MUT1_COLD_TOUCH)
653                 {
654                         info[i++] = _("あなたは敵を触って凍らせることができる。(ダメージ レベルX3)", "You can freeze things with a touch (dam 3 * lvl).");
655                 }
656                 if (p_ptr->muta1 & MUT1_LAUNCHER)
657                 {
658                         info[i++] = _("あなたはアイテムを力強く投げることができる。", "You can hurl objects with great force.");
659                 }
660         }
661
662         if (p_ptr->muta2)
663         {
664                 if (p_ptr->muta2 & MUT2_BERS_RAGE)
665                 {
666                         info[i++] = _("あなたは狂戦士化の発作を起こす。", "You are subject to berserker fits.");
667                 }
668                 if (p_ptr->muta2 & MUT2_COWARDICE)
669                 {
670                         info[i++] = _("あなたは時々臆病になる。", "You are subject to cowardice.");
671                 }
672                 if (p_ptr->muta2 & MUT2_RTELEPORT)
673                 {
674                         info[i++] = _("あなたはランダムにテレポートする。", "You are teleporting randomly.");
675                 }
676                 if (p_ptr->muta2 & MUT2_ALCOHOL)
677                 {
678                         info[i++] = _("あなたの体はアルコールを分泌する。", "Your body produces alcohol.");
679                 }
680                 if (p_ptr->muta2 & MUT2_HALLU)
681                 {
682                         info[i++] = _("あなたは幻覚を引き起こす精神錯乱に侵されている。", "You have a hallucinatory insanity.");
683                 }
684                 if (p_ptr->muta2 & MUT2_FLATULENT)
685                 {
686                         info[i++] = _("あなたは制御できない強烈な屁をこく。", "You are subject to uncontrollable flatulence.");
687                 }
688                 if (p_ptr->muta2 & MUT2_PROD_MANA)
689                 {
690                         info[i++] = _("あなたは制御不能な魔法のエネルギーを発している。", "You are producing magical energy uncontrollably.");
691                 }
692                 if (p_ptr->muta2 & MUT2_ATT_DEMON)
693                 {
694                         info[i++] = _("あなたはデーモンを引きつける。", "You attract demons.");
695                 }
696                 if (p_ptr->muta2 & MUT2_SCOR_TAIL)
697                 {
698                         info[i++] = _("あなたはサソリの尻尾が生えている。(毒、ダメージ 3d7)", "You have a scorpion tail (poison, 3d7).");
699                 }
700                 if (p_ptr->muta2 & MUT2_HORNS)
701                 {
702                         info[i++] = _("あなたは角が生えている。(ダメージ 2d6)", "You have horns (dam. 2d6).");
703                 }
704                 if (p_ptr->muta2 & MUT2_BEAK)
705                 {
706                         info[i++] = _("あなたはクチバシが生えている。(ダメージ 2d4)", "You have a beak (dam. 2d4).");
707                 }
708                 if (p_ptr->muta2 & MUT2_SPEED_FLUX)
709                 {
710                         info[i++] = _("あなたはランダムに早く動いたり遅く動いたりする。", "You move faster or slower randomly.");
711                 }
712                 if (p_ptr->muta2 & MUT2_BANISH_ALL)
713                 {
714                         info[i++] = _("あなたは時々近くのモンスターを消滅させる。", "You sometimes cause nearby creatures to vanish.");
715                 }
716                 if (p_ptr->muta2 & MUT2_EAT_LIGHT)
717                 {
718                         info[i++] = _("あなたは時々周囲の光を吸収して栄養にする。", "You sometimes feed off of the light around you.");
719                 }
720                 if (p_ptr->muta2 & MUT2_TRUNK)
721                 {
722                         info[i++] = _("あなたは象のような鼻を持っている。(ダメージ 1d4)", "You have an elephantine trunk (dam 1d4).");
723                 }
724                 if (p_ptr->muta2 & MUT2_ATT_ANIMAL)
725                 {
726                         info[i++] = _("あなたは動物を引きつける。", "You attract animals.");
727                 }
728                 if (p_ptr->muta2 & MUT2_TENTACLES)
729                 {
730                         info[i++] = _("あなたは邪悪な触手を持っている。(ダメージ 2d5)", "You have evil looking tentacles (dam 2d5).");
731                 }
732                 if (p_ptr->muta2 & MUT2_RAW_CHAOS)
733                 {
734                         info[i++] = _("あなたはしばしば純カオスに包まれる。", "You occasionally are surrounded with raw chaos.");
735                 }
736                 if (p_ptr->muta2 & MUT2_NORMALITY)
737                 {
738                         info[i++] = _("あなたは変異していたが、回復してきている。", "You may be mutated, but you're recovering.");
739                 }
740                 if (p_ptr->muta2 & MUT2_WRAITH)
741                 {
742                         info[i++] = _("あなたの肉体は幽体化したり実体化したりする。", "You fade in and out of physical reality.");
743                 }
744                 if (p_ptr->muta2 & MUT2_POLY_WOUND)
745                 {
746                         info[i++] = _("あなたの健康はカオスの力に影響を受ける。", "Your health is subject to chaotic forces.");
747                 }
748                 if (p_ptr->muta2 & MUT2_WASTING)
749                 {
750                         info[i++] = _("あなたは衰弱する恐ろしい病気にかかっている。", "You have a horrible wasting disease.");
751                 }
752                 if (p_ptr->muta2 & MUT2_ATT_DRAGON)
753                 {
754                         info[i++] = _("あなたはドラゴンを引きつける。", "You attract dragons.");
755                 }
756                 if (p_ptr->muta2 & MUT2_WEIRD_MIND)
757                 {
758                         info[i++] = _("あなたの精神はランダムに拡大したり縮小したりしている。", "Your mind randomly expands and contracts.");
759                 }
760                 if (p_ptr->muta2 & MUT2_NAUSEA)
761                 {
762                         info[i++] = _("あなたの胃は非常に落ち着きがない。", "You have a seriously upset stomach.");
763                 }
764                 if (p_ptr->muta2 & MUT2_CHAOS_GIFT)
765                 {
766                         info[i++] = _("あなたはカオスの守護悪魔から褒美をうけとる。", "Chaos deities give you gifts.");
767                 }
768                 if (p_ptr->muta2 & MUT2_WALK_SHAD)
769                 {
770                         info[i++] = _("あなたはしばしば他の「影」に迷い込む。", "You occasionally stumble into other shadows.");
771                 }
772                 if (p_ptr->muta2 & MUT2_WARNING)
773                 {
774                         info[i++] = _("あなたは敵に関する警告を感じる。", "You receive warnings about your foes.");
775                 }
776                 if (p_ptr->muta2 & MUT2_INVULN)
777                 {
778                         info[i++] = _("あなたは時々負け知らずな気分になる。", "You occasionally feel invincible.");
779                 }
780                 if (p_ptr->muta2 & MUT2_SP_TO_HP)
781                 {
782                         info[i++] = _("あなたは時々血が筋肉にどっと流れる。", "Your blood sometimes rushes to your muscles.");
783                 }
784                 if (p_ptr->muta2 & MUT2_HP_TO_SP)
785                 {
786                         info[i++] = _("あなたは時々頭に血がどっと流れる。", "Your blood sometimes rushes to your head.");
787                 }
788                 if (p_ptr->muta2 & MUT2_DISARM)
789                 {
790                         info[i++] = _("あなたはよくつまづいて物を落とす。", "You occasionally stumble and drop things.");
791                 }
792         }
793
794         if (p_ptr->muta3)
795         {
796                 if (p_ptr->muta3 & MUT3_HYPER_STR)
797                 {
798                         info[i++] = _("あなたは超人的に強い。(腕力+4)", "You are superhumanly strong (+4 STR).");
799                 }
800                 if (p_ptr->muta3 & MUT3_PUNY)
801                 {
802                         info[i++] = _("あなたは虚弱だ。(腕力-4)", "You are puny (-4 STR).");
803                 }
804                 if (p_ptr->muta3 & MUT3_HYPER_INT)
805                 {
806                         info[i++] = _("あなたの脳は生体コンピュータだ。(知能&賢さ+4)", "Your brain is a living computer (+4 INT/WIS).");
807                 }
808                 if (p_ptr->muta3 & MUT3_MORONIC)
809                 {
810                         info[i++] = _("あなたは精神薄弱だ。(知能&賢さ-4)", "You are moronic (-4 INT/WIS).");
811                 }
812                 if (p_ptr->muta3 & MUT3_RESILIENT)
813                 {
814                         info[i++] = _("あなたは非常にタフだ。(耐久+4)", "You are very resilient (+4 CON).");
815                 }
816                 if (p_ptr->muta3 & MUT3_XTRA_FAT)
817                 {
818                         info[i++] = _("あなたは極端に太っている。(耐久+2,スピード-2)", "You are extremely fat (+2 CON, -2 speed).");
819                 }
820                 if (p_ptr->muta3 & MUT3_ALBINO)
821                 {
822                         info[i++] = _("あなたはアルビノだ。(耐久-4)", "You are albino (-4 CON).");
823                 }
824                 if (p_ptr->muta3 & MUT3_FLESH_ROT)
825                 {
826                         info[i++] = _("あなたの肉体は腐敗している。(耐久-2,魅力-1)", "Your flesh is rotting (-2 CON, -1 CHR).");
827                 }
828                 if (p_ptr->muta3 & MUT3_SILLY_VOI)
829                 {
830                         info[i++] = _("あなたの声は間抜けなキーキー声だ。(魅力-4)", "Your voice is a silly squeak (-4 CHR).");
831                 }
832                 if (p_ptr->muta3 & MUT3_BLANK_FAC)
833                 {
834                         info[i++] = _("あなたはのっぺらぼうだ。(魅力-1)", "Your face is featureless (-1 CHR).");
835                 }
836                 if (p_ptr->muta3 & MUT3_ILL_NORM)
837                 {
838                         info[i++] = _("あなたは幻影に覆われている。", "Your appearance is masked with illusion.");
839                 }
840                 if (p_ptr->muta3 & MUT3_XTRA_EYES)
841                 {
842                         info[i++] = _("あなたは余分に二つの目を持っている。(探索+15)", "You have an extra pair of eyes (+15 search).");
843                 }
844                 if (p_ptr->muta3 & MUT3_MAGIC_RES)
845                 {
846                         info[i++] = _("あなたは魔法への耐性をもっている。", "You are resistant to magic.");
847                 }
848                 if (p_ptr->muta3 & MUT3_XTRA_NOIS)
849                 {
850                         info[i++] = _("あなたは変な音を発している。(隠密-3)", "You make a lot of strange noise (-3 stealth).");
851                 }
852                 if (p_ptr->muta3 & MUT3_INFRAVIS)
853                 {
854                         info[i++] = _("あなたは素晴らしい赤外線視力を持っている。(+3)", "You have remarkable infravision (+3).");
855                 }
856                 if (p_ptr->muta3 & MUT3_XTRA_LEGS)
857                 {
858                         info[i++] = _("あなたは余分に二本の足が生えている。(加速+3)", "You have an extra pair of legs (+3 speed).");
859                 }
860                 if (p_ptr->muta3 & MUT3_SHORT_LEG)
861                 {
862                         info[i++] = _("あなたの足は短い突起だ。(加速-3)", "Your legs are short stubs (-3 speed).");
863                 }
864                 if (p_ptr->muta3 & MUT3_ELEC_TOUC)
865                 {
866                         info[i++] = _("あなたの血管には電流が流れている。", "Electricity is running through your veins.");
867                 }
868                 if (p_ptr->muta3 & MUT3_FIRE_BODY)
869                 {
870                         info[i++] = _("あなたの体は炎につつまれている。", "Your body is enveloped in flames.");
871                 }
872                 if (p_ptr->muta3 & MUT3_WART_SKIN)
873                 {
874                         info[i++] = _("あなたの肌はイボに被われている。(魅力-2, AC+5)", "Your skin is covered with warts (-2 CHR, +5 AC).");
875                 }
876                 if (p_ptr->muta3 & MUT3_SCALES)
877                 {
878                         info[i++] = _("あなたの肌は鱗になっている。(魅力-1, AC+10)", "Your skin has turned into scales (-1 CHR, +10 AC).");
879                 }
880                 if (p_ptr->muta3 & MUT3_IRON_SKIN)
881                 {
882                         info[i++] = _("あなたの肌は鉄でできている。(器用-1, AC+25)", "Your skin is made of steel (-1 DEX, +25 AC).");
883                 }
884                 if (p_ptr->muta3 & MUT3_WINGS)
885                 {
886                         info[i++] = _("あなたは羽を持っている。", "You have wings.");
887                 }
888                 if (p_ptr->muta3 & MUT3_FEARLESS)
889                 {
890                         /* Unnecessary */
891                 }
892                 if (p_ptr->muta3 & MUT3_REGEN)
893                 {
894                         /* Unnecessary */
895                 }
896                 if (p_ptr->muta3 & MUT3_ESP)
897                 {
898                         /* Unnecessary */
899                 }
900                 if (p_ptr->muta3 & MUT3_LIMBER)
901                 {
902                         info[i++] = _("あなたの体は非常にしなやかだ。(器用+3)", "Your body is very limber (+3 DEX).");
903                 }
904                 if (p_ptr->muta3 & MUT3_ARTHRITIS)
905                 {
906                         info[i++] = _("あなたはいつも関節に痛みを感じている。(器用-3)", "Your joints ache constantly (-3 DEX).");
907                 }
908                 if (p_ptr->muta3 & MUT3_VULN_ELEM)
909                 {
910                         info[i++] = _("あなたは元素の攻撃に弱い。", "You are susceptible to damage from the elements.");
911                 }
912                 if (p_ptr->muta3 & MUT3_MOTION)
913                 {
914                         info[i++] = _("あなたの動作は正確で力強い。(隠密+1)", "Your movements are precise and forceful (+1 STL).");
915                 }
916                 if (p_ptr->muta3 & MUT3_GOOD_LUCK)
917                 {
918                         info[i++] = _("あなたは白いオーラにつつまれている。", "There is a white aura surrounding you.");
919                 }
920                 if (p_ptr->muta3 & MUT3_BAD_LUCK)
921                 {
922                         info[i++] = _("あなたは黒いオーラにつつまれている。", "There is a black aura surrounding you.");
923                 }
924         }
925
926         if (p_ptr->blind)
927         {
928                 info[i++] = _("あなたは目が見えない。", "You cannot see.");
929         }
930         if (p_ptr->confused)
931         {
932                 info[i++] = _("あなたは混乱している。", "You are confused.");
933         }
934         if (p_ptr->afraid)
935         {
936                 info[i++] = _("あなたは恐怖に侵されている。", "You are terrified.");
937         }
938         if (p_ptr->cut)
939         {
940                 info[i++] = _("あなたは出血している。", "You are bleeding.");
941         }
942         if (p_ptr->stun)
943         {
944                 info[i++] = _("あなたはもうろうとしている。", "You are stunned.");
945         }
946         if (p_ptr->poisoned)
947         {
948                 info[i++] = _("あなたは毒に侵されている。", "You are poisoned.");
949         }
950         if (p_ptr->image)
951         {
952                 info[i++] = _("あなたは幻覚を見ている。", "You are hallucinating.");
953         }
954         if (p_ptr->cursed & TRC_TY_CURSE)
955         {
956                 info[i++] = _("あなたは邪悪な怨念に包まれている。", "You carry an ancient foul curse.");
957         }
958         if (p_ptr->cursed & TRC_AGGRAVATE)
959         {
960                 info[i++] = _("あなたはモンスターを怒らせている。", "You aggravate monsters.");
961         }
962         if (p_ptr->cursed & TRC_DRAIN_EXP)
963         {
964                 info[i++] = _("あなたは経験値を吸われている。", "You are drained.");
965         }
966         if (p_ptr->cursed & TRC_SLOW_REGEN)
967         {
968                 info[i++] = _("あなたの回復力は非常に遅い。", "You regenerate slowly.");
969         }
970         if (p_ptr->cursed & TRC_ADD_L_CURSE)
971         {
972                 info[i++] = _("あなたの弱い呪いは増える。","Your weak curses multiply."); /* 暫定的 -- henkma */
973         }
974         if (p_ptr->cursed & TRC_ADD_H_CURSE)
975         {
976                 info[i++] = _("あなたの強い呪いは増える。","Your heavy curses multiply."); /* 暫定的 -- henkma */
977         }
978         if (p_ptr->cursed & TRC_CALL_ANIMAL)
979         {
980                 info[i++] = _("あなたは動物に狙われている。", "You attract animals.");
981         }
982         if (p_ptr->cursed & TRC_CALL_DEMON)
983         {
984                 info[i++] = _("あなたは悪魔に狙われている。", "You attract demons.");
985         }
986         if (p_ptr->cursed & TRC_CALL_DRAGON)
987         {
988                 info[i++] = _("あなたはドラゴンに狙われている。", "You attract dragons.");
989         }
990         if (p_ptr->cursed & TRC_COWARDICE)
991         {
992                 info[i++] = _("あなたは時々臆病になる。", "You are subject to cowardice.");
993         }
994         if (p_ptr->cursed & TRC_TELEPORT)
995         {
996                 info[i++] = _("あなたの位置はひじょうに不安定だ。", "Your position is very uncertain.");
997         }
998         if (p_ptr->cursed & TRC_LOW_MELEE)
999         {
1000                 info[i++] = _("あなたの武器は攻撃を外しやすい。", "Your weapon causes you to miss blows.");
1001         }
1002         if (p_ptr->cursed & TRC_LOW_AC)
1003         {
1004                 info[i++] = _("あなたは攻撃を受けやすい。", "You are subject to be hit.");
1005         }
1006         if (p_ptr->cursed & TRC_LOW_MAGIC)
1007         {
1008                 info[i++] = _("あなたは魔法を失敗しやすい。", "You are subject to fail spellcasting.");
1009         }
1010         if (p_ptr->cursed & TRC_FAST_DIGEST)
1011         {
1012                 info[i++] = _("あなたはすぐお腹がへる。", "You have a good appetite.");
1013         }
1014         if (p_ptr->cursed & TRC_DRAIN_HP)
1015         {
1016                 info[i++] = _("あなたは体力を吸われている。", "You are drained.");
1017         }
1018         if (p_ptr->cursed & TRC_DRAIN_MANA)
1019         {
1020                 info[i++] = _("あなたは魔力を吸われている。", "You brain is drained.");
1021         }
1022         if (IS_BLESSED())
1023         {
1024                 info[i++] = _("あなたは高潔さを感じている。", "You feel rightous.");
1025         }
1026         if (IS_HERO())
1027         {
1028                 info[i++] = _("あなたはヒーロー気分だ。", "You feel heroic.");
1029         }
1030         if (p_ptr->shero)
1031         {
1032                 info[i++] = _("あなたは戦闘狂だ。", "You are in a battle rage.");
1033         }
1034         if (p_ptr->protevil)
1035         {
1036                 info[i++] = _("あなたは邪悪なる存在から守られている。", "You are protected from evil.");
1037         }
1038         if (p_ptr->shield)
1039         {
1040                 info[i++] = _("あなたは神秘のシールドで守られている。", "You are protected by a mystic shield.");
1041         }
1042         if (IS_INVULN())
1043         {
1044                 info[i++] = _("あなたは現在傷つかない。", "You are temporarily invulnerable.");
1045         }
1046         if (p_ptr->wraith_form)
1047         {
1048                 info[i++] = _("あなたは一時的に幽体化している。", "You are temporarily incorporeal.");
1049         }
1050         if (p_ptr->special_attack & ATTACK_CONFUSE)
1051         {
1052                 info[i++] = _("あなたの手は赤く輝いている。", "Your hands are glowing dull red.");
1053         }
1054         if (p_ptr->special_attack & ATTACK_FIRE)
1055         {
1056                 info[i++] = _("あなたの手は火炎に覆われている。", "You can strike the enemy with flame.");
1057         }
1058         if (p_ptr->special_attack & ATTACK_COLD)
1059         {
1060                 info[i++] = _("あなたの手は冷気に覆われている。", "You can strike the enemy with cold.");
1061         }
1062         if (p_ptr->special_attack & ATTACK_ACID)
1063         {
1064                 info[i++] = _("あなたの手は酸に覆われている。", "You can strike the enemy with acid.");
1065         }
1066         if (p_ptr->special_attack & ATTACK_ELEC)
1067         {
1068                 info[i++] = _("あなたの手は電撃に覆われている。", "You can strike the enemy with electoric shock.");
1069         }
1070         if (p_ptr->special_attack & ATTACK_POIS)
1071         {
1072                 info[i++] = _("あなたの手は毒に覆われている。", "You can strike the enemy with poison.");
1073         }
1074         switch (p_ptr->action)
1075         {
1076                 case ACTION_SEARCH:
1077                         info[i++] = _("あなたはひじょうに注意深く周囲を見渡している。", "You are looking around very carefully.");
1078                         break;
1079         }
1080         if (p_ptr->new_spells)
1081         {
1082                 info[i++] = _("あなたは呪文や祈りを学ぶことができる。", "You can learn some spells/prayers.");
1083         }
1084         if (p_ptr->word_recall)
1085         {
1086                 info[i++] = _("あなたはすぐに帰還するだろう。", "You will soon be recalled.");
1087         }
1088         if (p_ptr->alter_reality)
1089         {
1090                 info[i++] = _("あなたはすぐにこの世界を離れるだろう。", "You will soon be altered.");
1091         }
1092         if (p_ptr->see_infra)
1093         {
1094                 info[i++] = _("あなたの瞳は赤外線に敏感である。", "Your eyes are sensitive to infrared light.");
1095         }
1096         if (p_ptr->see_inv)
1097         {
1098                 info[i++] = _("あなたは透明なモンスターを見ることができる。", "You can see invisible creatures.");
1099         }
1100         if (p_ptr->levitation)
1101         {
1102                 info[i++] = _("あなたは飛ぶことができる。", "You can fly.");
1103         }
1104         if (p_ptr->free_act)
1105         {
1106                 info[i++] = _("あなたは麻痺知らずの効果を持っている。", "You have free action.");
1107         }
1108         if (p_ptr->regenerate)
1109         {
1110                 info[i++] = _("あなたは素早く体力を回復する。", "You regenerate quickly.");
1111         }
1112         if (p_ptr->slow_digest)
1113         {
1114                 info[i++] = _("あなたは食欲が少ない。", "Your appetite is small.");
1115         }
1116         if (p_ptr->telepathy)
1117         {
1118                 info[i++] = _("あなたはテレパシー能力を持っている。", "You have ESP.");
1119         }
1120         if (p_ptr->esp_animal)
1121         {
1122                 info[i++] = _("あなたは自然界の生物の存在を感じる能力を持っている。", "You sense natural creatures.");
1123         }
1124         if (p_ptr->esp_undead)
1125         {
1126                 info[i++] = _("あなたはアンデッドの存在を感じる能力を持っている。", "You sense undead.");
1127         }
1128         if (p_ptr->esp_demon)
1129         {
1130                 info[i++] = _("あなたは悪魔の存在を感じる能力を持っている。", "You sense demons.");
1131         }
1132         if (p_ptr->esp_orc)
1133         {
1134                 info[i++] = _("あなたはオークの存在を感じる能力を持っている。", "You sense orcs.");
1135         }
1136         if (p_ptr->esp_troll)
1137         {
1138                 info[i++] = _("あなたはトロルの存在を感じる能力を持っている。", "You sense trolls.");
1139         }
1140         if (p_ptr->esp_giant)
1141         {
1142                 info[i++] = _("あなたは巨人の存在を感じる能力を持っている。", "You sense giants.");
1143         }
1144         if (p_ptr->esp_dragon)
1145         {
1146                 info[i++] = _("あなたはドラゴンの存在を感じる能力を持っている。", "You sense dragons.");
1147         }
1148         if (p_ptr->esp_human)
1149         {
1150                 info[i++] = _("あなたは人間の存在を感じる能力を持っている。", "You sense humans.");
1151         }
1152         if (p_ptr->esp_evil)
1153         {
1154                 info[i++] = _("あなたは邪悪な生き物の存在を感じる能力を持っている。", "You sense evil creatures.");
1155         }
1156         if (p_ptr->esp_good)
1157         {
1158                 info[i++] = _("あなたは善良な生き物の存在を感じる能力を持っている。", "You sense good creatures.");
1159         }
1160         if (p_ptr->esp_nonliving)
1161         {
1162                 info[i++] = _("あなたは活動する無生物体の存在を感じる能力を持っている。", "You sense non-living creatures.");
1163         }
1164         if (p_ptr->esp_unique)
1165         {
1166                 info[i++] = _("あなたは特別な強敵の存在を感じる能力を持っている。", "You sense unique monsters.");
1167         }
1168         if (p_ptr->hold_exp)
1169         {
1170                 info[i++] = _("あなたは自己の経験値をしっかりと維持する。", "You have a firm hold on your experience.");
1171         }
1172         if (p_ptr->reflect)
1173         {
1174                 info[i++] = _("あなたは矢の呪文を反射する。", "You reflect bolt spells.");
1175         }
1176         if (p_ptr->sh_fire)
1177         {
1178                 info[i++] = _("あなたは炎のオーラに包まれている。", "You are surrounded with a fiery aura.");
1179         }
1180         if (p_ptr->sh_elec)
1181         {
1182                 info[i++] = _("あなたは電気に包まれている。", "You are surrounded with electricity.");
1183         }
1184         if (p_ptr->sh_cold)
1185         {
1186                 info[i++] = _("あなたは冷気のオーラに包まれている。", "You are surrounded with an aura of coldness.");
1187         }
1188         if (p_ptr->tim_sh_holy)
1189         {
1190                 info[i++] = _("あなたは聖なるオーラに包まれている。", "You are surrounded with a holy aura.");
1191         }
1192         if (p_ptr->tim_sh_touki)
1193         {
1194                 info[i++] = _("あなたは闘気のオーラに包まれている。", "You are surrounded with a energy aura.");
1195         }
1196         if (p_ptr->anti_magic)
1197         {
1198                 info[i++] = _("あなたは反魔法シールドに包まれている。", "You are surrounded by an anti-magic shell.");
1199         }
1200         if (p_ptr->anti_tele)
1201         {
1202                 info[i++] = _("あなたはテレポートできない。", "You cannot teleport.");
1203         }
1204         if (p_ptr->lite)
1205         {
1206                 info[i++] = _("あなたの身体は光っている。", "You are carrying a permanent light.");
1207         }
1208         if (p_ptr->warning)
1209         {
1210                 info[i++] = _("あなたは行動の前に危険を察知することができる。", "You will be warned before dangerous actions.");
1211         }
1212         if (p_ptr->dec_mana)
1213         {
1214                 info[i++] = _("あなたは少ない消費魔力で魔法を唱えることができる。", "You can cast spells with fewer mana points.");
1215         }
1216         if (p_ptr->easy_spell)
1217         {
1218                 info[i++] = _("あなたは低い失敗率で魔法を唱えることができる。", "Fail rate of your magic is decreased.");
1219         }
1220         if (p_ptr->heavy_spell)
1221         {
1222                 info[i++] = _("あなたは高い失敗率で魔法を唱えなければいけない。", "Fail rate of your magic is increased.");
1223         }
1224         if (p_ptr->mighty_throw)
1225         {
1226                 info[i++] = _("あなたは強く物を投げる。", "You can throw objects powerfully.");
1227         }
1228
1229         if (p_ptr->immune_acid)
1230         {
1231                 info[i++] = _("あなたは酸に対する完全なる免疫を持っている。", "You are completely immune to acid.");
1232         }
1233         else if (p_ptr->resist_acid && IS_OPPOSE_ACID())
1234         {
1235                 info[i++] = _("あなたは酸への強力な耐性を持っている。", "You resist acid exceptionally well.");
1236         }
1237         else if (p_ptr->resist_acid || IS_OPPOSE_ACID())
1238         {
1239                 info[i++] = _("あなたは酸への耐性を持っている。", "You are resistant to acid.");
1240         }
1241
1242         if (p_ptr->immune_elec)
1243         {
1244                 info[i++] = _("あなたは電撃に対する完全なる免疫を持っている。", "You are completely immune to lightning.");
1245         }
1246         else if (p_ptr->resist_elec && IS_OPPOSE_ELEC())
1247         {
1248                 info[i++] = _("あなたは電撃への強力な耐性を持っている。", "You resist lightning exceptionally well.");
1249         }
1250         else if (p_ptr->resist_elec || IS_OPPOSE_ELEC())
1251         {
1252                 info[i++] = _("あなたは電撃への耐性を持っている。", "You are resistant to lightning.");
1253         }
1254
1255         if (prace_is_(RACE_ANDROID) && !p_ptr->immune_elec)
1256         {
1257                 info[i++] = _("あなたは電撃に弱い。", "You are susceptible to damage from lightning.");
1258         }
1259
1260         if (p_ptr->immune_fire)
1261         {
1262                 info[i++] = _("あなたは火に対する完全なる免疫を持っている。", "You are completely immune to fire.");
1263         }
1264         else if (p_ptr->resist_fire && IS_OPPOSE_FIRE())
1265         {
1266                 info[i++] = _("あなたは火への強力な耐性を持っている。", "You resist fire exceptionally well.");
1267         }
1268         else if (p_ptr->resist_fire || IS_OPPOSE_FIRE())
1269         {
1270                 info[i++] = _("あなたは火への耐性を持っている。", "You are resistant to fire.");
1271         }
1272
1273         if (prace_is_(RACE_ENT) && !p_ptr->immune_fire)
1274         {
1275                 info[i++] = _("あなたは火に弱い。", "You are susceptible to damage from fire.");
1276         }
1277
1278         if (p_ptr->immune_cold)
1279         {
1280                 info[i++] = _("あなたは冷気に対する完全なる免疫を持っている。", "You are completely immune to cold.");
1281         }
1282         else if (p_ptr->resist_cold && IS_OPPOSE_COLD())
1283         {
1284                 info[i++] = _("あなたは冷気への強力な耐性を持っている。", "You resist cold exceptionally well.");
1285         }
1286         else if (p_ptr->resist_cold || IS_OPPOSE_COLD())
1287         {
1288                 info[i++] = _("あなたは冷気への耐性を持っている。", "You are resistant to cold.");
1289         }
1290
1291         if (p_ptr->resist_pois && IS_OPPOSE_POIS())
1292         {
1293                 info[i++] = _("あなたは毒への強力な耐性を持っている。", "You resist poison exceptionally well.");
1294         }
1295         else if (p_ptr->resist_pois || IS_OPPOSE_POIS())
1296         {
1297                 info[i++] = _("あなたは毒への耐性を持っている。", "You are resistant to poison.");
1298         }
1299
1300         if (p_ptr->resist_lite)
1301         {
1302                 info[i++] = _("あなたは閃光への耐性を持っている。", "You are resistant to bright light.");
1303         }
1304
1305         if (prace_is_(RACE_VAMPIRE) || prace_is_(RACE_S_FAIRY) || (p_ptr->mimic_form == MIMIC_VAMPIRE))
1306         {
1307                 info[i++] = _("あなたは閃光に弱い。", "You are susceptible to damage from bright light.");
1308         }
1309
1310         if (prace_is_(RACE_VAMPIRE) || (p_ptr->mimic_form == MIMIC_VAMPIRE) || p_ptr->wraith_form)
1311         {
1312                 info[i++] = _("あなたは暗黒に対する完全なる免疫を持っている。", "You are completely immune to darkness.");
1313         }
1314
1315         else if (p_ptr->resist_dark)
1316         {
1317                 info[i++] = _("あなたは暗黒への耐性を持っている。", "You are resistant to darkness.");
1318         }
1319         if (p_ptr->resist_conf)
1320         {
1321                 info[i++] = _("あなたは混乱への耐性を持っている。", "You are resistant to confusion.");
1322         }
1323         if (p_ptr->resist_sound)
1324         {
1325                 info[i++] = _("あなたは音波の衝撃への耐性を持っている。", "You are resistant to sonic attacks.");
1326         }
1327         if (p_ptr->resist_disen)
1328         {
1329                 info[i++] = _("あなたは劣化への耐性を持っている。", "You are resistant to disenchantment.");
1330         }
1331         if (p_ptr->resist_chaos)
1332         {
1333                 info[i++] = _("あなたはカオスの力への耐性を持っている。", "You are resistant to chaos.");
1334         }
1335         if (p_ptr->resist_shard)
1336         {
1337                 info[i++] = _("あなたは破片の攻撃への耐性を持っている。", "You are resistant to blasts of shards.");
1338         }
1339         if (p_ptr->resist_nexus)
1340         {
1341                 info[i++] = _("あなたは因果混乱の攻撃への耐性を持っている。", "You are resistant to nexus attacks.");
1342         }
1343
1344         if (prace_is_(RACE_SPECTRE))
1345         {
1346                 info[i++] = _("あなたは地獄の力を吸収できる。", "You can drain nether forces.");
1347         }
1348         else if (p_ptr->resist_neth)
1349         {
1350                 info[i++] = _("あなたは地獄の力への耐性を持っている。", "You are resistant to nether forces.");
1351         }
1352         if (p_ptr->resist_fear)
1353         {
1354                 info[i++] = _("あなたは全く恐怖を感じない。", "You are completely fearless.");
1355         }
1356         if (p_ptr->resist_blind)
1357         {
1358                 info[i++] = _("あなたの目は盲目への耐性を持っている。", "Your eyes are resistant to blindness.");
1359         }
1360         if (p_ptr->resist_time)
1361         {
1362                 info[i++] = _("あなたは時間逆転への耐性を持っている。", "You are resistant to time.");
1363         }
1364
1365         if (p_ptr->sustain_str)
1366         {
1367                 info[i++] = _("あなたの腕力は維持されている。", "Your strength is sustained.");
1368         }
1369         if (p_ptr->sustain_int)
1370         {
1371                 info[i++] = _("あなたの知能は維持されている。", "Your intelligence is sustained.");
1372         }
1373         if (p_ptr->sustain_wis)
1374         {
1375                 info[i++] = _("あなたの賢さは維持されている。", "Your wisdom is sustained.");
1376         }
1377         if (p_ptr->sustain_con)
1378         {
1379                 info[i++] = _("あなたの耐久力は維持されている。", "Your constitution is sustained.");
1380         }
1381         if (p_ptr->sustain_dex)
1382         {
1383                 info[i++] = _("あなたの器用さは維持されている。", "Your dexterity is sustained.");
1384         }
1385         if (p_ptr->sustain_chr)
1386         {
1387                 info[i++] = _("あなたの魅力は維持されている。", "Your charisma is sustained.");
1388         }
1389
1390         if (have_flag(flgs, TR_STR))
1391         {
1392                 info[i++] = _("あなたの腕力は装備によって影響を受けている。", "Your strength is affected by your equipment.");
1393         }
1394         if (have_flag(flgs, TR_INT))
1395         {
1396                 info[i++] = _("あなたの知能は装備によって影響を受けている。", "Your intelligence is affected by your equipment.");
1397         }
1398         if (have_flag(flgs, TR_WIS))
1399         {
1400                 info[i++] = _("あなたの賢さは装備によって影響を受けている。", "Your wisdom is affected by your equipment.");
1401         }
1402         if (have_flag(flgs, TR_DEX))
1403         {
1404                 info[i++] = _("あなたの器用さは装備によって影響を受けている。", "Your dexterity is affected by your equipment.");
1405         }
1406         if (have_flag(flgs, TR_CON))
1407         {
1408                 info[i++] = _("あなたの耐久力は装備によって影響を受けている。", "Your constitution is affected by your equipment.");
1409         }
1410         if (have_flag(flgs, TR_CHR))
1411         {
1412                 info[i++] = _("あなたの魅力は装備によって影響を受けている。", "Your charisma is affected by your equipment.");
1413         }
1414
1415         if (have_flag(flgs, TR_STEALTH))
1416         {
1417                 info[i++] = _("あなたの隠密行動能力は装備によって影響を受けている。", "Your stealth is affected by your equipment.");
1418         }
1419         if (have_flag(flgs, TR_SEARCH))
1420         {
1421                 info[i++] = _("あなたの探索能力は装備によって影響を受けている。", "Your searching ability is affected by your equipment.");
1422         }
1423         if (have_flag(flgs, TR_INFRA))
1424         {
1425                 info[i++] = _("あなたの赤外線視力は装備によって影響を受けている。", "Your infravision is affected by your equipment.");
1426         }
1427         if (have_flag(flgs, TR_TUNNEL))
1428         {
1429                 info[i++] = _("あなたの採掘能力は装備によって影響を受けている。", "Your digging ability is affected by your equipment.");
1430         }
1431         if (have_flag(flgs, TR_SPEED))
1432         {
1433                 info[i++] = _("あなたのスピードは装備によって影響を受けている。", "Your speed is affected by your equipment.");
1434         }
1435         if (have_flag(flgs, TR_BLOWS))
1436         {
1437                 info[i++] = _("あなたの攻撃速度は装備によって影響を受けている。", "Your attack speed is affected by your equipment.");
1438         }
1439
1440
1441         /* Access the current weapon */
1442         o_ptr = &p_ptr->inventory_list[INVEN_RARM];
1443
1444         /* Analyze the weapon */
1445         if (o_ptr->k_idx)
1446         {
1447                 /* Indicate Blessing */
1448                 if (have_flag(flgs, TR_BLESSED))
1449                 {
1450                         info[i++] = _("あなたの武器は神の祝福を受けている。", "Your weapon has been blessed by the gods.");
1451                 }
1452
1453                 if (have_flag(flgs, TR_CHAOTIC))
1454                 {
1455                         info[i++] = _("あなたの武器はログルスの徴の属性をもつ。", "Your weapon is branded with the Sign of Logrus.");
1456                 }
1457
1458                 if (have_flag(flgs, TR_IMPACT))
1459                 {
1460                         info[i++] = _("あなたの武器は打撃で地震を発生することができる。", "The impact of your weapon can cause earthquakes.");
1461                 }
1462
1463                 if (have_flag(flgs, TR_VORPAL))
1464                 {
1465                         info[i++] = _("あなたの武器は非常に鋭い。", "Your weapon is very sharp.");
1466                 }
1467
1468                 if (have_flag(flgs, TR_VAMPIRIC))
1469                 {
1470                         info[i++] = _("あなたの武器は敵から生命力を吸収する。", "Your weapon drains life from your foes.");
1471                 }
1472
1473                 /* Special "Attack Bonuses" */
1474                 if (have_flag(flgs, TR_BRAND_ACID))
1475                 {
1476                         info[i++] = _("あなたの武器は敵を溶かす。", "Your weapon melts your foes.");
1477                 }
1478                 if (have_flag(flgs, TR_BRAND_ELEC))
1479                 {
1480                         info[i++] = _("あなたの武器は敵を感電させる。", "Your weapon shocks your foes.");
1481                 }
1482                 if (have_flag(flgs, TR_BRAND_FIRE))
1483                 {
1484                         info[i++] = _("あなたの武器は敵を燃やす。", "Your weapon burns your foes.");
1485                 }
1486                 if (have_flag(flgs, TR_BRAND_COLD))
1487                 {
1488                         info[i++] = _("あなたの武器は敵を凍らせる。", "Your weapon freezes your foes.");
1489                 }
1490                 if (have_flag(flgs, TR_BRAND_POIS))
1491                 {
1492                         info[i++] = _("あなたの武器は敵を毒で侵す。", "Your weapon poisons your foes.");
1493                 }
1494
1495                 /* Special "slay" flags */
1496                 if (have_flag(flgs, TR_KILL_ANIMAL))
1497                 {
1498                         info[i++] = _("あなたの武器は動物の天敵である。", "Your weapon is a great bane of animals.");
1499                 }
1500                 else if (have_flag(flgs, TR_SLAY_ANIMAL))
1501                 {
1502                         info[i++] = _("あなたの武器は動物に対して強い力を発揮する。", "Your weapon strikes at animals with extra force.");
1503                 }
1504                 if (have_flag(flgs, TR_KILL_EVIL))
1505                 {
1506                         info[i++] = _("あなたの武器は邪悪なる存在の天敵である。", "Your weapon is a great bane of evil.");
1507                 }
1508                 else if (have_flag(flgs, TR_SLAY_EVIL))
1509                 {
1510                         info[i++] = _("あなたの武器は邪悪なる存在に対して強い力を発揮する。", "Your weapon strikes at evil with extra force.");
1511                 }
1512                 if (have_flag(flgs, TR_KILL_HUMAN))
1513                 {
1514                         info[i++] = _("あなたの武器は人間の天敵である。", "Your weapon is a great bane of humans.");
1515                 }
1516                 else if (have_flag(flgs, TR_SLAY_HUMAN))
1517                 {
1518                         info[i++] = _("あなたの武器は人間に対して特に強い力を発揮する。", "Your weapon is especially deadly against humans.");
1519                 }
1520                 if (have_flag(flgs, TR_KILL_UNDEAD))
1521                 {
1522                         info[i++] = _("あなたの武器はアンデッドの天敵である。", "Your weapon is a great bane of undead.");
1523                 }
1524                 else if (have_flag(flgs, TR_SLAY_UNDEAD))
1525                 {
1526                         info[i++] = _("あなたの武器はアンデッドに対して神聖なる力を発揮する。", "Your weapon strikes at undead with holy wrath.");
1527                 }
1528                 if (have_flag(flgs, TR_KILL_DEMON))
1529                 {
1530                         info[i++] = _("あなたの武器はデーモンの天敵である。", "Your weapon is a great bane of demons.");
1531                 }
1532                 else if (have_flag(flgs, TR_SLAY_DEMON))
1533                 {
1534                         info[i++] = _("あなたの武器はデーモンに対して神聖なる力を発揮する。", "Your weapon strikes at demons with holy wrath.");
1535                 }
1536                 if (have_flag(flgs, TR_KILL_ORC))
1537                 {
1538                         info[i++] = _("あなたの武器はオークの天敵である。", "Your weapon is a great bane of orcs.");
1539                 }
1540                 else if (have_flag(flgs, TR_SLAY_ORC))
1541                 {
1542                         info[i++] = _("あなたの武器はオークに対して特に強い力を発揮する。", "Your weapon is especially deadly against orcs.");
1543                 }
1544                 if (have_flag(flgs, TR_KILL_TROLL))
1545                 {
1546                         info[i++] = _("あなたの武器はトロルの天敵である。", "Your weapon is a great bane of trolls.");
1547                 }
1548                 else if (have_flag(flgs, TR_SLAY_TROLL))
1549                 {
1550                         info[i++] = _("あなたの武器はトロルに対して特に強い力を発揮する。", "Your weapon is especially deadly against trolls.");
1551                 }
1552                 if (have_flag(flgs, TR_KILL_GIANT))
1553                 {
1554                         info[i++] = _("あなたの武器はジャイアントの天敵である。", "Your weapon is a great bane of giants.");
1555                 }
1556                 else if (have_flag(flgs, TR_SLAY_GIANT))
1557                 {
1558                         info[i++] = _("あなたの武器はジャイアントに対して特に強い力を発揮する。", "Your weapon is especially deadly against giants.");
1559                 }
1560                 /* Special "kill" flags */
1561                 if (have_flag(flgs, TR_KILL_DRAGON))
1562                 {
1563                         info[i++] = _("あなたの武器はドラゴンの天敵である。", "Your weapon is a great bane of dragons.");
1564                 }
1565                 else if (have_flag(flgs, TR_SLAY_DRAGON))
1566                 {
1567                         info[i++] = _("あなたの武器はドラゴンに対して特に強い力を発揮する。", "Your weapon is especially deadly against dragons.");
1568                 }
1569
1570                 if (have_flag(flgs, TR_FORCE_WEAPON))
1571                 {
1572                         info[i++] = _("あなたの武器はMPを使って攻撃する。", "Your weapon causes greate damages using your MP.");
1573                 }
1574                 if (have_flag(flgs, TR_THROW))
1575                 {
1576                         info[i++] = _("あなたの武器は投げやすい。", "Your weapon can be thrown well.");
1577                 }
1578         }
1579
1580         screen_save();
1581
1582         /* Erase the screen */
1583         for (k = 1; k < 24; k++) prt("", k, 13);
1584
1585         /* Label the information */
1586         prt(_("        あなたの状態:", "     Your Attributes:"), 1, 15);
1587
1588         /* We will print on top of the map (column 13) */
1589         for (k = 2, j = 0; j < i; j++)
1590         {
1591                 /* Show the info */
1592                 prt(info[j], k++, 15);
1593
1594                 /* Every 20 entries (lines 2 to 21), start over */
1595                 if ((k == 22) && (j+1 < i))
1596                 {
1597                         prt(_("-- 続く --", "-- more --"), k, 15);
1598                         inkey();
1599                         for (; k > 2; k--) prt("", k, 15);
1600                 }
1601         }
1602
1603         /* Pause */
1604         prt(_("[何かキーを押すとゲームに戻ります]", "[Press any key to continue]"), k, 13);
1605         inkey();
1606         screen_load();
1607 }
1608
1609 /*!
1610  * @brief 魔法効果時間のターン数に基づいて表現IDを返す。
1611  * @param dur 効果ターン数
1612  * @return 効果時間の表現ID
1613  */
1614 static int report_magics_aux(int dur)
1615 {
1616         if (dur <= 5)
1617         {
1618                 return 0;
1619         }
1620         else if (dur <= 10)
1621         {
1622                 return 1;
1623         }
1624         else if (dur <= 20)
1625         {
1626                 return 2;
1627         }
1628         else if (dur <= 50)
1629         {
1630                 return 3;
1631         }
1632         else if (dur <= 100)
1633         {
1634                 return 4;
1635         }
1636         else if (dur <= 200)
1637         {
1638                 return 5;
1639         }
1640         else
1641         {
1642                 return 6;
1643         }
1644 }
1645
1646 static concptr report_magic_durations[] =
1647 {
1648 #ifdef JP
1649         "ごく短い間",
1650         "少しの間",
1651         "しばらくの間",
1652         "多少長い間",
1653         "長い間",
1654         "非常に長い間",
1655         "信じ難いほど長い間",
1656         "モンスターを攻撃するまで"
1657 #else
1658         "for a short time",
1659         "for a little while",
1660         "for a while",
1661         "for a long while",
1662         "for a long time",
1663         "for a very long time",
1664         "for an incredibly long time",
1665         "until you hit a monster"
1666 #endif
1667
1668 };
1669
1670 /*!
1671  * @brief 現在の一時的効果一覧を返す / Report all currently active magical effects.
1672  * @return なし
1673  */
1674 void report_magics(void)
1675 {
1676         int     i = 0, j, k;
1677         char    Dummy[80];
1678         concptr    info[128];
1679         int     info2[128];
1680
1681
1682         if (p_ptr->blind)
1683         {
1684                 info2[i]  = report_magics_aux(p_ptr->blind);
1685                 info[i++] = _("あなたは目が見えない", "You cannot see");
1686         }
1687         if (p_ptr->confused)
1688         {
1689                 info2[i]  = report_magics_aux(p_ptr->confused);
1690                 info[i++] = _("あなたは混乱している", "You are confused");
1691         }
1692         if (p_ptr->afraid)
1693         {
1694                 info2[i]  = report_magics_aux(p_ptr->afraid);
1695                 info[i++] = _("あなたは恐怖に侵されている", "You are terrified");
1696         }
1697         if (p_ptr->poisoned)
1698         {
1699                 info2[i]  = report_magics_aux(p_ptr->poisoned);
1700                 info[i++] = _("あなたは毒に侵されている", "You are poisoned");
1701         }
1702         if (p_ptr->image)
1703         {
1704                 info2[i]  = report_magics_aux(p_ptr->image);
1705                 info[i++] = _("あなたは幻覚を見ている", "You are hallucinating");
1706         }
1707         if (p_ptr->blessed)
1708         {
1709                 info2[i]  = report_magics_aux(p_ptr->blessed);
1710                 info[i++] = _("あなたは高潔さを感じている", "You feel rightous");
1711         }
1712         if (p_ptr->hero)
1713         {
1714                 info2[i]  = report_magics_aux(p_ptr->hero);
1715                 info[i++] = _("あなたはヒーロー気分だ", "You feel heroic");
1716         }
1717         if (p_ptr->shero)
1718         {
1719                 info2[i]  = report_magics_aux(p_ptr->shero);
1720                 info[i++] = _("あなたは戦闘狂だ", "You are in a battle rage");
1721         }
1722         if (p_ptr->protevil)
1723         {
1724                 info2[i]  = report_magics_aux(p_ptr->protevil);
1725                 info[i++] = _("あなたは邪悪なる存在から守られている", "You are protected from evil");
1726         }
1727         if (p_ptr->shield)
1728         {
1729                 info2[i]  = report_magics_aux(p_ptr->shield);
1730                 info[i++] = _("あなたは神秘のシールドで守られている", "You are protected by a mystic shield");
1731         }
1732         if (p_ptr->invuln)
1733         {
1734                 info2[i]  = report_magics_aux(p_ptr->invuln);
1735                 info[i++] = _("あなたは無敵だ", "You are invulnerable");
1736         }
1737         if (p_ptr->wraith_form)
1738         {
1739                 info2[i]  = report_magics_aux(p_ptr->wraith_form);
1740                 info[i++] = _("あなたは幽体化している", "You are incorporeal");
1741         }
1742         if (p_ptr->special_attack & ATTACK_CONFUSE)
1743         {
1744                 info2[i]  = 7;
1745                 info[i++] = _("あなたの手は赤く輝いている", "Your hands are glowing dull red.");
1746         }
1747         if (p_ptr->word_recall)
1748         {
1749                 info2[i]  = report_magics_aux(p_ptr->word_recall);
1750                 info[i++] = _("この後帰還の詔が発動する", "You are waiting to be recalled");
1751         }
1752         if (p_ptr->alter_reality)
1753         {
1754                 info2[i]  = report_magics_aux(p_ptr->alter_reality);
1755                 info[i++] = _("この後現実変容が発動する", "You waiting to be altered");
1756         }
1757         if (p_ptr->oppose_acid)
1758         {
1759                 info2[i]  = report_magics_aux(p_ptr->oppose_acid);
1760                 info[i++] = _("あなたは酸への耐性を持っている", "You are resistant to acid");
1761         }
1762         if (p_ptr->oppose_elec)
1763         {
1764                 info2[i]  = report_magics_aux(p_ptr->oppose_elec);
1765                 info[i++] = _("あなたは電撃への耐性を持っている", "You are resistant to lightning");
1766         }
1767         if (p_ptr->oppose_fire)
1768         {
1769                 info2[i]  = report_magics_aux(p_ptr->oppose_fire);
1770                 info[i++] = _("あなたは火への耐性を持っている", "You are resistant to fire");
1771         }
1772         if (p_ptr->oppose_cold)
1773         {
1774                 info2[i]  = report_magics_aux(p_ptr->oppose_cold);
1775                 info[i++] = _("あなたは冷気への耐性を持っている", "You are resistant to cold");
1776         }
1777         if (p_ptr->oppose_pois)
1778         {
1779                 info2[i]  = report_magics_aux(p_ptr->oppose_pois);
1780                 info[i++] = _("あなたは毒への耐性を持っている", "You are resistant to poison");
1781         }
1782         screen_save();
1783
1784         /* Erase the screen */
1785         for (k = 1; k < 24; k++) prt("", k, 13);
1786
1787         /* Label the information */
1788         prt(_("    現在かかっている魔法     :", "     Your Current Magic:"), 1, 15);
1789
1790
1791         /* We will print on top of the map (column 13) */
1792         for (k = 2, j = 0; j < i; j++)
1793         {
1794                 /* Show the info */
1795                 sprintf(Dummy, _("%-28s : 期間 - %s ", "%s %s."), info[j],
1796                         report_magic_durations[info2[j]]);
1797                 prt(Dummy, k++, 15);
1798
1799                 /* Every 20 entries (lines 2 to 21), start over */
1800                 if ((k == 22) && (j + 1 < i))
1801                 {
1802                         prt(_("-- 続く --", "-- more --"), k, 15);
1803                         inkey();
1804                         for (; k > 2; k--) prt("", k, 15);
1805                 }
1806         }
1807
1808         /* Pause */
1809         prt(_("[何かキーを押すとゲームに戻ります]", "[Press any key to continue]"), k, 13);
1810         inkey();
1811         screen_load();
1812 }