1 #include "player-info/body-improvement-info.h"
2 #include "player-info/self-info-util.h"
3 #include "player/player-status-flags.h"
4 #include "system/player-type-definition.h"
6 /*!< @todo 並び順の都合で連番を付ける。まとめても良いならまとめてしまう予定 */
7 void set_body_improvement_info_1(player_type *creature_ptr, self_info_type *self_ptr)
9 if (is_blessed(creature_ptr))
10 self_ptr->info[self_ptr->line++] = _("あなたは高潔さを感じている。", "You feel rightous.");
12 if (is_hero(creature_ptr))
13 self_ptr->info[self_ptr->line++] = _("あなたはヒーロー気分だ。", "You feel heroic.");
15 if (is_shero(creature_ptr))
16 self_ptr->info[self_ptr->line++] = _("あなたは戦闘狂だ。", "You are in a battle rage.");
18 if (creature_ptr->protevil)
19 self_ptr->info[self_ptr->line++] = _("あなたは邪悪なる存在から守られている。", "You are protected from evil.");
21 if (creature_ptr->shield)
22 self_ptr->info[self_ptr->line++] = _("あなたは神秘のシールドで守られている。", "You are protected by a mystic shield.");
24 if (is_invuln(creature_ptr))
25 self_ptr->info[self_ptr->line++] = _("あなたは現在傷つかない。", "You are temporarily invulnerable.");
27 if (creature_ptr->wraith_form)
28 self_ptr->info[self_ptr->line++] = _("あなたは一時的に幽体化している。", "You are temporarily incorporeal.");
31 /*!< @todo 並び順の都合で連番を付ける。まとめても良いならまとめてしまう予定 */
32 void set_body_improvement_info_2(player_type *creature_ptr, self_info_type *self_ptr)
34 if (creature_ptr->new_spells)
35 self_ptr->info[self_ptr->line++] = _("あなたは呪文や祈りを学ぶことができる。", "You can learn some spells/prayers.");
37 if (creature_ptr->word_recall)
38 self_ptr->info[self_ptr->line++] = _("あなたはすぐに帰還するだろう。", "You will soon be recalled.");
40 if (creature_ptr->alter_reality)
41 self_ptr->info[self_ptr->line++] = _("あなたはすぐにこの世界を離れるだろう。", "You will soon be altered.");
43 if (creature_ptr->see_infra)
44 self_ptr->info[self_ptr->line++] = _("あなたの瞳は赤外線に敏感である。", "Your eyes are sensitive to infrared light.");
46 if (creature_ptr->see_inv)
47 self_ptr->info[self_ptr->line++] = _("あなたは透明なモンスターを見ることができる。", "You can see invisible creatures.");
49 if (creature_ptr->levitation)
50 self_ptr->info[self_ptr->line++] = _("あなたは飛ぶことができる。", "You can fly.");
52 if (creature_ptr->free_act)
53 self_ptr->info[self_ptr->line++] = _("あなたは麻痺知らずの効果を持っている。", "You have free action.");
55 if (creature_ptr->regenerate)
56 self_ptr->info[self_ptr->line++] = _("あなたは素早く体力を回復する。", "You regenerate quickly.");
58 if (creature_ptr->slow_digest)
59 self_ptr->info[self_ptr->line++] = _("あなたは食欲が少ない。", "Your appetite is small.");
62 /*!< @todo 並び順の都合で連番を付ける。まとめても良いならまとめてしまう予定 */
63 void set_body_improvement_info_3(player_type *creature_ptr, self_info_type *self_ptr)
65 if (creature_ptr->hold_exp)
66 self_ptr->info[self_ptr->line++] = _("あなたは自己の経験値をしっかりと維持する。", "You have a firm hold on your experience.");
68 if (has_reflect(creature_ptr))
69 self_ptr->info[self_ptr->line++] = _("あなたは矢の呪文を反射する。", "You reflect bolt spells.");
71 if (has_resist_curse(creature_ptr))
72 self_ptr->info[self_ptr->line++] = _("あなたはより強く呪いに抵抗できる。", "You can resist curses powerfully.");
74 if (has_sh_fire(creature_ptr))
75 self_ptr->info[self_ptr->line++] = _("あなたは炎のオーラに包まれている。", "You are surrounded with a fiery aura.");
77 if (has_sh_elec(creature_ptr))
78 self_ptr->info[self_ptr->line++] = _("あなたは電気に包まれている。", "You are surrounded with electricity.");
80 if (has_sh_cold(creature_ptr))
81 self_ptr->info[self_ptr->line++] = _("あなたは冷気のオーラに包まれている。", "You are surrounded with an aura of coldness.");
83 if (creature_ptr->tim_sh_holy)
84 self_ptr->info[self_ptr->line++] = _("あなたは聖なるオーラに包まれている。", "You are surrounded with a holy aura.");
86 if (creature_ptr->tim_sh_touki)
87 self_ptr->info[self_ptr->line++] = _("あなたは闘気のオーラに包まれている。", "You are surrounded with an energy aura.");
89 if (creature_ptr->anti_magic)
90 self_ptr->info[self_ptr->line++] = _("あなたは反魔法シールドに包まれている。", "You are surrounded by an anti-magic shell.");
92 if (creature_ptr->anti_tele)
93 self_ptr->info[self_ptr->line++] = _("あなたはテレポートできない。", "You cannot teleport.");
95 if (creature_ptr->lite)
96 self_ptr->info[self_ptr->line++] = _("あなたの身体は光っている。", "You are carrying a permanent light.");
98 if (creature_ptr->warning)
99 self_ptr->info[self_ptr->line++] = _("あなたは行動の前に危険を察知することができる。", "You will be warned before dangerous actions.");
101 if (creature_ptr->dec_mana)
102 self_ptr->info[self_ptr->line++] = _("あなたは少ない消費魔力で魔法を唱えることができる。", "You can cast spells with fewer mana points.");
104 if (creature_ptr->easy_spell)
105 self_ptr->info[self_ptr->line++] = _("あなたは低い失敗率で魔法を唱えることができる。", "Your magic fails less often.");
107 if (creature_ptr->heavy_spell)
108 self_ptr->info[self_ptr->line++] = _("あなたは高い失敗率で魔法を唱えなければいけない。", "Your magic fails more often.");
110 if (creature_ptr->mighty_throw)
111 self_ptr->info[self_ptr->line++] = _("あなたは強く物を投げる。", "You can throw objects powerfully.");
114 /*!< @todo 並び順の都合で連番を付ける。まとめても良いならまとめてしまう予定 */
115 void set_body_improvement_info_4(player_type *creature_ptr, self_info_type *self_ptr)
117 if (has_resist_fear(creature_ptr))
118 self_ptr->info[self_ptr->line++] = _("あなたは全く恐怖を感じない。", "You are completely fearless.");
120 if (has_resist_blind(creature_ptr))
121 self_ptr->info[self_ptr->line++] = _("あなたの目は盲目への耐性を持っている。", "Your eyes are resistant to blindness.");
123 if (has_resist_time(creature_ptr))
124 self_ptr->info[self_ptr->line++] = _("あなたは時間逆転への耐性を持っている。", "You are resistant to time.");