Complete.Org: Mailing Lists: Archives: freeciv-ai: June 2004:
[freeciv-ai] Re: (PR#8992) Building ferries
Home

[freeciv-ai] Re: (PR#8992) Building ferries

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#8992) Building ferries
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Jun 2004 15:28:49 -0700
Reply-to: rt@xxxxxxxxxxx

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

Gregory Berkolaiko wrote:

> It's a very rough version of a centralized ferry-building.  There is a
> function which, for each "ocean" counts how many boats are there, how
> many cities want boats and how many units are waiting for boats and
> forces some cities (1 at the moment) to build boats if necessary.
> 
> Note that individual cities no longer build boats.  If they want a unit
> which wants a boat, they just set the need_ferry field in the ai_choice
> struct and wait for the centralized system to pick up.
> 
> It compiles and works, but that's about it for now.

What about the idea of using ocean numbers for this?

jason




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