<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.earthempires.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=TanX</id>
		<title>Earth Empires Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.earthempires.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=TanX"/>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php/Special:Contributions/TanX"/>
		<updated>2026-11-04T22:59:27Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13595</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13595"/>
				<updated>2012-09-29T10:39:34Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Military upkeep seems to be incorrect.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. Anything in red is known to be incorrect. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#FF0000&amp;quot;&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor has a lower limit of .61 and is calculated as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor = 1 - 1. 3 *(MilBases/Land)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Alliance Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;(NumOfDef/OffAllies * 4 + NumOfIntel/ResAllies * 3 + NumOfTradePacts) * ( Networth / 2000 )&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;If a member of GDI, add: Land * 3 * GvtPenalty&amp;lt;BR&amp;gt;If a war is declared, add: Land * 10&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Or, broken out into individual Ally costs:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GDI Costs (Theocracy): Land * 8&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GDI Costs (All Others): Land * 4&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Declare War Costs: Land * 10&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#0F0&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep + Alliance Upkeep + Land Upkeep&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td bgcolor=&amp;quot;#0F0&amp;quot;&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;If land &amp;lt; 1500: (7 / 1500) * (Land^2) + (3 * Land)&amp;lt;br&amp;gt;Otherwise: 10 * Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=User:TanX&amp;diff=13594</id>
		<title>User:TanX</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=User:TanX&amp;diff=13594"/>
				<updated>2012-09-29T09:34:35Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;No relation to TAN aka The Arabian Nightmare, regardless of what Mr Ford may think.&lt;br /&gt;
