3 * @brief 自己分析処理/ Self knowledge
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.
17 #include "system/angband.h"
18 #include "player/selfinfo.h"
19 #include "util/util.h"
20 #include "player/player-status.h"
21 #include "player/player-races-table.h"
22 #include "player/player-class.h"
23 #include "player/avatar.h"
24 #include "realm/realm-names-table.h"
25 #include "realm/realm-hex.h"
26 #include "realm/realm-song.h"
27 #include "object/object1.h"
28 #include "object/tr-types.h"
29 #include "object/trc-types.h"
32 * @brief 自己分析処理(Nethackからのアイデア) / self-knowledge... idea from nethack.
36 * Useful for determining powers and
37 * resistences of items. It saves the screen, clears it, then starts listing
38 * attributes, a screenful at a time. (There are a LOT of attributes to
39 * list. It will probably take 2 or 3 screens for a powerful character whose
40 * using several artifacts...) -CFT
42 * It is now a lot more efficient. -BEN-
44 * See also "identify_fully()".
46 * Use the "show_file()" method, perhaps.
49 void self_knowledge(player_type *creature_ptr)
54 char v_string[8][128];
55 char s_string[6][128];
57 BIT_FLAGS flgs[TR_FLAG_SIZE];
66 PLAYER_LEVEL plev = creature_ptr->lev;
70 for (j = 0; j < TR_FLAG_SIZE; j++)
73 creature_ptr->knowledge |= (KNOW_STAT | KNOW_HPRATE);
77 percent = (int)(((long)creature_ptr->player_hp[PY_MAX_LEVEL - 1] * 200L) /
78 (2 * creature_ptr->hitdie +
79 ((PY_MAX_LEVEL - 1 + 3) * (creature_ptr->hitdie + 1))));
81 sprintf(Dummy, _("現在の体力ランク : %d/100", "Your current Life Rating is %d/100."), percent);
82 strcpy(buf[0], Dummy);
86 chg_virtue(creature_ptr, V_KNOWLEDGE, 1);
87 chg_virtue(creature_ptr, V_ENLIGHTEN, 1);
89 /* Acquire item flags from equipment */
90 for (k = INVEN_RARM; k < INVEN_TOTAL; k++)
92 u32b tflgs[TR_FLAG_SIZE];
94 o_ptr = &creature_ptr->inventory_list[k];
95 if (!o_ptr->k_idx) continue;
96 object_flags(o_ptr, tflgs);
99 for (j = 0; j < TR_FLAG_SIZE; j++)
103 info[i++] = _("能力の最大値", "Limits of maximum stats");
105 for (v_nr = 0; v_nr < A_MAX; v_nr++)
109 sprintf(stat_desc, "%s 18/%d", stat_names[v_nr], creature_ptr->stat_max_max[v_nr] - 18);
111 strcpy(s_string[v_nr], stat_desc);
113 info[i++] = s_string[v_nr];
117 sprintf(Dummy, _("現在の属性 : %s(%ld)", "Your alignment : %s(%ld)"), your_alignment(creature_ptr), (long int)creature_ptr->align);
118 strcpy(buf[1], Dummy);
120 for (v_nr = 0; v_nr < 8; v_nr++)
122 GAME_TEXT vir_name[20];
124 int tester = creature_ptr->virtues[v_nr];
126 strcpy(vir_name, virtue[(creature_ptr->vir_types[v_nr]) - 1]);
128 sprintf(vir_desc, _("おっと。%sの情報なし。", "Oops. No info about %s."), vir_name);
130 sprintf(vir_desc, _("[%s]の対極 (%d)", "You are the polar opposite of %s (%d)."),
132 else if (tester < -80)
133 sprintf(vir_desc, _("[%s]の大敵 (%d)", "You are an arch-enemy of %s (%d)."),
135 else if (tester < -60)
136 sprintf(vir_desc, _("[%s]の強敵 (%d)", "You are a bitter enemy of %s (%d)."),
138 else if (tester < -40)
139 sprintf(vir_desc, _("[%s]の敵 (%d)", "You are an enemy of %s (%d)."),
141 else if (tester < -20)
142 sprintf(vir_desc, _("[%s]の罪者 (%d)", "You have sinned against %s (%d)."),
145 sprintf(vir_desc, _("[%s]の迷道者 (%d)", "You have strayed from the path of %s (%d)."),
147 else if (tester == 0)
148 sprintf(vir_desc, _("[%s]の中立者 (%d)", "You are neutral to %s (%d)."),
150 else if (tester < 20)
151 sprintf(vir_desc, _("[%s]の小徳者 (%d)", "You are somewhat virtuous in %s (%d)."),
153 else if (tester < 40)
154 sprintf(vir_desc, _("[%s]の中徳者 (%d)", "You are virtuous in %s (%d)."),
156 else if (tester < 60)
157 sprintf(vir_desc, _("[%s]の高徳者 (%d)", "You are very virtuous in %s (%d)."),
159 else if (tester < 80)
160 sprintf(vir_desc, _("[%s]の覇者 (%d)", "You are a champion of %s (%d)."),
162 else if (tester < 100)
163 sprintf(vir_desc, _("[%s]の偉大な覇者 (%d)", "You are a great champion of %s (%d)."),
166 sprintf(vir_desc, _("[%s]の具現者 (%d)", "You are the living embodiment of %s (%d)."),
169 strcpy(v_string[v_nr], vir_desc);
171 info[i++] = v_string[v_nr];
175 /* Racial powers... */
176 if (creature_ptr->mimic_form)
178 switch (creature_ptr->mimic_form)
181 case MIMIC_DEMON_LORD:
182 sprintf(Dummy, _("あなたは %d ダメージの地獄か火炎のブレスを吐くことができる。(%d MP)",
183 "You can nether breathe, dam. %d (cost %d)."), 3 * plev, 10 + plev / 3);
190 sprintf(Dummy, _("あなたは敵から %d-%d HP の生命力を吸収できる。(%d MP)",
191 "You can steal life from a foe, dam. %d-%d (cost %d)."),
192 plev + MAX(1, plev / 10), plev + plev * MAX(1, plev / 10), 1 + (plev / 3));
200 switch (creature_ptr->prace)
205 info[i++] = _("あなたは罠とドアと階段を感知できる。(5 MP)", "You can find traps, doors and stairs (cost 5).");
210 info[i++] = _("あなたは食料を生成できる。(10 MP)", "You can produce food (cost 10).");
216 sprintf(Dummy, _("あなたは範囲 %d 以内にテレポートできる。(%d MP)", "You can teleport, range %d (cost %d)."),
217 (1 + plev), (5 + (plev / 5)));
223 info[i++] = _("あなたは恐怖を除去できる。(5 MP)", "You can remove fear (cost 5).");
225 case RACE_HALF_TROLL:
227 info[i++] = _("あなたは狂暴化することができる。(12 MP) ", "You can enter a berserk fury (cost 12).");
231 info[i++] = _("あなたはシャドウシフトすることができる。(50 MP)", "You can Shift Shadows (cost 50).");
234 info[i++] = _("あなたは「パターン」を心に描いて歩くことができる。(75 MP)", "You can mentally Walk the Pattern (cost 75).");
239 info[i++] = _("あなたは狂暴化することができる。(10 MP) ", "You can enter a berserk fury (cost 10).");
244 info[i++] = _("あなたは爆発のルーンを仕掛けることができる。(35 MP)", "You can set an Explosive Rune (cost 35).");
247 case RACE_HALF_GIANT:
249 info[i++] = _("あなたは石の壁を壊すことができる。(10 MP)", "You can break stone walls (cost 10).");
251 case RACE_HALF_TITAN:
253 info[i++] = _("あなたはモンスターをスキャンすることができる。(20 MP)", "You can probe monsters (cost 20).");
258 sprintf(Dummy, _("あなたは %d ダメージの岩石を投げることができる。(15 MP)",
259 "You can throw a boulder, dam. %d (cost 15)."), 3 * plev);
265 info[i++] = _("あなたは恐怖を呼び起こす叫び声を発することができる。(15 MP)", "You can make a terrifying scream (cost 15).");
270 sprintf(Dummy, _("あなたは %d ダメージの酸を吹きかけることができる。(9 MP)", "You can spit acid, dam. %d (cost 9)."), plev);
278 _("あなたは %d ダメージの毒矢を投げることができる。(8 MP)", "You can throw a dart of poison, dam. %d (cost 8)."), plev);
285 sprintf(Dummy, _("あなたは %d ダメージのマジック・ミサイルの呪文を使える。(2 MP)", "You can cast a Magic Missile, dam %d (cost 2)."),
286 (3 + ((plev - 1) / 5)));
291 sprintf(Dummy, _("あなたは %d ダメージのブレスを吐くことができる。(%d MP)", "You can breathe, dam. %d (cost %d)."), 2 * plev, plev);
294 case RACE_MIND_FLAYER:
296 sprintf(Dummy, _("あなたは %d ダメージの精神攻撃をすることができる。(12 MP)", "You can mind blast your enemies, dam %d (cost 12)."), plev);
302 sprintf(Dummy, _("あなたは %d ダメージのファイア・ボールの呪文を使える。(15 MP)", "You can cast a Fire Ball, dam. %d (cost 15)."), plev);
307 sprintf(Dummy, _("あなたは %d ダメージのファイア・ボルトの呪文を使える。(15 MP)", "You can cast a Fire Bolt, dam. %d (cost 15)."), plev);
313 info[i++] = _("あなたは d20+30 ターンの間肌を石に変化させられる。(15 MP)", "You can turn your skin to stone, dur d20+30 (cost 15).");
318 info[i++] = _("あなたは失った経験値を回復することができる。(30 MP)", "You can restore lost experience (cost 30).");
323 sprintf(Dummy, _("あなたは敵から %d-%d HP の生命力を吸収できる。(%d MP)", "You can steal life from a foe, dam. %d-%d (cost %d)."),
324 plev + MAX(1, plev / 10), plev + plev * MAX(1, plev / 10), 1 + (plev / 3));
331 info[i++] = _("あなたは泣き叫んで敵を恐怖させることができる。(3 MP)", "You can wail to terrify your enemies (cost 3).");
337 info[i++] = _("あなたは敵を眠らせる魔法の粉を投げることができる。(12 MP)", "You can throw magical dust which induces sleep (cost 12).");
341 sprintf(Dummy, _("あなたは %d ダメージの地獄か火炎のブレスを吐くことができる。(%d MP)",
342 "You can breathe nether, dam. %d (cost %d)."), 3 * plev, 10 + plev / 3);
348 info[i++] = _("あなたは d20+30 ターンの間横に伸びることができる。(15 MP)", "You can expand horizontally, dur d20+30 (cost 15).");
352 sprintf(Dummy, _("あなたは %d ダメージのレイガンを撃つことができる。(7 MP)", "You can fire a ray gun with damage %d (cost 7)."),
355 sprintf(Dummy, _("あなたは %d ダメージのブラスターを撃つことができる。(13 MP)", "You can fire a blaster with damage %d (cost 13)."), plev);
357 sprintf(Dummy, _("あなたは %d ダメージのバズーカを撃つことができる。(26 MP)", "You can fire a bazooka with damage %d (cost 26)."), plev * 2);
359 sprintf(Dummy, _("あなたは %d ダメージのビームキャノンを撃つことができる。(40 MP)",
360 "You can fire a beam cannon with damage %d (cost 40)."), plev * 2);
362 sprintf(Dummy, _("あなたは %d ダメージのロケットを撃つことができる。(60 MP)",
363 "You can fire a rocket with damage %d (cost 60)."), plev * 5);
372 switch (creature_ptr->pclass)
377 info[i++] = _("あなたはランダムな方向に対して数回攻撃することができる。(75 MP)",
378 "You can attack some random directions simultaneously (cost 75).");
381 case CLASS_HIGH_MAGE:
382 if (creature_ptr->realm1 == REALM_HEX) break;
388 info[i++] = _("あなたはアイテムの魔力を吸収することができる。(1 MP)",
389 "You can absorb charges from an item (cost 1).");
393 if (is_good_realm(creature_ptr->realm1))
397 info[i++] = _("あなたは武器を祝福することができる。(70 MP)", "You can bless a weapon (cost 70).");
404 info[i++] = _("あなたは周りのすべてのモンスターを攻撃することができる。(40 MP)", "You can damage all monsters in sight (cost 40).");
411 info[i++] = _("あなたは攻撃して即座に逃げることができる。(12 MP)", "You can hit a monster and teleport away simultaneously (cost 12).");
417 info[i++] = _("あなたは怪物を調査することができる。(20 MP)", "You can probe monsters (cost 20).");
421 if (is_good_realm(creature_ptr->realm1))
425 info[i++] = _("あなたは聖なる槍を放つことができる。(30 MP)", "You can fire a holy spear (cost 30).");
432 info[i++] = _("あなたは生命力を減少させる槍を放つことができる。(30 MP)", "You can fire a spear which drains vitality (cost 30).");
436 case CLASS_WARRIOR_MAGE:
439 info[i++] = _("あなたはHPをMPに変換することができる。(0 MP)", "You can convert HP to SP (cost 0).");
440 info[i++] = _("あなたはMPをHPに変換することができる。(0 MP)", "You can convert SP to HP (cost 0).");
443 case CLASS_CHAOS_WARRIOR:
446 info[i++] = _("あなたは周囲に怪物を惑わす光を発生させることができる。(50 MP)",
447 "You can radiate light which confuses nearby monsters (cost 50).");
453 info[i++] = _("あなたは構えることができる。(0 MP)", "You can assume a special stance (cost 0).");
457 info[i++] = _("あなたは通常の2倍の攻撃を行うことができる。(30 MP)", "You can perform two attacks at the same time (cost 30).");
460 case CLASS_MINDCRAFTER:
461 case CLASS_FORCETRAINER:
464 info[i++] = _("あなたは精神を集中してMPを回復させることができる。(0 MP)", "You can concentrate to regenerate your mana (cost 0).");
468 info[i++] = _("あなたは写真を撮影することができる。(0 MP)", "You can take a photograph (cost 0).");
471 info[i++] = _("あなたはアイテムを完全に鑑定することができる。(20 MP)", "You can *identify* items (cost 20).");
477 info[i++] = _("あなたは怪物の特殊攻撃をダメージ2倍でまねることができる。(100 MP)",
478 "You can imitate monster's special attacks with double damage (cost 100).");
481 case CLASS_BEASTMASTER:
482 info[i++] = _("あなたは1体の生命のあるモンスターを支配することができる。(レベル/4 MP)", "You can dominate a monster (cost level/4).");
485 info[i++] = _("あなたは視界内の生命のあるモンスターを支配することができる。((レベル+20)/2 MP)",
486 "You can dominate living monsters in sight (cost (level+20)/4).");
489 case CLASS_MAGIC_EATER:
490 info[i++] = _("あなたは杖/魔法棒/ロッドの魔力を自分のものにすることができる。", "You can absorb a staff, wand or rod itself.");
495 info[i++] = _("あなたは1ターンに2回魔法を唱えることができる。(20 MP)", "You can cast two spells simultaneously (cost 20).");
500 info[i++] = _("あなたは精神を集中して気合いを溜めることができる。", "You can concentrate to regenerate your mana.");
504 info[i++] = _("あなたは特殊な型で構えることができる。", "You can assume a special stance.");
507 case CLASS_BLUE_MAGE:
508 info[i++] = _("あなたは相手に使われた魔法を学ぶことができる。", "You can study spells which your enemy casts on you.");
513 info[i++] = _("あなたはモンスターに乗って無理矢理ペットにすることができる。", "You can ride on a hostile monster to forcibly turn it into a pet.");
516 case CLASS_BERSERKER:
519 info[i++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
522 case CLASS_MIRROR_MASTER:
523 info[i++] = _("あなたは鏡を作り出すことができる。(2 MP)", "You can create a Mirror (cost 2).");
524 info[i++] = _("あなたは鏡を割ることができる。(0 MP)", "You can break distant Mirrors (cost 0).");
529 info[i++] = _("あなたは素早く移動することができる。", "You can walk extremely fast.");
534 if (creature_ptr->muta1)
536 if (creature_ptr->muta1 & MUT1_SPIT_ACID)
538 info[i++] = _("あなたは酸を吹きかけることができる。(ダメージ レベルX1)", "You can spit acid (dam lvl).");
540 if (creature_ptr->muta1 & MUT1_BR_FIRE)
542 info[i++] = _("あなたは炎のブレスを吐くことができる。(ダメージ レベルX2)", "You can breathe fire (dam lvl * 2).");
544 if (creature_ptr->muta1 & MUT1_HYPN_GAZE)
546 info[i++] = _("あなたの睨みは催眠効果をもつ。", "Your gaze is hypnotic.");
548 if (creature_ptr->muta1 & MUT1_TELEKINES)
550 info[i++] = _("あなたは念動力をもっている。", "You are telekinetic.");
552 if (creature_ptr->muta1 & MUT1_VTELEPORT)
554 info[i++] = _("あなたは自分の意思でテレポートできる。", "You can teleport at will.");
556 if (creature_ptr->muta1 & MUT1_MIND_BLST)
558 info[i++] = _("あなたは精神攻撃を行える。(ダメージ 3~12d3)", "You can Mind Blast your enemies (3 to 12d3 dam).");
560 if (creature_ptr->muta1 & MUT1_RADIATION)
562 info[i++] = _("あなたは自分の意思で強い放射線を発生することができる。(ダメージ レベルX2)", "You can emit hard radiation at will (dam lvl * 2).");
564 if (creature_ptr->muta1 & MUT1_VAMPIRISM)
566 info[i++] = _("あなたは吸血鬼のように敵から生命力を吸収することができる。(ダメージ レベルX2)",
567 "Like a vampire, you can drain life from a foe (dam lvl * 2).");
569 if (creature_ptr->muta1 & MUT1_SMELL_MET)
571 info[i++] = _("あなたは近くにある貴金属をかぎ分けることができる。", "You can smell nearby precious metal.");
573 if (creature_ptr->muta1 & MUT1_SMELL_MON)
575 info[i++] = _("あなたは近くのモンスターの存在をかぎ分けることができる。", "You can smell nearby monsters.");
577 if (creature_ptr->muta1 & MUT1_BLINK)
579 info[i++] = _("あなたは短い距離をテレポートできる。", "You can teleport yourself short distances.");
581 if (creature_ptr->muta1 & MUT1_EAT_ROCK)
583 info[i++] = _("あなたは硬い岩を食べることができる。", "You can consume solid rock.");
585 if (creature_ptr->muta1 & MUT1_SWAP_POS)
587 info[i++] = _("あなたは他の者と場所を入れ替わることができる。", "You can switch locations with another being.");
589 if (creature_ptr->muta1 & MUT1_SHRIEK)
591 info[i++] = _("あなたは身の毛もよだつ叫び声を発することができる。(ダメージ レベルX2)", "You can emit a horrible shriek (dam 2 * lvl).");
593 if (creature_ptr->muta1 & MUT1_ILLUMINE)
595 info[i++] = _("あなたは明るい光を放つことができる。", "You can emit bright light.");
597 if (creature_ptr->muta1 & MUT1_DET_CURSE)
599 info[i++] = _("あなたは邪悪な魔法の危険を感じとることができる。", "You can feel the danger of evil magic.");
601 if (creature_ptr->muta1 & MUT1_BERSERK)
603 info[i++] = _("あなたは自分の意思で狂乱戦闘状態になることができる。", "You can drive yourself into a berserk frenzy.");
605 if (creature_ptr->muta1 & MUT1_POLYMORPH)
607 info[i++] = _("あなたは自分の意志で変化できる。", "You can polymorph yourself at will.");
609 if (creature_ptr->muta1 & MUT1_MIDAS_TCH)
611 info[i++] = _("あなたは通常アイテムを金に変えることができる。", "You can turn ordinary items to gold.");
613 if (creature_ptr->muta1 & MUT1_GROW_MOLD)
615 info[i++] = _("あなたは周囲にキノコを生やすことができる。", "You can cause mold to grow near you.");
617 if (creature_ptr->muta1 & MUT1_RESIST)
619 info[i++] = _("あなたは元素の攻撃に対して身を硬くすることができる。", "You can harden yourself to the ravages of the elements.");
621 if (creature_ptr->muta1 & MUT1_EARTHQUAKE)
623 info[i++] = _("あなたは周囲のダンジョンを崩壊させることができる。", "You can bring down the dungeon around your ears.");
625 if (creature_ptr->muta1 & MUT1_EAT_MAGIC)
627 info[i++] = _("あなたは魔法のエネルギーを自分の物として使用できる。", "You can consume magic energy for your own use.");
629 if (creature_ptr->muta1 & MUT1_WEIGH_MAG)
631 info[i++] = _("あなたは自分に影響を与える魔法の力を感じることができる。", "You can feel the strength of the magics affecting you.");
633 if (creature_ptr->muta1 & MUT1_STERILITY)
635 info[i++] = _("あなたは集団的生殖不能を起こすことができる。", "You can cause mass impotence.");
637 if (creature_ptr->muta1 & MUT1_HIT_AND_AWAY)
639 info[i++] = _("あなたは攻撃した後身を守るため逃げることができる。", "You can run for your life after hitting something.");
641 if (creature_ptr->muta1 & MUT1_DAZZLE)
643 info[i++] = _("あなたは混乱と盲目を引き起こす放射能を発生することができる。 ", "You can emit confusing, blinding radiation.");
645 if (creature_ptr->muta1 & MUT1_LASER_EYE)
647 info[i++] = _("あなたは目からレーザー光線を発することができる。(ダメージ レベルX2)", "Your eyes can fire laser beams (dam 2 * lvl).");
649 if (creature_ptr->muta1 & MUT1_RECALL)
651 info[i++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
653 if (creature_ptr->muta1 & MUT1_BANISH)
655 info[i++] = _("あなたは邪悪なモンスターを地獄に落とすことができる。", "You can send evil creatures directly to Hell.");
657 if (creature_ptr->muta1 & MUT1_COLD_TOUCH)
659 info[i++] = _("あなたは敵を触って凍らせることができる。(ダメージ レベルX3)", "You can freeze things with a touch (dam 3 * lvl).");
661 if (creature_ptr->muta1 & MUT1_LAUNCHER)
663 info[i++] = _("あなたはアイテムを力強く投げることができる。", "You can hurl objects with great force.");
667 if (creature_ptr->muta2)
669 if (creature_ptr->muta2 & MUT2_BERS_RAGE)
671 info[i++] = _("あなたは狂戦士化の発作を起こす。", "You are subject to berserker fits.");
673 if (creature_ptr->muta2 & MUT2_COWARDICE)
675 info[i++] = _("あなたは時々臆病になる。", "You are subject to cowardice.");
677 if (creature_ptr->muta2 & MUT2_RTELEPORT)
679 info[i++] = _("あなたはランダムにテレポートする。", "You may randomly teleport.");
681 if (creature_ptr->muta2 & MUT2_ALCOHOL)
683 info[i++] = _("あなたの体はアルコールを分泌する。", "Your body produces alcohol.");
685 if (creature_ptr->muta2 & MUT2_HALLU)
687 info[i++] = _("あなたは幻覚を引き起こす精神錯乱に侵されている。", "You have a hallucinatory insanity.");
689 if (creature_ptr->muta2 & MUT2_FLATULENT)
691 info[i++] = _("あなたは制御できない強烈な屁をこく。", "You are subject to uncontrollable flatulence.");
693 if (creature_ptr->muta2 & MUT2_PROD_MANA)
695 info[i++] = _("あなたは制御不能な魔法のエネルギーを発している。", "You produce magical energy uncontrollably.");
697 if (creature_ptr->muta2 & MUT2_ATT_DEMON)
699 info[i++] = _("あなたはデーモンを引きつける。", "You attract demons.");
701 if (creature_ptr->muta2 & MUT2_SCOR_TAIL)
703 info[i++] = _("あなたはサソリの尻尾が生えている。(毒、ダメージ 3d7)", "You have a scorpion tail (poison, 3d7).");
705 if (creature_ptr->muta2 & MUT2_HORNS)
707 info[i++] = _("あなたは角が生えている。(ダメージ 2d6)", "You have horns (dam. 2d6).");
709 if (creature_ptr->muta2 & MUT2_BEAK)
711 info[i++] = _("あなたはクチバシが生えている。(ダメージ 2d4)", "You have a beak (dam. 2d4).");
713 if (creature_ptr->muta2 & MUT2_SPEED_FLUX)
715 info[i++] = _("あなたはランダムに早く動いたり遅く動いたりする。", "You move faster or slower randomly.");
717 if (creature_ptr->muta2 & MUT2_BANISH_ALL)
719 info[i++] = _("あなたは時々近くのモンスターを消滅させる。", "You sometimes cause nearby creatures to vanish.");
721 if (creature_ptr->muta2 & MUT2_EAT_LIGHT)
723 info[i++] = _("あなたは時々周囲の光を吸収して栄養にする。", "You sometimes feed off of the light around you.");
725 if (creature_ptr->muta2 & MUT2_TRUNK)
727 info[i++] = _("あなたは象のような鼻を持っている。(ダメージ 1d4)", "You have an elephantine trunk (dam 1d4).");
729 if (creature_ptr->muta2 & MUT2_ATT_ANIMAL)
731 info[i++] = _("あなたは動物を引きつける。", "You attract animals.");
733 if (creature_ptr->muta2 & MUT2_TENTACLES)
735 info[i++] = _("あなたは邪悪な触手を持っている。(ダメージ 2d5)", "You have evil looking tentacles (dam 2d5).");
737 if (creature_ptr->muta2 & MUT2_RAW_CHAOS)
739 info[i++] = _("あなたはしばしば純カオスに包まれる。", "You occasionally are surrounded with raw chaos.");
741 if (creature_ptr->muta2 & MUT2_NORMALITY)
743 info[i++] = _("あなたは変異していたが、回復してきている。", "You may be mutated, but you're recovering.");
745 if (creature_ptr->muta2 & MUT2_WRAITH)
747 info[i++] = _("あなたの肉体は幽体化したり実体化したりする。", "You fade in and out of physical reality.");
749 if (creature_ptr->muta2 & MUT2_POLY_WOUND)
751 info[i++] = _("あなたの健康はカオスの力に影響を受ける。", "Your health is subject to chaotic forces.");
753 if (creature_ptr->muta2 & MUT2_WASTING)
755 info[i++] = _("あなたは衰弱する恐ろしい病気にかかっている。", "You have a horrible wasting disease.");
757 if (creature_ptr->muta2 & MUT2_ATT_DRAGON)
759 info[i++] = _("あなたはドラゴンを引きつける。", "You attract dragons.");
761 if (creature_ptr->muta2 & MUT2_WEIRD_MIND)
763 info[i++] = _("あなたの精神はランダムに拡大したり縮小したりしている。", "Your mind randomly expands and contracts.");
765 if (creature_ptr->muta2 & MUT2_NAUSEA)
767 info[i++] = _("あなたの胃は非常に落ち着きがない。", "You have a seriously upset stomach.");
769 if (creature_ptr->muta2 & MUT2_CHAOS_GIFT)
771 info[i++] = _("あなたはカオスの守護悪魔から褒美をうけとる。", "Chaos deities give you gifts.");
773 if (creature_ptr->muta2 & MUT2_WALK_SHAD)
775 info[i++] = _("あなたはしばしば他の「影」に迷い込む。", "You occasionally stumble into other shadows.");
777 if (creature_ptr->muta2 & MUT2_WARNING)
779 info[i++] = _("あなたは敵に関する警告を感じる。", "You receive warnings about your foes.");
781 if (creature_ptr->muta2 & MUT2_INVULN)
783 info[i++] = _("あなたは時々負け知らずな気分になる。", "You occasionally feel invincible.");
785 if (creature_ptr->muta2 & MUT2_SP_TO_HP)
787 info[i++] = _("あなたは時々血が筋肉にどっと流れる。", "Your blood sometimes rushes to your muscles.");
789 if (creature_ptr->muta2 & MUT2_HP_TO_SP)
791 info[i++] = _("あなたは時々頭に血がどっと流れる。", "Your blood sometimes rushes to your head.");
793 if (creature_ptr->muta2 & MUT2_DISARM)
795 info[i++] = _("あなたはよくつまづいて物を落とす。", "You occasionally stumble and drop things.");
799 if (creature_ptr->muta3)
801 if (creature_ptr->muta3 & MUT3_HYPER_STR)
803 info[i++] = _("あなたは超人的に強い。(腕力+4)", "You are superhumanly strong (+4 STR).");
805 if (creature_ptr->muta3 & MUT3_PUNY)
807 info[i++] = _("あなたは虚弱だ。(腕力-4)", "You are puny (-4 STR).");
809 if (creature_ptr->muta3 & MUT3_HYPER_INT)
811 info[i++] = _("あなたの脳は生体コンピュータだ。(知能&賢さ+4)", "Your brain is a living computer (+4 INT/WIS).");
813 if (creature_ptr->muta3 & MUT3_MORONIC)
815 info[i++] = _("あなたは精神薄弱だ。(知能&賢さ-4)", "You are moronic (-4 INT/WIS).");
817 if (creature_ptr->muta3 & MUT3_RESILIENT)
819 info[i++] = _("あなたは非常にタフだ。(耐久+4)", "You are very resilient (+4 CON).");
821 if (creature_ptr->muta3 & MUT3_XTRA_FAT)
823 info[i++] = _("あなたは極端に太っている。(耐久+2,スピード-2)", "You are extremely fat (+2 CON, -2 speed).");
825 if (creature_ptr->muta3 & MUT3_ALBINO)
827 info[i++] = _("あなたはアルビノだ。(耐久-4)", "You are an albino (-4 CON).");
829 if (creature_ptr->muta3 & MUT3_FLESH_ROT)
831 info[i++] = _("あなたの肉体は腐敗している。(耐久-2,魅力-1)", "Your flesh is rotting (-2 CON, -1 CHR).");
833 if (creature_ptr->muta3 & MUT3_SILLY_VOI)
835 info[i++] = _("あなたの声は間抜けなキーキー声だ。(魅力-4)", "Your voice is a silly squeak (-4 CHR).");
837 if (creature_ptr->muta3 & MUT3_BLANK_FAC)
839 info[i++] = _("あなたはのっぺらぼうだ。(魅力-1)", "Your face is featureless (-1 CHR).");
841 if (creature_ptr->muta3 & MUT3_ILL_NORM)
843 info[i++] = _("あなたは幻影に覆われている。", "Your appearance is masked with illusion.");
845 if (creature_ptr->muta3 & MUT3_XTRA_EYES)
847 info[i++] = _("あなたは余分に二つの目を持っている。(探索+15)", "You have an extra pair of eyes (+15 search).");
849 if (creature_ptr->muta3 & MUT3_MAGIC_RES)
851 info[i++] = _("あなたは魔法への耐性をもっている。", "You are resistant to magic.");
853 if (creature_ptr->muta3 & MUT3_XTRA_NOIS)
855 info[i++] = _("あなたは変な音を発している。(隠密-3)", "You make a lot of strange noise (-3 stealth).");
857 if (creature_ptr->muta3 & MUT3_INFRAVIS)
859 info[i++] = _("あなたは素晴らしい赤外線視力を持っている。(+3)", "You have remarkable infravision (+3).");
861 if (creature_ptr->muta3 & MUT3_XTRA_LEGS)
863 info[i++] = _("あなたは余分に二本の足が生えている。(加速+3)", "You have an extra pair of legs (+3 speed).");
865 if (creature_ptr->muta3 & MUT3_SHORT_LEG)
867 info[i++] = _("あなたの足は短い突起だ。(加速-3)", "Your legs are short stubs (-3 speed).");
869 if (creature_ptr->muta3 & MUT3_ELEC_TOUC)
871 info[i++] = _("あなたの血管には電流が流れている。", "Electricity is running through your veins.");
873 if (creature_ptr->muta3 & MUT3_FIRE_BODY)
875 info[i++] = _("あなたの体は炎につつまれている。", "Your body is enveloped in flames.");
877 if (creature_ptr->muta3 & MUT3_WART_SKIN)
879 info[i++] = _("あなたの肌はイボに被われている。(魅力-2, AC+5)", "Your skin is covered with warts (-2 CHR, +5 AC).");
881 if (creature_ptr->muta3 & MUT3_SCALES)
883 info[i++] = _("あなたの肌は鱗になっている。(魅力-1, AC+10)", "Your skin has turned into scales (-1 CHR, +10 AC).");
885 if (creature_ptr->muta3 & MUT3_IRON_SKIN)
887 info[i++] = _("あなたの肌は鉄でできている。(器用-1, AC+25)", "Your skin is made of steel (-1 DEX, +25 AC).");
889 if (creature_ptr->muta3 & MUT3_WINGS)
891 info[i++] = _("あなたは羽を持っている。", "You have wings.");
893 if (creature_ptr->muta3 & MUT3_FEARLESS)
897 if (creature_ptr->muta3 & MUT3_REGEN)
901 if (creature_ptr->muta3 & MUT3_ESP)
905 if (creature_ptr->muta3 & MUT3_LIMBER)
907 info[i++] = _("あなたの体は非常にしなやかだ。(器用+3)", "Your body is very limber (+3 DEX).");
909 if (creature_ptr->muta3 & MUT3_ARTHRITIS)
911 info[i++] = _("あなたはいつも関節に痛みを感じている。(器用-3)", "Your joints ache constantly (-3 DEX).");
913 if (creature_ptr->muta3 & MUT3_VULN_ELEM)
915 info[i++] = _("あなたは元素の攻撃に弱い。", "You are susceptible to damage from the elements.");
917 if (creature_ptr->muta3 & MUT3_MOTION)
919 info[i++] = _("あなたの動作は正確で力強い。(隠密+1)", "Your movements are precise and forceful (+1 STL).");
921 if (creature_ptr->muta3 & MUT3_GOOD_LUCK)
923 info[i++] = _("あなたは白いオーラにつつまれている。", "There is a white aura surrounding you.");
925 if (creature_ptr->muta3 & MUT3_BAD_LUCK)
927 info[i++] = _("あなたは黒いオーラにつつまれている。", "There is a black aura surrounding you.");
931 if (creature_ptr->blind)
933 info[i++] = _("あなたは目が見えない。", "You cannot see.");
935 if (creature_ptr->confused)
937 info[i++] = _("あなたは混乱している。", "You are confused.");
939 if (creature_ptr->afraid)
941 info[i++] = _("あなたは恐怖に侵されている。", "You are terrified.");
943 if (creature_ptr->cut)
945 info[i++] = _("あなたは出血している。", "You are bleeding.");
947 if (creature_ptr->stun)
949 info[i++] = _("あなたはもうろうとしている。", "You are stunned.");
951 if (creature_ptr->poisoned)
953 info[i++] = _("あなたは毒に侵されている。", "You are poisoned.");
955 if (creature_ptr->image)
957 info[i++] = _("あなたは幻覚を見ている。", "You are hallucinating.");
959 if (creature_ptr->cursed & TRC_TY_CURSE)
961 info[i++] = _("あなたは邪悪な怨念に包まれている。", "You carry an ancient foul curse.");
963 if (creature_ptr->cursed & TRC_AGGRAVATE)
965 info[i++] = _("あなたはモンスターを怒らせている。", "You aggravate monsters.");
967 if (creature_ptr->cursed & TRC_DRAIN_EXP)
969 info[i++] = _("あなたは経験値を吸われている。", "You occasionally lose experience for no reason.");
971 if (creature_ptr->cursed & TRC_SLOW_REGEN)
973 info[i++] = _("あなたの回復力は非常に遅い。", "You regenerate slowly.");
975 if (creature_ptr->cursed & TRC_ADD_L_CURSE)
977 info[i++] = _("あなたの弱い呪いは増える。", "Your weak curses multiply."); /* 暫定的 -- henkma */
979 if (creature_ptr->cursed & TRC_ADD_H_CURSE)
981 info[i++] = _("あなたの強い呪いは増える。", "Your heavy curses multiply."); /* 暫定的 -- henkma */
983 if (creature_ptr->cursed & TRC_CALL_ANIMAL)
985 info[i++] = _("あなたは動物に狙われている。", "You attract animals.");
987 if (creature_ptr->cursed & TRC_CALL_DEMON)
989 info[i++] = _("あなたは悪魔に狙われている。", "You attract demons.");
991 if (creature_ptr->cursed & TRC_CALL_DRAGON)
993 info[i++] = _("あなたはドラゴンに狙われている。", "You attract dragons.");
995 if (creature_ptr->cursed & TRC_COWARDICE)
997 info[i++] = _("あなたは時々臆病になる。", "You are subject to cowardice.");
999 if (creature_ptr->cursed & TRC_TELEPORT)
1001 info[i++] = _("あなたの位置はひじょうに不安定だ。", "Your position is very uncertain.");
1003 if (creature_ptr->cursed & TRC_LOW_MELEE)
1005 info[i++] = _("あなたの武器は攻撃を外しやすい。", "Your weapon causes you to miss blows.");
1007 if (creature_ptr->cursed & TRC_LOW_AC)
1009 info[i++] = _("あなたは攻撃を受けやすい。", "You are subject to be hit.");
1011 if (creature_ptr->cursed & TRC_LOW_MAGIC)
1013 info[i++] = _("あなたは魔法を失敗しやすい。", "Your spells fail more frequently.");
1015 if (creature_ptr->cursed & TRC_FAST_DIGEST)
1017 info[i++] = _("あなたはすぐお腹がへる。", "You have a good appetite.");
1019 if (creature_ptr->cursed & TRC_DRAIN_HP)
1021 info[i++] = _("あなたは体力を吸われている。", "You occasionally lose hit points for no reason.");
1023 if (creature_ptr->cursed & TRC_DRAIN_MANA)
1025 info[i++] = _("あなたは魔力を吸われている。", "You occasionally lose spell points for no reason.");
1027 if (is_blessed(creature_ptr))
1029 info[i++] = _("あなたは高潔さを感じている。", "You feel rightous.");
1031 if (IS_HERO(creature_ptr))
1033 info[i++] = _("あなたはヒーロー気分だ。", "You feel heroic.");
1035 if (creature_ptr->shero)
1037 info[i++] = _("あなたは戦闘狂だ。", "You are in a battle rage.");
1039 if (creature_ptr->protevil)
1041 info[i++] = _("あなたは邪悪なる存在から守られている。", "You are protected from evil.");
1043 if (creature_ptr->shield)
1045 info[i++] = _("あなたは神秘のシールドで守られている。", "You are protected by a mystic shield.");
1047 if (IS_INVULN(creature_ptr))
1049 info[i++] = _("あなたは現在傷つかない。", "You are temporarily invulnerable.");
1051 if (creature_ptr->wraith_form)
1053 info[i++] = _("あなたは一時的に幽体化している。", "You are temporarily incorporeal.");
1055 if (creature_ptr->special_attack & ATTACK_CONFUSE)
1057 info[i++] = _("あなたの手は赤く輝いている。", "Your hands are glowing dull red.");
1059 if (creature_ptr->special_attack & ATTACK_FIRE)
1061 info[i++] = _("あなたの手は火炎に覆われている。", "You can strike the enemy with flame.");
1063 if (creature_ptr->special_attack & ATTACK_COLD)
1065 info[i++] = _("あなたの手は冷気に覆われている。", "You can strike the enemy with cold.");
1067 if (creature_ptr->special_attack & ATTACK_ACID)
1069 info[i++] = _("あなたの手は酸に覆われている。", "You can strike the enemy with acid.");
1071 if (creature_ptr->special_attack & ATTACK_ELEC)
1073 info[i++] = _("あなたの手は電撃に覆われている。", "You can strike the enemy with electoric shock.");
1075 if (creature_ptr->special_attack & ATTACK_POIS)
1077 info[i++] = _("あなたの手は毒に覆われている。", "You can strike the enemy with poison.");
1079 switch (creature_ptr->action)
1082 info[i++] = _("あなたはひじょうに注意深く周囲を見渡している。", "You are looking around very carefully.");
1085 if (creature_ptr->new_spells)
1087 info[i++] = _("あなたは呪文や祈りを学ぶことができる。", "You can learn some spells/prayers.");
1089 if (creature_ptr->word_recall)
1091 info[i++] = _("あなたはすぐに帰還するだろう。", "You will soon be recalled.");
1093 if (creature_ptr->alter_reality)
1095 info[i++] = _("あなたはすぐにこの世界を離れるだろう。", "You will soon be altered.");
1097 if (creature_ptr->see_infra)
1099 info[i++] = _("あなたの瞳は赤外線に敏感である。", "Your eyes are sensitive to infrared light.");
1101 if (creature_ptr->see_inv)
1103 info[i++] = _("あなたは透明なモンスターを見ることができる。", "You can see invisible creatures.");
1105 if (creature_ptr->levitation)
1107 info[i++] = _("あなたは飛ぶことができる。", "You can fly.");
1109 if (creature_ptr->free_act)
1111 info[i++] = _("あなたは麻痺知らずの効果を持っている。", "You have free action.");
1113 if (creature_ptr->regenerate)
1115 info[i++] = _("あなたは素早く体力を回復する。", "You regenerate quickly.");
1117 if (creature_ptr->slow_digest)
1119 info[i++] = _("あなたは食欲が少ない。", "Your appetite is small.");
1121 if (creature_ptr->telepathy)
1123 info[i++] = _("あなたはテレパシー能力を持っている。", "You have ESP.");
1125 if (creature_ptr->esp_animal)
1127 info[i++] = _("あなたは自然界の生物の存在を感じる能力を持っている。", "You sense natural creatures.");
1129 if (creature_ptr->esp_undead)
1131 info[i++] = _("あなたはアンデッドの存在を感じる能力を持っている。", "You sense undead.");
1133 if (creature_ptr->esp_demon)
1135 info[i++] = _("あなたは悪魔の存在を感じる能力を持っている。", "You sense demons.");
1137 if (creature_ptr->esp_orc)
1139 info[i++] = _("あなたはオークの存在を感じる能力を持っている。", "You sense orcs.");
1141 if (creature_ptr->esp_troll)
1143 info[i++] = _("あなたはトロルの存在を感じる能力を持っている。", "You sense trolls.");
1145 if (creature_ptr->esp_giant)
1147 info[i++] = _("あなたは巨人の存在を感じる能力を持っている。", "You sense giants.");
1149 if (creature_ptr->esp_dragon)
1151 info[i++] = _("あなたはドラゴンの存在を感じる能力を持っている。", "You sense dragons.");
1153 if (creature_ptr->esp_human)
1155 info[i++] = _("あなたは人間の存在を感じる能力を持っている。", "You sense humans.");
1157 if (creature_ptr->esp_evil)
1159 info[i++] = _("あなたは邪悪な生き物の存在を感じる能力を持っている。", "You sense evil creatures.");
1161 if (creature_ptr->esp_good)
1163 info[i++] = _("あなたは善良な生き物の存在を感じる能力を持っている。", "You sense good creatures.");
1165 if (creature_ptr->esp_nonliving)
1167 info[i++] = _("あなたは活動する無生物体の存在を感じる能力を持っている。", "You sense non-living creatures.");
1169 if (creature_ptr->esp_unique)
1171 info[i++] = _("あなたは特別な強敵の存在を感じる能力を持っている。", "You sense unique monsters.");
1173 if (creature_ptr->hold_exp)
1175 info[i++] = _("あなたは自己の経験値をしっかりと維持する。", "You have a firm hold on your experience.");
1177 if (creature_ptr->reflect)
1179 info[i++] = _("あなたは矢の呪文を反射する。", "You reflect bolt spells.");
1181 if (creature_ptr->sh_fire)
1183 info[i++] = _("あなたは炎のオーラに包まれている。", "You are surrounded with a fiery aura.");
1185 if (creature_ptr->sh_elec)
1187 info[i++] = _("あなたは電気に包まれている。", "You are surrounded with electricity.");
1189 if (creature_ptr->sh_cold)
1191 info[i++] = _("あなたは冷気のオーラに包まれている。", "You are surrounded with an aura of coldness.");
1193 if (creature_ptr->tim_sh_holy)
1195 info[i++] = _("あなたは聖なるオーラに包まれている。", "You are surrounded with a holy aura.");
1197 if (creature_ptr->tim_sh_touki)
1199 info[i++] = _("あなたは闘気のオーラに包まれている。", "You are surrounded with an energy aura.");
1201 if (creature_ptr->anti_magic)
1203 info[i++] = _("あなたは反魔法シールドに包まれている。", "You are surrounded by an anti-magic shell.");
1205 if (creature_ptr->anti_tele)
1207 info[i++] = _("あなたはテレポートできない。", "You cannot teleport.");
1209 if (creature_ptr->lite)
1211 info[i++] = _("あなたの身体は光っている。", "You are carrying a permanent light.");
1213 if (creature_ptr->warning)
1215 info[i++] = _("あなたは行動の前に危険を察知することができる。", "You will be warned before dangerous actions.");
1217 if (creature_ptr->dec_mana)
1219 info[i++] = _("あなたは少ない消費魔力で魔法を唱えることができる。", "You can cast spells with fewer mana points.");
1221 if (creature_ptr->easy_spell)
1223 info[i++] = _("あなたは低い失敗率で魔法を唱えることができる。", "Fail rate of your magic is decreased.");
1225 if (creature_ptr->heavy_spell)
1227 info[i++] = _("あなたは高い失敗率で魔法を唱えなければいけない。", "Fail rate of your magic is increased.");
1229 if (creature_ptr->mighty_throw)
1231 info[i++] = _("あなたは強く物を投げる。", "You can throw objects powerfully.");
1234 if (creature_ptr->immune_acid)
1236 info[i++] = _("あなたは酸に対する完全なる免疫を持っている。", "You are completely immune to acid.");
1238 else if (creature_ptr->resist_acid && is_oppose_acid(creature_ptr))
1240 info[i++] = _("あなたは酸への強力な耐性を持っている。", "You resist acid exceptionally well.");
1242 else if (creature_ptr->resist_acid || is_oppose_acid(creature_ptr))
1244 info[i++] = _("あなたは酸への耐性を持っている。", "You are resistant to acid.");
1247 if (creature_ptr->immune_elec)
1249 info[i++] = _("あなたは電撃に対する完全なる免疫を持っている。", "You are completely immune to lightning.");
1251 else if (creature_ptr->resist_elec && is_oppose_elec(creature_ptr))
1253 info[i++] = _("あなたは電撃への強力な耐性を持っている。", "You resist lightning exceptionally well.");
1255 else if (creature_ptr->resist_elec || is_oppose_elec(creature_ptr))
1257 info[i++] = _("あなたは電撃への耐性を持っている。", "You are resistant to lightning.");
1260 if (PRACE_IS_(creature_ptr, RACE_ANDROID) && !creature_ptr->immune_elec)
1262 info[i++] = _("あなたは電撃に弱い。", "You are susceptible to damage from lightning.");
1265 if (creature_ptr->immune_fire)
1267 info[i++] = _("あなたは火に対する完全なる免疫を持っている。", "You are completely immune to fire.");
1269 else if (creature_ptr->resist_fire && is_oppose_fire(creature_ptr))
1271 info[i++] = _("あなたは火への強力な耐性を持っている。", "You resist fire exceptionally well.");
1273 else if (creature_ptr->resist_fire || is_oppose_fire(creature_ptr))
1275 info[i++] = _("あなたは火への耐性を持っている。", "You are resistant to fire.");
1278 if (PRACE_IS_(creature_ptr, RACE_ENT) && !creature_ptr->immune_fire)
1280 info[i++] = _("あなたは火に弱い。", "You are susceptible to damage from fire.");
1283 if (creature_ptr->immune_cold)
1285 info[i++] = _("あなたは冷気に対する完全なる免疫を持っている。", "You are completely immune to cold.");
1287 else if (creature_ptr->resist_cold && is_oppose_cold(creature_ptr))
1289 info[i++] = _("あなたは冷気への強力な耐性を持っている。", "You resist cold exceptionally well.");
1291 else if (creature_ptr->resist_cold || is_oppose_cold(creature_ptr))
1293 info[i++] = _("あなたは冷気への耐性を持っている。", "You are resistant to cold.");
1296 if (creature_ptr->resist_pois && is_oppose_pois(creature_ptr))
1298 info[i++] = _("あなたは毒への強力な耐性を持っている。", "You resist poison exceptionally well.");
1300 else if (creature_ptr->resist_pois || is_oppose_pois(creature_ptr))
1302 info[i++] = _("あなたは毒への耐性を持っている。", "You are resistant to poison.");
1305 if (creature_ptr->resist_lite)
1307 info[i++] = _("あなたは閃光への耐性を持っている。", "You are resistant to bright light.");
1310 if (PRACE_IS_(creature_ptr, RACE_VAMPIRE) || PRACE_IS_(creature_ptr, RACE_S_FAIRY) || (creature_ptr->mimic_form == MIMIC_VAMPIRE))
1312 info[i++] = _("あなたは閃光に弱い。", "You are susceptible to damage from bright light.");
1315 if (PRACE_IS_(creature_ptr, RACE_VAMPIRE) || (creature_ptr->mimic_form == MIMIC_VAMPIRE) || creature_ptr->wraith_form)
1317 info[i++] = _("あなたは暗黒に対する完全なる免疫を持っている。", "You are completely immune to darkness.");
1320 else if (creature_ptr->resist_dark)
1322 info[i++] = _("あなたは暗黒への耐性を持っている。", "You are resistant to darkness.");
1324 if (creature_ptr->resist_conf)
1326 info[i++] = _("あなたは混乱への耐性を持っている。", "You are resistant to confusion.");
1328 if (creature_ptr->resist_sound)
1330 info[i++] = _("あなたは音波の衝撃への耐性を持っている。", "You are resistant to sonic attacks.");
1332 if (creature_ptr->resist_disen)
1334 info[i++] = _("あなたは劣化への耐性を持っている。", "You are resistant to disenchantment.");
1336 if (creature_ptr->resist_chaos)
1338 info[i++] = _("あなたはカオスの力への耐性を持っている。", "You are resistant to chaos.");
1340 if (creature_ptr->resist_shard)
1342 info[i++] = _("あなたは破片の攻撃への耐性を持っている。", "You are resistant to blasts of shards.");
1344 if (creature_ptr->resist_nexus)
1346 info[i++] = _("あなたは因果混乱の攻撃への耐性を持っている。", "You are resistant to nexus attacks.");
1349 if (PRACE_IS_(creature_ptr, RACE_SPECTRE))
1351 info[i++] = _("あなたは地獄の力を吸収できる。", "You can drain nether forces.");
1353 else if (creature_ptr->resist_neth)
1355 info[i++] = _("あなたは地獄の力への耐性を持っている。", "You are resistant to nether forces.");
1357 if (creature_ptr->resist_fear)
1359 info[i++] = _("あなたは全く恐怖を感じない。", "You are completely fearless.");
1361 if (creature_ptr->resist_blind)
1363 info[i++] = _("あなたの目は盲目への耐性を持っている。", "Your eyes are resistant to blindness.");
1365 if (creature_ptr->resist_time)
1367 info[i++] = _("あなたは時間逆転への耐性を持っている。", "You are resistant to time.");
1370 if (creature_ptr->sustain_str)
1372 info[i++] = _("あなたの腕力は維持されている。", "Your strength is sustained.");
1374 if (creature_ptr->sustain_int)
1376 info[i++] = _("あなたの知能は維持されている。", "Your intelligence is sustained.");
1378 if (creature_ptr->sustain_wis)
1380 info[i++] = _("あなたの賢さは維持されている。", "Your wisdom is sustained.");
1382 if (creature_ptr->sustain_con)
1384 info[i++] = _("あなたの耐久力は維持されている。", "Your constitution is sustained.");
1386 if (creature_ptr->sustain_dex)
1388 info[i++] = _("あなたの器用さは維持されている。", "Your dexterity is sustained.");
1390 if (creature_ptr->sustain_chr)
1392 info[i++] = _("あなたの魅力は維持されている。", "Your charisma is sustained.");
1395 if (have_flag(flgs, TR_STR))
1397 info[i++] = _("あなたの腕力は装備によって影響を受けている。", "Your strength is affected by your equipment.");
1399 if (have_flag(flgs, TR_INT))
1401 info[i++] = _("あなたの知能は装備によって影響を受けている。", "Your intelligence is affected by your equipment.");
1403 if (have_flag(flgs, TR_WIS))
1405 info[i++] = _("あなたの賢さは装備によって影響を受けている。", "Your wisdom is affected by your equipment.");
1407 if (have_flag(flgs, TR_DEX))
1409 info[i++] = _("あなたの器用さは装備によって影響を受けている。", "Your dexterity is affected by your equipment.");
1411 if (have_flag(flgs, TR_CON))
1413 info[i++] = _("あなたの耐久力は装備によって影響を受けている。", "Your constitution is affected by your equipment.");
1415 if (have_flag(flgs, TR_CHR))
1417 info[i++] = _("あなたの魅力は装備によって影響を受けている。", "Your charisma is affected by your equipment.");
1420 if (have_flag(flgs, TR_STEALTH))
1422 info[i++] = _("あなたの隠密行動能力は装備によって影響を受けている。", "Your stealth is affected by your equipment.");
1424 if (have_flag(flgs, TR_SEARCH))
1426 info[i++] = _("あなたの探索能力は装備によって影響を受けている。", "Your searching ability is affected by your equipment.");
1428 if (have_flag(flgs, TR_INFRA))
1430 info[i++] = _("あなたの赤外線視力は装備によって影響を受けている。", "Your infravision is affected by your equipment.");
1432 if (have_flag(flgs, TR_TUNNEL))
1434 info[i++] = _("あなたの採掘能力は装備によって影響を受けている。", "Your digging ability is affected by your equipment.");
1436 if (have_flag(flgs, TR_SPEED))
1438 info[i++] = _("あなたのスピードは装備によって影響を受けている。", "Your speed is affected by your equipment.");
1440 if (have_flag(flgs, TR_BLOWS))
1442 info[i++] = _("あなたの攻撃速度は装備によって影響を受けている。", "Your attack speed is affected by your equipment.");
1446 /* Access the current weapon */
1447 o_ptr = &creature_ptr->inventory_list[INVEN_RARM];
1449 /* Analyze the weapon */
1452 /* Indicate Blessing */
1453 if (have_flag(flgs, TR_BLESSED))
1455 info[i++] = _("あなたの武器は神の祝福を受けている。", "Your weapon has been blessed by the gods.");
1458 if (have_flag(flgs, TR_CHAOTIC))
1460 info[i++] = _("あなたの武器はログルスの徴の属性をもつ。", "Your weapon is branded with the Sign of Logrus.");
1463 if (have_flag(flgs, TR_IMPACT))
1465 info[i++] = _("あなたの武器は打撃で地震を発生することができる。", "The impact of your weapon can cause earthquakes.");
1468 if (have_flag(flgs, TR_VORPAL))
1470 info[i++] = _("あなたの武器は非常に鋭い。", "Your weapon is very sharp.");
1473 if (have_flag(flgs, TR_VAMPIRIC))
1475 info[i++] = _("あなたの武器は敵から生命力を吸収する。", "Your weapon drains life from your foes.");
1478 /* Special "Attack Bonuses" */
1479 if (have_flag(flgs, TR_BRAND_ACID))
1481 info[i++] = _("あなたの武器は敵を溶かす。", "Your weapon melts your foes.");
1483 if (have_flag(flgs, TR_BRAND_ELEC))
1485 info[i++] = _("あなたの武器は敵を感電させる。", "Your weapon shocks your foes.");
1487 if (have_flag(flgs, TR_BRAND_FIRE))
1489 info[i++] = _("あなたの武器は敵を燃やす。", "Your weapon burns your foes.");
1491 if (have_flag(flgs, TR_BRAND_COLD))
1493 info[i++] = _("あなたの武器は敵を凍らせる。", "Your weapon freezes your foes.");
1495 if (have_flag(flgs, TR_BRAND_POIS))
1497 info[i++] = _("あなたの武器は敵を毒で侵す。", "Your weapon poisons your foes.");
1500 /* Special "slay" flags */
1501 if (have_flag(flgs, TR_KILL_ANIMAL))
1503 info[i++] = _("あなたの武器は動物の天敵である。", "Your weapon is a great bane of animals.");
1505 else if (have_flag(flgs, TR_SLAY_ANIMAL))
1507 info[i++] = _("あなたの武器は動物に対して強い力を発揮する。", "Your weapon strikes at animals with extra force.");
1509 if (have_flag(flgs, TR_KILL_EVIL))
1511 info[i++] = _("あなたの武器は邪悪なる存在の天敵である。", "Your weapon is a great bane of evil.");
1513 else if (have_flag(flgs, TR_SLAY_EVIL))
1515 info[i++] = _("あなたの武器は邪悪なる存在に対して強い力を発揮する。", "Your weapon strikes at evil with extra force.");
1517 if (have_flag(flgs, TR_KILL_HUMAN))
1519 info[i++] = _("あなたの武器は人間の天敵である。", "Your weapon is a great bane of humans.");
1521 else if (have_flag(flgs, TR_SLAY_HUMAN))
1523 info[i++] = _("あなたの武器は人間に対して特に強い力を発揮する。", "Your weapon is especially deadly against humans.");
1525 if (have_flag(flgs, TR_KILL_UNDEAD))
1527 info[i++] = _("あなたの武器はアンデッドの天敵である。", "Your weapon is a great bane of undead.");
1529 else if (have_flag(flgs, TR_SLAY_UNDEAD))
1531 info[i++] = _("あなたの武器はアンデッドに対して神聖なる力を発揮する。", "Your weapon strikes at undead with holy wrath.");
1533 if (have_flag(flgs, TR_KILL_DEMON))
1535 info[i++] = _("あなたの武器はデーモンの天敵である。", "Your weapon is a great bane of demons.");
1537 else if (have_flag(flgs, TR_SLAY_DEMON))
1539 info[i++] = _("あなたの武器はデーモンに対して神聖なる力を発揮する。", "Your weapon strikes at demons with holy wrath.");
1541 if (have_flag(flgs, TR_KILL_ORC))
1543 info[i++] = _("あなたの武器はオークの天敵である。", "Your weapon is a great bane of orcs.");
1545 else if (have_flag(flgs, TR_SLAY_ORC))
1547 info[i++] = _("あなたの武器はオークに対して特に強い力を発揮する。", "Your weapon is especially deadly against orcs.");
1549 if (have_flag(flgs, TR_KILL_TROLL))
1551 info[i++] = _("あなたの武器はトロルの天敵である。", "Your weapon is a great bane of trolls.");
1553 else if (have_flag(flgs, TR_SLAY_TROLL))
1555 info[i++] = _("あなたの武器はトロルに対して特に強い力を発揮する。", "Your weapon is especially deadly against trolls.");
1557 if (have_flag(flgs, TR_KILL_GIANT))
1559 info[i++] = _("あなたの武器は巨人の天敵である。", "Your weapon is a great bane of giants.");
1561 else if (have_flag(flgs, TR_SLAY_GIANT))
1563 info[i++] = _("あなたの武器は巨人に対して特に強い力を発揮する。", "Your weapon is especially deadly against giants.");
1565 /* Special "kill" flags */
1566 if (have_flag(flgs, TR_KILL_DRAGON))
1568 info[i++] = _("あなたの武器はドラゴンの天敵である。", "Your weapon is a great bane of dragons.");
1570 else if (have_flag(flgs, TR_SLAY_DRAGON))
1572 info[i++] = _("あなたの武器はドラゴンに対して特に強い力を発揮する。", "Your weapon is especially deadly against dragons.");
1575 if (have_flag(flgs, TR_FORCE_WEAPON))
1577 info[i++] = _("あなたの武器はMPを使って攻撃する。", "Your weapon causes greate damages using your MP.");
1579 if (have_flag(flgs, TR_THROW))
1581 info[i++] = _("あなたの武器は投げやすい。", "Your weapon can be thrown well.");
1587 /* Erase the screen */
1588 for (k = 1; k < 24; k++) prt("", k, 13);
1590 /* Label the information */
1591 prt(_(" あなたの状態:", " Your Attributes:"), 1, 15);
1593 /* We will print on top of the map (column 13) */
1594 for (k = 2, j = 0; j < i; j++)
1597 prt(info[j], k++, 15);
1599 /* Every 20 entries (lines 2 to 21), start over */
1600 if ((k == 22) && (j + 1 < i))
1602 prt(_("-- 続く --", "-- more --"), k, 15);
1604 for (; k > 2; k--) prt("", k, 15);
1609 prt(_("[何かキーを押すとゲームに戻ります]", "[Press any key to continue]"), k, 13);
1615 * @brief 魔法効果時間のターン数に基づいて表現IDを返す。
1619 static int report_magics_aux(int dur)
1637 else if (dur <= 100)
1641 else if (dur <= 200)
1651 static concptr report_magic_durations[] =
1664 "for a little while",
1668 "for a very long time",
1669 "for an incredibly long time",
1670 "until you hit a monster"
1676 * @brief 現在の一時的効果一覧を返す / Report all currently active magical effects.
1679 void report_magics(player_type *creature_ptr)
1687 if (creature_ptr->blind)
1689 info2[i] = report_magics_aux(creature_ptr->blind);
1690 info[i++] = _("あなたは目が見えない", "You cannot see");
1692 if (creature_ptr->confused)
1694 info2[i] = report_magics_aux(creature_ptr->confused);
1695 info[i++] = _("あなたは混乱している", "You are confused");
1697 if (creature_ptr->afraid)
1699 info2[i] = report_magics_aux(creature_ptr->afraid);
1700 info[i++] = _("あなたは恐怖に侵されている", "You are terrified");
1702 if (creature_ptr->poisoned)
1704 info2[i] = report_magics_aux(creature_ptr->poisoned);
1705 info[i++] = _("あなたは毒に侵されている", "You are poisoned");
1707 if (creature_ptr->image)
1709 info2[i] = report_magics_aux(creature_ptr->image);
1710 info[i++] = _("あなたは幻覚を見ている", "You are hallucinating");
1712 if (creature_ptr->blessed)
1714 info2[i] = report_magics_aux(creature_ptr->blessed);
1715 info[i++] = _("あなたは高潔さを感じている", "You feel rightous");
1717 if (creature_ptr->hero)
1719 info2[i] = report_magics_aux(creature_ptr->hero);
1720 info[i++] = _("あなたはヒーロー気分だ", "You feel heroic");
1722 if (creature_ptr->shero)
1724 info2[i] = report_magics_aux(creature_ptr->shero);
1725 info[i++] = _("あなたは戦闘狂だ", "You are in a battle rage");
1727 if (creature_ptr->protevil)
1729 info2[i] = report_magics_aux(creature_ptr->protevil);
1730 info[i++] = _("あなたは邪悪なる存在から守られている", "You are protected from evil");
1732 if (creature_ptr->shield)
1734 info2[i] = report_magics_aux(creature_ptr->shield);
1735 info[i++] = _("あなたは神秘のシールドで守られている", "You are protected by a mystic shield");
1737 if (creature_ptr->invuln)
1739 info2[i] = report_magics_aux(creature_ptr->invuln);
1740 info[i++] = _("あなたは無敵だ", "You are invulnerable");
1742 if (creature_ptr->wraith_form)
1744 info2[i] = report_magics_aux(creature_ptr->wraith_form);
1745 info[i++] = _("あなたは幽体化している", "You are incorporeal");
1747 if (creature_ptr->special_attack & ATTACK_CONFUSE)
1750 info[i++] = _("あなたの手は赤く輝いている", "Your hands are glowing dull red.");
1752 if (creature_ptr->word_recall)
1754 info2[i] = report_magics_aux(creature_ptr->word_recall);
1755 info[i++] = _("この後帰還の詔が発動する", "You are waiting to be recalled");
1757 if (creature_ptr->alter_reality)
1759 info2[i] = report_magics_aux(creature_ptr->alter_reality);
1760 info[i++] = _("この後現実変容が発動する", "You waiting to be altered");
1762 if (creature_ptr->oppose_acid)
1764 info2[i] = report_magics_aux(creature_ptr->oppose_acid);
1765 info[i++] = _("あなたは酸への耐性を持っている", "You are resistant to acid");
1767 if (creature_ptr->oppose_elec)
1769 info2[i] = report_magics_aux(creature_ptr->oppose_elec);
1770 info[i++] = _("あなたは電撃への耐性を持っている", "You are resistant to lightning");
1772 if (creature_ptr->oppose_fire)
1774 info2[i] = report_magics_aux(creature_ptr->oppose_fire);
1775 info[i++] = _("あなたは火への耐性を持っている", "You are resistant to fire");
1777 if (creature_ptr->oppose_cold)
1779 info2[i] = report_magics_aux(creature_ptr->oppose_cold);
1780 info[i++] = _("あなたは冷気への耐性を持っている", "You are resistant to cold");
1782 if (creature_ptr->oppose_pois)
1784 info2[i] = report_magics_aux(creature_ptr->oppose_pois);
1785 info[i++] = _("あなたは毒への耐性を持っている", "You are resistant to poison");
1789 /* Erase the screen */
1790 for (k = 1; k < 24; k++) prt("", k, 13);
1792 /* Label the information */
1793 prt(_(" 現在かかっている魔法 :", " Your Current Magic:"), 1, 15);
1796 /* We will print on top of the map (column 13) */
1797 for (k = 2, j = 0; j < i; j++)
1800 sprintf(Dummy, _("%-28s : 期間 - %s ", "%s %s."), info[j],
1801 report_magic_durations[info2[j]]);
1802 prt(Dummy, k++, 15);
1804 /* Every 20 entries (lines 2 to 21), start over */
1805 if ((k == 22) && (j + 1 < i))
1807 prt(_("-- 続く --", "-- more --"), k, 15);
1809 for (; k > 2; k--) prt("", k, 15);
1814 prt(_("[何かキーを押すとゲームに戻ります]", "[Press any key to continue]"), k, 13);