URL:
  <http://gna.org/bugs/?22079>

                 Summary: AI settler doesn't consider base defense bonus when
picking city spot
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Sat 24 May 2014 23:09:42 BST
                Category: ai
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 

    _______________________________________________________

Details:

Patch #3680 commit message says: "Ai settler evaluating city spot ignores
bases as they would be removed when city is founded." And this still seems
true of aisettler.c:defense_bonus() on S2_5/trunk.

But the commit comment is no longer true as of patch #3826; it's possible for
pre-existing bases to survive inside cities, and for such a base to confer a
defence bonus, which the AI settler ought in theory to consider.

Is it worth fixing this? (Given that IIRC the AI is unlikely to build bases
with defence bonuses, except by accident.)

(On trunk there's a comment /* TODO: Check those extras that would survive on
city tile, not roads */; but the issue applies to S2_5 too.)




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22079>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to