• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Révision1938b976594bfa4943e8cdbb7a5ed7ece72c678c (tree)
l'heure2020-02-01 22:28:12
Auteurdeskull <deskull@user...>
Commiterdeskull

Message de Log

Merge branch 'feature/Merfolk' into For2.2.2-Refactoring

Change Summary

Modification

--- a/src/birth.c
+++ b/src/birth.c
@@ -156,8 +156,6 @@ static concptr race_jouhou[MAX_RACES] =
156156
157157 "アンドロイドは機械の身体を持つ人工的な存在です。魔法をうまく使うことはできませんが、戦士としては非常に優れています。彼らは他の種族のように経験値を得て成長するということはありません。身体に身につける装備によって成長します。ただし、指輪、アミュレット、光源は成長に影響しません。彼らは毒の耐性を持ち、麻痺知らずで、生命力を吸収されることがありません。また、身体が頑丈なのでACにボーナスを得ます。しかし身体のいたるところに電子回路が組み込まれているため、電撃によって通常よりも大きなダメージを受けてしまいます。彼らは食物からほとんど動力を得られませんが、油を補給する事で動力源を得る事ができます。",
158158
159-"マーフォーク実装中",
160-
161159 #else
162160
163161 "The human is the base character. All other races are compared to them. Humans can choose any class and are average at everything. Humans tend to go up levels faster than most other races because of their shorter life spans. No racial adjustments or intrinsics occur to characters choosing human.",
@@ -234,9 +232,13 @@ static concptr race_jouhou[MAX_RACES] =
234232
235233 "An android is a artificial creation with a body of machinery. They are poor at spell casting, but they make excellent warriors. They don't acquire experience like other races, but rather gain in power as they attach new equipment to their frame. Rings, amulets, and lights do not influence growth. Androids are resistant to poison, can move freely, and are immune to exp-draining attacks. Moreover, because of their hard metallic bodies, they get a bonus to AC. Androids have electronic circuits throughout their body and must beware of electric shocks. They gain very little nutrition from the food of mortals, but they can use flasks of oil as their energy source.",
236234
237-"Merfolk implementing.",
238-
239235 #endif
236+
237+_(
238+ "マーフォークは人型生物と水棲生物の合いの子たちの総称です。彼らは知的であり、陸上よりも水中での営みに適応している点で共通しています。彼らの真価は水中でこそ発揮されますが、彼らの文明は大抵陸上に長く滞在する何らかの術も有しています。それを失わない限り、陸上でも不自由はないでしょう。また、彼らは致命的な水難にも抗える能力を生まれつき持っています。",
239+ "Merfolks are general terms for people of mixed races between humanoids and aquatic habitats. They have in common that they are intelligent and adapt to working underwater rather than on land. Their true value comes in water, but their civilization also has some form of staying longer on land. As long as you do not lose it, there will be no inconvenience on land. They also have the ability to withstand disaster by water."
240+),
241+
240242 };
241243
242244 /*! 職業の解説メッセージテーブル */
@@ -1270,7 +1272,6 @@ static void get_history(player_type *creature_ptr)
12701272 case RACE_HUMAN:
12711273 case RACE_BARBARIAN:
12721274 case RACE_DUNADAN:
1273- case RACE_MERFOLK:
12741275 {
12751276 chart = 1;
12761277 break;
@@ -1436,6 +1437,11 @@ static void get_history(player_type *creature_ptr)
14361437 chart = 155;
14371438 break;
14381439 }
1440+ case RACE_MERFOLK:
1441+ {
1442+ chart = 170;
1443+ break;
1444+ }
14391445 default:
14401446 {
14411447 chart = 0;
@@ -1455,7 +1461,10 @@ static void get_history(player_type *creature_ptr)
14551461
14561462
14571463 /* Access the proper entry in the table */
1458- while ((chart != bg[i].chart) || (roll > bg[i].roll)) i++;
1464+ while ((chart != bg[i].chart) || (roll > bg[i].roll))
1465+ {
1466+ i++;
1467+ }
14591468
14601469 /* Acquire the textual history */
14611470 (void)strcat(buf, bg[i].info);
--- a/src/history.c
+++ b/src/history.c
@@ -1543,7 +1543,6 @@ hist_type bg[] =
15431543 { "as a combat trooper. ", 90, 156, 157, 20 },
15441544 { "as a tool for conquest of the world. ", 100, 156, 157, 10 },
15451545
1546-
15471546 { "You have a cat-like appearance", 15, 157, 158, 40 },
15481547 { "You have a dog-like appearance", 30, 157, 158, 30 },
15491548 { "You have a Kutar-like appearance", 45, 157, 158, 20 },
@@ -1558,4 +1557,87 @@ hist_type bg[] =
15581557 { ", and you firmly believe that you are a real one.", 95, 158, 0, 50 },
15591558 { ", and you are almost indistinguishable from a real one.", 100, 158, 0, 100 },
15601559 #endif
1560+
1561+#ifdef JP
1562+{ "あなたはマーフォークの乞食の", 5, 170, 171, 30 },
1563+{ "あなたはマーフォークの物あさりの", 10, 170, 171, 50 },
1564+{ "あなたはマーフォークのペテン師の", 15, 170, 171, 70 },
1565+{ "あなたはマーフォークの平民の", 60, 170, 171, 90 },
1566+{ "あなたは川守りの", 70, 170, 171, 80 },
1567+{ "あなたはメロウの", 80, 170, 171, 80 },
1568+{ "あなたはセルキーの", 85, 170, 171, 80 },
1569+{ "あなたはトリトンの", 90, 170, 171, 80 },
1570+{ "あなたはマーフォークの交易商人の", 95, 170, 171, 100 },
1571+{ "あなたはマーフォークの君主の", 100, 170, 171, 130 },
1572+{ "何人かの子供のうちの一人です。", 80, 171, 172, 45 },
1573+{ "一粒種です。", 100, 171, 172, 55 },
1574+#else
1575+{ "a Merfolk Begger. ", 5 , 171, 172, 30 },
1576+{ "a Merfolk Looter. ", 10, 171, 172, 50 },
1577+{ "a Merfolk Trickster. ", 15, 171, 172, 70 },
1578+{ "a Merfolk Citizen. ", 60, 171, 172, 90 },
1579+{ "a River Herald. ", 70, 171, 172, 80 },
1580+{ "a Merrow. ", 80, 171, 172, 80 },
1581+{ "a Selkie. ", 85, 171, 172, 80 },
1582+{ "a Triton. ", 90, 171, 172, 80 },
1583+{ "a Merfolk Traders. ", 95, 171, 172, 100 },
1584+{ "a Merfolk Sovereign. ", 100, 171, 172, 130 },
1585+{ "You are one of several children of ", 80, 170, 171, 45 },
1586+{ "You are the only child of ", 100, 170, 171, 55 },
1587+#endif
1588+
1589+#ifdef JP
1590+{ "あなたの下半身は一本の尾で、", 50, 172, 173, 50},
1591+{ "あなたの下半身は二股の尾で、", 60, 172, 173, 50},
1592+{ "あなたの下半身は陸上の種族とあまり変わりなく、", 100, 172, 173, 50 },
1593+#else
1594+{ "Your lower body is a tail, ", 50, 172, 173, 50 },
1595+{ "Your lower body are two tails, ", 60, 172, 173, 50 },
1596+{ "Your lower body is not much different from a land race, ", 100, 172, 173, 50 },
1597+#endif
1598+
1599+
1600+#ifdef JP
1601+{ "全身のほとんどが鱗に覆われています。", 20, 173, 174, 50 },
1602+{ "主に上半身が鱗に覆われています。", 30, 173, 174, 50 },
1603+{ "主に下半身が鱗に覆われています。", 40, 173, 174, 50 },
1604+{ "全身の半分が鱗に覆われています。", 60, 173, 174, 50 },
1605+{ "全身のいくらかが鱗に覆われています。", 80, 173, 174, 50 },
1606+{ "鱗はほとんど見られません。", 100, 173, 174, 50 },
1607+#else
1608+{ "and most of your whole body is covered with scales. ", 20, 173, 174, 50 },
1609+{ "and mainly your upper body is covered with scales. ", 30, 173, 174, 50 },
1610+{ "and mainly your lower body is covered with scales. ", 40, 173, 174, 50 },
1611+{ "and half of your body is covered with scales. ", 60, 173, 174, 50 },
1612+{ "and some of your body is covered with scales. ", 80, 173, 174, 50 },
1613+{ "and there are few scales on your body. ", 100, 173, 174, 50 },
1614+
1615+#endif
1616+
1617+#ifdef JP
1618+{ "あなたは黒の瞳と", 20, 174, 175, 50 },
1619+{ "あなたは緑の瞳と", 40, 174, 175, 50 },
1620+{ "あなたは黄色い瞳と", 60, 174, 175, 50 },
1621+{ "あなたは青い瞳と", 80, 174, 175, 50 },
1622+{ "あなたは赤い瞳と", 100, 174, 175, 50 },
1623+#else
1624+{ "You have black eyes, ", 20, 174, 175, 50 },
1625+{ "You have green eyes, ", 40, 174, 175, 50 },
1626+{ "You have yellow eyes, ", 60, 174, 175, 50 },
1627+{ "You have blue eyes, ", 80, 174, 175, 50 },
1628+{ "You have red eyes, ", 100, 174, 175, 55 },
1629+#endif
1630+
1631+#ifdef JP
1632+{ "海藻の様な髪を持っています。", 25, 175, 0, 50 },
1633+{ "珊瑚のような角を持っています。", 50, 175, 0, 50 },
1634+{ "地上人に似た髪を持っています。", 75, 175, 0, 50 },
1635+{ "大きく発達した鰓を持っています。", 100, 175, 0, 50 },
1636+#else
1637+{ "hair like seaweed.", 25, 175, 0, 50 },
1638+{ "coral-like horns.", 50, 175, 0, 50 },
1639+{ "hair similar to land races.", 75, 175, 0, 50 },
1640+{ "large gills.", 100, 175, 0, 50 },
1641+#endif
1642+
15611643 };
--- a/src/monster2.c
+++ b/src/monster2.c
@@ -2388,8 +2388,8 @@ static MONRACE_IDX initial_r_appearance(player_type *player_ptr, MONRACE_IDX r_i
23882388 floor_type *floor_ptr = player_ptr->current_floor_ptr;
23892389 if (player_ptr->pseikaku == SEIKAKU_CHARGEMAN && !(generate_mode & (PM_MULTIPLY | PM_KAGE)))
23902390 {
2391- if (floor_ptr->base_level == 0 ||
2392- (one_in_(5) && my_strchr("hkoptuyAHOPTUVY", r_info[r_idx].d_char))) return MON_ALIEN_JURAL;
2391+ if ((one_in_(5) || (floor_ptr->base_level == 0) &&
2392+ !(r_info[r_idx].flags1 & RF1_UNIQUE) && my_strchr("hkoptuyAHLOPTUVY", r_info[r_idx].d_char))) return MON_ALIEN_JURAL;
23932393 }
23942394
23952395 if (!(r_info[r_idx].flags7 & RF7_TANUKI))