japanesemanual:ja_gm_taxes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
japanesemanual:ja_gm_taxes [2023/05/21 04:38] – nichirinmotor | japanesemanual:ja_gm_taxes [2023/05/24 08:21] (current) – nichirinmotor | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======= 税金 ======= | ||
+ | |||
+ | マニュアルのゲームメカニクスセクションは、ゲームの計算で使用される内部式の詳細を説明します。マニュアルのこのセクションは疑似コードを使用しており、ゲーム内のコードと100%同じとは限りません。 | ||
+ | |||
+ | マニュアルのゲームメカニクスパートは、主に " | ||
+ | |||
+ | **マニュアルのゲームメカニクスセクションは、[[https:// | ||
+ | |||
+ | |||
+ | ===== 変数 ===== | ||
+ | |||
+ | |||
+ | ^ 名称 ^ 説明 ^ ^ 名称 ^ 説明 ^ | ||
+ | | **Interest_Income** | 投資から得た収入です | | **Quarter_Income** | 過去3ヶ月間の収益です | | ||
+ | | **Quarter_Costs** | 過去3ヶ月間の費用です | | **Lobbying_Efficiency** | ロビー活動の予算と時間をもとにしたロビー活動の効率値です | | ||
+ | | **maxLobbyingFunds** | ロビー活動に使える上限です | | **HQ_Tax_Rate** | これは、あなたの本社都市の税率です | | ||
+ | | **Yearly_Profits** | これは、企業の1年次利益、収益から費用を差し引いたものです | | **Tax_Refund** | その年の税金を払いすぎていた場合、お金が戻ってきます | | ||
+ | | **Tax_Underpaid** | 税金を過少に支払っていた場合、より多くの税金を支払わなければなりません | | **IRS | ||
+ | ** | 税理士 | | ||
+ | | **branch_city_tax_rate** | 車両を販売している支店の税率です | | **factory_city_tax_Rate** | 車両を出荷する工場から販売する支店の税率です | | ||
+ | | **SellPrice** | 販売される車両の価格です | | **NumberOfCarsSoldHere** | その支店での販売台数です | | ||
+ | |||
+ | |||
+ | |||
+ | ===== 課税所得 ===== | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | Quarter_Profits = Interest_Income + (Quarter_Income - Quarter_Costs) | ||
+ | |||
+ | lobbyMod = lobbying_Efficiency / (maxLobbyingFunds * 3.5) | ||
+ | |||
+ | Quarter_Profits = Quarter_Profits * (1 - lobbyMod) | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== 四半期ごと ===== | ||
+ | |||
+ | <code cpp> | ||
+ | if(Quarter_Profits > 0) | ||
+ | { | ||
+ | Taxes_This_Quarter = Quarter_Profits * HQ_Tax_Rate | ||
+ | | ||
+ | Taxes_Paid_This_Year = Taxes_Paid_This_Year + Taxes_This_Quarter | ||
+ | } | ||
+ | </ | ||
+ | ===== 年間 ===== | ||
+ | |||
+ | <code cpp> | ||
+ | Taxes_Owed_For_Year = Yearly_Profits * HQ_Tax_Rate | ||
+ | | ||
+ | if(Taxes_Owed_For_Year < Taxes_Paid_This_Year) | ||
+ | { | ||
+ | | ||
+ | } | ||
+ | else if(Taxes_Owed_For_Year < Taxes_Paid_This_Year) | ||
+ | { | ||
+ | Tax_Underpaid = Taxes_Owed_For_Year - Taxes_Paid_This_Year | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | The IRS will find something. | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | ===== 輸入 ===== | ||
+ | |||
+ | <code cpp> | ||
+ | For Each Car Shipped From Factory To Branch | ||
+ | { | ||
+ | if(Factory Country is not branch country) | ||
+ | { | ||
+ | importTaxRate = branch_city_tax_rate - factory_city_tax_Rate | ||
+ | | ||
+ | if(importTaxRate < 0.05) | ||
+ | importTaxRate = 0.02; | ||
+ | else | ||
+ | importTaxRate /= 2.0; | ||
+ | |||
+ | importTax = SellPrice * importTaxRate * NumberOfCarsSoldHere | ||
+ | } | ||
+ | } | ||
+ | </ |