OSDN Git Service

Merge remote-tracking branch 'remotes/origin/For2.2.2-Fix-Hourier' into For2.2.2...
[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 \95À\82Ñ\8f\87\82Ì\93s\8d\87\82Å\98A\94Ô\82ð\95t\82¯\82é\81B\82Ü\82Æ\82ß\82Ä\82à\97Ç\82¢\82È\82ç\82Ü\82Æ\82ß\82Ä\82µ\82Ü\82¤\97\\92è */
5 void set_body_improvement_info_1(player_type *creature_ptr, self_info_type *si_ptr)
6 {
7     if (is_blessed(creature_ptr))
8         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8d\82\8c\89\82³\82ð\8a´\82\82Ä\82¢\82é\81B", "You feel rightous.");
9
10     if (is_hero(creature_ptr))
11         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\83q\81[\83\8d\81[\8bC\95ª\82¾\81B", "You feel heroic.");
12
13     if (creature_ptr->shero)
14         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\90í\93¬\8b\82¾\81B", "You are in a battle rage.");
15
16     if (creature_ptr->protevil)
17         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8e×\88«\82È\82é\91\8dÝ\82©\82ç\8eç\82ç\82ê\82Ä\82¢\82é\81B", "You are protected from evil.");
18
19     if (creature_ptr->shield)
20         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\90_\94é\82Ì\83V\81[\83\8b\83h\82Å\8eç\82ç\82ê\82Ä\82¢\82é\81B", "You are protected by a mystic shield.");
21
22     if (is_invuln(creature_ptr))
23         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8c»\8dÝ\8f\9d\82Â\82©\82È\82¢\81B", "You are temporarily invulnerable.");
24
25     if (creature_ptr->wraith_form)
26         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\88ê\8e\9e\93I\82É\97H\91Ì\89»\82µ\82Ä\82¢\82é\81B", "You are temporarily incorporeal.");
27 }
28
29 /* todo \95À\82Ñ\8f\87\82Ì\93s\8d\87\82Å\98A\94Ô\82ð\95t\82¯\82é\81B\82Ü\82Æ\82ß\82Ä\82à\97Ç\82¢\82È\82ç\82Ü\82Æ\82ß\82Ä\82µ\82Ü\82¤\97\\92è */
30 void set_body_improvement_info_2(player_type *creature_ptr, self_info_type *si_ptr)
31 {
32     if (creature_ptr->new_spells)
33         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8eô\95\82â\8bF\82è\82ð\8aw\82Ô\82±\82Æ\82ª\82Å\82«\82é\81B", "You can learn some spells/prayers.");
34
35     if (creature_ptr->word_recall)
36         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\82·\82®\82É\8bA\8aÒ\82·\82é\82¾\82ë\82¤\81B", "You will soon be recalled.");
37
38     if (creature_ptr->alter_reality)
39         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\82·\82®\82É\82±\82Ì\90¢\8aE\82ð\97£\82ê\82é\82¾\82ë\82¤\81B", "You will soon be altered.");
40
41     if (creature_ptr->see_infra)
42         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Ì\93µ\82Í\90Ô\8aO\90ü\82É\95q\8a´\82Å\82 \82é\81B", "Your eyes are sensitive to infrared light.");
43
44     if (creature_ptr->see_inv)
45         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\93§\96¾\82È\83\82\83\93\83X\83^\81[\82ð\8c©\82é\82±\82Æ\82ª\82Å\82«\82é\81B", "You can see invisible creatures.");
46
47     if (creature_ptr->levitation)
48         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\94ò\82Ô\82±\82Æ\82ª\82Å\82«\82é\81B", "You can fly.");
49
50     if (creature_ptr->free_act)
51         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\96\83á\83\92m\82ç\82¸\82Ì\8cø\89Ê\82ð\8e\9d\82Á\82Ä\82¢\82é\81B", "You have free action.");
52
53     if (creature_ptr->regenerate)
54         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\91f\91\81\82­\91Ì\97Í\82ð\89ñ\95\9c\82·\82é\81B", "You regenerate quickly.");
55
56     if (creature_ptr->slow_digest)
57         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\90H\97~\82ª\8f­\82È\82¢\81B", "Your appetite is small.");
58 }
59
60 /* todo \95À\82Ñ\8f\87\82Ì\93s\8d\87\82Å\98A\94Ô\82ð\95t\82¯\82é\81B\82Ü\82Æ\82ß\82Ä\82à\97Ç\82¢\82È\82ç\82Ü\82Æ\82ß\82Ä\82µ\82Ü\82¤\97\\92è */
61 void set_body_improvement_info_3(player_type *creature_ptr, self_info_type *si_ptr)
62 {
63     if (creature_ptr->hold_exp)
64         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8e©\8cÈ\82Ì\8co\8c±\92l\82ð\82µ\82Á\82©\82è\82Æ\88Û\8e\9d\82·\82é\81B", "You have a firm hold on your experience.");
65
66     if (creature_ptr->reflect)
67         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\96î\82Ì\8eô\95\82ð\94½\8eË\82·\82é\81B", "You reflect bolt spells.");
68
69     if (creature_ptr->sh_fire)
70         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\89\8a\82Ì\83I\81[\83\89\82É\95ï\82Ü\82ê\82Ä\82¢\82é\81B", "You are surrounded with a fiery aura.");
71
72     if (creature_ptr->sh_elec)
73         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\93d\8bC\82É\95ï\82Ü\82ê\82Ä\82¢\82é\81B", "You are surrounded with electricity.");
74
75     if (creature_ptr->sh_cold)
76         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\97â\8bC\82Ì\83I\81[\83\89\82É\95ï\82Ü\82ê\82Ä\82¢\82é\81B", "You are surrounded with an aura of coldness.");
77
78     if (creature_ptr->tim_sh_holy)
79         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\90¹\82È\82é\83I\81[\83\89\82É\95ï\82Ü\82ê\82Ä\82¢\82é\81B", "You are surrounded with a holy aura.");
80
81     if (creature_ptr->tim_sh_touki)
82         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\93¬\8bC\82Ì\83I\81[\83\89\82É\95ï\82Ü\82ê\82Ä\82¢\82é\81B", "You are surrounded with an energy aura.");
83
84     if (creature_ptr->anti_magic)
85         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\94½\96\82\96@\83V\81[\83\8b\83h\82É\95ï\82Ü\82ê\82Ä\82¢\82é\81B", "You are surrounded by an anti-magic shell.");
86
87     if (creature_ptr->anti_tele)
88         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\83e\83\8c\83|\81[\83g\82Å\82«\82È\82¢\81B", "You cannot teleport.");
89
90     if (creature_ptr->lite)
91         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Ì\90g\91Ì\82Í\8cõ\82Á\82Ä\82¢\82é\81B", "You are carrying a permanent light.");
92
93     if (creature_ptr->warning)
94         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8ds\93®\82Ì\91O\82É\8aë\8c¯\82ð\8e@\92m\82·\82é\82±\82Æ\82ª\82Å\82«\82é\81B", "You will be warned before dangerous actions.");
95
96     if (creature_ptr->dec_mana)
97         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8f­\82È\82¢\8fÁ\94ï\96\82\97Í\82Å\96\82\96@\82ð\8f¥\82¦\82é\82±\82Æ\82ª\82Å\82«\82é\81B", "You can cast spells with fewer mana points.");
98
99     if (creature_ptr->easy_spell)
100         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\92á\82¢\8e¸\94s\97¦\82Å\96\82\96@\82ð\8f¥\82¦\82é\82±\82Æ\82ª\82Å\82«\82é\81B", "Fail rate of your magic is decreased.");
101
102     if (creature_ptr->heavy_spell)
103         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8d\82\82¢\8e¸\94s\97¦\82Å\96\82\96@\82ð\8f¥\82¦\82È\82¯\82ê\82Î\82¢\82¯\82È\82¢\81B", "Fail rate of your magic is increased.");
104
105     if (creature_ptr->mighty_throw)
106         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8b­\82­\95¨\82ð\93\8a\82°\82é\81B", "You can throw objects powerfully.");
107 }
108
109 /* todo \95À\82Ñ\8f\87\82Ì\93s\8d\87\82Å\98A\94Ô\82ð\95t\82¯\82é\81B\82Ü\82Æ\82ß\82Ä\82à\97Ç\82¢\82È\82ç\82Ü\82Æ\82ß\82Ä\82µ\82Ü\82¤\97\\92è */
110 void set_body_improvement_info_4(player_type *creature_ptr, self_info_type *si_ptr)
111 {
112     if (creature_ptr->resist_fear)
113         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\91S\82­\8b°\95|\82ð\8a´\82\82È\82¢\81B", "You are completely fearless.");
114     
115     if (creature_ptr->resist_blind)
116         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Ì\96Ú\82Í\96Ó\96Ú\82Ö\82Ì\91Ï\90«\82ð\8e\9d\82Á\82Ä\82¢\82é\81B", "Your eyes are resistant to blindness.");
117     
118     if (creature_ptr->resist_time)
119         si_ptr->info[si_ptr->line++] = _("\82 \82È\82½\82Í\8e\9e\8aÔ\8bt\93]\82Ö\82Ì\91Ï\90«\82ð\8e\9d\82Á\82Ä\82¢\82é\81B", "You are resistant to time.");
120 }