Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: AI questions
Home

[Freeciv-Dev] Re: AI questions

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: [Freeciv-Dev] Re: AI questions
From: Reinier Post <rp@xxxxxxxxxx>
Date: Sun, 25 Nov 2001 15:19:42 +0100

On Sat, Nov 24, 2001 at 03:32:24PM +0100, Petr Baudis wrote:
> > > - 13th city - in the README.AI, it's told it is unlucky. just a joke? ;-)
> > 
> > 'Unlucky' probably means 'the first citizen is no longer content'.  In 
> > 1.5.4,
> > this was the 14th city for Republic, the 12th for Monarchy, the 11th for
> > Anarchy.
> > 
> > The relevant piece of code:
> > 
> >   http://www.freeciv.org/lxr/source/server/citytools.c?v=1.5.4#L110
> >   http://www.freeciv.org/lxr/source/common/city.c?v=cvs#L1426
> Ah so! You mean cityfactor :-), so when nation will get cityfactor cities,
> there will appear one more uncontent citizen in all cities.  Thanks.

Yes, well, not quite, hence the references to the actual code.
You'll note that the algorithm has become more complicated
since the AI was programmed (the AI was added between 1.5.4 and 1.7.0).

-- 
Reinier


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