URL:
<http://gna.org/patch/?5495>
Summary: AI: Don't build a unit to chase a foreign unit that
can't do violent actions.
Project: Freeciv
Submitted by: sveinung
Submitted on: Sun 07 Dec 2014 02:22:41 AM UTC
Category: ai
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: sveinung
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.6.0
_______________________________________________________
Details:
The AI function find_something_to_kill() tests if it is worth to build a new
unit to chase a foreign unit. Check if the foreign unit is capable of
performing any violent actions in stead of looking for the TradeRoute flag.
A unit may have the trade route flag without being able to establish a trade
route or entering a market place. A unit may have the trade route flag and
still be able to perform violent actions. Killing a unit that only is capable
of establishing an embassy isn't worth producing a new unit.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 07 Dec 2014 02:22:41 AM UTC Name:
0002-AI-Don-t-build-a-unit-to-chase-a-foreign-unit-that-c.patch Size: 2kB
By: sveinung
<http://gna.org/patch/download.php?file_id=23056>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?5495>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev