Update:
- Amount of time worked taken into consideration by city plot selection (thanks SevenSpirits)
- The Vassal of a Capitulating Civ is freed before peace treaty
The second one may need some explaining. Let's say you are at war with another Civ who has a Vassal. You manage to beat down the Master Civ to the point where it will Capitulate to you. Prior to this patch, what would happen is (in this order) the Master and Vassal would both gain peace with you. The Master would then Capitulate to you, which would free the Vassal. The problem with this was the order. Consider another case where you are at war with a Master and a Vassal, and the Vassal breaks away. Do you automatically gain peace with the Vassal? No, you continue to be at war with the Master and the Vassal.
The same should be true in the original case - the Master is Capitulating to you, not the Vassal. The Vassal shouldn't get "free" peace just because his ex-Master is becoming a Vassal - you should continue to be at war with the Vassal. That is what the patch does, it frees the Vassal from the Master
before the peace treaty is signed.
Bh
This make Grimus' head hurt.
Okay... here's my reasoning, not sure if it makes sense or not or how hard it may be to program it.
The following are different scenarios and how they should be managed:
(masters and vassals will be referred to as males for clarity.)
master + vassal(s) declare war on you:
If you destroy the master, he capitulates to you, and the vassal(s) gains freedom again...
Then the vassal "should" gain peace with you as well as he separates from his master since he had no control over the war declaration made by his master... he was "dragged" into the war.
(Though, perhaps you could argue he is still responsible for his master's behavior if he willfully joined him, and didn't capitulate as a result of war with the master)
You declare war on both master + vassal(s):
If you destroy the master, he capitulates to you, and the vassal(s) gain freedom again...
Then the vassal "should not" gain peace with you as well, as he separates from his master, because you intentionally declared war on "both" of them from the start... be it that your main target was the master or the vassal.
You declare war on a civ who then capitulates to another and gains a master:
If you destroy the master, he capitulates to you, and the vassal(s) gain freedom again...
Then the vassal "should not" gain peace with you as well, as he separates from his master, because you declared war on him in the first place and he tried to thwart your efforts by bringing another civ into the mix against you (who you just stomped as well).
Okay, I'm getting tired of typing out these reasonings... Pretty much, if war was declared on "you" and the vassals had no control over the war declaration, then they should gain peace again when they gain freedom from their master.
If they intentionally declared war on you before they became a vassal, or if you intentionally declared war on them before they became a vassal, then they should not gain peace when they gain freedom from their master.
Also, if you declared war on the master knowing he had vassals, then you decalred war on all of them intentionally and nobody should gain peace unless you agree to it. So when the vassal gains freedom from his old master, then he should not gain peace with you right away.
How does that sound?