This thread is to ask if anything being described may be impossible with the modding tools available, or if there may be a better way to handle this than building a mod.
Goal:
Complete a Geological Team Survey on every body in a system.
Current manual methodology:
Have a few fleets set to "Pick up idle geosurvey team" and "drop off geosurvey team at unsurveyed colony".
Problem 1: Occasionally I need to intervene to split up the teams because after a while I always end up with one fleet carrying all the teams and all the teams on one colony.
Problem 2: If I have a colony on a body, then it is not available for the establishment of CMCs and the automatic commander assignments has a good chance of giving it a governor that would be more useful elsewhere. So, I do not want a lot of colonies created and waiting for the teams, the colonies should be created on bodies needing a survey, and then the colonies should be abandoned after the survey if not being otherwise interacted with.
Mod Ideas:
The pipe-dream ideal solution that is not happening any time soon:
An upgrade to those default orders such that they create colonies as needed, abandon colonies that they remove teams from (if not referenced by anything else), reserve colonies they are in route to, and not choose to drop off on colonies that are reserved or have a team already. If that is simpler than it sounds, let me know and I might come back to it.
Concept A: the first/prototype feature that I know should be possible because it is just reading the database and printing lists on the screen. Regrettably it only addresses Problem 2.
- Button that opens a window which contains 3 lists and a button to refresh each list.
- First list is existing populations on bodies which have not completed a geological team survey.
- Second list is of system bodies without populations which have not completed a geological team survey.
- Third list is populations which are unused and have completed a geological team survey. Things to check for to determine if they are unused include: installations, civilian orders, ship orders, teams, ground units, shipyards, policies, and industry jobs
Concept A's stretch goals (AKA things that might be so easy after I learn the API that I do them to make dev and debug easier):
- make the list be clickable things which when clicked open the economics window (pop) or system window (body) with the indicated entity selected
- generate an event to notify the player when list 1 drops below some length (to let the player know they need to make more colonies and probably purge unused ones)
- include create colony and abandon colony buttons to the list items for the 2nd and 3rd lists
Concept B is a modification to the default orders to partly address Problem 1 and Concept C is some automation of button clicking on Concept A. But I have changed my mind about detailing those here now. I can edit the OP if concept A turns out to be less painful than I am anticipating.
I would especially like feedback for people who have actually dug into the API on whether the "stretch goals" are well supported.