Re: [Freeciv-Dev] struct government + AI
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Sune Kirkeby (sune@xxxxxxxxxxxxx) wrote:
> > int basis = game.cityfactor - (G_DEMOCRACY - pplayer->government);
> > if (cities > basis)
> > content--;
> The above is one of the places I still have not fixed,
> simply because I was not sure what that calculation does (beyond
> the obvious). Not knowing what exactly it does, I could not very
> well name the element :-)
It's an empire size factor. If you have more than X cities, where X
is based on your government type, then the number of content citizens
is decreased. Democracy has the highest number, and Republic is one
lower, and Communism two lower, ....
--
Greg Wooledge | Distributed.NET http://www.distributed.net/
wooledge@xxxxxxxxxxx | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |
|
|