Meneth/PB-git — pull request #58 by zijistark (2014-01-22 00:32:23+00:00)
Title: Crown authority law revocation cooldown

Tried to stay topic-specific, but it was hard not to fix a relatively small number of inconsistencies and a few bugs while I was processing the same code. The revocation cooldown period is currently 15 years. Since almost all revocations in the code completely reset at least one crown law slider, no matter how high it had been previously set, I think this is an appropriate minimum amount of time.

In every case that wouldn't have required a headache of logic changes to comply, custom tooltips always indicate whether a crown law will in fact be reduced and whether a revocation cooldown period will start for the liege.

At first, I'd included a change to the way title revocation was handled, but as that is a separate topic, I reverted it.

Changes may look sweeping in content, but most of the text of these changes consists of the same, though slightly-modified, custom CA reduction boilerplate for PB's laws that preexisted.

This has been tested, but my test coverage has somewhat necessarily been incomplete due to the difficulty of setting up conditions for certain CBs or forcing the proper event chain for an autonomy faction outcome (though I did manually invoke the affected ultimatums that didn't come up naturally). Certainly, nothing is outright broken, worst-case.