OSDN Git Service

Reword the first sentence of the English description for Yu'uichi. It is an interpol...
[hengbandforosx/hengbandosx.git] / src / io / mutations-dump.c
1 /*!
2  * @brief 突然変異の一覧を出力する
3  * @date 2020/04/24
4  * @author Hourier
5  */
6
7 #include "io/mutations-dump.h"
8 #include "mutation/mutation-flag-types.h"
9 #include "player/player-status-flags.h"
10
11 /*!
12  * @brief ファイルポインタを通じて突然変異の一覧を出力する
13  * @param out_file 出力先ファイルポインタ
14  * @return なし
15  */
16 void dump_mutations(player_type *creature_ptr, FILE *out_file)
17 {
18     if (!out_file)
19         return;
20
21     if (creature_ptr->muta1) {
22         if (creature_ptr->muta1 & MUT1_SPIT_ACID)
23             fprintf(out_file, _(" あなたは酸を吹きかけることができる。(ダメージ レベルX1)\n", " You can spit acid (dam lvl).\n"));
24
25         if (creature_ptr->muta1 & MUT1_BR_FIRE)
26             fprintf(out_file, _(" あなたは炎のブレスを吐くことができる。(ダメージ レベルX2)\n", " You can breathe fire (dam lvl * 2).\n"));
27
28         if (creature_ptr->muta1 & MUT1_HYPN_GAZE)
29             fprintf(out_file, _(" あなたの睨みは催眠効果をもつ。\n", " Your gaze is hypnotic.\n"));
30
31         if (creature_ptr->muta1 & MUT1_TELEKINES)
32             fprintf(out_file, _(" あなたは念動力をもっている。\n", " You are telekinetic.\n"));
33
34         if (creature_ptr->muta1 & MUT1_VTELEPORT)
35             fprintf(out_file, _(" あなたは自分の意思でテレポートできる。\n", " You can teleport at will.\n"));
36
37         if (creature_ptr->muta1 & MUT1_MIND_BLST)
38             fprintf(out_file, _(" あなたは敵を精神攻撃できる。\n", " You can Mind Blast your enemies.\n"));
39
40         if (creature_ptr->muta1 & MUT1_RADIATION)
41             fprintf(out_file, _(" あなたは自分の意思で放射能を発生することができる。\n", " You can emit hard radiation at will.\n"));
42
43         if (creature_ptr->muta1 & MUT1_VAMPIRISM)
44             fprintf(out_file, _(" あなたは吸血鬼のように敵から生命力を吸収することができる。\n", " You can drain life from a foe like a vampire.\n"));
45
46         if (creature_ptr->muta1 & MUT1_SMELL_MET)
47             fprintf(out_file, _(" あなたは近くにある貴金属をかぎ分けることができる。\n", " You can smell nearby precious metal.\n"));
48
49         if (creature_ptr->muta1 & MUT1_SMELL_MON)
50             fprintf(out_file, _(" あなたは近くのモンスターの存在をかぎ分けることができる。\n", " You can smell nearby monsters.\n"));
51
52         if (creature_ptr->muta1 & MUT1_BLINK)
53             fprintf(out_file, _(" あなたは短い距離をテレポートできる。\n", " You can teleport yourself short distances.\n"));
54
55         if (creature_ptr->muta1 & MUT1_EAT_ROCK)
56             fprintf(out_file, _(" あなたは硬い岩を食べることができる。\n", " You can consume solid rock.\n"));
57
58         if (creature_ptr->muta1 & MUT1_SWAP_POS)
59             fprintf(out_file, _(" あなたは他の者と場所を入れ替わることができる。\n", " You can switch locations with another being.\n"));
60
61         if (creature_ptr->muta1 & MUT1_SHRIEK)
62             fprintf(out_file, _(" あなたは身の毛もよだつ叫び声を発することができる。\n", " You can emit a horrible shriek.\n"));
63
64         if (creature_ptr->muta1 & MUT1_ILLUMINE)
65             fprintf(out_file, _(" あなたは明るい光を放つことができる。\n", " You can emit bright light.\n"));
66
67         if (creature_ptr->muta1 & MUT1_DET_CURSE)
68             fprintf(out_file, _(" あなたは邪悪な魔法の危険を感じとることができる。\n", " You can feel the danger of evil magic.\n"));
69
70         if (creature_ptr->muta1 & MUT1_BERSERK)
71             fprintf(out_file, _(" あなたは自分の意思で狂乱戦闘状態になることができる。\n", " You can drive yourself into a berserk frenzy.\n"));
72
73         if (creature_ptr->muta1 & MUT1_POLYMORPH)
74             fprintf(out_file, _(" あなたは自分の意志で変化できる。\n", " You can polymorph yourself at will.\n"));
75
76         if (creature_ptr->muta1 & MUT1_MIDAS_TCH)
77             fprintf(out_file, _(" あなたは通常アイテムを金に変えることができる。\n", " You can turn ordinary items to gold.\n"));
78
79         if (creature_ptr->muta1 & MUT1_GROW_MOLD)
80             fprintf(out_file, _(" あなたは周囲にキノコを生やすことができる。\n", " You can cause mold to grow near you.\n"));
81
82         if (creature_ptr->muta1 & MUT1_RESIST)
83             fprintf(out_file, _(" あなたは元素の攻撃に対して身を硬くすることができる。\n", " You can harden yourself to the ravages of the elements.\n"));
84
85         if (creature_ptr->muta1 & MUT1_EARTHQUAKE)
86             fprintf(out_file, _(" あなたは周囲のダンジョンを崩壊させることができる。\n", " You can bring down the dungeon around your ears.\n"));
87
88         if (creature_ptr->muta1 & MUT1_EAT_MAGIC)
89             fprintf(out_file, _(" あなたは魔法のエネルギーを自分の物として使用できる。\n", " You can consume magic energy for your own use.\n"));
90
91         if (creature_ptr->muta1 & MUT1_WEIGH_MAG)
92             fprintf(out_file, _(" あなたは自分に影響を与える魔法の力を感じることができる。\n", " You can feel the strength of the magics affecting you.\n"));
93
94         if (creature_ptr->muta1 & MUT1_STERILITY)
95             fprintf(out_file, _(" あなたは集団的生殖不能を起こすことができる。\n", " You can cause mass impotence.\n"));
96
97         if (creature_ptr->muta1 & MUT1_HIT_AND_AWAY)
98             fprintf(out_file, _(" あなたは攻撃した後身を守るため逃げることができる。\n", " You can run for your life after hitting something.\n"));
99
100         if (creature_ptr->muta1 & MUT1_DAZZLE)
101             fprintf(out_file, _(" あなたは混乱と盲目を引き起こす放射能を発生することができる。 \n", " You can emit confusing, blinding radiation.\n"));
102
103         if (creature_ptr->muta1 & MUT1_LASER_EYE)
104             fprintf(out_file, _(" あなたは目からレーザー光線を発射することができる。\n", " Your eyes can fire laser beams.\n"));
105
106         if (creature_ptr->muta1 & MUT1_RECALL)
107             fprintf(out_file, _(" あなたは街とダンジョンの間を行き来することができる。\n", " You can travel between town and the depths.\n"));
108
109         if (creature_ptr->muta1 & MUT1_BANISH)
110             fprintf(out_file, _(" あなたは邪悪なモンスターを地獄に落とすことができる。\n", " You can send evil creatures directly to Hell.\n"));
111
112         if (creature_ptr->muta1 & MUT1_COLD_TOUCH)
113             fprintf(out_file, _(" あなたは物を触って凍らせることができる。\n", " You can freeze things with a touch.\n"));
114
115         if (creature_ptr->muta1 & MUT1_LAUNCHER)
116             fprintf(out_file, _(" あなたはアイテムを力強く投げることができる。\n", " You can hurl objects with great force.\n"));
117     }
118
119     if (creature_ptr->muta2) {
120         if (creature_ptr->muta2 & MUT2_BERS_RAGE)
121             fprintf(out_file, _(" あなたは狂戦士化の発作を起こす。\n", " You are subject to berserker fits.\n"));
122
123         if (creature_ptr->muta2 & MUT2_COWARDICE)
124             fprintf(out_file, _(" あなたは時々臆病になる。\n", " You are subject to cowardice.\n"));
125
126         if (creature_ptr->muta2 & MUT2_RTELEPORT)
127             fprintf(out_file, _(" あなたはランダムにテレポートする。\n", " You sometimes randomly teleport.\n"));
128
129         if (creature_ptr->muta2 & MUT2_ALCOHOL)
130             fprintf(out_file, _(" あなたの体はアルコールを分泌する。\n", " Your body produces alcohol.\n"));
131
132         if (creature_ptr->muta2 & MUT2_HALLU)
133             fprintf(out_file, _(" あなたは幻覚を引き起こす精神錯乱に侵されている。\n", " You have a hallucinatory insanity.\n"));
134
135         if (creature_ptr->muta2 & MUT2_FLATULENT)
136             fprintf(out_file, _(" あなたは制御できない強烈な屁をこく。\n", " You are subject to uncontrollable flatulence.\n"));
137
138         if (creature_ptr->muta2 & MUT2_PROD_MANA)
139             fprintf(out_file, _(" あなたは制御不能な魔法のエネルギーを発している。\n", " You produce magical energy uncontrollably.\n"));
140
141         if (creature_ptr->muta2 & MUT2_ATT_DEMON)
142             fprintf(out_file, _(" あなたはデーモンを引きつける。\n", " You attract demons.\n"));
143
144         if (creature_ptr->muta2 & MUT2_SCOR_TAIL)
145             fprintf(out_file, _(" あなたはサソリの尻尾が生えている。(毒、ダメージ 3d7)\n", " You have a scorpion tail (poison, 3d7).\n"));
146
147         if (creature_ptr->muta2 & MUT2_HORNS)
148             fprintf(out_file, _(" あなたは角が生えている。(ダメージ 2d6)\n", " You have horns (dam. 2d6).\n"));
149
150         if (creature_ptr->muta2 & MUT2_BEAK)
151             fprintf(out_file, _(" あなたはクチバシが生えている。(ダメージ 2d4)\n", " You have a beak (dam. 2d4).\n"));
152
153         if (creature_ptr->muta2 & MUT2_SPEED_FLUX)
154             fprintf(out_file, _(" あなたはランダムに早く動いたり遅く動いたりする。\n", " You move faster or slower randomly.\n"));
155
156         if (creature_ptr->muta2 & MUT2_BANISH_ALL)
157             fprintf(out_file, _(" あなたは時々近くのモンスターを消滅させる。\n", " You sometimes cause nearby creatures to vanish.\n"));
158
159         if (creature_ptr->muta2 & MUT2_EAT_LIGHT)
160             fprintf(out_file, _(" あなたは時々周囲の光を吸収して栄養にする。\n", " You sometimes feed off of the light around you.\n"));
161
162         if (creature_ptr->muta2 & MUT2_TRUNK)
163             fprintf(out_file, _(" あなたは象のような鼻を持っている。(ダメージ 1d4)\n", " You have an elephantine trunk (dam 1d4).\n"));
164
165         if (creature_ptr->muta2 & MUT2_ATT_ANIMAL)
166             fprintf(out_file, _(" あなたは動物を引きつける。\n", " You attract animals.\n"));
167
168         if (creature_ptr->muta2 & MUT2_TENTACLES)
169             fprintf(out_file, _(" あなたは邪悪な触手を持っている。(ダメージ 2d5)\n", " You have evil looking tentacles (dam 2d5).\n"));
170
171         if (creature_ptr->muta2 & MUT2_RAW_CHAOS)
172             fprintf(out_file, _(" あなたはしばしば純カオスに包まれる。\n", " You occasionally are surrounded with raw chaos.\n"));
173
174         if (creature_ptr->muta2 & MUT2_NORMALITY)
175             fprintf(out_file, _(" あなたは変異していたが、回復してきている。\n", " You may be mutated, but you're recovering.\n"));
176
177         if (creature_ptr->muta2 & MUT2_WRAITH)
178             fprintf(out_file, _(" あなたの肉体は幽体化したり実体化したりする。\n", " You fade in and out of physical reality.\n"));
179
180         if (creature_ptr->muta2 & MUT2_POLY_WOUND)
181             fprintf(out_file, _(" あなたの健康はカオスの力に影響を受ける。\n", " Your health is subject to chaotic forces.\n"));
182
183         if (creature_ptr->muta2 & MUT2_WASTING)
184             fprintf(out_file, _(" あなたは衰弱する恐ろしい病気にかかっている。\n", " You have a horrible wasting disease.\n"));
185
186         if (creature_ptr->muta2 & MUT2_ATT_DRAGON)
187             fprintf(out_file, _(" あなたはドラゴンを引きつける。\n", " You attract dragons.\n"));
188
189         if (creature_ptr->muta2 & MUT2_WEIRD_MIND)
190             fprintf(out_file, _(" あなたの精神はランダムに拡大したり縮小したりしている。\n", " Your mind randomly expands and contracts.\n"));
191
192         if (creature_ptr->muta2 & MUT2_NAUSEA)
193             fprintf(out_file, _(" あなたの胃は非常に落ち着きがない。\n", " You have a seriously upset stomach.\n"));
194
195         if (creature_ptr->muta2 & MUT2_CHAOS_GIFT)
196             fprintf(out_file, _(" あなたはカオスの守護悪魔から褒美をうけとる。\n", " Chaos deities give you gifts.\n"));
197
198         if (creature_ptr->muta2 & MUT2_WALK_SHAD)
199             fprintf(out_file, _(" あなたはしばしば他の「影」に迷い込む。\n", " You occasionally stumble into other shadows.\n"));
200
201         if (creature_ptr->muta2 & MUT2_WARNING)
202             fprintf(out_file, _(" あなたは敵に関する警告を感じる。\n", " You receive warnings about your foes.\n"));
203
204         if (creature_ptr->muta2 & MUT2_INVULN)
205             fprintf(out_file, _(" あなたは時々負け知らずな気分になる。\n", " You occasionally feel invincible.\n"));
206
207         if (creature_ptr->muta2 & MUT2_SP_TO_HP)
208             fprintf(out_file, _(" あなたは時々血が筋肉にどっと流れる。\n", " Your blood sometimes rushes to your muscles.\n"));
209
210         if (creature_ptr->muta2 & MUT2_HP_TO_SP)
211             fprintf(out_file, _(" あなたは時々頭に血がどっと流れる。\n", " Your blood sometimes rushes to your head.\n"));
212
213         if (creature_ptr->muta2 & MUT2_DISARM)
214             fprintf(out_file, _(" あなたはよくつまづいて物を落とす。\n", " You occasionally stumble and drop things.\n"));
215     }
216
217     if (creature_ptr->muta3) {
218         if (creature_ptr->muta3 & MUT3_HYPER_STR)
219             fprintf(out_file, _(" あなたは超人的に強い。(腕力+4)\n", " You are superhumanly strong (+4 STR).\n"));
220
221         if (creature_ptr->muta3 & MUT3_PUNY)
222             fprintf(out_file, _(" あなたは虚弱だ。(腕力-4)\n", " You are puny (-4 STR).\n"));
223
224         if (creature_ptr->muta3 & MUT3_HYPER_INT)
225             fprintf(out_file, _(" あなたの脳は生体コンピュータだ。(知能&賢さ+4)\n", " Your brain is a living computer (+4 INT/WIS).\n"));
226
227         if (creature_ptr->muta3 & MUT3_MORONIC)
228             fprintf(out_file, _(" あなたは精神薄弱だ。(知能&賢さ-4)\n", " You are moronic (-4 INT/WIS).\n"));
229
230         if (creature_ptr->muta3 & MUT3_RESILIENT)
231             fprintf(out_file, _(" あなたの体は弾力性に富んでいる。(耐久+4)\n", " You are very resilient (+4 CON).\n"));
232
233         if (creature_ptr->muta3 & MUT3_XTRA_FAT)
234             fprintf(out_file, _(" あなたは極端に太っている。(耐久+2,スピード-2)\n", " You are extremely fat (+2 CON, -2 speed).\n"));
235
236         if (creature_ptr->muta3 & MUT3_ALBINO)
237             fprintf(out_file, _(" あなたはアルビノだ。(耐久-4)\n", " You are albino (-4 CON).\n"));
238
239         if (creature_ptr->muta3 & MUT3_FLESH_ROT)
240             fprintf(out_file, _(" あなたの肉体は腐敗している。(耐久-2,魅力-1)\n", " Your flesh is rotting (-2 CON, -1 CHR).\n"));
241
242         if (creature_ptr->muta3 & MUT3_SILLY_VOI)
243             fprintf(out_file, _(" あなたの声は間抜けなキーキー声だ。(魅力-4)\n", " Your voice is a silly squeak (-4 CHR).\n"));
244
245         if (creature_ptr->muta3 & MUT3_BLANK_FAC)
246             fprintf(out_file, _(" あなたはのっぺらぼうだ。(魅力-1)\n", " Your face is featureless (-1 CHR).\n"));
247
248         if (creature_ptr->muta3 & MUT3_ILL_NORM)
249             fprintf(out_file, _(" あなたは幻影に覆われている。\n", " Your appearance is masked with illusion.\n"));
250
251         if (creature_ptr->muta3 & MUT3_XTRA_EYES)
252             fprintf(out_file, _(" あなたは余分に二つの目を持っている。(探索+15)\n", " You have an extra pair of eyes (+15 search).\n"));
253
254         if (creature_ptr->muta3 & MUT3_MAGIC_RES)
255             fprintf(out_file, _(" あなたは魔法への耐性をもっている。\n", " You are resistant to magic.\n"));
256
257         if (creature_ptr->muta3 & MUT3_XTRA_NOIS)
258             fprintf(out_file, _(" あなたは変な音を発している。(隠密-3)\n", " You make a lot of strange noise (-3 stealth).\n"));
259
260         if (creature_ptr->muta3 & MUT3_INFRAVIS)
261             fprintf(out_file, _(" あなたは素晴らしい赤外線視力を持っている。(+3)\n", " You have remarkable infravision (+3).\n"));
262
263         if (creature_ptr->muta3 & MUT3_XTRA_LEGS)
264             fprintf(out_file, _(" あなたは余分に二本の足が生えている。(加速+3)\n", " You have an extra pair of legs (+3 speed).\n"));
265
266         if (creature_ptr->muta3 & MUT3_SHORT_LEG)
267             fprintf(out_file, _(" あなたの足は短い突起だ。(加速-3)\n", " Your legs are short stubs (-3 speed).\n"));
268
269         if (creature_ptr->muta3 & MUT3_ELEC_TOUC)
270             fprintf(out_file, _(" あなたの血管には電流が流れている。\n", " Electricity runs through your veins.\n"));
271
272         if (creature_ptr->muta3 & MUT3_FIRE_BODY)
273             fprintf(out_file, _(" あなたの体は炎につつまれている。\n", " Your body is enveloped in flames.\n"));
274
275         if (creature_ptr->muta3 & MUT3_WART_SKIN)
276             fprintf(out_file, _(" あなたの肌はイボに被われている。(魅力-2, AC+5)\n", " Your skin is covered with warts (-2 CHR, +5 AC).\n"));
277
278         if (creature_ptr->muta3 & MUT3_SCALES)
279             fprintf(out_file, _(" あなたの肌は鱗になっている。(魅力-1, AC+10)\n", " Your skin has turned into scales (-1 CHR, +10 AC).\n"));
280
281         if (creature_ptr->muta3 & MUT3_IRON_SKIN)
282             fprintf(out_file, _(" あなたの肌は鉄でできている。(器用-1, AC+25)\n", " Your skin is made of steel (-1 DEX, +25 AC).\n"));
283
284         if (creature_ptr->muta3 & MUT3_WINGS)
285             fprintf(out_file, _(" あなたは羽を持っている。\n", " You have wings.\n"));
286
287         if (creature_ptr->muta3 & MUT3_FEARLESS)
288             fprintf(out_file, _(" あなたは全く恐怖を感じない。\n", " You are completely fearless.\n"));
289
290         if (creature_ptr->muta3 & MUT3_REGEN)
291             fprintf(out_file, _(" あなたは急速に回復する。\n", " You are regenerating.\n"));
292
293         if (creature_ptr->muta3 & MUT3_ESP)
294             fprintf(out_file, _(" あなたはテレパシーを持っている。\n", " You are telepathic.\n"));
295
296         if (creature_ptr->muta3 & MUT3_LIMBER)
297             fprintf(out_file, _(" あなたの体は非常にしなやかだ。(器用+3)\n", " Your body is very limber (+3 DEX).\n"));
298
299         if (creature_ptr->muta3 & MUT3_ARTHRITIS)
300             fprintf(out_file, _(" あなたはいつも関節に痛みを感じている。(器用-3)\n", " Your joints ache constantly (-3 DEX).\n"));
301
302         if (creature_ptr->muta3 & MUT3_VULN_ELEM)
303             fprintf(out_file, _(" あなたは元素の攻撃に弱い。\n", " You are susceptible to damage from the elements.\n"));
304
305         if (creature_ptr->muta3 & MUT3_MOTION)
306             fprintf(out_file, _(" あなたの動作は正確で力強い。(隠密+1)\n", " Your movements are precise and forceful (+1 STL).\n"));
307
308         if (has_good_luck(creature_ptr))
309             fprintf(out_file, _(" あなたは白いオーラにつつまれている。\n", " There is a white aura surrounding you.\n"));
310
311         if (creature_ptr->muta3 & MUT3_BAD_LUCK)
312             fprintf(out_file, _(" あなたは黒いオーラにつつまれている。\n", " There is a black aura surrounding you.\n"));
313     }
314 }