&lt;br /&gt;
Formulae working draft:&lt;br /&gt;
&lt;br /&gt;
http://wiki.earthempires.com/index.php/User:TanX/Formulae&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=User:TanX/Formulae&amp;diff=13593</id>
		<title>User:TanX/Formulae</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=User:TanX/Formulae&amp;diff=13593"/>
				<updated>2012-09-29T09:33:44Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Created page with &amp;quot;{{attention|It needs to be determined what formulas are no longer accurate}} This page contains a listing of various formulae for Earth Empires.  {{Note|Some of these are ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. Anything in red is known to be incorrect. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;br&amp;gt;&lt;br /&gt;
  Precision is at least to 4 decimals.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor has a lower limit of .61 and is calculated as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor = 1 - 1. 3 *(MilBases/Land)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Alliance Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;(NumOfDef/OffAllies * 4 + NumOfIntel/ResAllies * 3 + NumOfTradePacts) * ( Networth / 2000 )&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;If a member of GDI, add: Land * 3 * GvtPenalty&amp;lt;BR&amp;gt;If a war is declared, add: Land * 10&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Or, broken out into individual Ally costs:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GDI Costs (Theocracy): Land * 8&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GDI Costs (All Others): Land * 4&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Declare War Costs: Land * 10&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#0F0&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep + Alliance Upkeep + Land Upkeep&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td bgcolor=&amp;quot;#0F0&amp;quot;&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;If land &amp;lt; 1500: (7 / 1500) * (Land^2) + (3 * Land)&amp;lt;br&amp;gt;Otherwise: 10 * Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=User:TanX&amp;diff=13588</id>
		<title>User:TanX</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=User:TanX&amp;diff=13588"/>
				<updated>2012-09-26T10:22:23Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;No relation to TAN aka The Arabian Nightmare, regardless of what Mr Ford may think.&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=User:TanX&amp;diff=13587</id>
		<title>User:TanX</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=User:TanX&amp;diff=13587"/>
				<updated>2012-09-26T10:15:30Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Talk:Mehul_Patel&amp;diff=13580</id>
		<title>Talk:Mehul Patel</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Talk:Mehul_Patel&amp;diff=13580"/>
				<updated>2012-09-04T10:26:26Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Created page with &amp;quot;Ironic how long people can hold contempt for someone who created a game they love enough to keep playing even after it ended and needed to be recreated...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ironic how long people can hold contempt for someone who created a game they love enough to keep playing even after it ended and needed to be recreated...&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Talk:Game_Formulas&amp;diff=13563</id>
		<title>Talk:Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Talk:Game_Formulas&amp;diff=13563"/>
				<updated>2012-08-26T06:58:41Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Military upkeep formula is currently way off and needs to be revised. - PaleMoon&lt;br /&gt;
:Is there any kind of formula you can provide to support this? &amp;lt;span style=&amp;quot;color:#fc0;&amp;quot;&amp;gt;✭&amp;lt;/span&amp;gt; [[User:General Earl|General Earl]] ([[User talk:General Earl|talk]]) 16:30, 1 October 2011 (MDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I don't see any mention of GDI having an attack penalty in-game, is this possibly a Mehulian relic? - [[User:TanX|TanX]] 22:41, 11 August 2012 (MDT)&lt;br /&gt;
:The GDI section probably needs to have a lot of modification done to it since it's different across so many servers now. -[[User:Azz_Kikr|AzzKikr]] Aug 22, 20:59:31&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I added back the individual alliance costs to the table, I think it's good to have that data around for people that want to estimate alliances based on a single spy op, etc. -[[User:Azz_Kikr|Azz Kikr]] Aug 22, 20:59:31&lt;br /&gt;
:The same result could be achieved by just calculating the formula without the other alliance types and their factors. Also, the declared war and GDI costs are duplicated because they're still listed separately in the top part. I'll leave it as-is, though, no harm in saying it twice in different ways, different strokes for different folks. [[User:TanX|TanX]] 00:58, 26 August 2012 (MDT)&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13558</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13558"/>
				<updated>2012-08-22T10:39:07Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: arrived at correct land cost formula&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. Anything in red is known to be incorrect. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor has a lower limit of .61 and is calculated as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor = 1 - 1. 3 *(MilBases/Land)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Alliance Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;(NumOfDef/OffAllies * 4 + NumOfIntel/ResAllies * 3 + NumOfTradePacts) * ( Networth / 2000 )&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;If a member of GDI, add: Land * 3 * GvtPenalty&amp;lt;BR&amp;gt;If a war is declared, add: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#0F0&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep + Alliance Upkeep + Land Upkeep&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td bgcolor=&amp;quot;#0F0&amp;quot;&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;If land &amp;lt; 1500: (7 / 1500) * (Land^2) + (3 * Land)&amp;lt;br&amp;gt;Otherwise: 10 * Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13557</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13557"/>
				<updated>2012-08-22T08:42:04Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: forgot to ungreen total expense&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. Anything in red is known to be incorrect. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor has a lower limit of .61 and is calculated as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor = 1 - 1. 3 *(MilBases/Land)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Alliance Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;(NumOfDef/OffAllies * 4 + NumOfIntel/ResAllies * 3 + NumOfTradePacts) * ( Networth / 2000 )&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;If a member of GDI, add: Land * 3 * GvtPenalty&amp;lt;BR&amp;gt;If a war is declared, add: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep + Alliance Upkeep + &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;(Land * 10)&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13556</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13556"/>
				<updated>2012-08-22T08:41:22Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Land upkeep is wrong&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. Anything in red is known to be incorrect. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor has a lower limit of .61 and is calculated as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor = 1 - 1. 3 *(MilBases/Land)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Alliance Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;(NumOfDef/OffAllies * 4 + NumOfIntel/ResAllies * 3 + NumOfTradePacts) * ( Networth / 2000 )&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;If a member of GDI, add: Land * 3 * GvtPenalty&amp;lt;BR&amp;gt;If a war is declared, add: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep + Alliance Upkeep + &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;(Land * 10)&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13546</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13546"/>
				<updated>2012-08-19T04:54:52Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Combined alliance upkeep formulas as much as possible and simplified them.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor has a lower limit of .61 and is calculated as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor = 1 - 1. 3 *(MilBases/Land)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Alliance Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;(NumOfDef/OffAllies * 4 + NumOfIntel/ResAllies * 3 + NumOfTradePacts) * ( Networth / 2000 )&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;If a member of GDI, add: Land * 3 * GvtPenalty&amp;lt;BR&amp;gt;If a war is declared, add: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep + Alliance Upkeep + (Land * 10)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13545</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13545"/>
				<updated>2012-08-19T03:37:07Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Combined all individual unit upkeep formulae into one overall formula, factoring out the common elements to make a more concise entry.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor has a lower limit of .61 and is calculated as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
MilBaseFactor = 1 - 1. 3 *(MilBases/Land)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Alliance Costs&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each)&amp;lt;BR&amp;gt;GDI Costs (Theocracy): Land * 8&amp;lt;BR&amp;gt;GDI Costs (All Others): Land * 4&amp;lt;BR&amp;gt;Declare War Costs: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep Costs + Alliance Upkeep Costs + (Land * 10)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13544</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13544"/>
				<updated>2012-08-19T03:04:33Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Land upkeep being listed separately from total expenses is unnecessary. Unlike the other expense components it is easily includable directly.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Troops Upkeep: Troops * .11 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Jets Upkeep: Jets * .14 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Turrets Upkeep: Turrets * .18 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Tanks Upkeep: Tanks * .57 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Spies Upkeep: Spies * 1 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Constant = If MilBases/Land &amp;amp;lt; .295 Constant = 1 - 1. 3 *(MilBases/Land) Else (that is, if the number of MilBases built is more than 29.5% of your land) Constant = 0.61&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Alliance Costs&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each)&amp;lt;BR&amp;gt;GDI Costs (Theocracy): Land * 8&amp;lt;BR&amp;gt;GDI Costs (All Others): Land * 4&amp;lt;BR&amp;gt;Declare War Costs: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep Costs + Alliance Upkeep Costs + (Land * 10)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13543</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13543"/>
				<updated>2012-08-19T02:13:42Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Added missing information for tech percentage formula. Changing Tech% to unverified because I'm not sure whether the values are still current.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Troops Upkeep: Troops * .11 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Jets Upkeep: Jets * .14 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Turrets Upkeep: Turrets * .18 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Tanks Upkeep: Tanks * .57 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Spies Upkeep: Spies * 1 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Constant = If MilBases/Land &amp;amp;lt; .295 Constant = 1 - 1. 3 *(MilBases/Land) Else (that is, if the number of MilBases built is more than 29.5% of your land) Constant = 0.61&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Alliance Costs&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each)&amp;lt;BR&amp;gt;GDI Costs (Theocracy): Land * 8&amp;lt;BR&amp;gt;GDI Costs (All Others): Land * 4&amp;lt;BR&amp;gt;Declare War Costs: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Land Upkeep = Land * 10&amp;lt;BR&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Military Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#FFF&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;The technology percentage for countries is determined by the following formula:&lt;br /&gt;
