Is it possible to extend the behaviour of AI fleets? For example, something I want to try coding is, at a certain relation level between factions, to have small patrols below a certain size to be able to fight each other as per current default fleet behaviours but large fleets to mutually avoid each other - as a sort of AI version of border skirmishing/cold war before either side decides to commit to total war.
I'm fairly confident with Java but I've only just started digging through Starsector's code to try and understand it.
Bonus question: would something like this be possible under the provisional upcoming 0.65a API?
Posted an updated version of the javadoc here. It includes most of the API requests, with a few notable exceptions (SettingsAPI changes, EngineSlotAPI, MuzzleFlashAPI, some other stuff). Doesn't mean it won't get added, I'll most likely take another look at it - was just doing a "quick" pass over it today, and it's in good enough shape where I'd like to publish the new API now.
Standard disclaimer: any part of the API could change prior to the actual release.