3 * @brief 自己分析処理/ Self knowledge
\r
7 * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
\r
8 * This software may be copied and distributed for educational, research,
\r
9 * and not for profit purposes provided that this copyright and statement
\r
10 * are included in all such copies. Other copyrights may also apply.
\r
17 #include "angband.h"
\r
20 * @brief 自己分析処理(Nethackからのアイデア) / self-knowledge... idea from nethack.
\r
24 * Useful for determining powers and
\r
25 * resistences of items. It saves the screen, clears it, then starts listing
\r
26 * attributes, a screenful at a time. (There are a LOT of attributes to
\r
27 * list. It will probably take 2 or 3 screens for a powerful character whose
\r
28 * using several artifacts...) -CFT
\r
30 * It is now a lot more efficient. -BEN-
\r
32 * See also "identify_fully()".
\r
34 * Use the "show_file()" method, perhaps.
\r
37 void self_knowledge(void)
\r
42 char v_string [8] [128];
\r
43 char s_string [6] [128];
\r
45 BIT_FLAGS flgs[TR_FLAG_SIZE];
\r
54 PLAYER_LEVEL plev = p_ptr->lev;
\r
58 for (j = 0; j < TR_FLAG_SIZE; j++)
\r
61 p_ptr->knowledge |= (KNOW_STAT | KNOW_HPRATE);
\r
65 percent = (int)(((long)p_ptr->player_hp[PY_MAX_LEVEL - 1] * 200L) /
\r
66 (2 * p_ptr->hitdie +
\r
67 ((PY_MAX_LEVEL - 1+3) * (p_ptr->hitdie + 1))));
\r
69 sprintf(Dummy, _("現在の体力ランク : %d/100", "Your current Life Rating is %d/100."), percent);
\r
70 strcpy(buf[0], Dummy);
\r
74 chg_virtue(V_KNOWLEDGE, 1);
\r
75 chg_virtue(V_ENLIGHTEN, 1);
\r
77 /* Acquire item flags from equipment */
\r
78 for (k = INVEN_RARM; k < INVEN_TOTAL; k++)
\r
80 u32b tflgs[TR_FLAG_SIZE];
\r
82 o_ptr = &inventory[k];
\r
84 /* Skip non-objects */
\r
85 if (!o_ptr->k_idx) continue;
\r
87 /* Extract the flags */
\r
88 object_flags(o_ptr, tflgs);
\r
91 for (j = 0; j < TR_FLAG_SIZE; j++)
\r
92 flgs[j] |= tflgs[j];
\r
95 info[i++] = _("能力の最大値", "Limits of maximum stats");
\r
97 for (v_nr = 0; v_nr < 6; v_nr++)
\r
101 sprintf(stat_desc, "%s 18/%d", stat_names[v_nr], p_ptr->stat_max_max[v_nr]-18);
\r
103 strcpy(s_string[v_nr], stat_desc);
\r
105 info[i++] = s_string[v_nr];
\r
109 sprintf(Dummy, _("現在の属性 : %s(%ld)", "Your alighnment : %s(%ld)"), your_alignment(), (long int)p_ptr->align);
\r
110 strcpy(buf[1], Dummy);
\r
111 info[i++] = buf[1];
\r
112 for (v_nr = 0; v_nr < 8; v_nr++)
\r
114 char vir_name [20];
\r
116 int tester = p_ptr->virtues[v_nr];
\r
118 strcpy(vir_name, virtue[(p_ptr->vir_types[v_nr])-1]);
\r
120 sprintf(vir_desc, _("おっと。%sの情報なし。", "Oops. No info about %s."), vir_name);
\r
122 sprintf(vir_desc, _("[%s]の対極 (%d)", "You are the polar opposite of %s (%d)."),
\r
124 else if (tester < -80)
\r
125 sprintf(vir_desc, _("[%s]の大敵 (%d)", "You are an arch-enemy of %s (%d)."),
\r
127 else if (tester < -60)
\r
128 sprintf(vir_desc, _("[%s]の強敵 (%d)", "You are a bitter enemy of %s (%d)."),
\r
130 else if (tester < -40)
\r
131 sprintf(vir_desc, _("[%s]の敵 (%d)", "You are an enemy of %s (%d)."),
\r
133 else if (tester < -20)
\r
134 sprintf(vir_desc, _("[%s]の罪者 (%d)", "You have sinned against %s (%d)."),
\r
136 else if (tester < 0)
\r
137 sprintf(vir_desc, _("[%s]の迷道者 (%d)", "You have strayed from the path of %s (%d)."),
\r
139 else if (tester == 0)
\r
140 sprintf(vir_desc, _("[%s]の中立者 (%d)", "You are neutral to %s (%d)."),
\r
142 else if (tester < 20)
\r
143 sprintf(vir_desc, _("[%s]の小徳者 (%d)", "You are somewhat virtuous in %s (%d)."),
\r
145 else if (tester < 40)
\r
146 sprintf(vir_desc, _("[%s]の中徳者 (%d)", "You are virtuous in %s (%d)."),
\r
148 else if (tester < 60)
\r
149 sprintf(vir_desc, _("[%s]の高徳者 (%d)", "You are very virtuous in %s (%d)."),
\r
151 else if (tester < 80)
\r
152 sprintf(vir_desc, _("[%s]の覇者 (%d)", "You are a champion of %s (%d)."),
\r
154 else if (tester < 100)
\r
155 sprintf(vir_desc, _("[%s]の偉大な覇者 (%d)", "You are a great champion of %s (%d)."),
\r
158 sprintf(vir_desc, _("[%s]の具現者 (%d)", "You are the living embodiment of %s (%d)."),
\r
161 strcpy(v_string[v_nr], vir_desc);
\r
163 info[i++] = v_string[v_nr];
\r
167 /* Racial powers... */
\r
168 if (p_ptr->mimic_form)
\r
170 switch (p_ptr->mimic_form)
\r
173 case MIMIC_DEMON_LORD:
\r
174 sprintf(Dummy, _("あなたは %d ダメージの地獄か火炎のブレスを吐くことができる。(%d MP)",
\r
175 "You can nether breathe, dam. %d (cost %d)."), 3 * plev, 10+plev/3);
\r
179 case MIMIC_VAMPIRE:
\r
182 sprintf(Dummy, _("あなたは敵から %d-%d HP の生命力を吸収できる。(%d MP)",
\r
183 "You can steal life from a foe, dam. %d-%d (cost %d)."),
\r
184 plev + MAX(1, plev / 10), plev + plev * MAX(1, plev / 10), 1 + (plev / 3));
\r
192 switch (p_ptr->prace)
\r
194 case RACE_NIBELUNG:
\r
197 info[i++] = _("あなたは罠とドアと階段を感知できる。(5 MP)", "You can find traps, doors and stairs (cost 5).");
\r
202 info[i++] = _("あなたは食料を生成できる。(10 MP)", "You can produce food (cost 10).");
\r
208 sprintf(Dummy, _("あなたは範囲 %d 以内にテレポートできる。(%d MP)", "You can teleport, range %d (cost %d)."),
\r
209 (1 + plev), (5 + (plev / 5)));
\r
213 case RACE_HALF_ORC:
\r
215 info[i++] = _("あなたは恐怖を除去できる。(5 MP)", "You can remove fear (cost 5).");
\r
217 case RACE_HALF_TROLL:
\r
219 info[i++] = _("あなたは狂暴化することができる。(12 MP) ", "You enter berserk fury (cost 12).");
\r
221 case RACE_AMBERITE:
\r
223 info[i++] = _("あなたはシャドウシフトすることができる。(50 MP)", "You can Shift Shadows (cost 50).");
\r
226 info[i++] = _("あなたは「パターン」を心に描いて歩くことができる。(75 MP)", "You can mentally Walk the Pattern (cost 75).");
\r
229 case RACE_BARBARIAN:
\r
231 info[i++] = _("あなたは狂暴化することができる。(10 MP) ", "You can enter berserk fury (cost 10).");
\r
234 case RACE_HALF_OGRE:
\r
236 info[i++] = _("あなたは爆発のルーンを仕掛けることができる。(35 MP)", "You can set an Explosive Rune (cost 35).");
\r
239 case RACE_HALF_GIANT:
\r
241 info[i++] = _("あなたは石の壁を壊すことができる。(10 MP)", "You can break stone walls (cost 10).");
\r
243 case RACE_HALF_TITAN:
\r
245 info[i++] = _("あなたはモンスターをスキャンすることができる。(20 MP)", "You can probe monsters (cost 20).");
\r
250 sprintf(Dummy, _("あなたは %d ダメージの岩石を投げることができる。(15 MP)",
\r
251 "You can throw a boulder, dam. %d (cost 15)."), 3 * plev);
\r
257 info[i++] = _("あなたは恐怖を呼び起こす叫び声を発することができる。(15 MP)", "You can make a terrifying scream (cost 15).");
\r
262 sprintf(Dummy, _("あなたは %d ダメージの酸を吹きかけることができる。(9 MP)", "You can spit acid, dam. %d (cost 9)."), plev);
\r
270 _("あなたは %d ダメージの毒矢を投げることができる。(8 MP)", "You can throw a dart of poison, dam. %d (cost 8)."), plev);
\r
274 case RACE_DARK_ELF:
\r
277 sprintf(Dummy, _("あなたは %d ダメージのマジック・ミサイルの呪文を使える。(2 MP)", "You can cast a Magic Missile, dam %d (cost 2)."),
\r
278 (3 + ((plev-1) / 5)));
\r
282 case RACE_DRACONIAN:
\r
283 sprintf(Dummy, _("あなたは %d ダメージのブレスを吐くことができる。(%d MP)", "You can breathe, dam. %d (cost %d)."), 2 * plev, plev);
\r
286 case RACE_MIND_FLAYER:
\r
288 sprintf(Dummy, _("あなたは %d ダメージの精神攻撃をすることができる。(12 MP)", "You can mind blast your enemies, dam %d (cost 12)."), plev);
\r
294 sprintf(Dummy, _("あなたは %d ダメージのファイア・ボールの呪文を使える。(15 MP)", "You can cast a Fire Ball, dam. %d (cost 15)."), plev);
\r
299 sprintf(Dummy, _("あなたは %d ダメージのファイア・ボルトの呪文を使える。(15 MP)", "You can cast a Fire Bolt, dam. %d (cost 15)."), plev);
\r
305 info[i++] = _("あなたは d20+30 ターンの間肌を石に変化させられる。(15 MP)", "You can turn your skin to stone, dur d20+30 (cost 15).");
\r
308 case RACE_SKELETON:
\r
310 info[i++] = _("あなたは失った経験値を回復することができる。(30 MP)", "You can restore lost experience (cost 30).");
\r
315 sprintf(Dummy, _("あなたは敵から %d-%d HP の生命力を吸収できる。(%d MP)", "You can steal life from a foe, dam. %d-%d (cost %d)."),
\r
316 plev + MAX(1, plev / 10), plev + plev * MAX(1, plev / 10), 1 + (plev / 3));
\r
323 info[i++] = _("あなたは泣き叫んで敵を恐怖させることができる。(3 MP)", "You can wail to terrify your enemies (cost 3).");
\r
329 info[i++] = _("あなたは敵を眠らせる魔法の粉を投げることができる。(12 MP)", "You can throw magical dust which induces sleep (cost 12).");
\r
333 sprintf(Dummy, _("あなたは %d ダメージの地獄か火炎のブレスを吐くことができる。(%d MP)",
\r
334 "You can breathe nether, dam. %d (cost %d)."), 3 * plev, 10+plev/3);
\r
340 info[i++] = _("あなたは d20+30 ターンの間横に伸びることができる。(15 MP)", "You can expand horizontally, dur d20+30 (cost 15).");
\r
344 sprintf(Dummy, _("あなたは %d ダメージのレイガンを撃つことができる。(7 MP)", "You can fire a ray gun with damage %d (cost 7)."),
\r
346 else if (plev < 25)
\r
347 sprintf(Dummy, _("あなたは %d ダメージのブラスターを撃つことができる。(13 MP)", "You can fire a blaster with damage %d (cost 13)."), plev);
\r
348 else if (plev < 35)
\r
349 sprintf(Dummy, _("あなたは %d ダメージのバズーカを撃つことができる。(26 MP)", "You can fire a bazooka with damage %d (cost 26)."), plev * 2);
\r
350 else if (plev < 45)
\r
351 sprintf(Dummy, _("あなたは %d ダメージのビームキャノンを撃つことができる。(40 MP)",
\r
352 "You can fire a beam cannon with damage %d (cost 40)."), plev * 2);
\r
354 sprintf(Dummy, _("あなたは %d ダメージのロケットを撃つことができる。(60 MP)",
\r
355 "You can fire a rocket with damage %d (cost 60)."), plev * 5);
\r
364 switch(p_ptr->pclass)
\r
366 case CLASS_WARRIOR:
\r
369 info[i++] = _("あなたはランダムな方向に対して数回攻撃することができる。(75 MP)",
\r
370 "You can attack some random directions at a time (cost 75).");
\r
373 case CLASS_HIGH_MAGE:
\r
374 if (p_ptr->realm1 == REALM_HEX) break;
\r
376 case CLASS_SORCERER:
\r
379 info[i++] = _("あなたはアイテムの魔力を吸収することができる。(1 MP)",
\r
380 "You can absorb charges from an item (cost 1).");
\r
384 if (is_good_realm(p_ptr->realm1))
\r
388 info[i++] = _("あなたは武器を祝福することができる。(70 MP)", "You can bless a weapon (cost 70).");
\r
395 info[i++] = _("あなたは周りのすべてのモンスターを攻撃することができる。(40 MP)", "You can damages all monsters in sight (cost 40).");
\r
402 info[i++] = _("あなたは攻撃して即座に逃げることができる。(12 MP)", "You can hit a monster and teleport at a time (cost 12).");
\r
408 info[i++] = _("あなたは怪物を調査することができる。(20 MP)", "You can prove monsters (cost 20).");
\r
411 case CLASS_PALADIN:
\r
412 if (is_good_realm(p_ptr->realm1))
\r
416 info[i++] = _("あなたは聖なる槍を放つことができる。(30 MP)", "You can fires a holy spear (cost 30).");
\r
423 info[i++] = _("あなたは生命力を減少させる槍を放つことができる。(30 MP)", "You can fires a spear which drains vitality (cost 30).");
\r
427 case CLASS_WARRIOR_MAGE:
\r
430 info[i++] = _("あなたはHPをMPに変換することができる。(0 MP)", "You can convert HP to SP (cost 0).");
\r
431 info[i++] = _("あなたはMPをHPに変換することができる。(0 MP)", "You can convert SP to HP (cost 0).");
\r
434 case CLASS_CHAOS_WARRIOR:
\r
437 info[i++] = _("あなたは周囲に怪物を惑わす光を発生させることができる。(50 MP)",
\r
438 "You can radiate light which confuses nearby monsters (cost 50).");
\r
444 info[i++] = _("あなたは構えることができる。(0 MP)", "You can assume a posture of special form (cost 0).");
\r
448 info[i++] = _("あなたは通常の2倍の攻撃を行うことができる。(30 MP)", "You can perform double attacks in a time (cost 30).");
\r
451 case CLASS_MINDCRAFTER:
\r
452 case CLASS_FORCETRAINER:
\r
455 info[i++] = _("あなたは精神を集中してMPを回復させることができる。(0 MP)", "You can concentrate to regenerate your mana (cost 0).");
\r
458 case CLASS_TOURIST:
\r
459 info[i++] = _("あなたは写真を撮影することができる。(0 MP)", "You can take a photograph (cost 0).");
\r
462 info[i++] = _("あなたはアイテムを完全に鑑定することができる。(20 MP)", "You can *identify* items (cost 20).");
\r
465 case CLASS_IMITATOR:
\r
468 info[i++] = _("あなたは怪物の特殊攻撃をダメージ2倍でまねることができる。(100 MP)",
\r
469 "You can imitate monster's special attacks with double damage (cost 100).");
\r
472 case CLASS_BEASTMASTER:
\r
473 info[i++] = _("あなたは1体の生命のあるモンスターを支配することができる。(レベル/4 MP)", "You can dominate a monster (cost level/4).");
\r
476 info[i++] = _("あなたは視界内の生命のあるモンスターを支配することができる。((レベル+20)/2 MP)",
\r
477 "You can dominate living monsters in sight (cost (level+20)/4).");
\r
480 case CLASS_MAGIC_EATER:
\r
481 info[i++] = _("あなたは杖/魔法棒/ロッドの魔力を自分のものにすることができる。", "You can absorb a staff, wand or rod itself.");
\r
483 case CLASS_RED_MAGE:
\r
486 info[i++] = _("あなたは1ターンに2回魔法を唱えることができる。(20 MP)", "You can cast two spells in one time (cost 20).");
\r
489 case CLASS_SAMURAI:
\r
491 info[i++] = _("あなたは精神を集中して気合いを溜めることができる。", "You can concentrate to regenerate your mana.");
\r
495 info[i++] = _("あなたは特殊な型で構えることができる。", "You can assume a posture of special form.");
\r
498 case CLASS_BLUE_MAGE:
\r
499 info[i++] = _("あなたは相手に使われた魔法を学ぶことができる。", "You can study spells which your enemy casts on you.");
\r
501 case CLASS_CAVALRY:
\r
504 info[i++] = _("あなたはモンスターに乗って無理矢理ペットにすることができる。", "You can ride on a hostile monster forcibly to turn it into pet.");
\r
507 case CLASS_BERSERKER:
\r
510 info[i++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
\r
513 case CLASS_MIRROR_MASTER:
\r
514 info[i++] = _("あなたは鏡を作り出すことができる。(2 MP)", "You can create a Mirror (cost 2).");
\r
515 info[i++] = _("あなたは鏡を割ることができる。(0 MP)", "You can break distant Mirrors (cost 0).");
\r
520 info[i++] = _("あなたは素早く移動することができる。", "You can walk extremery fast.");
\r
527 if (p_ptr->muta1 & MUT1_SPIT_ACID)
\r
529 info[i++] = _("あなたは酸を吹きかけることができる。(ダメージ レベルX1)", "You can spit acid (dam lvl).");
\r
531 if (p_ptr->muta1 & MUT1_BR_FIRE)
\r
533 info[i++] = _("あなたは炎のブレスを吐くことができる。(ダメージ レベルX2)", "You can breathe fire (dam lvl * 2).");
\r
535 if (p_ptr->muta1 & MUT1_HYPN_GAZE)
\r
537 info[i++] = _("あなたの睨みは催眠効果をもつ。", "Your gaze is hypnotic.");
\r
539 if (p_ptr->muta1 & MUT1_TELEKINES)
\r
541 info[i++] = _("あなたは念動力をもっている。", "You are telekinetic.");
\r
543 if (p_ptr->muta1 & MUT1_VTELEPORT)
\r
545 info[i++] = _("あなたは自分の意思でテレポートできる。", "You can teleport at will.");
\r
547 if (p_ptr->muta1 & MUT1_MIND_BLST)
\r
549 info[i++] = _("あなたは精神攻撃を行える。(ダメージ 3~12d3)", "You can Mind Blast your enemies (3 to 12d3 dam).");
\r
551 if (p_ptr->muta1 & MUT1_RADIATION)
\r
553 info[i++] = _("あなたは自分の意思で強い放射線を発生することができる。(ダメージ レベルX2)", "You can emit hard radiation at will (dam lvl * 2).");
\r
555 if (p_ptr->muta1 & MUT1_VAMPIRISM)
\r
557 info[i++] = _("あなたは吸血鬼のように敵から生命力を吸収することができる。(ダメージ レベルX2)",
\r
558 "You can drain life from a foe like a vampire (dam lvl * 2).");
\r
560 if (p_ptr->muta1 & MUT1_SMELL_MET)
\r
562 info[i++] = _("あなたは近くにある貴金属をかぎ分けることができる。", "You can smell nearby precious metal.");
\r
564 if (p_ptr->muta1 & MUT1_SMELL_MON)
\r
566 info[i++] = _("あなたは近くのモンスターの存在をかぎ分けることができる。", "You can smell nearby monsters.");
\r
568 if (p_ptr->muta1 & MUT1_BLINK)
\r
570 info[i++] = _("あなたは短い距離をテレポートできる。", "You can teleport yourself short distances.");
\r
572 if (p_ptr->muta1 & MUT1_EAT_ROCK)
\r
574 info[i++] = _("あなたは硬い岩を食べることができる。", "You can consume solid rock.");
\r
576 if (p_ptr->muta1 & MUT1_SWAP_POS)
\r
578 info[i++] = _("あなたは他の者と場所を入れ替わることができる。", "You can switch locations with another being.");
\r
580 if (p_ptr->muta1 & MUT1_SHRIEK)
\r
582 info[i++] = _("あなたは身の毛もよだつ叫び声を発することができる。(ダメージ レベルX2)", "You can emit a horrible shriek (dam 2 * lvl).");
\r
584 if (p_ptr->muta1 & MUT1_ILLUMINE)
\r
586 info[i++] = _("あなたは明るい光を放つことができる。", "You can emit bright light.");
\r
588 if (p_ptr->muta1 & MUT1_DET_CURSE)
\r
590 info[i++] = _("あなたは邪悪な魔法の危険を感じとることができる。", "You can feel the danger of evil magic.");
\r
592 if (p_ptr->muta1 & MUT1_BERSERK)
\r
594 info[i++] = _("あなたは自分の意思で狂乱戦闘状態になることができる。", "You can drive yourself into a berserk frenzy.");
\r
596 if (p_ptr->muta1 & MUT1_POLYMORPH)
\r
598 info[i++] = _("あなたは自分の意志で変化できる。", "You can polymorph yourself at will.");
\r
600 if (p_ptr->muta1 & MUT1_MIDAS_TCH)
\r
602 info[i++] = _("あなたは通常アイテムを金に変えることができる。", "You can turn ordinary items to gold.");
\r
604 if (p_ptr->muta1 & MUT1_GROW_MOLD)
\r
606 info[i++] = _("あなたは周囲にキノコを生やすことができる。", "You can cause mold to grow near you.");
\r
608 if (p_ptr->muta1 & MUT1_RESIST)
\r
610 info[i++] = _("あなたは元素の攻撃に対して身を硬くすることができる。", "You can harden yourself to the ravages of the elements.");
\r
612 if (p_ptr->muta1 & MUT1_EARTHQUAKE)
\r
614 info[i++] = _("あなたは周囲のダンジョンを崩壊させることができる。", "You can bring down the dungeon around your ears.");
\r
616 if (p_ptr->muta1 & MUT1_EAT_MAGIC)
\r
618 info[i++] = _("あなたは魔法のエネルギーを自分の物として使用できる。", "You can consume magic energy for your own use.");
\r
620 if (p_ptr->muta1 & MUT1_WEIGH_MAG)
\r
622 info[i++] = _("あなたは自分に影響を与える魔法の力を感じることができる。", "You can feel the strength of the magics affecting you.");
\r
624 if (p_ptr->muta1 & MUT1_STERILITY)
\r
626 info[i++] = _("あなたは集団的生殖不能を起こすことができる。", "You can cause mass impotence.");
\r
628 if (p_ptr->muta1 & MUT1_PANIC_HIT)
\r
630 info[i++] = _("あなたは攻撃した後身を守るため逃げることができる。", "You can run for your life after hitting something.");
\r
632 if (p_ptr->muta1 & MUT1_DAZZLE)
\r
634 info[i++] = _("あなたは混乱と盲目を引き起こす放射能を発生することができる。 ", "You can emit confusing, blinding radiation.");
\r
636 if (p_ptr->muta1 & MUT1_LASER_EYE)
\r
638 info[i++] = _("あなたは目からレーザー光線を発することができる。(ダメージ レベルX2)", "Your eyes can fire laser beams (dam 2 * lvl).");
\r
640 if (p_ptr->muta1 & MUT1_RECALL)
\r
642 info[i++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
\r
644 if (p_ptr->muta1 & MUT1_BANISH)
\r
646 info[i++] = _("あなたは邪悪なモンスターを地獄に落とすことができる。", "You can send evil creatures directly to Hell.");
\r
648 if (p_ptr->muta1 & MUT1_COLD_TOUCH)
\r
650 info[i++] = _("あなたは敵を触って凍らせることができる。(ダメージ レベルX3)", "You can freeze things with a touch (dam 3 * lvl).");
\r
652 if (p_ptr->muta1 & MUT1_LAUNCHER)
\r
654 info[i++] = _("あなたはアイテムを力強く投げることができる。", "You can hurl objects with great force.");
\r
660 if (p_ptr->muta2 & MUT2_BERS_RAGE)
\r
662 info[i++] = _("あなたは狂戦士化の発作を起こす。", "You are subject to berserker fits.");
\r
664 if (p_ptr->muta2 & MUT2_COWARDICE)
\r
666 info[i++] = _("あなたは時々臆病になる。", "You are subject to cowardice.");
\r
668 if (p_ptr->muta2 & MUT2_RTELEPORT)
\r
670 info[i++] = _("あなたはランダムにテレポートする。", "You are teleporting randomly.");
\r
672 if (p_ptr->muta2 & MUT2_ALCOHOL)
\r
674 info[i++] = _("あなたの体はアルコールを分泌する。", "Your body produces alcohol.");
\r
676 if (p_ptr->muta2 & MUT2_HALLU)
\r
678 info[i++] = _("あなたは幻覚を引き起こす精神錯乱に侵されている。", "You have a hallucinatory insanity.");
\r
680 if (p_ptr->muta2 & MUT2_FLATULENT)
\r
682 info[i++] = _("あなたは制御できない強烈な屁をこく。", "You are subject to uncontrollable flatulence.");
\r
684 if (p_ptr->muta2 & MUT2_PROD_MANA)
\r
686 info[i++] = _("あなたは制御不能な魔法のエネルギーを発している。", "You are producing magical energy uncontrollably.");
\r
688 if (p_ptr->muta2 & MUT2_ATT_DEMON)
\r
690 info[i++] = _("あなたはデーモンを引きつける。", "You attract demons.");
\r
692 if (p_ptr->muta2 & MUT2_SCOR_TAIL)
\r
694 info[i++] = _("あなたはサソリの尻尾が生えている。(毒、ダメージ 3d7)", "You have a scorpion tail (poison, 3d7).");
\r
696 if (p_ptr->muta2 & MUT2_HORNS)
\r
698 info[i++] = _("あなたは角が生えている。(ダメージ 2d6)", "You have horns (dam. 2d6).");
\r
700 if (p_ptr->muta2 & MUT2_BEAK)
\r
702 info[i++] = _("あなたはクチバシが生えている。(ダメージ 2d4)", "You have a beak (dam. 2d4).");
\r
704 if (p_ptr->muta2 & MUT2_SPEED_FLUX)
\r
706 info[i++] = _("あなたはランダムに早く動いたり遅く動いたりする。", "You move faster or slower randomly.");
\r
708 if (p_ptr->muta2 & MUT2_BANISH_ALL)
\r
710 info[i++] = _("あなたは時々近くのモンスターを消滅させる。", "You sometimes cause nearby creatures to vanish.");
\r
712 if (p_ptr->muta2 & MUT2_EAT_LIGHT)
\r
714 info[i++] = _("あなたは時々周囲の光を吸収して栄養にする。", "You sometimes feed off of the light around you.");
\r
716 if (p_ptr->muta2 & MUT2_TRUNK)
\r
718 info[i++] = _("あなたは象のような鼻を持っている。(ダメージ 1d4)", "You have an elephantine trunk (dam 1d4).");
\r
720 if (p_ptr->muta2 & MUT2_ATT_ANIMAL)
\r
722 info[i++] = _("あなたは動物を引きつける。", "You attract animals.");
\r
724 if (p_ptr->muta2 & MUT2_TENTACLES)
\r
726 info[i++] = _("あなたは邪悪な触手を持っている。(ダメージ 2d5)", "You have evil looking tentacles (dam 2d5).");
\r
728 if (p_ptr->muta2 & MUT2_RAW_CHAOS)
\r
730 info[i++] = _("あなたはしばしば純カオスに包まれる。", "You occasionally are surrounded with raw chaos.");
\r
732 if (p_ptr->muta2 & MUT2_NORMALITY)
\r
734 info[i++] = _("あなたは変異していたが、回復してきている。", "You may be mutated, but you're recovering.");
\r
736 if (p_ptr->muta2 & MUT2_WRAITH)
\r
738 info[i++] = _("あなたの肉体は幽体化したり実体化したりする。", "You fade in and out of physical reality.");
\r
740 if (p_ptr->muta2 & MUT2_POLY_WOUND)
\r
742 info[i++] = _("あなたの健康はカオスの力に影響を受ける。", "Your health is subject to chaotic forces.");
\r
744 if (p_ptr->muta2 & MUT2_WASTING)
\r
746 info[i++] = _("あなたは衰弱する恐ろしい病気にかかっている。", "You have a horrible wasting disease.");
\r
748 if (p_ptr->muta2 & MUT2_ATT_DRAGON)
\r
750 info[i++] = _("あなたはドラゴンを引きつける。", "You attract dragons.");
\r
752 if (p_ptr->muta2 & MUT2_WEIRD_MIND)
\r
754 info[i++] = _("あなたの精神はランダムに拡大したり縮小したりしている。", "Your mind randomly expands and contracts.");
\r
756 if (p_ptr->muta2 & MUT2_NAUSEA)
\r
758 info[i++] = _("あなたの胃は非常に落ち着きがない。", "You have a seriously upset stomach.");
\r
760 if (p_ptr->muta2 & MUT2_CHAOS_GIFT)
\r
762 info[i++] = _("あなたはカオスの守護悪魔から褒美をうけとる。", "Chaos deities give you gifts.");
\r
764 if (p_ptr->muta2 & MUT2_WALK_SHAD)
\r
766 info[i++] = _("あなたはしばしば他の「影」に迷い込む。", "You occasionally stumble into other shadows.");
\r
768 if (p_ptr->muta2 & MUT2_WARNING)
\r
770 info[i++] = _("あなたは敵に関する警告を感じる。", "You receive warnings about your foes.");
\r
772 if (p_ptr->muta2 & MUT2_INVULN)
\r
774 info[i++] = _("あなたは時々負け知らずな気分になる。", "You occasionally feel invincible.");
\r
776 if (p_ptr->muta2 & MUT2_SP_TO_HP)
\r
778 info[i++] = _("あなたは時々血が筋肉にどっと流れる。", "Your blood sometimes rushes to your muscles.");
\r
780 if (p_ptr->muta2 & MUT2_HP_TO_SP)
\r
782 info[i++] = _("あなたは時々頭に血がどっと流れる。", "Your blood sometimes rushes to your head.");
\r
784 if (p_ptr->muta2 & MUT2_DISARM)
\r
786 info[i++] = _("あなたはよくつまづいて物を落とす。", "You occasionally stumble and drop things.");
\r
792 if (p_ptr->muta3 & MUT3_HYPER_STR)
\r
794 info[i++] = _("あなたは超人的に強い。(腕力+4)", "You are superhumanly strong (+4 STR).");
\r
796 if (p_ptr->muta3 & MUT3_PUNY)
\r
798 info[i++] = _("あなたは虚弱だ。(腕力-4)", "You are puny (-4 STR).");
\r
800 if (p_ptr->muta3 & MUT3_HYPER_INT)
\r
802 info[i++] = _("あなたの脳は生体コンピュータだ。(知能&賢さ+4)", "Your brain is a living computer (+4 INT/WIS).");
\r
804 if (p_ptr->muta3 & MUT3_MORONIC)
\r
806 info[i++] = _("あなたは精神薄弱だ。(知能&賢さ-4)", "You are moronic (-4 INT/WIS).");
\r
808 if (p_ptr->muta3 & MUT3_RESILIENT)
\r
810 info[i++] = _("あなたは非常にタフだ。(耐久+4)", "You are very resilient (+4 CON).");
\r
812 if (p_ptr->muta3 & MUT3_XTRA_FAT)
\r
814 info[i++] = _("あなたは極端に太っている。(耐久+2,スピード-2)", "You are extremely fat (+2 CON, -2 speed).");
\r
816 if (p_ptr->muta3 & MUT3_ALBINO)
\r
818 info[i++] = _("あなたはアルビノだ。(耐久-4)", "You are albino (-4 CON).");
\r
820 if (p_ptr->muta3 & MUT3_FLESH_ROT)
\r
822 info[i++] = _("あなたの肉体は腐敗している。(耐久-2,魅力-1)", "Your flesh is rotting (-2 CON, -1 CHR).");
\r
824 if (p_ptr->muta3 & MUT3_SILLY_VOI)
\r
826 info[i++] = _("あなたの声は間抜けなキーキー声だ。(魅力-4)", "Your voice is a silly squeak (-4 CHR).");
\r
828 if (p_ptr->muta3 & MUT3_BLANK_FAC)
\r
830 info[i++] = _("あなたはのっぺらぼうだ。(魅力-1)", "Your face is featureless (-1 CHR).");
\r
832 if (p_ptr->muta3 & MUT3_ILL_NORM)
\r
834 info[i++] = _("あなたは幻影に覆われている。", "Your appearance is masked with illusion.");
\r
836 if (p_ptr->muta3 & MUT3_XTRA_EYES)
\r
838 info[i++] = _("あなたは余分に二つの目を持っている。(探索+15)", "You have an extra pair of eyes (+15 search).");
\r
840 if (p_ptr->muta3 & MUT3_MAGIC_RES)
\r
842 info[i++] = _("あなたは魔法への耐性をもっている。", "You are resistant to magic.");
\r
844 if (p_ptr->muta3 & MUT3_XTRA_NOIS)
\r
846 info[i++] = _("あなたは変な音を発している。(隠密-3)", "You make a lot of strange noise (-3 stealth).");
\r
848 if (p_ptr->muta3 & MUT3_INFRAVIS)
\r
850 info[i++] = _("あなたは素晴らしい赤外線視力を持っている。(+3)", "You have remarkable infravision (+3).");
\r
852 if (p_ptr->muta3 & MUT3_XTRA_LEGS)
\r
854 info[i++] = _("あなたは余分に二本の足が生えている。(加速+3)", "You have an extra pair of legs (+3 speed).");
\r
856 if (p_ptr->muta3 & MUT3_SHORT_LEG)
\r
858 info[i++] = _("あなたの足は短い突起だ。(加速-3)", "Your legs are short stubs (-3 speed).");
\r
860 if (p_ptr->muta3 & MUT3_ELEC_TOUC)
\r
862 info[i++] = _("あなたの血管には電流が流れている。", "Electricity is running through your veins.");
\r
864 if (p_ptr->muta3 & MUT3_FIRE_BODY)
\r
866 info[i++] = _("あなたの体は炎につつまれている。", "Your body is enveloped in flames.");
\r
868 if (p_ptr->muta3 & MUT3_WART_SKIN)
\r
870 info[i++] = _("あなたの肌はイボに被われている。(魅力-2, AC+5)", "Your skin is covered with warts (-2 CHR, +5 AC).");
\r
872 if (p_ptr->muta3 & MUT3_SCALES)
\r
874 info[i++] = _("あなたの肌は鱗になっている。(魅力-1, AC+10)", "Your skin has turned into scales (-1 CHR, +10 AC).");
\r
876 if (p_ptr->muta3 & MUT3_IRON_SKIN)
\r
878 info[i++] = _("あなたの肌は鉄でできている。(器用-1, AC+25)", "Your skin is made of steel (-1 DEX, +25 AC).");
\r
880 if (p_ptr->muta3 & MUT3_WINGS)
\r
882 info[i++] = _("あなたは羽を持っている。", "You have wings.");
\r
884 if (p_ptr->muta3 & MUT3_FEARLESS)
\r
888 if (p_ptr->muta3 & MUT3_REGEN)
\r
892 if (p_ptr->muta3 & MUT3_ESP)
\r
896 if (p_ptr->muta3 & MUT3_LIMBER)
\r
898 info[i++] = _("あなたの体は非常にしなやかだ。(器用+3)", "Your body is very limber (+3 DEX).");
\r
900 if (p_ptr->muta3 & MUT3_ARTHRITIS)
\r
902 info[i++] = _("あなたはいつも関節に痛みを感じている。(器用-3)", "Your joints ache constantly (-3 DEX).");
\r
904 if (p_ptr->muta3 & MUT3_VULN_ELEM)
\r
906 info[i++] = _("あなたは元素の攻撃に弱い。", "You are susceptible to damage from the elements.");
\r
908 if (p_ptr->muta3 & MUT3_MOTION)
\r
910 info[i++] = _("あなたの動作は正確で力強い。(隠密+1)", "Your movements are precise and forceful (+1 STL).");
\r
912 if (p_ptr->muta3 & MUT3_GOOD_LUCK)
\r
914 info[i++] = _("あなたは白いオーラにつつまれている。", "There is a white aura surrounding you.");
\r
916 if (p_ptr->muta3 & MUT3_BAD_LUCK)
\r
918 info[i++] = _("あなたは黒いオーラにつつまれている。", "There is a black aura surrounding you.");
\r
924 info[i++] = _("あなたは目が見えない。", "You cannot see.");
\r
926 if (p_ptr->confused)
\r
928 info[i++] = _("あなたは混乱している。", "You are confused.");
\r
932 info[i++] = _("あなたは恐怖に侵されている。", "You are terrified.");
\r
936 info[i++] = _("あなたは出血している。", "You are bleeding.");
\r
940 info[i++] = _("あなたはもうろうとしている。", "You are stunned.");
\r
942 if (p_ptr->poisoned)
\r
944 info[i++] = _("あなたは毒に侵されている。", "You are poisoned.");
\r
948 info[i++] = _("あなたは幻覚を見ている。", "You are hallucinating.");
\r
950 if (p_ptr->cursed & TRC_TY_CURSE)
\r
952 info[i++] = _("あなたは邪悪な怨念に包まれている。", "You carry an ancient foul curse.");
\r
954 if (p_ptr->cursed & TRC_AGGRAVATE)
\r
956 info[i++] = _("あなたはモンスターを怒らせている。", "You aggravate monsters.");
\r
958 if (p_ptr->cursed & TRC_DRAIN_EXP)
\r
960 info[i++] = _("あなたは経験値を吸われている。", "You are drained.");
\r
962 if (p_ptr->cursed & TRC_SLOW_REGEN)
\r
964 info[i++] = _("あなたの回復力は非常に遅い。", "You regenerate slowly.");
\r
966 if (p_ptr->cursed & TRC_ADD_L_CURSE)
\r
968 info[i++] = _("あなたの弱い呪いは増える。","Your weak curses multiply."); /* 暫定的 -- henkma */
\r
970 if (p_ptr->cursed & TRC_ADD_H_CURSE)
\r
972 info[i++] = _("あなたの強い呪いは増える。","Your heavy curses multiply."); /* 暫定的 -- henkma */
\r
974 if (p_ptr->cursed & TRC_CALL_ANIMAL)
\r
976 info[i++] = _("あなたは動物に狙われている。", "You attract animals.");
\r
978 if (p_ptr->cursed & TRC_CALL_DEMON)
\r
980 info[i++] = _("あなたは悪魔に狙われている。", "You attract demons.");
\r
982 if (p_ptr->cursed & TRC_CALL_DRAGON)
\r
984 info[i++] = _("あなたはドラゴンに狙われている。", "You attract dragons.");
\r
986 if (p_ptr->cursed & TRC_COWARDICE)
\r
988 info[i++] = _("あなたは時々臆病になる。", "You are subject to cowardice.");
\r
990 if (p_ptr->cursed & TRC_TELEPORT)
\r
992 info[i++] = _("あなたの位置はひじょうに不安定だ。", "Your position is very uncertain.");
\r
994 if (p_ptr->cursed & TRC_LOW_MELEE)
\r
996 info[i++] = _("あなたの武器は攻撃を外しやすい。", "Your weapon causes you to miss blows.");
\r
998 if (p_ptr->cursed & TRC_LOW_AC)
\r
1000 info[i++] = _("あなたは攻撃を受けやすい。", "You are subject to be hit.");
\r
1002 if (p_ptr->cursed & TRC_LOW_MAGIC)
\r
1004 info[i++] = _("あなたは魔法を失敗しやすい。", "You are subject to fail spellcasting.");
\r
1006 if (p_ptr->cursed & TRC_FAST_DIGEST)
\r
1008 info[i++] = _("あなたはすぐお腹がへる。", "You have a good appetite.");
\r
1010 if (p_ptr->cursed & TRC_DRAIN_HP)
\r
1012 info[i++] = _("あなたは体力を吸われている。", "You are drained.");
\r
1014 if (p_ptr->cursed & TRC_DRAIN_MANA)
\r
1016 info[i++] = _("あなたは魔力を吸われている。", "You brain is drained.");
\r
1020 info[i++] = _("あなたは高潔さを感じている。", "You feel rightous.");
\r
1024 info[i++] = _("あなたはヒーロー気分だ。", "You feel heroic.");
\r
1028 info[i++] = _("あなたは戦闘狂だ。", "You are in a battle rage.");
\r
1030 if (p_ptr->protevil)
\r
1032 info[i++] = _("あなたは邪悪なる存在から守られている。", "You are protected from evil.");
\r
1034 if (p_ptr->shield)
\r
1036 info[i++] = _("あなたは神秘のシールドで守られている。", "You are protected by a mystic shield.");
\r
1040 info[i++] = _("あなたは現在傷つかない。", "You are temporarily invulnerable.");
\r
1042 if (p_ptr->wraith_form)
\r
1044 info[i++] = _("あなたは一時的に幽体化している。", "You are temporarily incorporeal.");
\r
1046 if (p_ptr->special_attack & ATTACK_CONFUSE)
\r
1048 info[i++] = _("あなたの手は赤く輝いている。", "Your hands are glowing dull red.");
\r
1050 if (p_ptr->special_attack & ATTACK_FIRE)
\r
1052 info[i++] = _("あなたの手は火炎に覆われている。", "You can strike the enemy with flame.");
\r
1054 if (p_ptr->special_attack & ATTACK_COLD)
\r
1056 info[i++] = _("あなたの手は冷気に覆われている。", "You can strike the enemy with cold.");
\r
1058 if (p_ptr->special_attack & ATTACK_ACID)
\r
1060 info[i++] = _("あなたの手は酸に覆われている。", "You can strike the enemy with acid.");
\r
1062 if (p_ptr->special_attack & ATTACK_ELEC)
\r
1064 info[i++] = _("あなたの手は電撃に覆われている。", "You can strike the enemy with electoric shock.");
\r
1066 if (p_ptr->special_attack & ATTACK_POIS)
\r
1068 info[i++] = _("あなたの手は毒に覆われている。", "You can strike the enemy with poison.");
\r
1070 switch (p_ptr->action)
\r
1072 case ACTION_SEARCH:
\r
1073 info[i++] = _("あなたはひじょうに注意深く周囲を見渡している。", "You are looking around very carefully.");
\r
1076 if (p_ptr->new_spells)
\r
1078 info[i++] = _("あなたは呪文や祈りを学ぶことができる。", "You can learn some spells/prayers.");
\r
1080 if (p_ptr->word_recall)
\r
1082 info[i++] = _("あなたはすぐに帰還するだろう。", "You will soon be recalled.");
\r
1084 if (p_ptr->alter_reality)
\r
1086 info[i++] = _("あなたはすぐにこの世界を離れるだろう。", "You will soon be altered.");
\r
1088 if (p_ptr->see_infra)
\r
1090 info[i++] = _("あなたの瞳は赤外線に敏感である。", "Your eyes are sensitive to infrared light.");
\r
1092 if (p_ptr->see_inv)
\r
1094 info[i++] = _("あなたは透明なモンスターを見ることができる。", "You can see invisible creatures.");
\r
1096 if (p_ptr->levitation)
\r
1098 info[i++] = _("あなたは飛ぶことができる。", "You can fly.");
\r
1100 if (p_ptr->free_act)
\r
1102 info[i++] = _("あなたは麻痺知らずの効果を持っている。", "You have free action.");
\r
1104 if (p_ptr->regenerate)
\r
1106 info[i++] = _("あなたは素早く体力を回復する。", "You regenerate quickly.");
\r
1108 if (p_ptr->slow_digest)
\r
1110 info[i++] = _("あなたは食欲が少ない。", "Your appetite is small.");
\r
1112 if (p_ptr->telepathy)
\r
1114 info[i++] = _("あなたはテレパシー能力を持っている。", "You have ESP.");
\r
1116 if (p_ptr->esp_animal)
\r
1118 info[i++] = _("あなたは自然界の生物の存在を感じる能力を持っている。", "You sense natural creatures.");
\r
1120 if (p_ptr->esp_undead)
\r
1122 info[i++] = _("あなたはアンデッドの存在を感じる能力を持っている。", "You sense undead.");
\r
1124 if (p_ptr->esp_demon)
\r
1126 info[i++] = _("あなたは悪魔の存在を感じる能力を持っている。", "You sense demons.");
\r
1128 if (p_ptr->esp_orc)
\r
1130 info[i++] = _("あなたはオークの存在を感じる能力を持っている。", "You sense orcs.");
\r
1132 if (p_ptr->esp_troll)
\r
1134 info[i++] = _("あなたはトロルの存在を感じる能力を持っている。", "You sense trolls.");
\r
1136 if (p_ptr->esp_giant)
\r
1138 info[i++] = _("あなたは巨人の存在を感じる能力を持っている。", "You sense giants.");
\r
1140 if (p_ptr->esp_dragon)
\r
1142 info[i++] = _("あなたはドラゴンの存在を感じる能力を持っている。", "You sense dragons.");
\r
1144 if (p_ptr->esp_human)
\r
1146 info[i++] = _("あなたは人間の存在を感じる能力を持っている。", "You sense humans.");
\r
1148 if (p_ptr->esp_evil)
\r
1150 info[i++] = _("あなたは邪悪な生き物の存在を感じる能力を持っている。", "You sense evil creatures.");
\r
1152 if (p_ptr->esp_good)
\r
1154 info[i++] = _("あなたは善良な生き物の存在を感じる能力を持っている。", "You sense good creatures.");
\r
1156 if (p_ptr->esp_nonliving)
\r
1158 info[i++] = _("あなたは活動する無生物体の存在を感じる能力を持っている。", "You sense non-living creatures.");
\r
1160 if (p_ptr->esp_unique)
\r
1162 info[i++] = _("あなたは特別な強敵の存在を感じる能力を持っている。", "You sense unique monsters.");
\r
1164 if (p_ptr->hold_exp)
\r
1166 info[i++] = _("あなたは自己の経験値をしっかりと維持する。", "You have a firm hold on your experience.");
\r
1168 if (p_ptr->reflect)
\r
1170 info[i++] = _("あなたは矢の呪文を反射する。", "You reflect bolt spells.");
\r
1172 if (p_ptr->sh_fire)
\r
1174 info[i++] = _("あなたは炎のオーラに包まれている。", "You are surrounded with a fiery aura.");
\r
1176 if (p_ptr->sh_elec)
\r
1178 info[i++] = _("あなたは電気に包まれている。", "You are surrounded with electricity.");
\r
1180 if (p_ptr->sh_cold)
\r
1182 info[i++] = _("あなたは冷気のオーラに包まれている。", "You are surrounded with an aura of coldness.");
\r
1184 if (p_ptr->tim_sh_holy)
\r
1186 info[i++] = _("あなたは聖なるオーラに包まれている。", "You are surrounded with a holy aura.");
\r
1188 if (p_ptr->tim_sh_touki)
\r
1190 info[i++] = _("あなたは闘気のオーラに包まれている。", "You are surrounded with a energy aura.");
\r
1192 if (p_ptr->anti_magic)
\r
1194 info[i++] = _("あなたは反魔法シールドに包まれている。", "You are surrounded by an anti-magic shell.");
\r
1196 if (p_ptr->anti_tele)
\r
1198 info[i++] = _("あなたはテレポートできない。", "You cannot teleport.");
\r
1202 info[i++] = _("あなたの身体は光っている。", "You are carrying a permanent light.");
\r
1204 if (p_ptr->warning)
\r
1206 info[i++] = _("あなたは行動の前に危険を察知することができる。", "You will be warned before dangerous actions.");
\r
1208 if (p_ptr->dec_mana)
\r
1210 info[i++] = _("あなたは少ない消費魔力で魔法を唱えることができる。", "You can cast spells with fewer mana points.");
\r
1212 if (p_ptr->easy_spell)
\r
1214 info[i++] = _("あなたは低い失敗率で魔法を唱えることができる。", "Fail rate of your magic is decreased.");
\r
1216 if (p_ptr->heavy_spell)
\r
1218 info[i++] = _("あなたは高い失敗率で魔法を唱えなければいけない。", "Fail rate of your magic is increased.");
\r
1220 if (p_ptr->mighty_throw)
\r
1222 info[i++] = _("あなたは強く物を投げる。", "You can throw objects powerfully.");
\r
1225 if (p_ptr->immune_acid)
\r
1227 info[i++] = _("あなたは酸に対する完全なる免疫を持っている。", "You are completely immune to acid.");
\r
1229 else if (p_ptr->resist_acid && IS_OPPOSE_ACID())
\r
1231 info[i++] = _("あなたは酸への強力な耐性を持っている。", "You resist acid exceptionally well.");
\r
1233 else if (p_ptr->resist_acid || IS_OPPOSE_ACID())
\r
1235 info[i++] = _("あなたは酸への耐性を持っている。", "You are resistant to acid.");
\r
1238 if (p_ptr->immune_elec)
\r
1240 info[i++] = _("あなたは電撃に対する完全なる免疫を持っている。", "You are completely immune to lightning.");
\r
1242 else if (p_ptr->resist_elec && IS_OPPOSE_ELEC())
\r
1244 info[i++] = _("あなたは電撃への強力な耐性を持っている。", "You resist lightning exceptionally well.");
\r
1246 else if (p_ptr->resist_elec || IS_OPPOSE_ELEC())
\r
1248 info[i++] = _("あなたは電撃への耐性を持っている。", "You are resistant to lightning.");
\r
1251 if (prace_is_(RACE_ANDROID) && !p_ptr->immune_elec)
\r
1253 info[i++] = _("あなたは電撃に弱い。", "You are susceptible to damage from lightning.");
\r
1256 if (p_ptr->immune_fire)
\r
1258 info[i++] = _("あなたは火に対する完全なる免疫を持っている。", "You are completely immune to fire.");
\r
1260 else if (p_ptr->resist_fire && IS_OPPOSE_FIRE())
\r
1262 info[i++] = _("あなたは火への強力な耐性を持っている。", "You resist fire exceptionally well.");
\r
1264 else if (p_ptr->resist_fire || IS_OPPOSE_FIRE())
\r
1266 info[i++] = _("あなたは火への耐性を持っている。", "You are resistant to fire.");
\r
1269 if (prace_is_(RACE_ENT) && !p_ptr->immune_fire)
\r
1271 info[i++] = _("あなたは火に弱い。", "You are susceptible to damage from fire.");
\r
1274 if (p_ptr->immune_cold)
\r
1276 info[i++] = _("あなたは冷気に対する完全なる免疫を持っている。", "You are completely immune to cold.");
\r
1278 else if (p_ptr->resist_cold && IS_OPPOSE_COLD())
\r
1280 info[i++] = _("あなたは冷気への強力な耐性を持っている。", "You resist cold exceptionally well.");
\r
1282 else if (p_ptr->resist_cold || IS_OPPOSE_COLD())
\r
1284 info[i++] = _("あなたは冷気への耐性を持っている。", "You are resistant to cold.");
\r
1287 if (p_ptr->resist_pois && IS_OPPOSE_POIS())
\r
1289 info[i++] = _("あなたは毒への強力な耐性を持っている。", "You resist poison exceptionally well.");
\r
1291 else if (p_ptr->resist_pois || IS_OPPOSE_POIS())
\r
1293 info[i++] = _("あなたは毒への耐性を持っている。", "You are resistant to poison.");
\r
1296 if (p_ptr->resist_lite)
\r
1298 info[i++] = _("あなたは閃光への耐性を持っている。", "You are resistant to bright light.");
\r
1301 if (prace_is_(RACE_VAMPIRE) || prace_is_(RACE_S_FAIRY) || (p_ptr->mimic_form == MIMIC_VAMPIRE))
\r
1303 info[i++] = _("あなたは閃光に弱い。", "You are susceptible to damage from bright light.");
\r
1306 if (prace_is_(RACE_VAMPIRE) || (p_ptr->mimic_form == MIMIC_VAMPIRE) || p_ptr->wraith_form)
\r
1308 info[i++] = _("あなたは暗黒に対する完全なる免疫を持っている。", "You are completely immune to darkness.");
\r
1311 else if (p_ptr->resist_dark)
\r
1313 info[i++] = _("あなたは暗黒への耐性を持っている。", "You are resistant to darkness.");
\r
1315 if (p_ptr->resist_conf)
\r
1317 info[i++] = _("あなたは混乱への耐性を持っている。", "You are resistant to confusion.");
\r
1319 if (p_ptr->resist_sound)
\r
1321 info[i++] = _("あなたは音波の衝撃への耐性を持っている。", "You are resistant to sonic attacks.");
\r
1323 if (p_ptr->resist_disen)
\r
1325 info[i++] = _("あなたは劣化への耐性を持っている。", "You are resistant to disenchantment.");
\r
1327 if (p_ptr->resist_chaos)
\r
1329 info[i++] = _("あなたはカオスの力への耐性を持っている。", "You are resistant to chaos.");
\r
1331 if (p_ptr->resist_shard)
\r
1333 info[i++] = _("あなたは破片の攻撃への耐性を持っている。", "You are resistant to blasts of shards.");
\r
1335 if (p_ptr->resist_nexus)
\r
1337 info[i++] = _("あなたは因果混乱の攻撃への耐性を持っている。", "You are resistant to nexus attacks.");
\r
1340 if (prace_is_(RACE_SPECTRE))
\r
1342 info[i++] = _("あなたは地獄の力を吸収できる。", "You can drain nether forces.");
\r
1344 else if (p_ptr->resist_neth)
\r
1346 info[i++] = _("あなたは地獄の力への耐性を持っている。", "You are resistant to nether forces.");
\r
1348 if (p_ptr->resist_fear)
\r
1350 info[i++] = _("あなたは全く恐怖を感じない。", "You are completely fearless.");
\r
1352 if (p_ptr->resist_blind)
\r
1354 info[i++] = _("あなたの目は盲目への耐性を持っている。", "Your eyes are resistant to blindness.");
\r
1356 if (p_ptr->resist_time)
\r
1358 info[i++] = _("あなたは時間逆転への耐性を持っている。", "You are resistant to time.");
\r
1361 if (p_ptr->sustain_str)
\r
1363 info[i++] = _("あなたの腕力は維持されている。", "Your strength is sustained.");
\r
1365 if (p_ptr->sustain_int)
\r
1367 info[i++] = _("あなたの知能は維持されている。", "Your intelligence is sustained.");
\r
1369 if (p_ptr->sustain_wis)
\r
1371 info[i++] = _("あなたの賢さは維持されている。", "Your wisdom is sustained.");
\r
1373 if (p_ptr->sustain_con)
\r
1375 info[i++] = _("あなたの耐久力は維持されている。", "Your constitution is sustained.");
\r
1377 if (p_ptr->sustain_dex)
\r
1379 info[i++] = _("あなたの器用さは維持されている。", "Your dexterity is sustained.");
\r
1381 if (p_ptr->sustain_chr)
\r
1383 info[i++] = _("あなたの魅力は維持されている。", "Your charisma is sustained.");
\r
1386 if (have_flag(flgs, TR_STR))
\r
1388 info[i++] = _("あなたの腕力は装備によって影響を受けている。", "Your strength is affected by your equipment.");
\r
1390 if (have_flag(flgs, TR_INT))
\r
1392 info[i++] = _("あなたの知能は装備によって影響を受けている。", "Your intelligence is affected by your equipment.");
\r
1394 if (have_flag(flgs, TR_WIS))
\r
1396 info[i++] = _("あなたの賢さは装備によって影響を受けている。", "Your wisdom is affected by your equipment.");
\r
1398 if (have_flag(flgs, TR_DEX))
\r
1400 info[i++] = _("あなたの器用さは装備によって影響を受けている。", "Your dexterity is affected by your equipment.");
\r
1402 if (have_flag(flgs, TR_CON))
\r
1404 info[i++] = _("あなたの耐久力は装備によって影響を受けている。", "Your constitution is affected by your equipment.");
\r
1406 if (have_flag(flgs, TR_CHR))
\r
1408 info[i++] = _("あなたの魅力は装備によって影響を受けている。", "Your charisma is affected by your equipment.");
\r
1411 if (have_flag(flgs, TR_STEALTH))
\r
1413 info[i++] = _("あなたの隠密行動能力は装備によって影響を受けている。", "Your stealth is affected by your equipment.");
\r
1415 if (have_flag(flgs, TR_SEARCH))
\r
1417 info[i++] = _("あなたの探索能力は装備によって影響を受けている。", "Your searching ability is affected by your equipment.");
\r
1419 if (have_flag(flgs, TR_INFRA))
\r
1421 info[i++] = _("あなたの赤外線視力は装備によって影響を受けている。", "Your infravision is affected by your equipment.");
\r
1423 if (have_flag(flgs, TR_TUNNEL))
\r
1425 info[i++] = _("あなたの採掘能力は装備によって影響を受けている。", "Your digging ability is affected by your equipment.");
\r
1427 if (have_flag(flgs, TR_SPEED))
\r
1429 info[i++] = _("あなたのスピードは装備によって影響を受けている。", "Your speed is affected by your equipment.");
\r
1431 if (have_flag(flgs, TR_BLOWS))
\r
1433 info[i++] = _("あなたの攻撃速度は装備によって影響を受けている。", "Your attack speed is affected by your equipment.");
\r
1437 /* Access the current weapon */
\r
1438 o_ptr = &inventory[INVEN_RARM];
\r
1440 /* Analyze the weapon */
\r
1443 /* Indicate Blessing */
\r
1444 if (have_flag(flgs, TR_BLESSED))
\r
1446 info[i++] = _("あなたの武器は神の祝福を受けている。", "Your weapon has been blessed by the gods.");
\r
1449 if (have_flag(flgs, TR_CHAOTIC))
\r
1451 info[i++] = _("あなたの武器はログルスの徴の属性をもつ。", "Your weapon is branded with the Sign of Logrus.");
\r
1455 if (have_flag(flgs, TR_IMPACT))
\r
1457 info[i++] = _("あなたの武器は打撃で地震を発生することができる。", "The impact of your weapon can cause earthquakes.");
\r
1460 if (have_flag(flgs, TR_VORPAL))
\r
1462 info[i++] = _("あなたの武器は非常に鋭い。", "Your weapon is very sharp.");
\r
1465 if (have_flag(flgs, TR_VAMPIRIC))
\r
1467 info[i++] = _("あなたの武器は敵から生命力を吸収する。", "Your weapon drains life from your foes.");
\r
1470 /* Special "Attack Bonuses" */
\r
1471 if (have_flag(flgs, TR_BRAND_ACID))
\r
1473 info[i++] = _("あなたの武器は敵を溶かす。", "Your weapon melts your foes.");
\r
1475 if (have_flag(flgs, TR_BRAND_ELEC))
\r
1477 info[i++] = _("あなたの武器は敵を感電させる。", "Your weapon shocks your foes.");
\r
1479 if (have_flag(flgs, TR_BRAND_FIRE))
\r
1481 info[i++] = _("あなたの武器は敵を燃やす。", "Your weapon burns your foes.");
\r
1483 if (have_flag(flgs, TR_BRAND_COLD))
\r
1485 info[i++] = _("あなたの武器は敵を凍らせる。", "Your weapon freezes your foes.");
\r
1487 if (have_flag(flgs, TR_BRAND_POIS))
\r
1489 info[i++] = _("あなたの武器は敵を毒で侵す。", "Your weapon poisons your foes.");
\r
1492 /* Special "slay" flags */
\r
1493 if (have_flag(flgs, TR_KILL_ANIMAL))
\r
1495 info[i++] = _("あなたの武器は動物の天敵である。", "Your weapon is a great bane of animals.");
\r
1497 else if (have_flag(flgs, TR_SLAY_ANIMAL))
\r
1499 info[i++] = _("あなたの武器は動物に対して強い力を発揮する。", "Your weapon strikes at animals with extra force.");
\r
1501 if (have_flag(flgs, TR_KILL_EVIL))
\r
1503 info[i++] = _("あなたの武器は邪悪なる存在の天敵である。", "Your weapon is a great bane of evil.");
\r
1505 else if (have_flag(flgs, TR_SLAY_EVIL))
\r
1507 info[i++] = _("あなたの武器は邪悪なる存在に対して強い力を発揮する。", "Your weapon strikes at evil with extra force.");
\r
1509 if (have_flag(flgs, TR_KILL_HUMAN))
\r
1511 info[i++] = _("あなたの武器は人間の天敵である。", "Your weapon is a great bane of humans.");
\r
1513 else if (have_flag(flgs, TR_SLAY_HUMAN))
\r
1515 info[i++] = _("あなたの武器は人間に対して特に強い力を発揮する。", "Your weapon is especially deadly against humans.");
\r
1517 if (have_flag(flgs, TR_KILL_UNDEAD))
\r
1519 info[i++] = _("あなたの武器はアンデッドの天敵である。", "Your weapon is a great bane of undead.");
\r
1521 else if (have_flag(flgs, TR_SLAY_UNDEAD))
\r
1523 info[i++] = _("あなたの武器はアンデッドに対して神聖なる力を発揮する。", "Your weapon strikes at undead with holy wrath.");
\r
1525 if (have_flag(flgs, TR_KILL_DEMON))
\r
1527 info[i++] = _("あなたの武器はデーモンの天敵である。", "Your weapon is a great bane of demons.");
\r
1529 else if (have_flag(flgs, TR_SLAY_DEMON))
\r
1531 info[i++] = _("あなたの武器はデーモンに対して神聖なる力を発揮する。", "Your weapon strikes at demons with holy wrath.");
\r
1533 if (have_flag(flgs, TR_KILL_ORC))
\r
1535 info[i++] = _("あなたの武器はオークの天敵である。", "Your weapon is a great bane of orcs.");
\r
1537 else if (have_flag(flgs, TR_SLAY_ORC))
\r
1539 info[i++] = _("あなたの武器はオークに対して特に強い力を発揮する。", "Your weapon is especially deadly against orcs.");
\r
1541 if (have_flag(flgs, TR_KILL_TROLL))
\r
1543 info[i++] = _("あなたの武器はトロルの天敵である。", "Your weapon is a great bane of trolls.");
\r
1545 else if (have_flag(flgs, TR_SLAY_TROLL))
\r
1547 info[i++] = _("あなたの武器はトロルに対して特に強い力を発揮する。", "Your weapon is especially deadly against trolls.");
\r
1549 if (have_flag(flgs, TR_KILL_GIANT))
\r
1551 info[i++] = _("あなたの武器はジャイアントの天敵である。", "Your weapon is a great bane of giants.");
\r
1553 else if (have_flag(flgs, TR_SLAY_GIANT))
\r
1555 info[i++] = _("あなたの武器はジャイアントに対して特に強い力を発揮する。", "Your weapon is especially deadly against giants.");
\r
1557 /* Special "kill" flags */
\r
1558 if (have_flag(flgs, TR_KILL_DRAGON))
\r
1560 info[i++] = _("あなたの武器はドラゴンの天敵である。", "Your weapon is a great bane of dragons.");
\r
1562 else if (have_flag(flgs, TR_SLAY_DRAGON))
\r
1564 info[i++] = _("あなたの武器はドラゴンに対して特に強い力を発揮する。", "Your weapon is especially deadly against dragons.");
\r
1567 if (have_flag(flgs, TR_FORCE_WEAPON))
\r
1569 info[i++] = _("あなたの武器はMPを使って攻撃する。", "Your weapon causes greate damages using your MP.");
\r
1571 if (have_flag(flgs, TR_THROW))
\r
1573 info[i++] = _("あなたの武器は投げやすい。", "Your weapon can be thrown well.");
\r
1579 /* Erase the screen */
\r
1580 for (k = 1; k < 24; k++) prt("", k, 13);
\r
1582 /* Label the information */
\r
1583 prt(_(" あなたの状態:", " Your Attributes:"), 1, 15);
\r
1585 /* We will print on top of the map (column 13) */
\r
1586 for (k = 2, j = 0; j < i; j++)
\r
1588 /* Show the info */
\r
1589 prt(info[j], k++, 15);
\r
1591 /* Every 20 entries (lines 2 to 21), start over */
\r
1592 if ((k == 22) && (j+1 < i))
\r
1594 prt(_("-- 続く --", "-- more --"), k, 15);
\r
1596 for (; k > 2; k--) prt("", k, 15);
\r
1601 prt(_("[何かキーを押すとゲームに戻ります]", "[Press any key to continue]"), k, 13);
\r
1607 * @brief 魔法効果時間のターン数に基づいて表現IDを返す。
\r
1608 * @param dur 効果ターン数
\r
1609 * @return 効果時間の表現ID
\r
1611 static int report_magics_aux(int dur)
\r
1617 else if (dur <= 10)
\r
1621 else if (dur <= 20)
\r
1625 else if (dur <= 50)
\r
1629 else if (dur <= 100)
\r
1633 else if (dur <= 200)
\r
1643 static cptr report_magic_durations[] =
\r
1655 "for a short time",
\r
1656 "for a little while",
\r
1658 "for a long while",
\r
1659 "for a long time",
\r
1660 "for a very long time",
\r
1661 "for an incredibly long time",
\r
1662 "until you hit a monster"
\r
1668 * @brief 現在の一時的効果一覧を返す / Report all currently active magical effects.
\r
1671 void report_magics(void)
\r
1681 info2[i] = report_magics_aux(p_ptr->blind);
\r
1682 info[i++] = _("あなたは目が見えない", "You cannot see");
\r
1684 if (p_ptr->confused)
\r
1686 info2[i] = report_magics_aux(p_ptr->confused);
\r
1687 info[i++] = _("あなたは混乱している", "You are confused");
\r
1689 if (p_ptr->afraid)
\r
1691 info2[i] = report_magics_aux(p_ptr->afraid);
\r
1692 info[i++] = _("あなたは恐怖に侵されている", "You are terrified");
\r
1694 if (p_ptr->poisoned)
\r
1696 info2[i] = report_magics_aux(p_ptr->poisoned);
\r
1697 info[i++] = _("あなたは毒に侵されている", "You are poisoned");
\r
1701 info2[i] = report_magics_aux(p_ptr->image);
\r
1702 info[i++] = _("あなたは幻覚を見ている", "You are hallucinating");
\r
1704 if (p_ptr->blessed)
\r
1706 info2[i] = report_magics_aux(p_ptr->blessed);
\r
1707 info[i++] = _("あなたは高潔さを感じている", "You feel rightous");
\r
1711 info2[i] = report_magics_aux(p_ptr->hero);
\r
1712 info[i++] = _("あなたはヒーロー気分だ", "You feel heroic");
\r
1716 info2[i] = report_magics_aux(p_ptr->shero);
\r
1717 info[i++] = _("あなたは戦闘狂だ", "You are in a battle rage");
\r
1719 if (p_ptr->protevil)
\r
1721 info2[i] = report_magics_aux(p_ptr->protevil);
\r
1722 info[i++] = _("あなたは邪悪なる存在から守られている", "You are protected from evil");
\r
1724 if (p_ptr->shield)
\r
1726 info2[i] = report_magics_aux(p_ptr->shield);
\r
1727 info[i++] = _("あなたは神秘のシールドで守られている", "You are protected by a mystic shield");
\r
1729 if (p_ptr->invuln)
\r
1731 info2[i] = report_magics_aux(p_ptr->invuln);
\r
1732 info[i++] = _("あなたは無敵だ", "You are invulnerable");
\r
1734 if (p_ptr->wraith_form)
\r
1736 info2[i] = report_magics_aux(p_ptr->wraith_form);
\r
1737 info[i++] = _("あなたは幽体化している", "You are incorporeal");
\r
1739 if (p_ptr->special_attack & ATTACK_CONFUSE)
\r
1742 info[i++] = _("あなたの手は赤く輝いている", "Your hands are glowing dull red.");
\r
1744 if (p_ptr->word_recall)
\r
1746 info2[i] = report_magics_aux(p_ptr->word_recall);
\r
1747 info[i++] = _("この後帰還の詔が発動する", "You are waiting to be recalled");
\r
1749 if (p_ptr->alter_reality)
\r
1751 info2[i] = report_magics_aux(p_ptr->alter_reality);
\r
1752 info[i++] = _("この後現実変容が発動する", "You waiting to be altered");
\r
1754 if (p_ptr->oppose_acid)
\r
1756 info2[i] = report_magics_aux(p_ptr->oppose_acid);
\r
1757 info[i++] = _("あなたは酸への耐性を持っている", "You are resistant to acid");
\r
1759 if (p_ptr->oppose_elec)
\r
1761 info2[i] = report_magics_aux(p_ptr->oppose_elec);
\r
1762 info[i++] = _("あなたは電撃への耐性を持っている", "You are resistant to lightning");
\r
1764 if (p_ptr->oppose_fire)
\r
1766 info2[i] = report_magics_aux(p_ptr->oppose_fire);
\r
1767 info[i++] = _("あなたは火への耐性を持っている", "You are resistant to fire");
\r
1769 if (p_ptr->oppose_cold)
\r
1771 info2[i] = report_magics_aux(p_ptr->oppose_cold);
\r
1772 info[i++] = _("あなたは冷気への耐性を持っている", "You are resistant to cold");
\r
1774 if (p_ptr->oppose_pois)
\r
1776 info2[i] = report_magics_aux(p_ptr->oppose_pois);
\r
1777 info[i++] = _("あなたは毒への耐性を持っている", "You are resistant to poison");
\r
1781 /* Erase the screen */
\r
1782 for (k = 1; k < 24; k++) prt("", k, 13);
\r
1784 /* Label the information */
\r
1785 prt(_(" 現在かかっている魔法 :", " Your Current Magic:"), 1, 15);
\r
1788 /* We will print on top of the map (column 13) */
\r
1789 for (k = 2, j = 0; j < i; j++)
\r
1791 /* Show the info */
\r
1792 sprintf(Dummy, _("%-28s : 期間 - %s ", "%s %s."), info[j],
\r
1793 report_magic_durations[info2[j]]);
\r
1794 prt(Dummy, k++, 15);
\r
1796 /* Every 20 entries (lines 2 to 21), start over */
\r
1797 if ((k == 22) && (j + 1 < i))
\r
1799 prt(_("-- 続く --", "-- more --"), k, 15);
\r
1801 for (; k > 2; k--) prt("", k, 15);
\r
1806 prt(_("[何かキーを押すとゲームに戻ります]", "[Press any key to continue]"), k, 13);
\r