OSDN Git Service

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