This version of the mod is intended to be used with r22256 or later.
- The AI now avoids creating attack plans using damaged ships (combat_ship_ordering sorts them last). If an attack plan must include damaged ships due to lack of available undamaged ships, the AI will delay the attack by 1 turn if any of the damaged ships are at a location where they can be repaired.
- The AI may assign damaged military ships to fallback missions, if they aren't already assigned to any other task.
- Fixed a typo that affected what mission types civilian ships were allowed to use.
- Improved AI research desire calculation for the case where the AI is not in contact with any other empire.
With the tactical AI now part of vanilla, it's much more common for the AI to have damaged ships on hand. So it made sense to add some awareness of ship damage at the strategic level. The AI will now prefer to attack and intercept with undamaged ships if it can, and when planning attacks, it may delay one turn to repair ships first.