gamemanual:gm_taxes
Table of Contents
Taxes
The Game Mechanics section of the manual details the internal formula used in the game's calculations. This section of the manual uses pseudo-code and may not be 100% the same as the code in the game.
The Game Mechanics part of the manual is mainly designed to be a reference for the frequently asked question, “Why do I get this rating when I do X, Y, Z?!” Usually, this answer involves many different variables, which this section of the manual demonstrates.
The game mechanics section of the manual shows how the sausage gets made. So you really may want to avoid this portion of the manual if you enjoy the game.
Variables
Name | Description | Name | Description | |
---|---|---|---|---|
Interest_Income | This is the income generated from interest | Quarter_Income | This is the revenues you made over the last 3 months | |
Quarter_Costs | Your expenses over the last 3 months | Lobbying_Efficiency | This is your lobbying efficiency value based on your lobbying budget and time | |
maxLobbyingFunds | This is the maximum you can spend on lobbying | HQ_Tax_Rate | This is the tax rate of your HQ city | |
Yearly_Profits | This is the yearly profits of your company, revenues minus expenses | Tax_Refund | If you overpaid your taxes for the year, you'll get money back | |
Tax_Underpaid | If you underpaid your taxes, you'll have to pay more | IRS | The taxman | |
branch_city_tax_rate | Tax rate of the branch selling the vehicle | factory_city_tax_Rate | Tax rate of the factory shipping the vehicle to the branch selling it | |
SellPrice | The sales price of the vehicle being sold | NumberOfCarsSoldHere | The number of vehicles sold at this branch |
Taxable Income
Quarter_Profits = Interest_Income + (Quarter_Income - Quarter_Costs) lobbyMod = lobbying_Efficiency / (maxLobbyingFunds * 3.5) Quarter_Profits = Quarter_Profits * (1 - lobbyMod)
Quarterlies
if(Quarter_Profits > 0) { Taxes_This_Quarter = Quarter_Profits * HQ_Tax_Rate Taxes_Paid_This_Year = Taxes_Paid_This_Year + Taxes_This_Quarter }
Yearly
Taxes_Owed_For_Year = Yearly_Profits * HQ_Tax_Rate if(Taxes_Owed_For_Year < Taxes_Paid_This_Year) { Tax_Refund = Taxes_Paid_This_Year - Taxes_Owed_For_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. }
Import
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 } }
gamemanual/gm_taxes.txt · Last modified: 2022/08/09 15:50 by admin