OrionVeteran
Deity
I have completed work on my combined forces mod and have put the mod through testing. My (Python) approach for naval units was to get the AI to send old units to a specified city where they would be combined (actually deleted and replaced) by a new fleet unit. The problem I ran into was the AI decided to upgrade these units before the python could convert them into a fleet unit. Upgrading these old ships is what I was trying to avoid! Current code specifies eligible ships to create a fleet unit must be 2 Eras below the current era for the player. If I choose only one era below the current era, then I risk pulling one or more ships that might be necessary for defense. Does anyone have an idea on how I could change my approach to selecting ships to create a fleet unit?