Summary: AI settler doesn't consider base defense bonus when
picking city spot
Submitted by: jtn
Submitted on: Sat 24 May 2014 23:09:42 BST
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: Any
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:
Message sent via/by Gna!
Freeciv-dev mailing list