Complete.Org: Mailing Lists: Archives: freeciv-ai: February 2004:
[freeciv-ai] (PR#6567) AI has too many boats.
Home

[freeciv-ai] (PR#6567) AI has too many boats.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxxx
Subject: [freeciv-ai] (PR#6567) AI has too many boats.
From: "Guest" <rt-guest@xxxxxxxxxxx>
Date: Sun, 1 Feb 2004 19:04:44 -0800
Reply-to: rt@xxxxxxxxxxx

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

> Patch #3:
> Change the rest of ai_manage_ferryboat to introduce the while loop. 
It is 
> a good idea, but it can wait, it only makes sense if a boat needs to 
> deliver more than one passenger in one turn -- a rare if not 
> currently impossible situation.

Actually, the while loop insures that all units are unloaded
immediately so that the boat can escape retailation if landing
troops. If the transport still has two moves left, the city it
landed troops to attack can no longer see the transport so that
it escapes an autoattack unit in the city :).

If I leave this out, there are too many special cases to deal
with in the code below.

Besides, this happends all the time when I play (I have seen a
transport that had five howitzers).  It will be another week before
I can work on this again though. - Joshua


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