This is a big multipart request on the horrible state of encounter spawning. Right now the only possibilities are lore-breaking sloppy spawns, or creating an absurd amount of scripts and stationTypes to try to cover all the possible cases, of which there are far too many.
Right now we can specify system criteria... for stations we add ourselves.
And those criteria are basically a series of AND statements
For example: +frontier, -solariteSpace = "frontier AND NOT solariteSpace"
We have no way of expressing more complex logic, or heck, even just OR or XOR statements. If a system like this were added, it would also be backwards compatible because they use totally different operators:
"frontier && (coalitionSpace | domainSpace) && ~capital"
This will have a station that spawns in the non-capital core systems of the coalition and domain's territories.
We also need a way of preventing stations that we didnt create with certain attributes spawning in certain systems.
For example, I might not want any ares stations popping up in the Frontier, and only a very rare chance of ventari, but a very high chance of TSB-specific stations vs. generic stations, so I'd set this in the system's node attributes.
stationAttributes="~ares; ---ventari; +++TSB"