Complete.Org: Mailing Lists: Archives: freeciv-ai: April 2004:
[freeciv-ai] Re: A TODO list for AI
Home

[freeciv-ai] Re: A TODO list for AI

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Benoit Hudson <bh@xxxxxxxxxxxxxxxxxxx>, freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: A TODO list for AI
From: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Thu, 15 Apr 2004 12:57:27 +0200

On Wed, Apr 14, 2004 at 08:27:02PM -0500, Mike Kaufman wrote:
> 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?

I agree with your observations.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "When C++ is your hammer, everything looks like a thumb."
    -- Steven M. Haflich


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