&lt;br /&gt;
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the variables C1, C2, GvtTech and GvtEff listed below.  The base and maximum for tech is listed in the table on [[Technology|Technology]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Variable!!Values&lt;br /&gt;
|-&lt;br /&gt;
!C1&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   192&lt;br /&gt;
*Military Tech  780&lt;br /&gt;
*Medical Tech   1650&lt;br /&gt;
|-&lt;br /&gt;
!C2	&lt;br /&gt;
|&lt;br /&gt;
*Normal Techs   6.795&lt;br /&gt;
*Military Tech  5.75&lt;br /&gt;
*Medical Tech   4.62&lt;br /&gt;
|-&lt;br /&gt;
!GvtTech	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Democracy|Democracy]]  1.1&lt;br /&gt;
*[[Theocracy|Theocracy]]  0.65&lt;br /&gt;
*Theocracy, Military Tech  0.65 (unverified)&lt;br /&gt;
|-&lt;br /&gt;
!GvtEff	&lt;br /&gt;
|&lt;br /&gt;
*Normal  1&lt;br /&gt;
*[[Communism|Communism]]  1.2&lt;br /&gt;
|}&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Talk:Game_Formulas&amp;diff=13528</id>
		<title>Talk:Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Talk:Game_Formulas&amp;diff=13528"/>
				<updated>2012-08-12T04:41:20Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Military upkeep formula is currently way off and needs to be revised. - PaleMoon&lt;br /&gt;
