Is there a way to change when enemy retreats? I fly with big fleet and when I meet small enemy, I deploy matching force of my ships, so that I dont overpower them but keep it fair. Of course enemy retreats because calculations take into account my whole fleet. Same thing when I join a friend in a fight, I deploy only one ship, but enemies turn tails. And so, how do I make AI braver? Its ok if only in battle - fleeing on campaign screen is permitted
IIRC the AI doesn't consider enemy reserves when deciding whether to retreat from the battlefield.
I'm not sure if it's in the current release or not, but: CombatTaskManagerAPI.setPreventFullRetreat(false) would do the job.
Otherwise, there's BattleCreationContext.aiRetreatAllowed, but getting to that would be more complicated.
Second thing - I suspect Alex actually enjoys helping modders, seeing how often he replies here, what a guy!
(Ha! Let's just say I'm glad to help.)
I'm trying to make the general import and export of drugs (only drugs, not organs) legal for a specific market, via a condition that can be applied by the player through a menu.
This should affect all industries, not just mine - which it currently doesn't as I'd like to avoid that if possible
Ah, gotcha. Nothing comes to mind, unfortunately.