Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] Re: rfc: default production
Home

[Freeciv-Dev] Re: rfc: default production

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: rfc: default production
From: Ilkka Lehtoranta <ilkleht@xxxxxxxxxxx>
Date: Mon, 2 Sep 2002 15:56:44 +0300 (EEST)

On Mon, 2 Sep 2002, Per I. Mathisen wrote:

> This is bad because it requires a lot of AI tentacles into the human
> player code, which both creates fertile soil for bugs and also stops the
> AI code from being properly optimized for AIs. And it doesn't really give
> you good advice anyway.

I agree.

> So I want to remove it. (Yeah, I'm in that mood today.)
>
> Instead, I suggest this simple rule:
>
> if (was producing unit)
>       continue producing that type of unit
> else if (was producing building and can build capitalization)
>       switch to capitalization
> else
>       /* eg civ2 ruleset */
>       switch to first FirstBuild unit (phalanx etc)

IMO if it was producing building game could continue producing it again
until player changes it to something sensible. I consider it is always
better produce new buildings than do nothing (or build capitalization).


  Greets, Ilkka




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