This mod enables stacker depots for CS2 by preventing CS2 from calling trains that are stuck in stacker depots or other parts of the base that cannot reach CS2 stations without going through other stations first.
Limitations
While this mod prevents CS2 from selecting trains that are inside a stacker, it does not prevent CS2 from sending trains back into the depot while they are in the middle of a task.
To prevent CS2 from doing this, you must change the "station excess delivery limit" setting to zero.
One potential solution for this, is that CS2 would send trains to a second non-stacker depot type when it wants to temporarily park trains that are currently on a job.