Complete.Org: Mailing Lists: Archives: freeciv-ai: January 2004:
[freeciv-ai] Re: CM and celebration
Home

[freeciv-ai] Re: CM and celebration

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Benoit Hudson <bh@xxxxxxxxxxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: CM and celebration
From: Thomas Strub <ue80@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jan 2004 00:36:06 +0100

On Tue, Jan 27, 2004 at 04:54:37PM -0500, Benoit Hudson wrote:
> When you put a high premium on celebration in the CMA (which for me is
> always), cities of size 2 will often use one citizen as an entertainer
> and thus have 1 happy and 1 entertainer, which is a majority of happy.
> But cities of size 2 can't be in celebration (at least in the default
> ruleset).
> 
> What's the correct way to deal with this issue?  None of the functions
> in city.c address that.  "city_happy", which is what we call, just
> checks for a majority of citizens being happy (regardless of number).
> "city_celebrating" checks for size, but also requires that the city have
> been happy the turn before, which we don't want.

I said long time ago (first time Raimar explained CMA to us) that CM
should be size dependent ...

Thomas
-- 
Thomas Strub  ***  eMail ue80@xxxxxxxxxxxxxxxxxxxxx
jb: people are stupid, they don't want to learn.


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