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 "player/selfinfo.h"
18 #include "io/input-key-acceptor.h"
19 #include "object-enchant/tr-types.h"
20 #include "object-enchant/trc-types.h"
21 #include "object/object-flags.h"
22 #include "player/avatar.h"
23 #include "player/player-class.h"
24 #include "player/player-race-types.h"
25 #include "player/player-race.h"
26 #include "player/player-status.h"
27 #include "realm/realm-names-table.h"
28 #include "realm/realm-song-numbers.h"
29 #include "term/screen-processor.h"
30 #include "util/bit-flags-calculator.h"
33 * @brief 自己分析処理(Nethackからのアイデア) / self-knowledge... idea from nethack.
37 * Useful for determining powers and
38 * resistences of items. It saves the screen, clears it, then starts listing
39 * attributes, a screenful at a time. (There are a LOT of attributes to
40 * list. It will probably take 2 or 3 screens for a powerful character whose
41 * using several artifacts...) -CFT
43 * It is now a lot more efficient. -BEN-
45 * See also "identify_fully()".
47 * Use the "show_file()" method, perhaps.
50 void self_knowledge(player_type *creature_ptr)
55 char v_string[8][128];
56 char s_string[6][128];
58 BIT_FLAGS flgs[TR_FLAG_SIZE];
67 PLAYER_LEVEL plev = creature_ptr->lev;
71 for (j = 0; j < TR_FLAG_SIZE; j++)
74 creature_ptr->knowledge |= (KNOW_STAT | KNOW_HPRATE);
78 percent = (int)(((long)creature_ptr->player_hp[PY_MAX_LEVEL - 1] * 200L) /
79 (2 * creature_ptr->hitdie +
80 ((PY_MAX_LEVEL - 1 + 3) * (creature_ptr->hitdie + 1))));
82 sprintf(Dummy, _("現在の体力ランク : %d/100", "Your current Life Rating is %d/100."), percent);
83 strcpy(buf[0], Dummy);
87 chg_virtue(creature_ptr, V_KNOWLEDGE, 1);
88 chg_virtue(creature_ptr, V_ENLIGHTEN, 1);
90 /* Acquire item flags from equipment */
91 for (k = INVEN_RARM; k < INVEN_TOTAL; k++)
93 u32b tflgs[TR_FLAG_SIZE];
95 o_ptr = &creature_ptr->inventory_list[k];
96 if (!o_ptr->k_idx) continue;
97 object_flags(o_ptr, tflgs);
100 for (j = 0; j < TR_FLAG_SIZE; j++)
104 info[i++] = _("能力の最大値", "Limits of maximum stats");
106 for (v_nr = 0; v_nr < A_MAX; v_nr++)
110 sprintf(stat_desc, "%s 18/%d", stat_names[v_nr], creature_ptr->stat_max_max[v_nr] - 18);
112 strcpy(s_string[v_nr], stat_desc);
114 info[i++] = s_string[v_nr];
118 sprintf(Dummy, _("現在の属性 : %s(%ld)", "Your alignment : %s(%ld)"), your_alignment(creature_ptr), (long int)creature_ptr->align);
119 strcpy(buf[1], Dummy);
121 for (v_nr = 0; v_nr < 8; v_nr++)
123 GAME_TEXT vir_name[20];
125 int tester = creature_ptr->virtues[v_nr];
127 strcpy(vir_name, virtue[(creature_ptr->vir_types[v_nr]) - 1]);
129 sprintf(vir_desc, _("おっと。%sの情報なし。", "Oops. No info about %s."), vir_name);
131 sprintf(vir_desc, _("[%s]の対極 (%d)", "You are the polar opposite of %s (%d)."),
133 else if (tester < -80)
134 sprintf(vir_desc, _("[%s]の大敵 (%d)", "You are an arch-enemy of %s (%d)."),
136 else if (tester < -60)
137 sprintf(vir_desc, _("[%s]の強敵 (%d)", "You are a bitter enemy of %s (%d)."),
139 else if (tester < -40)
140 sprintf(vir_desc, _("[%s]の敵 (%d)", "You are an enemy of %s (%d)."),
142 else if (tester < -20)
143 sprintf(vir_desc, _("[%s]の罪者 (%d)", "You have sinned against %s (%d)."),
146 sprintf(vir_desc, _("[%s]の迷道者 (%d)", "You have strayed from the path of %s (%d)."),
148 else if (tester == 0)
149 sprintf(vir_desc, _("[%s]の中立者 (%d)", "You are neutral to %s (%d)."),
151 else if (tester < 20)
152 sprintf(vir_desc, _("[%s]の小徳者 (%d)", "You are somewhat virtuous in %s (%d)."),
154 else if (tester < 40)
155 sprintf(vir_desc, _("[%s]の中徳者 (%d)", "You are virtuous in %s (%d)."),
157 else if (tester < 60)
158 sprintf(vir_desc, _("[%s]の高徳者 (%d)", "You are very virtuous in %s (%d)."),
160 else if (tester < 80)
161 sprintf(vir_desc, _("[%s]の覇者 (%d)", "You are a champion of %s (%d)."),
163 else if (tester < 100)
164 sprintf(vir_desc, _("[%s]の偉大な覇者 (%d)", "You are a great champion of %s (%d)."),
167 sprintf(vir_desc, _("[%s]の具現者 (%d)", "You are the living embodiment of %s (%d)."),
170 strcpy(v_string[v_nr], vir_desc);
172 info[i++] = v_string[v_nr];
176 /* Racial powers... */
177 if (creature_ptr->mimic_form)
179 switch (creature_ptr->mimic_form)
182 case MIMIC_DEMON_LORD:
183 sprintf(Dummy, _("あなたは %d ダメージの地獄か火炎のブレスを吐くことができる。(%d MP)",
184 "You can nether breathe, dam. %d (cost %d)."), 3 * plev, 10 + plev / 3);
191 sprintf(Dummy, _("あなたは敵から %d-%d HP の生命力を吸収できる。(%d MP)",
192 "You can steal life from a foe, dam. %d-%d (cost %d)."),
193 plev + MAX(1, plev / 10), plev + plev * MAX(1, plev / 10), 1 + (plev / 3));
201 switch (creature_ptr->prace)
206 info[i++] = _("あなたは罠とドアと階段を感知できる。(5 MP)", "You can find traps, doors and stairs (cost 5).");
211 info[i++] = _("あなたは食料を生成できる。(10 MP)", "You can produce food (cost 10).");
217 sprintf(Dummy, _("あなたは範囲 %d 以内にテレポートできる。(%d MP)", "You can teleport, range %d (cost %d)."),
218 (1 + plev), (5 + (plev / 5)));
224 info[i++] = _("あなたは恐怖を除去できる。(5 MP)", "You can remove fear (cost 5).");
226 case RACE_HALF_TROLL:
228 info[i++] = _("あなたは狂暴化することができる。(12 MP) ", "You can enter a berserk fury (cost 12).");
232 info[i++] = _("あなたはシャドウシフトすることができる。(50 MP)", "You can Shift Shadows (cost 50).");
235 info[i++] = _("あなたは「パターン」を心に描いて歩くことができる。(75 MP)", "You can mentally Walk the Pattern (cost 75).");
240 info[i++] = _("あなたは狂暴化することができる。(10 MP) ", "You can enter a berserk fury (cost 10).");
245 info[i++] = _("あなたは爆発のルーンを仕掛けることができる。(35 MP)", "You can set an Explosive Rune (cost 35).");
248 case RACE_HALF_GIANT:
250 info[i++] = _("あなたは石の壁を壊すことができる。(10 MP)", "You can break stone walls (cost 10).");
252 case RACE_HALF_TITAN:
254 info[i++] = _("あなたはモンスターをスキャンすることができる。(20 MP)", "You can probe monsters (cost 20).");
259 sprintf(Dummy, _("あなたは %d ダメージの岩石を投げることができる。(15 MP)",
260 "You can throw a boulder, dam. %d (cost 15)."), 3 * plev);
266 info[i++] = _("あなたは恐怖を呼び起こす叫び声を発することができる。(15 MP)", "You can make a terrifying scream (cost 15).");
271 sprintf(Dummy, _("あなたは %d ダメージの酸を吹きかけることができる。(9 MP)", "You can spit acid, dam. %d (cost 9)."), plev);
279 _("あなたは %d ダメージの毒矢を投げることができる。(8 MP)", "You can throw a dart of poison, dam. %d (cost 8)."), plev);
286 sprintf(Dummy, _("あなたは %d ダメージのマジック・ミサイルの呪文を使える。(2 MP)", "You can cast a Magic Missile, dam %d (cost 2)."),
287 (3 + ((plev - 1) / 5)));
292 sprintf(Dummy, _("あなたは %d ダメージのブレスを吐くことができる。(%d MP)", "You can breathe, dam. %d (cost %d)."), 2 * plev, plev);
295 case RACE_MIND_FLAYER:
297 sprintf(Dummy, _("あなたは %d ダメージの精神攻撃をすることができる。(12 MP)", "You can mind blast your enemies, dam %d (cost 12)."), plev);
303 sprintf(Dummy, _("あなたは %d ダメージのファイア・ボールの呪文を使える。(15 MP)", "You can cast a Fire Ball, dam. %d (cost 15)."), plev);
308 sprintf(Dummy, _("あなたは %d ダメージのファイア・ボルトの呪文を使える。(15 MP)", "You can cast a Fire Bolt, dam. %d (cost 15)."), plev);
314 info[i++] = _("あなたは d20+30 ターンの間肌を石に変化させられる。(15 MP)", "You can turn your skin to stone, dur d20+30 (cost 15).");
319 info[i++] = _("あなたは失った経験値を回復することができる。(30 MP)", "You can restore lost experience (cost 30).");
324 sprintf(Dummy, _("あなたは敵から %d-%d HP の生命力を吸収できる。(%d MP)", "You can steal life from a foe, dam. %d-%d (cost %d)."),
325 plev + MAX(1, plev / 10), plev + plev * MAX(1, plev / 10), 1 + (plev / 3));
332 info[i++] = _("あなたは泣き叫んで敵を恐怖させることができる。(3 MP)", "You can wail to terrify your enemies (cost 3).");
338 info[i++] = _("あなたは敵を眠らせる魔法の粉を投げることができる。(12 MP)", "You can throw magical dust which induces sleep (cost 12).");
342 sprintf(Dummy, _("あなたは %d ダメージの地獄か火炎のブレスを吐くことができる。(%d MP)",
343 "You can breathe nether, dam. %d (cost %d)."), 3 * plev, 10 + plev / 3);
349 info[i++] = _("あなたは d20+30 ターンの間横に伸びることができる。(15 MP)", "You can expand horizontally, dur d20+30 (cost 15).");
353 sprintf(Dummy, _("あなたは %d ダメージのレイガンを撃つことができる。(7 MP)", "You can fire a ray gun with damage %d (cost 7)."),
356 sprintf(Dummy, _("あなたは %d ダメージのブラスターを撃つことができる。(13 MP)", "You can fire a blaster with damage %d (cost 13)."), plev);
358 sprintf(Dummy, _("あなたは %d ダメージのバズーカを撃つことができる。(26 MP)", "You can fire a bazooka with damage %d (cost 26)."), plev * 2);
360 sprintf(Dummy, _("あなたは %d ダメージのビームキャノンを撃つことができる。(40 MP)",
361 "You can fire a beam cannon with damage %d (cost 40)."), plev * 2);
363 sprintf(Dummy, _("あなたは %d ダメージのロケットを撃つことができる。(60 MP)",
364 "You can fire a rocket with damage %d (cost 60)."), plev * 5);
373 switch (creature_ptr->pclass)
378 info[i++] = _("あなたはランダムな方向に対して数回攻撃することができる。(75 MP)",
379 "You can attack some random directions simultaneously (cost 75).");
382 case CLASS_HIGH_MAGE:
383 if (creature_ptr->realm1 == REALM_HEX) break;
389 info[i++] = _("あなたはアイテムの魔力を吸収することができる。(1 MP)",
390 "You can absorb charges from an item (cost 1).");
394 if (is_good_realm(creature_ptr->realm1))
398 info[i++] = _("あなたは武器を祝福することができる。(70 MP)", "You can bless a weapon (cost 70).");
405 info[i++] = _("あなたは周りのすべてのモンスターを攻撃することができる。(40 MP)", "You can damage all monsters in sight (cost 40).");
412 info[i++] = _("あなたは攻撃して即座に逃げることができる。(12 MP)", "You can hit a monster and teleport away simultaneously (cost 12).");
418 info[i++] = _("あなたは怪物を調査することができる。(20 MP)", "You can probe monsters (cost 20).");
422 if (is_good_realm(creature_ptr->realm1))
426 info[i++] = _("あなたは聖なる槍を放つことができる。(30 MP)", "You can fire a holy spear (cost 30).");
433 info[i++] = _("あなたは生命力を減少させる槍を放つことができる。(30 MP)", "You can fire a spear which drains vitality (cost 30).");
437 case CLASS_WARRIOR_MAGE:
440 info[i++] = _("あなたはHPをMPに変換することができる。(0 MP)", "You can convert HP to SP (cost 0).");
441 info[i++] = _("あなたはMPをHPに変換することができる。(0 MP)", "You can convert SP to HP (cost 0).");
444 case CLASS_CHAOS_WARRIOR:
447 info[i++] = _("あなたは周囲に怪物を惑わす光を発生させることができる。(50 MP)",
448 "You can radiate light which confuses nearby monsters (cost 50).");
454 info[i++] = _("あなたは構えることができる。(0 MP)", "You can assume a special stance (cost 0).");
458 info[i++] = _("あなたは通常の2倍の攻撃を行うことができる。(30 MP)", "You can perform two attacks at the same time (cost 30).");
461 case CLASS_MINDCRAFTER:
462 case CLASS_FORCETRAINER:
465 info[i++] = _("あなたは精神を集中してMPを回復させることができる。(0 MP)", "You can concentrate to regenerate your mana (cost 0).");
469 info[i++] = _("あなたは写真を撮影することができる。(0 MP)", "You can take a photograph (cost 0).");
472 info[i++] = _("あなたはアイテムを完全に鑑定することができる。(20 MP)", "You can *identify* items (cost 20).");
478 info[i++] = _("あなたは怪物の特殊攻撃をダメージ2倍でまねることができる。(100 MP)",
479 "You can imitate monster's special attacks with double damage (cost 100).");
482 case CLASS_BEASTMASTER:
483 info[i++] = _("あなたは1体の生命のあるモンスターを支配することができる。(レベル/4 MP)", "You can dominate a monster (cost level/4).");
486 info[i++] = _("あなたは視界内の生命のあるモンスターを支配することができる。((レベル+20)/2 MP)",
487 "You can dominate living monsters in sight (cost (level+20)/4).");
490 case CLASS_MAGIC_EATER:
491 info[i++] = _("あなたは杖/魔法棒/ロッドの魔力を自分のものにすることができる。", "You can absorb a staff, wand or rod itself.");
496 info[i++] = _("あなたは1ターンに2回魔法を唱えることができる。(20 MP)", "You can cast two spells simultaneously (cost 20).");
501 info[i++] = _("あなたは精神を集中して気合いを溜めることができる。", "You can concentrate to regenerate your mana.");
505 info[i++] = _("あなたは特殊な型で構えることができる。", "You can assume a special stance.");
508 case CLASS_BLUE_MAGE:
509 info[i++] = _("あなたは相手に使われた魔法を学ぶことができる。", "You can study spells which your enemy casts on you.");
514 info[i++] = _("あなたはモンスターに乗って無理矢理ペットにすることができる。", "You can ride on a hostile monster to forcibly turn it into a pet.");
517 case CLASS_BERSERKER:
520 info[i++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
523 case CLASS_MIRROR_MASTER:
524 info[i++] = _("あなたは鏡を作り出すことができる。(2 MP)", "You can create a Mirror (cost 2).");
525 info[i++] = _("あなたは鏡を割ることができる。(0 MP)", "You can break distant Mirrors (cost 0).");
530 info[i++] = _("あなたは素早く移動することができる。", "You can walk extremely fast.");
535 if (creature_ptr->muta1)
537 if (creature_ptr->muta1 & MUT1_SPIT_ACID)
539 info[i++] = _("あなたは酸を吹きかけることができる。(ダメージ レベルX1)", "You can spit acid (dam lvl).");
541 if (creature_ptr->muta1 & MUT1_BR_FIRE)
543 info[i++] = _("あなたは炎のブレスを吐くことができる。(ダメージ レベルX2)", "You can breathe fire (dam lvl * 2).");
545 if (creature_ptr->muta1 & MUT1_HYPN_GAZE)
547 info[i++] = _("あなたの睨みは催眠効果をもつ。", "Your gaze is hypnotic.");
549 if (creature_ptr->muta1 & MUT1_TELEKINES)
551 info[i++] = _("あなたは念動力をもっている。", "You are telekinetic.");
553 if (creature_ptr->muta1 & MUT1_VTELEPORT)
555 info[i++] = _("あなたは自分の意思でテレポートできる。", "You can teleport at will.");
557 if (creature_ptr->muta1 & MUT1_MIND_BLST)
559 info[i++] = _("あなたは精神攻撃を行える。(ダメージ 3~12d3)", "You can Mind Blast your enemies (3 to 12d3 dam).");
561 if (creature_ptr->muta1 & MUT1_RADIATION)
563 info[i++] = _("あなたは自分の意思で強い放射線を発生することができる。(ダメージ レベルX2)", "You can emit hard radiation at will (dam lvl * 2).");
565 if (creature_ptr->muta1 & MUT1_VAMPIRISM)
567 info[i++] = _("あなたは吸血鬼のように敵から生命力を吸収することができる。(ダメージ レベルX2)",
568 "Like a vampire, you can drain life from a foe (dam lvl * 2).");
570 if (creature_ptr->muta1 & MUT1_SMELL_MET)
572 info[i++] = _("あなたは近くにある貴金属をかぎ分けることができる。", "You can smell nearby precious metal.");
574 if (creature_ptr->muta1 & MUT1_SMELL_MON)
576 info[i++] = _("あなたは近くのモンスターの存在をかぎ分けることができる。", "You can smell nearby monsters.");
578 if (creature_ptr->muta1 & MUT1_BLINK)
580 info[i++] = _("あなたは短い距離をテレポートできる。", "You can teleport yourself short distances.");
582 if (creature_ptr->muta1 & MUT1_EAT_ROCK)
584 info[i++] = _("あなたは硬い岩を食べることができる。", "You can consume solid rock.");
586 if (creature_ptr->muta1 & MUT1_SWAP_POS)
588 info[i++] = _("あなたは他の者と場所を入れ替わることができる。", "You can switch locations with another being.");
590 if (creature_ptr->muta1 & MUT1_SHRIEK)
592 info[i++] = _("あなたは身の毛もよだつ叫び声を発することができる。(ダメージ レベルX2)", "You can emit a horrible shriek (dam 2 * lvl).");
594 if (creature_ptr->muta1 & MUT1_ILLUMINE)
596 info[i++] = _("あなたは明るい光を放つことができる。", "You can emit bright light.");
598 if (creature_ptr->muta1 & MUT1_DET_CURSE)
600 info[i++] = _("あなたは邪悪な魔法の危険を感じとることができる。", "You can feel the danger of evil magic.");
602 if (creature_ptr->muta1 & MUT1_BERSERK)
604 info[i++] = _("あなたは自分の意思で狂乱戦闘状態になることができる。", "You can drive yourself into a berserk frenzy.");
606 if (creature_ptr->muta1 & MUT1_POLYMORPH)
608 info[i++] = _("あなたは自分の意志で変化できる。", "You can polymorph yourself at will.");
610 if (creature_ptr->muta1 & MUT1_MIDAS_TCH)
612 info[i++] = _("あなたは通常アイテムを金に変えることができる。", "You can turn ordinary items to gold.");
614 if (creature_ptr->muta1 & MUT1_GROW_MOLD)
616 info[i++] = _("あなたは周囲にキノコを生やすことができる。", "You can cause mold to grow near you.");
618 if (creature_ptr->muta1 & MUT1_RESIST)
620 info[i++] = _("あなたは元素の攻撃に対して身を硬くすることができる。", "You can harden yourself to the ravages of the elements.");
622 if (creature_ptr->muta1 & MUT1_EARTHQUAKE)
624 info[i++] = _("あなたは周囲のダンジョンを崩壊させることができる。", "You can bring down the dungeon around your ears.");
626 if (creature_ptr->muta1 & MUT1_EAT_MAGIC)
628 info[i++] = _("あなたは魔法のエネルギーを自分の物として使用できる。", "You can consume magic energy for your own use.");
630 if (creature_ptr->muta1 & MUT1_WEIGH_MAG)
632 info[i++] = _("あなたは自分に影響を与える魔法の力を感じることができる。", "You can feel the strength of the magics affecting you.");
634 if (creature_ptr->muta1 & MUT1_STERILITY)
636 info[i++] = _("あなたは集団的生殖不能を起こすことができる。", "You can cause mass impotence.");
638 if (creature_ptr->muta1 & MUT1_HIT_AND_AWAY)
640 info[i++] = _("あなたは攻撃した後身を守るため逃げることができる。", "You can run for your life after hitting something.");
642 if (creature_ptr->muta1 & MUT1_DAZZLE)
644 info[i++] = _("あなたは混乱と盲目を引き起こす放射能を発生することができる。 ", "You can emit confusing, blinding radiation.");
646 if (creature_ptr->muta1 & MUT1_LASER_EYE)
648 info[i++] = _("あなたは目からレーザー光線を発することができる。(ダメージ レベルX2)", "Your eyes can fire laser beams (dam 2 * lvl).");
650 if (creature_ptr->muta1 & MUT1_RECALL)
652 info[i++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
654 if (creature_ptr->muta1 & MUT1_BANISH)
656 info[i++] = _("あなたは邪悪なモンスターを地獄に落とすことができる。", "You can send evil creatures directly to Hell.");
658 if (creature_ptr->muta1 & MUT1_COLD_TOUCH)
660 info[i++] = _("あなたは敵を触って凍らせることができる。(ダメージ レベルX3)", "You can freeze things with a touch (dam 3 * lvl).");
662 if (creature_ptr->muta1 & MUT1_LAUNCHER)
664 info[i++] = _("あなたはアイテムを力強く投げることができる。", "You can hurl objects with great force.");
668 if (creature_ptr->muta2)
670 if (creature_ptr->muta2 & MUT2_BERS_RAGE)
672 info[i++] = _("あなたは狂戦士化の発作を起こす。", "You are subject to berserker fits.");
674 if (creature_ptr->muta2 & MUT2_COWARDICE)
676 info[i++] = _("あなたは時々臆病になる。", "You are subject to cowardice.");
678 if (creature_ptr->muta2 & MUT2_RTELEPORT)
680 info[i++] = _("あなたはランダムにテレポートする。", "You may randomly teleport.");
682 if (creature_ptr->muta2 & MUT2_ALCOHOL)
684 info[i++] = _("あなたの体はアルコールを分泌する。", "Your body produces alcohol.");
686 if (creature_ptr->muta2 & MUT2_HALLU)
688 info[i++] = _("あなたは幻覚を引き起こす精神錯乱に侵されている。", "You have a hallucinatory insanity.");
690 if (creature_ptr->muta2 & MUT2_FLATULENT)
692 info[i++] = _("あなたは制御できない強烈な屁をこく。", "You are subject to uncontrollable flatulence.");
694 if (creature_ptr->muta2 & MUT2_PROD_MANA)
696 info[i++] = _("あなたは制御不能な魔法のエネルギーを発している。", "You produce magical energy uncontrollably.");
698 if (creature_ptr->muta2 & MUT2_ATT_DEMON)
700 info[i++] = _("あなたはデーモンを引きつける。", "You attract demons.");
702 if (creature_ptr->muta2 & MUT2_SCOR_TAIL)
704 info[i++] = _("あなたはサソリの尻尾が生えている。(毒、ダメージ 3d7)", "You have a scorpion tail (poison, 3d7).");
706 if (creature_ptr->muta2 & MUT2_HORNS)
708 info[i++] = _("あなたは角が生えている。(ダメージ 2d6)", "You have horns (dam. 2d6).");
710 if (creature_ptr->muta2 & MUT2_BEAK)
712 info[i++] = _("あなたはクチバシが生えている。(ダメージ 2d4)", "You have a beak (dam. 2d4).");
714 if (creature_ptr->muta2 & MUT2_SPEED_FLUX)
716 info[i++] = _("あなたはランダムに早く動いたり遅く動いたりする。", "You move faster or slower randomly.");
718 if (creature_ptr->muta2 & MUT2_BANISH_ALL)
720 info[i++] = _("あなたは時々近くのモンスターを消滅させる。", "You sometimes cause nearby creatures to vanish.");
722 if (creature_ptr->muta2 & MUT2_EAT_LIGHT)
724 info[i++] = _("あなたは時々周囲の光を吸収して栄養にする。", "You sometimes feed off of the light around you.");
726 if (creature_ptr->muta2 & MUT2_TRUNK)
728 info[i++] = _("あなたは象のような鼻を持っている。(ダメージ 1d4)", "You have an elephantine trunk (dam 1d4).");
730 if (creature_ptr->muta2 & MUT2_ATT_ANIMAL)
732 info[i++] = _("あなたは動物を引きつける。", "You attract animals.");
734 if (creature_ptr->muta2 & MUT2_TENTACLES)
736 info[i++] = _("あなたは邪悪な触手を持っている。(ダメージ 2d5)", "You have evil looking tentacles (dam 2d5).");
738 if (creature_ptr->muta2 & MUT2_RAW_CHAOS)
740 info[i++] = _("あなたはしばしば純カオスに包まれる。", "You occasionally are surrounded with raw chaos.");
742 if (creature_ptr->muta2 & MUT2_NORMALITY)
744 info[i++] = _("あなたは変異していたが、回復してきている。", "You may be mutated, but you're recovering.");
746 if (creature_ptr->muta2 & MUT2_WRAITH)
748 info[i++] = _("あなたの肉体は幽体化したり実体化したりする。", "You fade in and out of physical reality.");
750 if (creature_ptr->muta2 & MUT2_POLY_WOUND)
752 info[i++] = _("あなたの健康はカオスの力に影響を受ける。", "Your health is subject to chaotic forces.");
754 if (creature_ptr->muta2 & MUT2_WASTING)
756 info[i++] = _("あなたは衰弱する恐ろしい病気にかかっている。", "You have a horrible wasting disease.");
758 if (creature_ptr->muta2 & MUT2_ATT_DRAGON)
760 info[i++] = _("あなたはドラゴンを引きつける。", "You attract dragons.");
762 if (creature_ptr->muta2 & MUT2_WEIRD_MIND)
764 info[i++] = _("あなたの精神はランダムに拡大したり縮小したりしている。", "Your mind randomly expands and contracts.");
766 if (creature_ptr->muta2 & MUT2_NAUSEA)
768 info[i++] = _("あなたの胃は非常に落ち着きがない。", "You have a seriously upset stomach.");
770 if (creature_ptr->muta2 & MUT2_CHAOS_GIFT)
772 info[i++] = _("あなたはカオスの守護悪魔から褒美をうけとる。", "Chaos deities give you gifts.");
774 if (creature_ptr->muta2 & MUT2_WALK_SHAD)
776 info[i++] = _("あなたはしばしば他の「影」に迷い込む。", "You occasionally stumble into other shadows.");
778 if (creature_ptr->muta2 & MUT2_WARNING)
780 info[i++] = _("あなたは敵に関する警告を感じる。", "You receive warnings about your foes.");
782 if (creature_ptr->muta2 & MUT2_INVULN)
784 info[i++] = _("あなたは時々負け知らずな気分になる。", "You occasionally feel invincible.");
786 if (creature_ptr->muta2 & MUT2_SP_TO_HP)
788 info[i++] = _("あなたは時々血が筋肉にどっと流れる。", "Your blood sometimes rushes to your muscles.");
790 if (creature_ptr->muta2 & MUT2_HP_TO_SP)
792 info[i++] = _("あなたは時々頭に血がどっと流れる。", "Your blood sometimes rushes to your head.");
794 if (creature_ptr->muta2 & MUT2_DISARM)
796 info[i++] = _("あなたはよくつまづいて物を落とす。", "You occasionally stumble and drop things.");
800 if (creature_ptr->muta3)
802 if (creature_ptr->muta3 & MUT3_HYPER_STR)
804 info[i++] = _("あなたは超人的に強い。(腕力+4)", "You are superhumanly strong (+4 STR).");
806 if (creature_ptr->muta3 & MUT3_PUNY)
808 info[i++] = _("あなたは虚弱だ。(腕力-4)", "You are puny (-4 STR).");
810 if (creature_ptr->muta3 & MUT3_HYPER_INT)
812 info[i++] = _("あなたの脳は生体コンピュータだ。(知能&賢さ+4)", "Your brain is a living computer (+4 INT/WIS).");
814 if (creature_ptr->muta3 & MUT3_MORONIC)
816 info[i++] = _("あなたは精神薄弱だ。(知能&賢さ-4)", "You are moronic (-4 INT/WIS).");
818 if (creature_ptr->muta3 & MUT3_RESILIENT)
820 info[i++] = _("あなたは非常にタフだ。(耐久+4)", "You are very resilient (+4 CON).");
822 if (creature_ptr->muta3 & MUT3_XTRA_FAT)
824 info[i++] = _("あなたは極端に太っている。(耐久+2,スピード-2)", "You are extremely fat (+2 CON, -2 speed).");
826 if (creature_ptr->muta3 & MUT3_ALBINO)
828 info[i++] = _("あなたはアルビノだ。(耐久-4)", "You are an albino (-4 CON).");
830 if (creature_ptr->muta3 & MUT3_FLESH_ROT)
832 info[i++] = _("あなたの肉体は腐敗している。(耐久-2,魅力-1)", "Your flesh is rotting (-2 CON, -1 CHR).");
834 if (creature_ptr->muta3 & MUT3_SILLY_VOI)
836 info[i++] = _("あなたの声は間抜けなキーキー声だ。(魅力-4)", "Your voice is a silly squeak (-4 CHR).");
838 if (creature_ptr->muta3 & MUT3_BLANK_FAC)
840 info[i++] = _("あなたはのっぺらぼうだ。(魅力-1)", "Your face is featureless (-1 CHR).");
842 if (creature_ptr->muta3 & MUT3_ILL_NORM)
844 info[i++] = _("あなたは幻影に覆われている。", "Your appearance is masked with illusion.");
846 if (creature_ptr->muta3 & MUT3_XTRA_EYES)
848 info[i++] = _("あなたは余分に二つの目を持っている。(探索+15)", "You have an extra pair of eyes (+15 search).");
850 if (creature_ptr->muta3 & MUT3_MAGIC_RES)
852 info[i++] = _("あなたは魔法への耐性をもっている。", "You are resistant to magic.");
854 if (creature_ptr->muta3 & MUT3_XTRA_NOIS)
856 info[i++] = _("あなたは変な音を発している。(隠密-3)", "You make a lot of strange noise (-3 stealth).");
858 if (creature_ptr->muta3 & MUT3_INFRAVIS)
860 info[i++] = _("あなたは素晴らしい赤外線視力を持っている。(+3)", "You have remarkable infravision (+3).");
862 if (creature_ptr->muta3 & MUT3_XTRA_LEGS)
864 info[i++] = _("あなたは余分に二本の足が生えている。(加速+3)", "You have an extra pair of legs (+3 speed).");
866 if (creature_ptr->muta3 & MUT3_SHORT_LEG)
868 info[i++] = _("あなたの足は短い突起だ。(加速-3)", "Your legs are short stubs (-3 speed).");
870 if (creature_ptr->muta3 & MUT3_ELEC_TOUC)
872 info[i++] = _("あなたの血管には電流が流れている。", "Electricity is running through your veins.");
874 if (creature_ptr->muta3 & MUT3_FIRE_BODY)
876 info[i++] = _("あなたの体は炎につつまれている。", "Your body is enveloped in flames.");
878 if (creature_ptr->muta3 & MUT3_WART_SKIN)
880 info[i++] = _("あなたの肌はイボに被われている。(魅力-2, AC+5)", "Your skin is covered with warts (-2 CHR, +5 AC).");
882 if (creature_ptr->muta3 & MUT3_SCALES)
884 info[i++] = _("あなたの肌は鱗になっている。(魅力-1, AC+10)", "Your skin has turned into scales (-1 CHR, +10 AC).");
886 if (creature_ptr->muta3 & MUT3_IRON_SKIN)
888 info[i++] = _("あなたの肌は鉄でできている。(器用-1, AC+25)", "Your skin is made of steel (-1 DEX, +25 AC).");
890 if (creature_ptr->muta3 & MUT3_WINGS)
892 info[i++] = _("あなたは羽を持っている。", "You have wings.");
894 if (creature_ptr->muta3 & MUT3_FEARLESS)
898 if (creature_ptr->muta3 & MUT3_REGEN)
902 if (creature_ptr->muta3 & MUT3_ESP)
906 if (creature_ptr->muta3 & MUT3_LIMBER)
908 info[i++] = _("あなたの体は非常にしなやかだ。(器用+3)", "Your body is very limber (+3 DEX).");
910 if (creature_ptr->muta3 & MUT3_ARTHRITIS)
912 info[i++] = _("あなたはいつも関節に痛みを感じている。(器用-3)", "Your joints ache constantly (-3 DEX).");
914 if (creature_ptr->muta3 & MUT3_VULN_ELEM)
916 info[i++] = _("あなたは元素の攻撃に弱い。", "You are susceptible to damage from the elements.");
918 if (creature_ptr->muta3 & MUT3_MOTION)
920 info[i++] = _("あなたの動作は正確で力強い。(隠密+1)", "Your movements are precise and forceful (+1 STL).");
922 if (creature_ptr->muta3 & MUT3_GOOD_LUCK)
924 info[i++] = _("あなたは白いオーラにつつまれている。", "There is a white aura surrounding you.");
926 if (creature_ptr->muta3 & MUT3_BAD_LUCK)
928 info[i++] = _("あなたは黒いオーラにつつまれている。", "There is a black aura surrounding you.");
932 if (creature_ptr->blind)
934 info[i++] = _("あなたは目が見えない。", "You cannot see.");
936 if (creature_ptr->confused)
938 info[i++] = _("あなたは混乱している。", "You are confused.");
940 if (creature_ptr->afraid)
942 info[i++] = _("あなたは恐怖に侵されている。", "You are terrified.");
944 if (creature_ptr->cut)
946 info[i++] = _("あなたは出血している。", "You are bleeding.");
948 if (creature_ptr->stun)
950 info[i++] = _("あなたはもうろうとしている。", "You are stunned.");
952 if (creature_ptr->poisoned)
954 info[i++] = _("あなたは毒に侵されている。", "You are poisoned.");
956 if (creature_ptr->image)
958 info[i++] = _("あなたは幻覚を見ている。", "You are hallucinating.");
960 if (creature_ptr->cursed & TRC_TY_CURSE)
962 info[i++] = _("あなたは邪悪な怨念に包まれている。", "You carry an ancient foul curse.");
964 if (creature_ptr->cursed & TRC_AGGRAVATE)
966 info[i++] = _("あなたはモンスターを怒らせている。", "You aggravate monsters.");
968 if (creature_ptr->cursed & TRC_DRAIN_EXP)
970 info[i++] = _("あなたは経験値を吸われている。", "You occasionally lose experience for no reason.");
972 if (creature_ptr->cursed & TRC_SLOW_REGEN)
974 info[i++] = _("あなたの回復力は非常に遅い。", "You regenerate slowly.");
976 if (creature_ptr->cursed & TRC_ADD_L_CURSE)
978 info[i++] = _("あなたの弱い呪いは増える。", "Your weak curses multiply."); /* 暫定的 -- henkma */
980 if (creature_ptr->cursed & TRC_ADD_H_CURSE)
982 info[i++] = _("あなたの強い呪いは増える。", "Your heavy curses multiply."); /* 暫定的 -- henkma */
984 if (creature_ptr->cursed & TRC_CALL_ANIMAL)
986 info[i++] = _("あなたは動物に狙われている。", "You attract animals.");
988 if (creature_ptr->cursed & TRC_CALL_DEMON)
990 info[i++] = _("あなたは悪魔に狙われている。", "You attract demons.");
992 if (creature_ptr->cursed & TRC_CALL_DRAGON)
994 info[i++] = _("あなたはドラゴンに狙われている。", "You attract dragons.");
996 if (creature_ptr->cursed & TRC_COWARDICE)
998 info[i++] = _("あなたは時々臆病になる。", "You are subject to cowardice.");
1000 if (creature_ptr->cursed & TRC_TELEPORT)
1002 info[i++] = _("あなたの位置はひじょうに不安定だ。", "Your position is very uncertain.");
1004 if (creature_ptr->cursed & TRC_LOW_MELEE)
1006 info[i++] = _("あなたの武器は攻撃を外しやすい。", "Your weapon causes you to miss blows.");
1008 if (creature_ptr->cursed & TRC_LOW_AC)
1010 info[i++] = _("あなたは攻撃を受けやすい。", "You are subject to be hit.");
1012 if (creature_ptr->cursed & TRC_LOW_MAGIC)
1014 info[i++] = _("あなたは魔法を失敗しやすい。", "Your spells fail more frequently.");
1016 if (creature_ptr->cursed & TRC_FAST_DIGEST)
1018 info[i++] = _("あなたはすぐお腹がへる。", "You have a good appetite.");
1020 if (creature_ptr->cursed & TRC_DRAIN_HP)
1022 info[i++] = _("あなたは体力を吸われている。", "You occasionally lose hit points for no reason.");
1024 if (creature_ptr->cursed & TRC_DRAIN_MANA)
1026 info[i++] = _("あなたは魔力を吸われている。", "You occasionally lose spell points for no reason.");
1028 if (is_blessed(creature_ptr))
1030 info[i++] = _("あなたは高潔さを感じている。", "You feel rightous.");
1032 if (IS_HERO(creature_ptr))
1034 info[i++] = _("あなたはヒーロー気分だ。", "You feel heroic.");
1036 if (creature_ptr->shero)
1038 info[i++] = _("あなたは戦闘狂だ。", "You are in a battle rage.");
1040 if (creature_ptr->protevil)
1042 info[i++] = _("あなたは邪悪なる存在から守られている。", "You are protected from evil.");
1044 if (creature_ptr->shield)
1046 info[i++] = _("あなたは神秘のシールドで守られている。", "You are protected by a mystic shield.");
1048 if (IS_INVULN(creature_ptr))
1050 info[i++] = _("あなたは現在傷つかない。", "You are temporarily invulnerable.");
1052 if (creature_ptr->wraith_form)
1054 info[i++] = _("あなたは一時的に幽体化している。", "You are temporarily incorporeal.");
1056 if (creature_ptr->special_attack & ATTACK_CONFUSE)
1058 info[i++] = _("あなたの手は赤く輝いている。", "Your hands are glowing dull red.");
1060 if (creature_ptr->special_attack & ATTACK_FIRE)
1062 info[i++] = _("あなたの手は火炎に覆われている。", "You can strike the enemy with flame.");
1064 if (creature_ptr->special_attack & ATTACK_COLD)
1066 info[i++] = _("あなたの手は冷気に覆われている。", "You can strike the enemy with cold.");
1068 if (creature_ptr->special_attack & ATTACK_ACID)
1070 info[i++] = _("あなたの手は酸に覆われている。", "You can strike the enemy with acid.");
1072 if (creature_ptr->special_attack & ATTACK_ELEC)
1074 info[i++] = _("あなたの手は電撃に覆われている。", "You can strike the enemy with electoric shock.");
1076 if (creature_ptr->special_attack & ATTACK_POIS)
1078 info[i++] = _("あなたの手は毒に覆われている。", "You can strike the enemy with poison.");
1080 switch (creature_ptr->action)
1083 info[i++] = _("あなたはひじょうに注意深く周囲を見渡している。", "You are looking around very carefully.");
1086 if (creature_ptr->new_spells)
1088 info[i++] = _("あなたは呪文や祈りを学ぶことができる。", "You can learn some spells/prayers.");
1090 if (creature_ptr->word_recall)
1092 info[i++] = _("あなたはすぐに帰還するだろう。", "You will soon be recalled.");
1094 if (creature_ptr->alter_reality)
1096 info[i++] = _("あなたはすぐにこの世界を離れるだろう。", "You will soon be altered.");
1098 if (creature_ptr->see_infra)
1100 info[i++] = _("あなたの瞳は赤外線に敏感である。", "Your eyes are sensitive to infrared light.");
1102 if (creature_ptr->see_inv)
1104 info[i++] = _("あなたは透明なモンスターを見ることができる。", "You can see invisible creatures.");
1106 if (creature_ptr->levitation)
1108 info[i++] = _("あなたは飛ぶことができる。", "You can fly.");
1110 if (creature_ptr->free_act)
1112 info[i++] = _("あなたは麻痺知らずの効果を持っている。", "You have free action.");
1114 if (creature_ptr->regenerate)
1116 info[i++] = _("あなたは素早く体力を回復する。", "You regenerate quickly.");
1118 if (creature_ptr->slow_digest)
1120 info[i++] = _("あなたは食欲が少ない。", "Your appetite is small.");
1122 if (creature_ptr->telepathy)
1124 info[i++] = _("あなたはテレパシー能力を持っている。", "You have ESP.");
1126 if (creature_ptr->esp_animal)
1128 info[i++] = _("あなたは自然界の生物の存在を感じる能力を持っている。", "You sense natural creatures.");
1130 if (creature_ptr->esp_undead)
1132 info[i++] = _("あなたはアンデッドの存在を感じる能力を持っている。", "You sense undead.");
1134 if (creature_ptr->esp_demon)
1136 info[i++] = _("あなたは悪魔の存在を感じる能力を持っている。", "You sense demons.");
1138 if (creature_ptr->esp_orc)
1140 info[i++] = _("あなたはオークの存在を感じる能力を持っている。", "You sense orcs.");
1142 if (creature_ptr->esp_troll)
1144 info[i++] = _("あなたはトロルの存在を感じる能力を持っている。", "You sense trolls.");
1146 if (creature_ptr->esp_giant)
1148 info[i++] = _("あなたは巨人の存在を感じる能力を持っている。", "You sense giants.");
1150 if (creature_ptr->esp_dragon)
1152 info[i++] = _("あなたはドラゴンの存在を感じる能力を持っている。", "You sense dragons.");
1154 if (creature_ptr->esp_human)
1156 info[i++] = _("あなたは人間の存在を感じる能力を持っている。", "You sense humans.");
1158 if (creature_ptr->esp_evil)
1160 info[i++] = _("あなたは邪悪な生き物の存在を感じる能力を持っている。", "You sense evil creatures.");
1162 if (creature_ptr->esp_good)
1164 info[i++] = _("あなたは善良な生き物の存在を感じる能力を持っている。", "You sense good creatures.");
1166 if (creature_ptr->esp_nonliving)
1168 info[i++] = _("あなたは活動する無生物体の存在を感じる能力を持っている。", "You sense non-living creatures.");
1170 if (creature_ptr->esp_unique)
1172 info[i++] = _("あなたは特別な強敵の存在を感じる能力を持っている。", "You sense unique monsters.");
1174 if (creature_ptr->hold_exp)
1176 info[i++] = _("あなたは自己の経験値をしっかりと維持する。", "You have a firm hold on your experience.");
1178 if (creature_ptr->reflect)
1180 info[i++] = _("あなたは矢の呪文を反射する。", "You reflect bolt spells.");
1182 if (creature_ptr->sh_fire)
1184 info[i++] = _("あなたは炎のオーラに包まれている。", "You are surrounded with a fiery aura.");
1186 if (creature_ptr->sh_elec)
1188 info[i++] = _("あなたは電気に包まれている。", "You are surrounded with electricity.");
1190 if (creature_ptr->sh_cold)
1192 info[i++] = _("あなたは冷気のオーラに包まれている。", "You are surrounded with an aura of coldness.");
1194 if (creature_ptr->tim_sh_holy)
1196 info[i++] = _("あなたは聖なるオーラに包まれている。", "You are surrounded with a holy aura.");
1198 if (creature_ptr->tim_sh_touki)
1200 info[i++] = _("あなたは闘気のオーラに包まれている。", "You are surrounded with an energy aura.");
1202 if (creature_ptr->anti_magic)
1204 info[i++] = _("あなたは反魔法シールドに包まれている。", "You are surrounded by an anti-magic shell.");
1206 if (creature_ptr->anti_tele)
1208 info[i++] = _("あなたはテレポートできない。", "You cannot teleport.");
1210 if (creature_ptr->lite)
1212 info[i++] = _("あなたの身体は光っている。", "You are carrying a permanent light.");
1214 if (creature_ptr->warning)
1216 info[i++] = _("あなたは行動の前に危険を察知することができる。", "You will be warned before dangerous actions.");
1218 if (creature_ptr->dec_mana)
1220 info[i++] = _("あなたは少ない消費魔力で魔法を唱えることができる。", "You can cast spells with fewer mana points.");
1222 if (creature_ptr->easy_spell)
1224 info[i++] = _("あなたは低い失敗率で魔法を唱えることができる。", "Fail rate of your magic is decreased.");
1226 if (creature_ptr->heavy_spell)
1228 info[i++] = _("あなたは高い失敗率で魔法を唱えなければいけない。", "Fail rate of your magic is increased.");
1230 if (creature_ptr->mighty_throw)
1232 info[i++] = _("あなたは強く物を投げる。", "You can throw objects powerfully.");
1235 if (creature_ptr->immune_acid)
1237 info[i++] = _("あなたは酸に対する完全なる免疫を持っている。", "You are completely immune to acid.");
1239 else if (creature_ptr->resist_acid && is_oppose_acid(creature_ptr))
1241 info[i++] = _("あなたは酸への強力な耐性を持っている。", "You resist acid exceptionally well.");
1243 else if (creature_ptr->resist_acid || is_oppose_acid(creature_ptr))
1245 info[i++] = _("あなたは酸への耐性を持っている。", "You are resistant to acid.");
1248 if (creature_ptr->immune_elec)
1250 info[i++] = _("あなたは電撃に対する完全なる免疫を持っている。", "You are completely immune to lightning.");
1252 else if (creature_ptr->resist_elec && is_oppose_elec(creature_ptr))
1254 info[i++] = _("あなたは電撃への強力な耐性を持っている。", "You resist lightning exceptionally well.");
1256 else if (creature_ptr->resist_elec || is_oppose_elec(creature_ptr))
1258 info[i++] = _("あなたは電撃への耐性を持っている。", "You are resistant to lightning.");
1261 if (is_specific_player_race(creature_ptr, RACE_ANDROID) && !creature_ptr->immune_elec)
1263 info[i++] = _("あなたは電撃に弱い。", "You are susceptible to damage from lightning.");
1266 if (creature_ptr->immune_fire)
1268 info[i++] = _("あなたは火に対する完全なる免疫を持っている。", "You are completely immune to fire.");
1270 else if (creature_ptr->resist_fire && is_oppose_fire(creature_ptr))
1272 info[i++] = _("あなたは火への強力な耐性を持っている。", "You resist fire exceptionally well.");
1274 else if (creature_ptr->resist_fire || is_oppose_fire(creature_ptr))
1276 info[i++] = _("あなたは火への耐性を持っている。", "You are resistant to fire.");
1279 if (is_specific_player_race(creature_ptr, RACE_ENT) && !creature_ptr->immune_fire)
1281 info[i++] = _("あなたは火に弱い。", "You are susceptible to damage from fire.");
1284 if (creature_ptr->immune_cold)
1286 info[i++] = _("あなたは冷気に対する完全なる免疫を持っている。", "You are completely immune to cold.");
1288 else if (creature_ptr->resist_cold && is_oppose_cold(creature_ptr))
1290 info[i++] = _("あなたは冷気への強力な耐性を持っている。", "You resist cold exceptionally well.");
1292 else if (creature_ptr->resist_cold || is_oppose_cold(creature_ptr))
1294 info[i++] = _("あなたは冷気への耐性を持っている。", "You are resistant to cold.");
1297 if (creature_ptr->resist_pois && is_oppose_pois(creature_ptr))
1299 info[i++] = _("あなたは毒への強力な耐性を持っている。", "You resist poison exceptionally well.");
1301 else if (creature_ptr->resist_pois || is_oppose_pois(creature_ptr))
1303 info[i++] = _("あなたは毒への耐性を持っている。", "You are resistant to poison.");
1306 if (creature_ptr->resist_lite)
1308 info[i++] = _("あなたは閃光への耐性を持っている。", "You are resistant to bright light.");
1311 if (is_specific_player_race(creature_ptr, RACE_VAMPIRE) || is_specific_player_race(creature_ptr, RACE_S_FAIRY) || (creature_ptr->mimic_form == MIMIC_VAMPIRE))
1313 info[i++] = _("あなたは閃光に弱い。", "You are susceptible to damage from bright light.");
1316 if (is_specific_player_race(creature_ptr, RACE_VAMPIRE) || (creature_ptr->mimic_form == MIMIC_VAMPIRE) || creature_ptr->wraith_form)
1318 info[i++] = _("あなたは暗黒に対する完全なる免疫を持っている。", "You are completely immune to darkness.");
1321 else if (creature_ptr->resist_dark)
1323 info[i++] = _("あなたは暗黒への耐性を持っている。", "You are resistant to darkness.");
1325 if (creature_ptr->resist_conf)
1327 info[i++] = _("あなたは混乱への耐性を持っている。", "You are resistant to confusion.");
1329 if (creature_ptr->resist_sound)
1331 info[i++] = _("あなたは音波の衝撃への耐性を持っている。", "You are resistant to sonic attacks.");
1333 if (creature_ptr->resist_disen)
1335 info[i++] = _("あなたは劣化への耐性を持っている。", "You are resistant to disenchantment.");
1337 if (creature_ptr->resist_chaos)
1339 info[i++] = _("あなたはカオスの力への耐性を持っている。", "You are resistant to chaos.");
1341 if (creature_ptr->resist_shard)
1343 info[i++] = _("あなたは破片の攻撃への耐性を持っている。", "You are resistant to blasts of shards.");
1345 if (creature_ptr->resist_nexus)
1347 info[i++] = _("あなたは因果混乱の攻撃への耐性を持っている。", "You are resistant to nexus attacks.");
1350 if (is_specific_player_race(creature_ptr, RACE_SPECTRE))
1352 info[i++] = _("あなたは地獄の力を吸収できる。", "You can drain nether forces.");
1354 else if (creature_ptr->resist_neth)
1356 info[i++] = _("あなたは地獄の力への耐性を持っている。", "You are resistant to nether forces.");
1358 if (creature_ptr->resist_fear)
1360 info[i++] = _("あなたは全く恐怖を感じない。", "You are completely fearless.");
1362 if (creature_ptr->resist_blind)
1364 info[i++] = _("あなたの目は盲目への耐性を持っている。", "Your eyes are resistant to blindness.");
1366 if (creature_ptr->resist_time)
1368 info[i++] = _("あなたは時間逆転への耐性を持っている。", "You are resistant to time.");
1371 if (creature_ptr->sustain_str)
1373 info[i++] = _("あなたの腕力は維持されている。", "Your strength is sustained.");
1375 if (creature_ptr->sustain_int)
1377 info[i++] = _("あなたの知能は維持されている。", "Your intelligence is sustained.");
1379 if (creature_ptr->sustain_wis)
1381 info[i++] = _("あなたの賢さは維持されている。", "Your wisdom is sustained.");
1383 if (creature_ptr->sustain_con)
1385 info[i++] = _("あなたの耐久力は維持されている。", "Your constitution is sustained.");
1387 if (creature_ptr->sustain_dex)
1389 info[i++] = _("あなたの器用さは維持されている。", "Your dexterity is sustained.");
1391 if (creature_ptr->sustain_chr)
1393 info[i++] = _("あなたの魅力は維持されている。", "Your charisma is sustained.");
1396 if (have_flag(flgs, TR_STR))
1398 info[i++] = _("あなたの腕力は装備によって影響を受けている。", "Your strength is affected by your equipment.");
1400 if (have_flag(flgs, TR_INT))
1402 info[i++] = _("あなたの知能は装備によって影響を受けている。", "Your intelligence is affected by your equipment.");
1404 if (have_flag(flgs, TR_WIS))
1406 info[i++] = _("あなたの賢さは装備によって影響を受けている。", "Your wisdom is affected by your equipment.");
1408 if (have_flag(flgs, TR_DEX))
1410 info[i++] = _("あなたの器用さは装備によって影響を受けている。", "Your dexterity is affected by your equipment.");
1412 if (have_flag(flgs, TR_CON))
1414 info[i++] = _("あなたの耐久力は装備によって影響を受けている。", "Your constitution is affected by your equipment.");
1416 if (have_flag(flgs, TR_CHR))
1418 info[i++] = _("あなたの魅力は装備によって影響を受けている。", "Your charisma is affected by your equipment.");
1421 if (have_flag(flgs, TR_STEALTH))
1423 info[i++] = _("あなたの隠密行動能力は装備によって影響を受けている。", "Your stealth is affected by your equipment.");
1425 if (have_flag(flgs, TR_SEARCH))
1427 info[i++] = _("あなたの探索能力は装備によって影響を受けている。", "Your searching ability is affected by your equipment.");
1429 if (have_flag(flgs, TR_INFRA))
1431 info[i++] = _("あなたの赤外線視力は装備によって影響を受けている。", "Your infravision is affected by your equipment.");
1433 if (have_flag(flgs, TR_TUNNEL))
1435 info[i++] = _("あなたの採掘能力は装備によって影響を受けている。", "Your digging ability is affected by your equipment.");
1437 if (have_flag(flgs, TR_SPEED))
1439 info[i++] = _("あなたのスピードは装備によって影響を受けている。", "Your speed is affected by your equipment.");
1441 if (have_flag(flgs, TR_BLOWS))
1443 info[i++] = _("あなたの攻撃速度は装備によって影響を受けている。", "Your attack speed is affected by your equipment.");
1447 /* Access the current weapon */
1448 o_ptr = &creature_ptr->inventory_list[INVEN_RARM];
1450 /* Analyze the weapon */
1453 /* Indicate Blessing */
1454 if (have_flag(flgs, TR_BLESSED))
1456 info[i++] = _("あなたの武器は神の祝福を受けている。", "Your weapon has been blessed by the gods.");
1459 if (have_flag(flgs, TR_CHAOTIC))
1461 info[i++] = _("あなたの武器はログルスの徴の属性をもつ。", "Your weapon is branded with the Sign of Logrus.");
1464 if (have_flag(flgs, TR_IMPACT))
1466 info[i++] = _("あなたの武器は打撃で地震を発生することができる。", "The impact of your weapon can cause earthquakes.");
1469 if (have_flag(flgs, TR_VORPAL))
1471 info[i++] = _("あなたの武器は非常に鋭い。", "Your weapon is very sharp.");
1474 if (have_flag(flgs, TR_VAMPIRIC))
1476 info[i++] = _("あなたの武器は敵から生命力を吸収する。", "Your weapon drains life from your foes.");
1479 /* Special "Attack Bonuses" */
1480 if (have_flag(flgs, TR_BRAND_ACID))
1482 info[i++] = _("あなたの武器は敵を溶かす。", "Your weapon melts your foes.");
1484 if (have_flag(flgs, TR_BRAND_ELEC))
1486 info[i++] = _("あなたの武器は敵を感電させる。", "Your weapon shocks your foes.");
1488 if (have_flag(flgs, TR_BRAND_FIRE))
1490 info[i++] = _("あなたの武器は敵を燃やす。", "Your weapon burns your foes.");
1492 if (have_flag(flgs, TR_BRAND_COLD))
1494 info[i++] = _("あなたの武器は敵を凍らせる。", "Your weapon freezes your foes.");
1496 if (have_flag(flgs, TR_BRAND_POIS))
1498 info[i++] = _("あなたの武器は敵を毒で侵す。", "Your weapon poisons your foes.");
1501 /* Special "slay" flags */
1502 if (have_flag(flgs, TR_KILL_ANIMAL))
1504 info[i++] = _("あなたの武器は動物の天敵である。", "Your weapon is a great bane of animals.");
1506 else if (have_flag(flgs, TR_SLAY_ANIMAL))
1508 info[i++] = _("あなたの武器は動物に対して強い力を発揮する。", "Your weapon strikes at animals with extra force.");
1510 if (have_flag(flgs, TR_KILL_EVIL))
1512 info[i++] = _("あなたの武器は邪悪なる存在の天敵である。", "Your weapon is a great bane of evil.");
1514 else if (have_flag(flgs, TR_SLAY_EVIL))
1516 info[i++] = _("あなたの武器は邪悪なる存在に対して強い力を発揮する。", "Your weapon strikes at evil with extra force.");
1518 if (have_flag(flgs, TR_KILL_HUMAN))
1520 info[i++] = _("あなたの武器は人間の天敵である。", "Your weapon is a great bane of humans.");
1522 else if (have_flag(flgs, TR_SLAY_HUMAN))
1524 info[i++] = _("あなたの武器は人間に対して特に強い力を発揮する。", "Your weapon is especially deadly against humans.");
1526 if (have_flag(flgs, TR_KILL_UNDEAD))
1528 info[i++] = _("あなたの武器はアンデッドの天敵である。", "Your weapon is a great bane of undead.");
1530 else if (have_flag(flgs, TR_SLAY_UNDEAD))
1532 info[i++] = _("あなたの武器はアンデッドに対して神聖なる力を発揮する。", "Your weapon strikes at undead with holy wrath.");
1534 if (have_flag(flgs, TR_KILL_DEMON))
1536 info[i++] = _("あなたの武器はデーモンの天敵である。", "Your weapon is a great bane of demons.");
1538 else if (have_flag(flgs, TR_SLAY_DEMON))
1540 info[i++] = _("あなたの武器はデーモンに対して神聖なる力を発揮する。", "Your weapon strikes at demons with holy wrath.");
1542 if (have_flag(flgs, TR_KILL_ORC))
1544 info[i++] = _("あなたの武器はオークの天敵である。", "Your weapon is a great bane of orcs.");
1546 else if (have_flag(flgs, TR_SLAY_ORC))
1548 info[i++] = _("あなたの武器はオークに対して特に強い力を発揮する。", "Your weapon is especially deadly against orcs.");
1550 if (have_flag(flgs, TR_KILL_TROLL))
1552 info[i++] = _("あなたの武器はトロルの天敵である。", "Your weapon is a great bane of trolls.");
1554 else if (have_flag(flgs, TR_SLAY_TROLL))
1556 info[i++] = _("あなたの武器はトロルに対して特に強い力を発揮する。", "Your weapon is especially deadly against trolls.");
1558 if (have_flag(flgs, TR_KILL_GIANT))
1560 info[i++] = _("あなたの武器は巨人の天敵である。", "Your weapon is a great bane of giants.");
1562 else if (have_flag(flgs, TR_SLAY_GIANT))
1564 info[i++] = _("あなたの武器は巨人に対して特に強い力を発揮する。", "Your weapon is especially deadly against giants.");
1566 /* Special "kill" flags */
1567 if (have_flag(flgs, TR_KILL_DRAGON))
1569 info[i++] = _("あなたの武器はドラゴンの天敵である。", "Your weapon is a great bane of dragons.");
1571 else if (have_flag(flgs, TR_SLAY_DRAGON))
1573 info[i++] = _("あなたの武器はドラゴンに対して特に強い力を発揮する。", "Your weapon is especially deadly against dragons.");
1576 if (have_flag(flgs, TR_FORCE_WEAPON))
1578 info[i++] = _("あなたの武器はMPを使って攻撃する。", "Your weapon causes greate damages using your MP.");
1580 if (have_flag(flgs, TR_THROW))
1582 info[i++] = _("あなたの武器は投げやすい。", "Your weapon can be thrown well.");
1588 /* Erase the screen */
1589 for (k = 1; k < 24; k++) prt("", k, 13);
1591 /* Label the information */
1592 prt(_(" あなたの状態:", " Your Attributes:"), 1, 15);
1594 /* We will print on top of the map (column 13) */
1595 for (k = 2, j = 0; j < i; j++)
1598 prt(info[j], k++, 15);
1600 /* Every 20 entries (lines 2 to 21), start over */
1601 if ((k == 22) && (j + 1 < i))
1603 prt(_("-- 続く --", "-- more --"), k, 15);
1605 for (; k > 2; k--) prt("", k, 15);
1610 prt(_("[何かキーを押すとゲームに戻ります]", "[Press any key to continue]"), k, 13);
1616 * @brief 魔法効果時間のターン数に基づいて表現IDを返す。
1620 static int report_magics_aux(int dur)
1638 else if (dur <= 100)
1642 else if (dur <= 200)
1652 static concptr report_magic_durations[] =
1665 "for a little while",
1669 "for a very long time",
1670 "for an incredibly long time",
1671 "until you hit a monster"
1677 * @brief 現在の一時的効果一覧を返す / Report all currently active magical effects.
1680 void report_magics(player_type *creature_ptr)
1688 if (creature_ptr->blind)
1690 info2[i] = report_magics_aux(creature_ptr->blind);
1691 info[i++] = _("あなたは目が見えない", "You cannot see");
1693 if (creature_ptr->confused)
1695 info2[i] = report_magics_aux(creature_ptr->confused);
1696 info[i++] = _("あなたは混乱している", "You are confused");
1698 if (creature_ptr->afraid)
1700 info2[i] = report_magics_aux(creature_ptr->afraid);
1701 info[i++] = _("あなたは恐怖に侵されている", "You are terrified");
1703 if (creature_ptr->poisoned)
1705 info2[i] = report_magics_aux(creature_ptr->poisoned);
1706 info[i++] = _("あなたは毒に侵されている", "You are poisoned");
1708 if (creature_ptr->image)
1710 info2[i] = report_magics_aux(creature_ptr->image);
1711 info[i++] = _("あなたは幻覚を見ている", "You are hallucinating");
1713 if (creature_ptr->blessed)
1715 info2[i] = report_magics_aux(creature_ptr->blessed);
1716 info[i++] = _("あなたは高潔さを感じている", "You feel rightous");
1718 if (creature_ptr->hero)
1720 info2[i] = report_magics_aux(creature_ptr->hero);
1721 info[i++] = _("あなたはヒーロー気分だ", "You feel heroic");
1723 if (creature_ptr->shero)
1725 info2[i] = report_magics_aux(creature_ptr->shero);
1726 info[i++] = _("あなたは戦闘狂だ", "You are in a battle rage");
1728 if (creature_ptr->protevil)
1730 info2[i] = report_magics_aux(creature_ptr->protevil);
1731 info[i++] = _("あなたは邪悪なる存在から守られている", "You are protected from evil");
1733 if (creature_ptr->shield)
1735 info2[i] = report_magics_aux(creature_ptr->shield);
1736 info[i++] = _("あなたは神秘のシールドで守られている", "You are protected by a mystic shield");
1738 if (creature_ptr->invuln)
1740 info2[i] = report_magics_aux(creature_ptr->invuln);
1741 info[i++] = _("あなたは無敵だ", "You are invulnerable");
1743 if (creature_ptr->wraith_form)
1745 info2[i] = report_magics_aux(creature_ptr->wraith_form);
1746 info[i++] = _("あなたは幽体化している", "You are incorporeal");
1748 if (creature_ptr->special_attack & ATTACK_CONFUSE)
1751 info[i++] = _("あなたの手は赤く輝いている", "Your hands are glowing dull red.");
1753 if (creature_ptr->word_recall)
1755 info2[i] = report_magics_aux(creature_ptr->word_recall);
1756 info[i++] = _("この後帰還の詔が発動する", "You are waiting to be recalled");
1758 if (creature_ptr->alter_reality)
1760 info2[i] = report_magics_aux(creature_ptr->alter_reality);
1761 info[i++] = _("この後現実変容が発動する", "You waiting to be altered");
1763 if (creature_ptr->oppose_acid)
1765 info2[i] = report_magics_aux(creature_ptr->oppose_acid);
1766 info[i++] = _("あなたは酸への耐性を持っている", "You are resistant to acid");
1768 if (creature_ptr->oppose_elec)
1770 info2[i] = report_magics_aux(creature_ptr->oppose_elec);
1771 info[i++] = _("あなたは電撃への耐性を持っている", "You are resistant to lightning");
1773 if (creature_ptr->oppose_fire)
1775 info2[i] = report_magics_aux(creature_ptr->oppose_fire);
1776 info[i++] = _("あなたは火への耐性を持っている", "You are resistant to fire");
1778 if (creature_ptr->oppose_cold)
1780 info2[i] = report_magics_aux(creature_ptr->oppose_cold);
1781 info[i++] = _("あなたは冷気への耐性を持っている", "You are resistant to cold");
1783 if (creature_ptr->oppose_pois)
1785 info2[i] = report_magics_aux(creature_ptr->oppose_pois);
1786 info[i++] = _("あなたは毒への耐性を持っている", "You are resistant to poison");
1790 /* Erase the screen */
1791 for (k = 1; k < 24; k++) prt("", k, 13);
1793 /* Label the information */
1794 prt(_(" 現在かかっている魔法 :", " Your Current Magic:"), 1, 15);
1797 /* We will print on top of the map (column 13) */
1798 for (k = 2, j = 0; j < i; j++)
1801 sprintf(Dummy, _("%-28s : 期間 - %s ", "%s %s."), info[j],
1802 report_magic_durations[info2[j]]);
1803 prt(Dummy, k++, 15);
1805 /* Every 20 entries (lines 2 to 21), start over */
1806 if ((k == 22) && (j + 1 < i))
1808 prt(_("-- 続く --", "-- more --"), k, 15);
1810 for (; k > 2; k--) prt("", k, 15);
1815 prt(_("[何かキーを押すとゲームに戻ります]", "[Press any key to continue]"), k, 13);