japanesemanual:ja_gm_war
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
japanesemanual:ja_gm_war [2023/04/30 02:50] – created nichirinmotor | japanesemanual:ja_gm_war [2023/05/05 00:18] (current) – nichirinmotor | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======= 戦争 ======= | ||
+ | |||
+ | マニュアルのゲームメカニクスセクションは、ゲームの計算で使用される内部式の詳細を説明します。マニュアルのこのセクションは疑似コードを使用しており、ゲーム内のコードと100%同じとは限りません。 | ||
+ | |||
+ | マニュアルのゲームメカニクスパートは、主に " | ||
+ | |||
+ | **マニュアルのゲームメカニクスセクションは、[[https:// | ||
+ | |||
+ | |||
+ | ===== 変数 ===== | ||
+ | |||
+ | |||
+ | ^ 名称 ^ 説明 ^ ^ 名称 ^ 説明 ^ | ||
+ | | **City Status** | その国の戦況です。1=通常、0=限定、-1戦争、-2総力戦です。 | ||
+ | | **Factory_Monthly_Costs** | あなたの工場を遊休状態で運営するための月々のコストです。 | ||
+ | | **WarEnds_Months** | 戦争はこれだけの月日で終結します。 | ||
+ | | **National Per Capita** | 国内の各都市の所得 | ||
+ | | **Number Of Countries** | 戦争をしている国の数 | ||
+ | |||
+ | ===== 工場破壊 ===== | ||
+ | |||
+ | |||
+ | ==== 都市の爆撃 ==== | ||
+ | |||
+ | |||
+ | < | ||
+ | 20% chance each turn: | ||
+ | { | ||
+ | Select city with -2 "Total War" status. | ||
+ | |||
+ | Destroy all factories in city. | ||
+ | | ||
+ | Set city to -1 " | ||
+ | } | ||
+ | </ | ||
+ | ==== 軍需工場爆撃 ==== | ||
+ | |||
+ | < | ||
+ | 10% chance each turn while producing munitions: | ||
+ | { | ||
+ | Select Random City At War With -2 "Total War" status. | ||
+ | |||
+ | If Player has Factory in City | ||
+ | { | ||
+ | Destroy Player Factory In City | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | ==== 軍需品事故 ==== | ||
+ | |||
+ | < | ||
+ | 5% chance each turn while someone is producing munitions | ||
+ | { | ||
+ | Select Random Factory Producing Munitions | ||
+ | |||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ===== 工場の没収 ===== | ||
+ | |||
+ | === 軍需工場 === | ||
+ | |||
+ | < | ||
+ | 5% chance each turn while producing munitions: | ||
+ | { | ||
+ | Select Random City At War | ||
+ | |||
+ | if Player HQ Country DOES NOT EQUAL City Country | ||
+ | { | ||
+ | Select Player Factory In City. | ||
+ | | ||
+ | Compensation = Factory_Built_Cost * 1.25 | ||
+ | | ||
+ | Make Offer to Player | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | ===== 軍需品支払額 ===== | ||
+ | |||
+ | < | ||
+ | for each factory producing munitions | ||
+ | { | ||
+ | if(factory in HQ Country) | ||
+ | Munitions_Revenues = Munitions_Revenues + (Factory_Monthly_Costs * 5+((year-1900)/ | ||
+ | else | ||
+ | Munitions_Revenues = Munitions_Revenues + (Factory_Monthly_Costs * 3+((year-1900)/ | ||
+ | } | ||
+ | </ | ||
+ | ===== 軍事契約 ===== | ||
+ | |||
+ | ご覧ください。[[gamemanual: | ||
+ | |||
+ | |||
+ | ===== ランダムな戦争生成 ===== | ||
+ | |||
+ | < | ||
+ | 0.4% chance each turn | ||
+ | { | ||
+ | CityStatus = Random Number Between (0 AND 2) * -1 | ||
+ | | ||
+ | WarEnds_Months = Random Number Between (0 AND 60) + 3 | ||
+ | | ||
+ | if(CityStatus = 0) | ||
+ | Select Random country not at war. | ||
+ | else | ||
+ | Select Random Number Between (2 AND 6) Countries | ||
+ | | ||
+ | | ||
+ | | ||
+ | For Each Country At War | ||
+ | { | ||
+ | totalGDP = totalGDP | ||
+ | } | ||
+ | | ||
+ | For Each Country At War | ||
+ | { | ||
+ | if(Number Of Countries > 2 AND (National Per Capita * National Population) < (totalGDP/ | ||
+ | Number Of Countries = 2 AND (National Per Capita * National Population) < totalGDP 0.75) OR | ||
+ | Number Of Countries = 1) | ||
+ | { | ||
+ | Set City Status of all cities in country | ||
+ | } | ||
+ | } | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ |