Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2004:
[freeciv-ai] (PR#9586) Bug: auto-settlers do not build farmland (double-
Home

[freeciv-ai] (PR#9586) Bug: auto-settlers do not build farmland (double-

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [freeciv-ai] (PR#9586) Bug: auto-settlers do not build farmland (double-irrigate)
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 5 Aug 2004 19:22:23 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9586 >

> [per - Wed Aug 04 17:56:08 2004]:
> 
> On Mon, 2 Aug 2004, Jason Short wrote:
> > However they often won't build farmland (or irrigation) in despotism if
> > the bonus from the farmland is canceled by the despotism penalty.
> >
> > Even though building irrigation+farmland on grassland would give a
> > benefit, they have no way of knowing this.This is the biggest problem
> > with the design of auto-settlers, since there is no reasonable way to
> > look multiple steps into the future.
> 
> Actually, the AI knows which government it is heading towards (an ai_data
> variable), and you can set government to this directly, do the terrain
> improvement evaluation and then set the government back again.

Clever.  It may also be a good idea to consider as if actions in
progress are already completed - so we don't assign all settlers mining
grassland into forest, only to run out of food and have to transform
them all back.

jason



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