:Is there any kind of formula you can provide to support this? &amp;lt;span style=&amp;quot;color:#fc0;&amp;quot;&amp;gt;✭&amp;lt;/span&amp;gt; [[User:General Earl|General Earl]] ([[User talk:General Earl|talk]]) 16:30, 1 October 2011 (MDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I don't see any mention of GDI having an attack penalty in-game, is this possibly a Mehulian relic? - [[User:TanX|TanX]] 22:41, 11 August 2012 (MDT)&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13527</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13527"/>
				<updated>2012-08-12T04:34:54Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Troops Upkeep: Troops * .11 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Jets Upkeep: Jets * .14 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Turrets Upkeep: Turrets * .18 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Tanks Upkeep: Tanks * .57 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Spies Upkeep: Spies * 1 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Constant = If MilBases/Land &amp;amp;lt; .295 Constant = 1 - 1. 3 *(MilBases/Land) Else (that is, if the number of MilBases built is more than 29.5% of your land) Constant = 0.61&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Alliance Costs&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each)&amp;lt;BR&amp;gt;GDI Costs (Theocracy): Land * 8&amp;lt;BR&amp;gt;GDI Costs (All Others): Land * 4&amp;lt;BR&amp;gt;Declare War Costs: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Land Upkeep = Land * 10&amp;lt;BR&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Military Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels Before Turn is Taken = BBT&amp;lt;br&amp;gt;Bushels Consumed During Turn = Cons&amp;lt;br&amp;gt;Bushels Produce During Turn = Prod&amp;lt;br&amp;gt;( BBT - Cons + Prod ) / 1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;BaseTech + (MaxTech - BaseTech) * GovtBonus * (1 - Exp(-Effective * TechPoints / (C1 + (C2* Land))))&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13526</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13526"/>
				<updated>2012-08-12T03:13:55Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Troops Upkeep: Troops * .11 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Jets Upkeep: Jets * .14 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Turrets Upkeep: Turrets * .18 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Tanks Upkeep: Tanks * .57 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Spies Upkeep: Spies * 1 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Constant = If MilBases/Land &amp;amp;lt; .295 Constant = 1 - 1. 3 *(MilBases/Land) Else (that is, if the number of MilBases built is more than 29.5% of your land) Constant = 0.61&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Alliance Costs&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each)&amp;lt;BR&amp;gt;GDI Costs (Theocracy): Land * 8&amp;lt;BR&amp;gt;GDI Costs (All Others): Land * 4&amp;lt;BR&amp;gt;Declare War Costs: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Land Upkeep = Land * 10&amp;lt;BR&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Military Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels * 0.001&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;BaseTech + (MaxTech - BaseTech) * GovtBonus * (1 - Exp(-Effective * TechPoints / (C1 + (C2* Land))))&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13525</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=13525"/>
				<updated>2012-08-12T02:01:42Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: NW Formula was listed twice&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. A good player does not have to know all the formulas, but a basic understanding helps.}}&lt;br /&gt;
&amp;lt;sub&amp;gt;Most formulae use standard [[Round (math)|rounding]], but some, like [[networth]], use [[truncate | truncation]].&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Formulas ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Revenue&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Rebuilding Cost&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops + Jets + Tanks)/25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(CS/4 + 5) * GvtContrBonus&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Troops Upkeep: Troops * .11 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Jets Upkeep: Jets * .14 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Turrets Upkeep: Turrets * .18 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Tanks Upkeep: Tanks * .57 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Spies Upkeep: Spies * 1 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;BR&amp;gt;Constant = If MilBases/Land &amp;amp;lt; .295 Constant = 1 - 1. 3 *(MilBases/Land) Else (that is, if the number of MilBases built is more than 29.5% of your land) Constant = 0.61&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Alliance Costs&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each)&amp;lt;BR&amp;gt;Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each)&amp;lt;BR&amp;gt;Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each)&amp;lt;BR&amp;gt;GDI Costs (Theocracy): Land * 8&amp;lt;BR&amp;gt;GDI Costs (All Others): Land * 4&amp;lt;BR&amp;gt;Declare War Costs: Land * 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Land Upkeep = Land * 10&amp;lt;BR&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Total Expense&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Military Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Networth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) +  (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100)&amp;lt;br&amp;gt;This formula does not specify whether each term is to be rounded or truncated, which varies.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Production&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Food Consumption&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Food Decay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Bushels * 0.001&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD BGColor=&amp;quot;#00FF00&amp;quot;&amp;gt;Technology Percentages&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;BaseTech + (MaxTech - BaseTech) * GovtBonus * (1 - Exp(-Effective * TechPoints / (C1 + (C2* Land))))&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Tech Per Turn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;TR&amp;gt;&amp;lt;TD colspan=2&amp;gt;&amp;lt;font size=3&amp;gt;&amp;lt;b&amp;gt;Military Formulas&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;SPAL&amp;lt;br&amp;gt;(&amp;lt;u&amp;gt;S&amp;lt;/u&amp;gt;pies &amp;lt;u&amp;gt;P&amp;lt;/u&amp;gt;er &amp;lt;u&amp;gt;A&amp;lt;/u&amp;gt;cre &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;and)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Standard Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4))  where min(value1,value2) = lower of the two values&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td BGColor=&amp;quot;00FF00&amp;quot;&amp;gt;Planned Strike Strength&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;SS Strength * 1.5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
=== Switching Governments ===&lt;br /&gt;
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for&lt;br /&gt;
changing to another form.&lt;br /&gt;
&lt;br /&gt;
When changing from any other form of government, there is are losses incurred to your countries&lt;br /&gt;
[[resources]] during the change.&lt;br /&gt;
&lt;br /&gt;
This loss is a percentage of all cash, [[Military_Units|military]], [[technology]] and [[buildings]]. Starting at&lt;br /&gt;
14%, this number increases based on your [[networth|networth (NW)]] with the following formula:&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
NW &amp;lt; 10.5M: 14% losses&lt;br /&gt;
&lt;br /&gt;
12M &amp;lt; NW &amp;lt; 30M: (14+25*(NW-10.5M)/18)% losses&lt;br /&gt;
&lt;br /&gt;
NW &amp;gt; 30M: 39% losses&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Advanced Gameplay]]&lt;br /&gt;
[[Category:Game Formulae]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=4691</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=4691"/>
				<updated>2010-12-08T13:26:12Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: Undo revision 4690 by TanX (Talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|It needs to be determined what formulas are no longer accurate}}&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
