Steve -
Once again this suggestion is from the Terran Campaign, so I make it with the understanding that I am using 4.77 and things may have changed. I don't think so, though, which is why I'm making the suggestion.
I am encountering a problem in the Campaign, and I've got a couple of ideas on how to fix it. The problem is with maintenance facilities. Essentially, what is happening is that I've got squadrons of ships stationed all over to provide protection against attacks. Many of my colonies are intended to produce resources for major population centers. Titan and Nova Terra are examples of this. Both exist only to produce resources for Terra and Mars. Titan's resources are sent to Mars via mass driver, while Nova Terra's are sent via a freighter on a regular run. The problem is that eventually the mass drivers or freighters deplete the resources and when that happens I get all sorts of error messages on the Event screen informing me that maintenance wasn't performed on my ships stationed at those locations. For Nova Terra that will persist for another five day update, then everything will be okay as resources accumulate, at least until the freighter arrives again. For Titan there is no solution. Once the mass drivers reduce the resources to zero they never rise again, unless the production outstrips the shipping capacity, in which case one resource accumulates while the others remain at zero.
I can think of several possible solutions:
1. Currently, resources are either picked up by freighters or shipped out by mass drivers before production/maintenance is performed. If you changed that to the other way around, then there would always be resources available for maintenance.
2. If you made it so that mass drivers and "Pick up all resources" commands left enough resources for maintenance and production, that would work too. Say enough resources for one months production & maintenance at current consumption levels. To pick up more you'd have to tell the freighter to load X amount of Y mineral.
3. Finally, you could change maintenance so that if no resources are available, maintenance facilities would use maintenance supplies stockpiled on the planet. This would steadily use up the supplies, but it is better than nothing.
Kurt