Mod API Reference:PlayerIncome: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
|  Created page with "'''PlayerIncome''': Represents the income of a player (i.e. how many armies they're receiving per turn.)  You can access the Total property to see the player's income as an in..." | mNo edit summary | ||
| Line 4: | Line 4: | ||
| * '''FreeArmies''' ''integer'':  In a [[Local deployment]] game, this is the number of armies that can be deployed anywhere. | * '''FreeArmies''' ''integer'':  In a [[Local deployment]] game, this is the number of armies that can be deployed anywhere. | ||
| * '''Total''' ''integer'': | * '''Total''' ''integer'': | ||
| [[Category:Mod API Reference]] | |||
Latest revision as of 17:29, 4 December 2018
PlayerIncome: Represents the income of a player (i.e. how many armies they're receiving per turn.) You can access the Total property to see the player's income as an integer. In a Local deployment game, you can access FreeArmies and BonusRestrictions to see where the income can be deployed.
- ArmyCapInEffect boolean: True if the player's income was reduced due to the army cap, otherwise false.
- BonusRestrictions Table<BonusID,integer>: In a Local deployment game, this is the number of armies that can be deployed on each specific bonus.
- FreeArmies integer: In a Local deployment game, this is the number of armies that can be deployed anywhere.
- Total integer: