g.player
|
player
|
|
the current player
|
|
player.armies
|
int
|
|
number of armies the player owns
|
|
player.capital
|
city
|
|
the player's capital city
|
|
player.cities
|
int
|
|
number of cities the player owns
|
|
player.civ_name_plural
|
str
|
|
|
|
player.civ_name_singular
|
str
|
|
|
|
player.country_name
|
str
|
|
|
|
player.government
|
int
|
|
the player's government type (index from GovernmentDB)
|
Apolyton-thread
|
player.govttype
|
str
|
|
the player's government in string form
|
Apolyton-thread
Apolyton-thread
|
player.he
|
str
|
|
|
|
player.he_cap
|
str
|
|
|
|
player.him
|
str
|
|
|
|
player.him_cap
|
str
|
|
|
|
player.his
|
str
|
|
|
|
player.his_cap
|
str
|
|
|
|
player.largestcity
|
city
|
|
the player's largest city
|
|
player.leader_name
|
str
|
|
|
|
player.leaderperonality
|
str
|
|
the player's personality in string form
|
|
player.militarystate
|
str
|
|
the player's military state in string form, Only useful for string replacements
|
|
player.militaryunits
|
int
|
|
number of military (attack greater than 0) the player owns
|
|
player.owner
|
int
|
|
an integer version of the player
|
Apolyton-thread
|
player.publicworkslevel
|
int
|
|
the amount of public works stored
|
|
player.publicworkstax
|
int
|
|
the player's public works tax setting
|
|
player.researching
|
str
|
|
what advance the player is researching, in string form
|
|
player.sir
|
str
|
|
|
|
player.sir_cap
|
str
|
|
|
|
player.totalpollution
|
int
|
|
total pollution produced by the player
|
|
player.totalpopulation
|
int
|
|
total population of all cities owned by the player
|
|
player.units
|
int
|
|
number of units the player owns
|
|