==Basic Formulae==&lt;br /&gt;
*[[Networth]]&lt;br /&gt;
&lt;br /&gt;
*[[Maximum population]]&lt;br /&gt;
*[[Population growth]]&lt;br /&gt;
*[[Maximum per capita income]]&lt;br /&gt;
*[[Per capita income growth]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;'''Please note, a lot of these are old formulas, and need to be updated. This list does not include every formula either.'''&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Earth is a game of numbers and formulas. So here they are:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + (Networth/Land)/90000) * (1 + 2 * Ent/Land)&lt;br /&gt;
* BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Revenue&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Oil is consumed at a rate of 1 Barrel for 25 Military Units (only applies to Troops, Jets and Tanks when attacking). &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
(CS/4 + 5) * GvtContrBonus&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Troops Upkeep: Troops * .11 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&lt;br /&gt;
Jets Upkeep: Jets * .14 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&lt;br /&gt;
Turrets Upkeep: Turrets * .18 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&lt;br /&gt;
Tanks Upkeep: Tanks * .57 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&lt;br /&gt;
Spies Upkeep: Spies * 1 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Constant = If MilBases/Land &amp;amp;lt; .295 Constant = 1 - 1.3*(MilBases/Land) Else (that is, if the number of MilBases built is more than 29.5% of your land) Constant = 0.61&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Alliance Costs&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Defensive Allies: DefAllies * Networth * .002 (0.2% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
Offensive Allies: OffAllies * Networth * .002 (0.2% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
Intelligence Allies: IntelAllies * Networth * .0015 (0.15% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
Research Allies: ResAllies * Networth * .0015 (0.15% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
Trade Pacts: TradePacts * Networth * .0005 (0.05% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
GDI Costs (non-Theocracy): Land * 4&amp;lt;br /&amp;gt;&lt;br /&gt;
GDI Costs (Theocracy): Land * 8&amp;lt;br /&amp;gt;&lt;br /&gt;
Declare War Costs: Land * 10&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
If land is less than 1500A:&amp;lt;br /&amp;gt;&lt;br /&gt;
Land Upkeep = Land^2 * 7/1500 + Land*3&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If land is more than 1500A:&amp;lt;br /&amp;gt;&lt;br /&gt;
Land Upkeep = Land * 10&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Land = 1500, both formulas give the same upkeep.&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Military Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Networth&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Troops*0.5+Jets*0.6+Turrets*0.6+Tanks*2+Spies*1+Tech*2+Land*45+Buildings*35+Money/20000+ Food/1000+Missles*2500+Pop/6+Oil/100 &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Food (Bushels)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
*Production&amp;lt;br /&amp;gt;round((farms*5.3 + empty_acres*0.4)*govt_food_bonus*agri_tech)&amp;lt;br /&amp;gt;&lt;br /&gt;
govt_food_bonus = 1.15 for the fascism government and 1.00 for all other governments&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hr style='width:75%'&amp;gt;&lt;br /&gt;
*Consumption  *Formula changed March 2010&amp;lt;br /&amp;gt;&lt;br /&gt;
**Troops, jets, and turrets all consume 0.001 bushels each&amp;lt;br /&amp;gt;&lt;br /&gt;
**Tanks consume 0.003 bushels&amp;lt;br /&amp;gt;&lt;br /&gt;
**Spies consume 0.005&amp;lt;br /&amp;gt;&lt;br /&gt;
**Civilians consume 0.03&amp;lt;br /&amp;gt;&lt;br /&gt;
March 16th, this formula is in effect in the express, team, and primary servers&lt;br /&gt;
&amp;lt;hr style='width:75%'&amp;gt;&lt;br /&gt;
Decay = Bushels_on_hand*0.001&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Most formulae use standard [[rounding]], but some, like [[networth]], use [[truncate | truncation]].&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&amp;amp;nbsp; A good player does not have to know all the formulas.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=4690</id>
		<title>Game Formulas</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Game_Formulas&amp;diff=4690"/>
				<updated>2010-12-08T12:35:45Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{attention|&amp;lt;what needs attention&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This page contains a listing of various formulae for [[Earth Empires]].&lt;br /&gt;
&lt;br /&gt;
==Basic Formulae==&lt;br /&gt;
*[[Networth]]&lt;br /&gt;
&lt;br /&gt;
*[[Maximum population]]&lt;br /&gt;
*[[Population growth]]&lt;br /&gt;
*[[Maximum per capita income]]&lt;br /&gt;
*[[Per capita income growth]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;'''Please note, a lot of these are old formulas, and need to be updated. This list does not include every formula either.'''&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Earth is a game of numbers and formulas. So here they are:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Calculating&amp;lt;/th&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;th&amp;gt;Formula&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Per Capita Income (PCI)&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;22.5 * (1 - Taxrate) * (1 + (Networth/Land)/90000) * (1 + 2 * Ent/Land)&lt;br /&gt;
* BusTech * GvtPCIBonus&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Revenue&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;PCI * Pop * Taxrate&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Construction Cost&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;3 * Land + 1500&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Destruction Cost&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;0.2 * (3 * Land + 1500)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Oil Consumption&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Oil is consumed at a rate of 1 Barrel for 25 Military Units (only applies to Troops, Jets and Tanks when attacking). &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Buildings Per Turn&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
(CS/4 + 5) * GvtContrBonus&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Military Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Troops Upkeep: Troops * .11 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&lt;br /&gt;
Jets Upkeep: Jets * .14 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&lt;br /&gt;
Turrets Upkeep: Turrets * .18 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&lt;br /&gt;
Tanks Upkeep: Tanks * .57 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&lt;br /&gt;
Spies Upkeep: Spies * 1 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Constant = If MilBases/Land &amp;amp;lt; .295 Constant = 1 - 1.3*(MilBases/Land) Else (that is, if the number of MilBases built is more than 29.5% of your land) Constant = 0.61&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Alliance Costs&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Defensive Allies: DefAllies * Networth * .002 (0.2% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
Offensive Allies: OffAllies * Networth * .002 (0.2% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
Intelligence Allies: IntelAllies * Networth * .0015 (0.15% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
Research Allies: ResAllies * Networth * .0015 (0.15% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
Trade Pacts: TradePacts * Networth * .0005 (0.05% of NW each)&amp;lt;br /&amp;gt;&lt;br /&gt;
GDI Costs (non-Theocracy): Land * 4&amp;lt;br /&amp;gt;&lt;br /&gt;
GDI Costs (Theocracy): Land * 8&amp;lt;br /&amp;gt;&lt;br /&gt;
Declare War Costs: Land * 10&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;GDI Penalty&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Land Upkeep&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
If land is less than 1500A:&amp;lt;br /&amp;gt;&lt;br /&gt;
Land Upkeep = Land^2 * 7/1500 + Land*3&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If land is more than 1500A:&amp;lt;br /&amp;gt;&lt;br /&gt;
Land Upkeep = Land * 10&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Land = 1500, both formulas give the same upkeep.&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Total Expense&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Military Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Networth&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Troops*0.5+Jets*0.6+Turrets*0.6+Tanks*2+Spies*1+Tech*2+Land*45+Buildings*35+Money/20000+ Food/1000+Missles*2500+Pop/6+Oil/100 &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Food (Bushels)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
*Production&amp;lt;br /&amp;gt;round((farms*5.3 + empty_acres*0.4)*govt_food_bonus*agri_tech)&amp;lt;br /&amp;gt;&lt;br /&gt;
govt_food_bonus = 1.15 for the fascism government and 1.00 for all other governments&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hr style='width:75%'&amp;gt;&lt;br /&gt;
*Consumption  *Formula changed March 2010&amp;lt;br /&amp;gt;&lt;br /&gt;
**Troops, jets, and turrets all consume 0.001 bushels each&amp;lt;br /&amp;gt;&lt;br /&gt;
**Tanks consume 0.003 bushels&amp;lt;br /&amp;gt;&lt;br /&gt;
**Spies consume 0.005&amp;lt;br /&amp;gt;&lt;br /&gt;
**Civilians consume 0.03&amp;lt;br /&amp;gt;&lt;br /&gt;
March 16th, this formula is in effect in the express, team, and primary servers&lt;br /&gt;
&amp;lt;hr style='width:75%'&amp;gt;&lt;br /&gt;
Decay = Bushels_on_hand*0.001&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Most formulae use standard [[rounding]], but some, like [[networth]], use [[truncate | truncation]].&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&amp;amp;nbsp; A good player does not have to know all the formulas.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	<entry>
		<id>https://wiki.earthempires.com/index.php?title=Buildings&amp;diff=4645</id>
		<title>Buildings</title>
		<link rel="alternate" type="text/html" href="https://wiki.earthempires.com/index.php?title=Buildings&amp;diff=4645"/>
				<updated>2010-12-07T16:03:40Z</updated>
		
		<summary type="html">&lt;p&gt;TanX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Buildings are essential for long-term success. Buildings provide money, bushels, or other resources and require turns and empty acres to create.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
There are eight different types of buildings. Three types of buildings, industrial complexes, farms, and oil rigs, directly increase some type of production per turn. The other five types of buildings indirectly increase some type of production. For example, construction sites increase the maximum number of buildings that can be constructed per turn and research labs increase the maximum amount of technology that can be produced per turn.&lt;br /&gt;
&lt;br /&gt;
Almost every country needs construction sites, because starting buildings per turn is simply too low for efficient growth. Countries usually pick a [[strategy]], which means that they will only construct one or two types of buildings.&lt;br /&gt;
&lt;br /&gt;
Additionally, each building is worth $35 [[networth]], and one acre of [[land]] is worth $45 networth, bringing the total networth of a built acre of land to $80. &lt;br /&gt;
&lt;br /&gt;
Buildings are lost if the acres supporting them are lost. Buildings can also be destroyed through earthquakes or attacks from other countries.&lt;br /&gt;
&lt;br /&gt;
==Types of Buildings==&lt;br /&gt;
&lt;br /&gt;
===Enterprise Zone===&lt;br /&gt;
&lt;br /&gt;
Enterprise zones increases a country's maximum [[PCI]]. The precise effect is that maximum PCI is multiplied by a factor equal to (1+2*Ent/Land). For example, if a country has 50% of its land covered by enterprise zones, maximum pci is doubled. PCI increases a country's [[tax revenues]].&lt;br /&gt;
&lt;br /&gt;
Enterprise zones are useful only for the [[casher]] strategy.&lt;br /&gt;
&lt;br /&gt;
===Residence===&lt;br /&gt;
&lt;br /&gt;
Residences increase a country's maximum population. At 50% of acres built as residence population is doubled. This is optimal for [[casher]] not considering food consumption. The extra formula for the population increase is&lt;br /&gt;
&lt;br /&gt;
=(24*(1-0.95*Taxrate)*ResTech*GvtPOP)*residences&lt;br /&gt;
&lt;br /&gt;
Residences are essential for the casher strategy.&lt;br /&gt;
&lt;br /&gt;
===Industrial Complex===&lt;br /&gt;
&lt;br /&gt;
Industrial complexes directly produce military units. The percentage of industrial complexes producing each military type can be set in the [[Game_Layout#Manage|manage]] page.&lt;br /&gt;
&lt;br /&gt;
Industrial production can be increased with [[Technology#Industrial|industrial tech]] or by switching to the [[Governments#Communism|communist]] government. At 100% production, one industrial complex can produce 1.86 troops, jets, turrets, 0.4 tanks, or 0.62 spies.&lt;br /&gt;
&lt;br /&gt;
Industrial complexes provide the only way of acquiring [[spies]] and are the quickest way of gaining military, making them favored for certain startups. When producing military to sell on the private market only turrets should be produced. In addition, industrial complexes are heavily used by the [[indy]] strategy.&lt;br /&gt;
&lt;br /&gt;
===Military Base===&lt;br /&gt;
&lt;br /&gt;
Military bases do not directly produce anything. Instead, they decrease military expenditures and private market prices.  Military bases linearly reduce expenses for the first 29.5% of acres. Any additional military bases after the first 29.5% of a country's land will have no affect on military expenses. However, military bases always reduce private market purchase and sale prices. The maximum effect is a 25% discount when 100% of a country's acres are filled with military bases.&lt;br /&gt;
&lt;br /&gt;
Military bases are used in the [[military base reseller]] strategy or for [[destocking]].&lt;br /&gt;
&lt;br /&gt;
===Research Lab===&lt;br /&gt;
&lt;br /&gt;
Constructing research labs increases a country's tech per turn. Research labs provide increasing returns to scale. The exact formula for tech per turn is&lt;br /&gt;
&lt;br /&gt;
=Round(0.17*Labs*(1+Labs/Land)+3,0)&lt;br /&gt;
&lt;br /&gt;
Research labs are used for [[tech starts]] and the [[techer]] strategy. It is unwise to research unless a high percentage of your land is covered with research labs as they lose effectiveness at lower percentages and researching costs a turn.&lt;br /&gt;
&lt;br /&gt;
===Farm===&lt;br /&gt;
&lt;br /&gt;
Each farm produces 5.3 bushels per turn. The number of bushels per farm can be increased with agri tech or by switching to the fascism government. Farms are often used for startups because bushels can be sold on the private market for instant income that is higher than industrial sites on private. In addition, farms are essential for the [[farmer]] strategy.&lt;br /&gt;
&lt;br /&gt;
===Oil Rig===&lt;br /&gt;
&lt;br /&gt;
Each oil rig produces 2 barrels of oil per turn. The number of barrels per rig can be increased by switching to the fascism government. Oil rigs are the main buildings for the [[oiler]] strategy and are sometimes used to self supply attacking needs by offensive players or other countries, specifically when oil prices or supply are unstable.&lt;br /&gt;
&lt;br /&gt;
===Construction Site===&lt;br /&gt;
&lt;br /&gt;
Construction sites (CS) increase [[BPT|buildings per turn (BPT)]], which is a measure of how many non-cs buildings can be constructed in one turn. One construction sites always require one turn to build. For most governments, [[BPT]] starts at 5 and is increased by one for every 4 cs built. Government type effects BPT for [[Theocracy|theocracies]] (+40%) and [[Dictatorship|dictatorships]](-30%)&lt;br /&gt;
&lt;br /&gt;
The formula for BPT is:  BPT=([[CS]]/4+5)*GovtMod&lt;br /&gt;
&lt;br /&gt;
Where GovtMod is 1.4 for [[Theocracy|theocracies]], 0.7 for [[Dictatorship|dictatorships]] and 1.0 for all others.&lt;br /&gt;
&lt;br /&gt;
===Unused Land Area===&lt;br /&gt;
&lt;br /&gt;
Technically not a building, empty acres produce 0.4 bushels per turn. The number of bushels per empty acre can be increased with agri tech or by switching to the fascism government. Buildings require empty acres to construct: if a country wants to construct X buildings, it must have at least X empty acres.&lt;br /&gt;
&lt;br /&gt;
==Acquiring Buildings==&lt;br /&gt;
&lt;br /&gt;
Buildings can be constructed by dedicating turns to that process. The maximum number of non-cs buildings that can be constructed per turn is limited by a country's buildings per turn. For all countries, erecting one construction site requires exactly one turn. Buildings also require money to construct. As a country grows in acres, the money needed to construct buildings increases. The exact cost to build one acre is equal to $1500 + $3 * acres.&lt;br /&gt;
&lt;br /&gt;
Buildings can also be acquired by doing [[Landgrab | landgrabs]] against countries that already have buildings. Part of the gains of a typical successful planned or standard strike are a percentage of the defender's buildings that were on the land captured. All types of buildings except for cs can be acquired in this way.&lt;br /&gt;
&lt;br /&gt;
==Destroying Buildings==&lt;br /&gt;
&lt;br /&gt;
A country can choose to destroy buildings. Destroying buildings does not require turns, but does cost 20% of the typical building cost. Countries usually destroy their own buildings only if they are switching strategies or wish to increase economic efficiency by specializing.&lt;br /&gt;
&lt;br /&gt;
As stated earlier, any buildings inhabiting land that was lost are also lost as well. A small amount of buildings are also lost when a country experiences an [[earthquake]]. Earthquakes occur infrequently and randomly. Buildings can also be destroyed with [[Bombing Run | bombing runs]], [[Artillery Barrage | artillery barrages]], [[Chemical Missile | chemical missiles]], or the spy operation [[Bomb Buildings | bomb structures]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Gameplay Basics]]&lt;/div&gt;</summary>
		<author><name>TanX</name></author>	</entry>

	</feed>