Graph stats
Moderator: Oberlus
Graph stats
In the graphs that show the on-going game statistics (eg Planets colonized, Number of ships, Roaming armed monsters, etc.) for each empire, could we also add 'Empire Population'? Not that I can imagine why this would be needed, but I assume this info is readily available?
- Bromstarzan
- Dyson Forest
- Posts: 206
- Joined: Sun Feb 28, 2016 9:56 pm
- Location: Sweden
Re: Graph stats
I like this suggestion. Not sure it would be a useful decision-maker, but as population is somewhat crucial, it would be nice to be able to keep track... (more data to the people! )
| i7 7700K [email protected] | GTX 1080 Ti | RAM: 32GB | PSU: 750w | W10 x64 | 2xAcer1920x1080 |
Re: Graph stats
Theoretically (and someone will correct me if I'm wrong), adding Into default/scripting/empire_statistics/ should work, you'd also need to add something for stat_pop in your stringtable.
Code: Select all
Statistic name = "STAT_POPULATION" value =
Sum value = LocalCandidate.Population condition = And [
Planet
OwnedBy empire = Source.Owner
]
Mat Bowles
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
- Bromstarzan
- Dyson Forest
- Posts: 206
- Joined: Sun Feb 28, 2016 9:56 pm
- Location: Sweden
Re: Graph stats
So it's doable, nice. I'll experiment with it if I can stop playing...
| i7 7700K [email protected] | GTX 1080 Ti | RAM: 32GB | PSU: 750w | W10 x64 | 2xAcer1920x1080 |