[freeciv-ai] Re: A TODO list for AI
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Apr 14, 2004 at 06:42:41PM -0400, Benoit Hudson wrote:
>
> > Second, is the happy variable in CM supposed to be a synonym for rapture?
> > I suspect not.
>
> It certainly appears to be: you get the celebrating bonus (or fulfill
> the requirement) based on result->happy.
>
> At the moment, result->happy is "is >= half the population happy, and 0
> of the population unhappy/angry?"
>
> I propose that it should be "would I be in rapture if I kept the current
> result indefinitely, ignoring city size changes?"
>
> The two definitions differ in that the former says that a city of size 2
> can have result->happy with the current definition, but not with mine.
> You can see from the patch that the two are otherwise similar.
>
> I argue this is appropriate because if you're happy but you won't
> actually enter rapture, the extra happy guys aren't helping you.
>
> Ideally we should remove the "ignoring city size changes" thing but that
> starts getting complicated.
>
well in that case the field should be result->rapture or some such.
Raimar?
-mike
|
|