I'd be super grateful if someone could give me some pointers on how to do this. I'm making a total conversion mod and I'm having a bit of trouble with the trade overhaul part of it since I'm still a bit new at making mods.
I want to completely replace the current trade route system with the following:
-No cap on number of traders or trade routes.
-Trade routes have infinite range and last forever.
-Trade routes provide no yields.
-Land trade routes build roads.
-If a city is connected to the capital via a trade route or a chain of trade routes AND has a commercial hub or Harbor it becomes "connected" to the Civilization-wide "Trade Network".
-Every city in the trade network contributes a percentage (let's say 10%) of all its yields to every other city in the trade network. Cities do not lose the percentage they contribute, it's a bonus yield.
-Additionally, every city in the trade network with excess food production will automatically distribute its food surplus to the city with the lowest population in the network. (yay desert and tundra cities)
-If trade routes are pillaged causing a city to be cut off from the capital, it loses all bonus yields from other cities and can no longer provide its yields to other cities until it is reconnected. The same is true for a blockaded city, or a city that has had its Commercial Hub and/or Harbor pillaged and has not yet repaired at least one of them (1 of these is necessary to connect to the trade network).
-Blockading the capital, or blockading/conquering all port cities that the capital connects to (if the capital is landlocked), can competely disrupt that civ's trade network on continents separated by ocean from their capital.
-The first trade route to another civilization grants both the sender and recipient a percentage of their entire civilization's yields (let's say 10% of civ-wide yields divided by the other civ's number of cities). Again, this is a bonus yield, it is not lost. Any further trade routes you send them do not produce yields for either civ. However, it is possible to double-up on this bonus if the other civ also sends you a trade route back.
-International trade routes are automatically canceled if war breaks out between the participating civs.
-International trade route yields are increased if you are allies with the civ you are trading with, and further increased if you are in a defense agreement.
-International trade routes build AI approval rating over time.
I think that's about it. Most of the other changes I've made in my total conversion mod so far are rather simple, and this is the first really complex thing I've attempted. I honestly don't really know where to even begin. If anyone could show me resources or straight up explain how to do parts of it I'd be super happy.
Thanks everyone!
I want to completely replace the current trade route system with the following:
-No cap on number of traders or trade routes.
-Trade routes have infinite range and last forever.
-Trade routes provide no yields.
-Land trade routes build roads.
-If a city is connected to the capital via a trade route or a chain of trade routes AND has a commercial hub or Harbor it becomes "connected" to the Civilization-wide "Trade Network".
-Every city in the trade network contributes a percentage (let's say 10%) of all its yields to every other city in the trade network. Cities do not lose the percentage they contribute, it's a bonus yield.
-Additionally, every city in the trade network with excess food production will automatically distribute its food surplus to the city with the lowest population in the network. (yay desert and tundra cities)
-If trade routes are pillaged causing a city to be cut off from the capital, it loses all bonus yields from other cities and can no longer provide its yields to other cities until it is reconnected. The same is true for a blockaded city, or a city that has had its Commercial Hub and/or Harbor pillaged and has not yet repaired at least one of them (1 of these is necessary to connect to the trade network).
-Blockading the capital, or blockading/conquering all port cities that the capital connects to (if the capital is landlocked), can competely disrupt that civ's trade network on continents separated by ocean from their capital.
-The first trade route to another civilization grants both the sender and recipient a percentage of their entire civilization's yields (let's say 10% of civ-wide yields divided by the other civ's number of cities). Again, this is a bonus yield, it is not lost. Any further trade routes you send them do not produce yields for either civ. However, it is possible to double-up on this bonus if the other civ also sends you a trade route back.
-International trade routes are automatically canceled if war breaks out between the participating civs.
-International trade route yields are increased if you are allies with the civ you are trading with, and further increased if you are in a defense agreement.
-International trade routes build AI approval rating over time.
I think that's about it. Most of the other changes I've made in my total conversion mod so far are rather simple, and this is the first really complex thing I've attempted. I honestly don't really know where to even begin. If anyone could show me resources or straight up explain how to do parts of it I'd be super happy.
Thanks everyone!