Complete.Org: Mailing Lists: Archives: freeciv-dev: June 1999:
Re: [Freeciv-Dev] struct government + AI
Home

Re: [Freeciv-Dev] struct government + AI

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] struct government + AI
From: Greg Wooledge <wooledge@xxxxxxxxxxx>
Date: Wed, 9 Jun 1999 18:48:46 -0400

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/ |

[Prev in Thread] Current Thread [Next in Thread]