patchFreeciv - Patches: patch #3680, Ai to consider road defense bonus

 
 
Show feedback again

patch #3680: Ai to consider road defense bonus

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sat 09 Feb 2013 08:49:05 AM UTC  
 
Category: aiPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 12 Feb 2013 02:08:18 AM UTC, SVN revision 22328:

Made every place where AI and advisor code previously considered river
special defense bonus to consider defense bonus from roads, and in most
cases from bases too. Ai settler evaluating city spot ignores bases as
they would be removed when city is founded.

See gna patch #3680

(Browse SVN revision 22328)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sat 09 Feb 2013 08:49:05 AM UTC, original submission:

Make every place where AI and advisor code previously considered river special defense bonus to consider defense bonus from roads, and in most cases from bases too. Ai settler evaluating city spot ignores bases as they would be removed when city is founded.

New rivers as road types code considers in most cases only those road types that are native to unit type in question, i.e, are really providing the defense bonus. I noticed that old rivers as specials code assumed rivers to provide defense for all units.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17161:  AiRoadDefense.patch added by cazfi (6kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Feb 2013 02:08:36 AM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Sat 09 Feb 2013 08:49:05 AM UTCcazfiAttached File-=>Added AiRoadDefense.patch, #17161
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup