I had this idea to make the advent culture centers also function as trade ports (supposed to be instead of them).
I've looked at a few files: the planet module entities for the tradeport and culture center, plus the tradeport research subject.
At first, none of this looks like it does anything (bare with me, I have no idea what I'm doing) but properly name everything, attach costs, and make sure you have the right research. No 'BUFF_generateCrazyIncome' or something. I did find some stuff at the end about the trade ship spawns which I copied over to the culture center entity.
There are 2 other things I noticed: something called a planetModuleRoleType, and a statCountType. I get crashes if I try to have all of these different values on the culture center, and culture does not get generated if I switch the culture center to the tradeport values or leave it with just the trade ship spawns code.
I guess my question is what gets trade ports trading and is it possible to do what I'm trying to do?
I haven't yet looked at the starbase trading stuff...