1 #include "mutation/gain-mutation-switcher.h"
2 #include "mutation/mutation-flag-types.h"
3 #include "mutation/mutation-util.h"
4 #include "system/player-type-definition.h"
6 void switch_gain_mutation(PlayerType *player_ptr, glm_type *glm_ptr)
8 switch (glm_ptr->choose_mut ? glm_ptr->choose_mut : (player_ptr->pclass == PlayerClassType::BERSERKER ? 74 + randint1(119) : randint1(193))) {
13 glm_ptr->muta_which = PlayerMutationType::SPIT_ACID;
14 glm_ptr->muta_desc = _("酸を吐く能力を得た。", "You gain the ability to spit acid.");
19 glm_ptr->muta_which = PlayerMutationType::BR_FIRE;
20 glm_ptr->muta_desc = _("火を吐く能力を得た。", "You gain the ability to breathe fire.");
24 glm_ptr->muta_which = PlayerMutationType::HYPN_GAZE;
25 glm_ptr->muta_desc = _("催眠眼の能力を得た。", "Your eyes look mesmerizing...");
29 glm_ptr->muta_which = PlayerMutationType::TELEKINES;
30 glm_ptr->muta_desc = _("物体を念動力で動かす能力を得た。", "You gain the ability to move objects telekinetically.");
35 glm_ptr->muta_which = PlayerMutationType::VTELEPORT;
36 glm_ptr->muta_desc = _("自分の意思でテレポートする能力を得た。", "You gain the power of teleportation at will.");
40 glm_ptr->muta_which = PlayerMutationType::MIND_BLST;
41 glm_ptr->muta_desc = _("精神攻撃の能力を得た。", "You gain the power of Mind Blast.");
45 glm_ptr->muta_which = PlayerMutationType::RADIATION;
46 glm_ptr->muta_desc = _("あなたは強い放射線を発生し始めた。", "You start emitting hard radiation.");
50 glm_ptr->muta_which = PlayerMutationType::VAMPIRISM;
51 glm_ptr->muta_desc = _("生命力を吸収できるようになった。", "You become vampiric.");
56 glm_ptr->muta_which = PlayerMutationType::SMELL_MET;
57 glm_ptr->muta_desc = _("金属の匂いを嗅ぎ分けられるようになった。", "You smell a metallic odor.");
63 glm_ptr->muta_which = PlayerMutationType::SMELL_MON;
64 glm_ptr->muta_desc = _("モンスターの臭いを嗅ぎ分けられるようになった。", "You smell filthy monsters.");
69 glm_ptr->muta_which = PlayerMutationType::BLINK;
70 glm_ptr->muta_desc = _("近距離テレポートの能力を得た。", "You gain the power of minor teleportation.");
74 glm_ptr->muta_which = PlayerMutationType::EAT_ROCK;
75 glm_ptr->muta_desc = _("壁が美味しそうに見える。", "The walls look delicious.");
79 glm_ptr->muta_which = PlayerMutationType::SWAP_POS;
80 glm_ptr->muta_desc = _("他人の靴で一マイル歩くような気分がする。", "You feel like walking a mile in someone else's shoes.");
85 glm_ptr->muta_which = PlayerMutationType::SHRIEK;
86 glm_ptr->muta_desc = _("あなたの声は相当強くなった。", "Your vocal cords get much tougher.");
91 glm_ptr->muta_which = PlayerMutationType::ILLUMINE;
92 glm_ptr->muta_desc = _("あなたは光り輝いて部屋を明るくするようになった。", "You can light up rooms with your presence.");
96 glm_ptr->muta_which = PlayerMutationType::DET_CURSE;
97 glm_ptr->muta_desc = _("邪悪な魔法を感知できるようになった。", "You can feel evil magics.");
102 glm_ptr->muta_which = PlayerMutationType::BERSERK;
103 glm_ptr->muta_desc = _("制御できる激情を感じる。", "You feel a controlled rage.");
106 glm_ptr->muta_which = PlayerMutationType::POLYMORPH;
107 glm_ptr->muta_desc = _("体が変異しやすくなった。", "Your body seems mutable.");
111 glm_ptr->muta_which = PlayerMutationType::MIDAS_TCH;
112 glm_ptr->muta_desc = _("「ミダス王の手」の能力を得た。", "You gain the Midas touch."); /*トゥームレイダースにありましたね。 */
115 glm_ptr->muta_which = PlayerMutationType::GROW_MOLD;
116 glm_ptr->muta_desc = _("突然カビに親しみを覚えた。", "You feel a sudden affinity for mold.");
121 glm_ptr->muta_which = PlayerMutationType::RESIST;
122 glm_ptr->muta_desc = _("あなたは自分自身を守れる気がする。", "You feel like you can protect yourself.");
127 glm_ptr->muta_which = PlayerMutationType::EARTHQUAKE;
128 glm_ptr->muta_desc = _("ダンジョンを破壊する能力を得た。", "You gain the ability to wreck the dungeon.");
131 glm_ptr->muta_which = PlayerMutationType::EAT_MAGIC;
132 glm_ptr->muta_desc = _("魔法のアイテムが美味そうに見える。", "Your magic items look delicious.");
136 glm_ptr->muta_which = PlayerMutationType::WEIGH_MAG;
137 glm_ptr->muta_desc = _("あなたは周囲にある魔法をより良く理解できる気がする。", "You feel you can better understand the magic around you.");
140 glm_ptr->muta_which = PlayerMutationType::STERILITY;
141 glm_ptr->muta_desc = _("周りの全ての者に頭痛を起こすことができる。", "You can give everything around you a headache.");
145 glm_ptr->muta_which = PlayerMutationType::HIT_AND_AWAY;
146 glm_ptr->muta_desc = _("突然、泥棒の気分が分かるようになった。", "You suddenly understand how thieves feel.");
151 glm_ptr->muta_which = PlayerMutationType::DAZZLE;
152 glm_ptr->muta_desc = _("眩い閃光を発する能力を得た。", "You gain the ability to emit dazzling lights.");
157 glm_ptr->muta_which = PlayerMutationType::LASER_EYE;
158 glm_ptr->muta_desc = _("あなたの目は一瞬焼け付いた。", "Your eyes burn for a moment.");
162 glm_ptr->muta_which = PlayerMutationType::RECALL;
163 glm_ptr->muta_desc = _("少しだけホームシックになったが、すぐ直った。", "You feel briefly homesick, but it passes.");
166 glm_ptr->muta_which = PlayerMutationType::BANISH;
167 glm_ptr->muta_desc = _("神聖な怒りの力に満たされた。", "You feel a holy wrath fill you.");
171 glm_ptr->muta_which = PlayerMutationType::COLD_TOUCH;
172 glm_ptr->muta_desc = _("あなたの両手はとても冷たくなった。", "Your hands get very cold.");
176 glm_ptr->muta_which = PlayerMutationType::LAUNCHER;
177 glm_ptr->muta_desc = _("あなたの物を投げる手はかなり強くなった気がする。", "Your throwing arm feels much stronger.");
180 glm_ptr->muta_which = PlayerMutationType::BERS_RAGE;
181 glm_ptr->muta_desc = _("あなたは狂暴化の発作を起こすようになった!", "You become subject to fits of berserk rage!");
184 glm_ptr->muta_which = PlayerMutationType::COWARDICE;
185 glm_ptr->muta_desc = _("信じられないくらい臆病になった!", "You become an incredible coward!");
188 glm_ptr->muta_which = PlayerMutationType::RTELEPORT;
189 glm_ptr->muta_desc = _("あなたの位置は非常に不確定になった。", "Your position seems very uncertain...");
192 glm_ptr->muta_which = PlayerMutationType::ALCOHOL;
193 glm_ptr->muta_desc = _("あなたはアルコールを分泌するようになった。", "Your body starts producing alcohol!");
196 glm_ptr->muta_which = PlayerMutationType::HALLU;
197 glm_ptr->muta_desc = _("あなたは幻覚を引き起こす精神錯乱に侵された。", "You are afflicted by a hallucinatory insanity!");
200 glm_ptr->muta_which = PlayerMutationType::FLATULENT;
201 glm_ptr->muta_desc = _("あなたは制御不能な強烈な屁をこくようになった。", "You become subject to uncontrollable flatulence.");
205 glm_ptr->muta_which = PlayerMutationType::SCOR_TAIL;
206 glm_ptr->muta_desc = _("サソリの尻尾が生えてきた!", "You grow a scorpion tail!");
210 glm_ptr->muta_which = PlayerMutationType::HORNS;
211 glm_ptr->muta_desc = _("額に角が生えた!", "Horns pop forth into your forehead!");
215 glm_ptr->muta_which = PlayerMutationType::BEAK;
216 glm_ptr->muta_desc = _("口が鋭く強いクチバシに変化した!", "Your mouth turns into a sharp, powerful beak!");
220 glm_ptr->muta_which = PlayerMutationType::ATT_DEMON;
221 glm_ptr->muta_desc = _("悪魔を引き付けるようになった。", "You start attracting demons.");
224 glm_ptr->muta_which = PlayerMutationType::PROD_MANA;
225 glm_ptr->muta_desc = _("あなたは制御不能な魔法のエネルギーを発生するようになった。", "You start producing magical energy uncontrollably.");
229 glm_ptr->muta_which = PlayerMutationType::SPEED_FLUX;
230 glm_ptr->muta_desc = _("あなたは躁鬱質になった。", "You become manic-depressive.");
234 glm_ptr->muta_which = PlayerMutationType::BANISH_ALL;
235 glm_ptr->muta_desc = _("恐ろしい力があなたの背後に潜んでいる気がする。", "You feel a terrifying power lurking behind you.");
238 glm_ptr->muta_which = PlayerMutationType::EAT_LIGHT;
239 glm_ptr->muta_desc = _("あなたはウンゴリアントに奇妙な親しみを覚えるようになった。", "You feel a strange kinship with Ungoliant.");
243 glm_ptr->muta_which = PlayerMutationType::TRUNK;
244 glm_ptr->muta_desc = _("あなたの鼻は伸びて象の鼻のようになった。", "Your nose grows into an elephant-like trunk.");
247 glm_ptr->muta_which = PlayerMutationType::ATT_ANIMAL;
248 glm_ptr->muta_desc = _("動物を引き付けるようになった。", "You start attracting animals.");
251 glm_ptr->muta_which = PlayerMutationType::TENTACLES;
252 glm_ptr->muta_desc = _("邪悪な触手が体の両側に生えてきた。", "Evil-looking tentacles sprout from your sides.");
255 glm_ptr->muta_which = PlayerMutationType::RAW_CHAOS;
256 glm_ptr->muta_desc = _("周囲の空間が不安定になった気がする。", "You feel the universe is less stable around you.");
261 glm_ptr->muta_which = PlayerMutationType::NORMALITY;
262 glm_ptr->muta_desc = _("あなたは奇妙なほど普通になった気がする。", "You feel strangely normal.");
265 glm_ptr->muta_which = PlayerMutationType::WRAITH;
266 glm_ptr->muta_desc = _("あなたは幽体化したり実体化したりするようになった。", "You start to fade in and out of the physical world.");
269 glm_ptr->muta_which = PlayerMutationType::POLY_WOUND;
270 glm_ptr->muta_desc = _("あなたはカオスの力が古い傷に入り込んでくるのを感じた。", "You feel forces of chaos entering your old scars.");
273 glm_ptr->muta_which = PlayerMutationType::WASTING;
274 glm_ptr->muta_desc = _("あなたは突然おぞましい衰弱病にかかった。", "You suddenly contract a horrible wasting disease.");
277 glm_ptr->muta_which = PlayerMutationType::ATT_DRAGON;
278 glm_ptr->muta_desc = _("あなたはドラゴンを引きつけるようになった。", "You start attracting dragons.");
282 glm_ptr->muta_which = PlayerMutationType::WEIRD_MIND;
283 glm_ptr->muta_desc = _("あなたの思考は突然おかしな方向に向き始めた。", "Your thoughts suddenly take off in strange directions.");
286 glm_ptr->muta_which = PlayerMutationType::NAUSEA;
287 glm_ptr->muta_desc = _("胃袋がピクピクしはじめた。", "Your stomach starts to roil nauseously.");
291 if (player_ptr->pclass == PlayerClassType::CHAOS_WARRIOR)
294 glm_ptr->muta_which = PlayerMutationType::CHAOS_GIFT;
295 glm_ptr->muta_desc = _("あなたはカオスの守護悪魔の注意を惹くようになった。", "You attract the notice of a chaos deity!");
298 glm_ptr->muta_which = PlayerMutationType::WALK_SHAD;
299 glm_ptr->muta_desc = _("あなたは現実が紙のように薄いと感じるようになった。", "You feel like reality is as thin as paper.");
303 glm_ptr->muta_which = PlayerMutationType::WARNING;
304 glm_ptr->muta_desc = _("あなたは突然パラノイアになった気がする。", "You suddenly feel paranoid.");
307 glm_ptr->muta_which = PlayerMutationType::INVULN;
308 glm_ptr->muta_desc = _("あなたは祝福され、無敵状態になる発作を起こすようになった。", "You are blessed with fits of invulnerability.");
312 glm_ptr->muta_which = PlayerMutationType::SP_TO_HP;
313 glm_ptr->muta_desc = _("魔法の治癒の発作を起こすようになった。", "You are subject to fits of magical healing.");
316 glm_ptr->muta_which = PlayerMutationType::HP_TO_SP;
317 glm_ptr->muta_desc = _("痛みを伴う精神明瞭化の発作を起こすようになった。", "You are subject to fits of painful clarity.");
320 glm_ptr->muta_which = PlayerMutationType::DISARM;
321 glm_ptr->muta_desc = _("あなたの脚は長さが四倍になった。", "Your feet grow to four times their former size.");
326 glm_ptr->muta_which = PlayerMutationType::HYPER_STR;
327 glm_ptr->muta_desc = _("超人的に強くなった!", "You turn into a superhuman he-man!");
332 glm_ptr->muta_which = PlayerMutationType::PUNY;
333 glm_ptr->muta_desc = _("筋肉が弱ってしまった...", "Your muscles wither away...");
338 glm_ptr->muta_which = PlayerMutationType::HYPER_INT;
339 glm_ptr->muta_desc = _("あなたの脳は生体コンピュータに進化した!", "Your brain evolves into a living computer!");
344 glm_ptr->muta_which = PlayerMutationType::MORONIC;
345 glm_ptr->muta_desc = _("脳が萎縮してしまった...", "Your brain withers away...");
349 glm_ptr->muta_which = PlayerMutationType::RESILIENT;
350 glm_ptr->muta_desc = _("並外れてタフになった。", "You become extraordinarily resilient.");
354 glm_ptr->muta_which = PlayerMutationType::XTRA_FAT;
355 glm_ptr->muta_desc = _("あなたは気持ち悪いくらい太った!", "You become sickeningly fat!");
359 glm_ptr->muta_which = PlayerMutationType::ALBINO;
360 glm_ptr->muta_desc = _("アルビノになった!弱くなった気がする...", "You turn into an albino! You feel frail...");
365 glm_ptr->muta_which = PlayerMutationType::FLESH_ROT;
366 glm_ptr->muta_desc = _("あなたの肉体は腐敗する病気に侵された!", "Your flesh is afflicted by a rotting disease!");
370 glm_ptr->muta_which = PlayerMutationType::SILLY_VOI;
371 glm_ptr->muta_desc = _("声が間抜けなキーキー声になった!", "Your voice turns into a ridiculous squeak!");
375 glm_ptr->muta_which = PlayerMutationType::BLANK_FAC;
376 glm_ptr->muta_desc = _("のっぺらぼうになった!", "Your face becomes completely featureless!");
379 glm_ptr->muta_which = PlayerMutationType::ILL_NORM;
380 glm_ptr->muta_desc = _("心の安らぐ幻影を映し出すようになった。", "You start projecting a reassuring image.");
385 glm_ptr->muta_which = PlayerMutationType::XTRA_EYES;
386 glm_ptr->muta_desc = _("新たに二つの目が出来た!", "You grow an extra pair of eyes!");
390 glm_ptr->muta_which = PlayerMutationType::MAGIC_RES;
391 glm_ptr->muta_desc = _("魔法への耐性がついた。", "You become resistant to magic.");
396 glm_ptr->muta_which = PlayerMutationType::XTRA_NOIS;
397 glm_ptr->muta_desc = _("あなたは奇妙な音を立て始めた!", "You start making strange noise!");
402 glm_ptr->muta_which = PlayerMutationType::INFRAVIS;
403 glm_ptr->muta_desc = _("赤外線視力が増した。", "Your infravision is improved.");
407 glm_ptr->muta_which = PlayerMutationType::XTRA_LEGS;
408 glm_ptr->muta_desc = _("新たに二本の足が生えてきた!", "You grow an extra pair of legs!");
412 glm_ptr->muta_which = PlayerMutationType::SHORT_LEG;
413 glm_ptr->muta_desc = _("足が短い突起になってしまった!", "Your legs turn into short stubs!");
417 glm_ptr->muta_which = PlayerMutationType::ELEC_TOUC;
418 glm_ptr->muta_desc = _("血管を電流が流れ始めた!", "Electricity starts running through you!");
422 glm_ptr->muta_which = PlayerMutationType::FIRE_BODY;
423 glm_ptr->muta_desc = _("あなたの体は炎につつまれている。", "Your body is enveloped in flames!");
428 glm_ptr->muta_which = PlayerMutationType::WART_SKIN;
429 glm_ptr->muta_desc = _("気持ち悪いイボイボが体中にできた!", "Disgusting warts appear everywhere on you!");
434 glm_ptr->muta_which = PlayerMutationType::SCALES;
435 glm_ptr->muta_desc = _("肌が黒い鱗に変わった!", "Your skin turns into black scales!");
439 glm_ptr->muta_which = PlayerMutationType::IRON_SKIN;
440 glm_ptr->muta_desc = _("あなたの肌は鉄になった!", "Your skin turns to steel!");
444 glm_ptr->muta_which = PlayerMutationType::WINGS;
445 glm_ptr->muta_desc = _("背中に羽が生えた。", "You grow a pair of wings.");
450 glm_ptr->muta_which = PlayerMutationType::FEARLESS;
451 glm_ptr->muta_desc = _("完全に怖れ知らずになった。", "You become completely fearless.");
455 glm_ptr->muta_which = PlayerMutationType::REGEN;
456 glm_ptr->muta_desc = _("急速に回復し始めた。", "You start regenerating.");
460 glm_ptr->muta_which = PlayerMutationType::ESP;
461 glm_ptr->muta_desc = _("テレパシーの能力を得た!", "You develop a telepathic ability!");
466 glm_ptr->muta_which = PlayerMutationType::LIMBER;
467 glm_ptr->muta_desc = _("筋肉がしなやかになった。", "Your muscles become limber.");
472 glm_ptr->muta_which = PlayerMutationType::ARTHRITIS;
473 glm_ptr->muta_desc = _("関節が突然痛み出した。", "Your joints suddenly hurt.");
476 if (player_ptr->ppersonality == PERSONALITY_LUCKY)
479 glm_ptr->muta_which = PlayerMutationType::BAD_LUCK;
480 glm_ptr->muta_desc = _("悪意に満ちた黒いオーラがあなたをとりまいた...", "There is a malignant black aura surrounding you...");
483 glm_ptr->muta_which = PlayerMutationType::VULN_ELEM;
484 glm_ptr->muta_desc = _("妙に無防備になった気がする。", "You feel strangely exposed.");
489 glm_ptr->muta_which = PlayerMutationType::MOTION;
490 glm_ptr->muta_desc = _("体の動作がより正確になった。", "You move with new assurance.");
493 glm_ptr->muta_which = PlayerMutationType::GOOD_LUCK;
494 glm_ptr->muta_desc = _("慈悲深い白いオーラがあなたをとりまいた...", "There is a benevolent white aura surrounding you...");
497 glm_ptr->muta_which = PlayerMutationType::MAX;