Complete.Org: Mailing Lists: Archives: freeciv-dev: December 1998:
Re: [Freeciv-Dev] Looking for a unit.
Home

Re: [Freeciv-Dev] Looking for a unit.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: brunel@xxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Looking for a unit.
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Wed, 23 Dec 1998 20:59:46 +1100

Nicolas BRUNEL wrote:
> 
>       in my diplomat patch, I want ai settlers to check if a diplomat is
> within range before building a town. Is there another way that going
> through the list of all ennemy units ?

Does the AI avoid building cities if there is a nearby enemy 
_military_ unit?  It didn't used to deal with this properly,
so not doing so with diplomats may not be a big deal.

Unless it now does it approximately with the territory[] stuff, 
... I'm not sure.
auto_settler_findwork() has, as part of looking for city sites:
/* deal with danger Real Soon Now! -- Syela */

-- David


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