Summary: Take caravans enroute in the account when deciding
if more are needed
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 05 Oct 2012 04:39:57 AM EEST
                Category: ai
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.4.0, 2.5.0



Currently AI code evaluating caravan value cares about already established
traderoutes when checking if new carvan could create new traderoute (number of
traderoutes less than max). Attached patch makes it to consider also existing
caravans enroute to establish traderoutes.

This version is for TRUNK. I have to test this a bit more to decide if it
could be justified as important bugfix to stable branches. At least in trunk
without this patch cities frequently ended building caravans forever. If
caravans are for some reason unable to reach their destination, they just
stack up and home city keeps on building more and more to make same attempt.


File Attachments:

Date: Fri 05 Oct 2012 04:39:57 AM EEST  Name: CaravansEnroute.patch  Size:
659B   By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to