ExpiredReign
Deity
Thanks for the code. I didn't realize you were reusing the existing core function, I imagined you had written something specifically for this. My mistake.
I agree with you about the island CS being removed from this barbarian problem. It is just not as easy to muster a fleet to the area and land units may not be able to disembark when they arrive. (I have the same problem now with my emissaries and diplomats, there is always a CS unit on the tile that I want to land on and he wont get out of the way.)
The tests, are you talking of the global quests or the specific quests sent to the player?
If it is the specific ones then is it possible to have the CS ask for you to re-institute relations if another civ has become ally with them? Perhaps based on a perceived difference of ideologies or beliefs?
Distance I think could be used but perhaps in an inverse manner to the trade mechanism. CS relations 'should' be more fruitful the closer they are to you, based on the perspective of the CS. "A strong allied empire on my border is good for my city."
On the other hand, the militarily superior civ would perhaps be courted more by these minor civs, regardless of distance. "A weak allied empire on my border can't help me if the stronger aggressor wages war, I will be collateral damage."
I agree with you about the island CS being removed from this barbarian problem. It is just not as easy to muster a fleet to the area and land units may not be able to disembark when they arrive. (I have the same problem now with my emissaries and diplomats, there is always a CS unit on the tile that I want to land on and he wont get out of the way.)
The tests, are you talking of the global quests or the specific quests sent to the player?
If it is the specific ones then is it possible to have the CS ask for you to re-institute relations if another civ has become ally with them? Perhaps based on a perceived difference of ideologies or beliefs?
Distance I think could be used but perhaps in an inverse manner to the trade mechanism. CS relations 'should' be more fruitful the closer they are to you, based on the perspective of the CS. "A strong allied empire on my border is good for my city."
On the other hand, the militarily superior civ would perhaps be courted more by these minor civs, regardless of distance. "A weak allied empire on my border can't help me if the stronger aggressor wages war, I will be collateral damage."