• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Caspian Mortis

Major
2 Badges
May 27, 2016
516
589
  • Crusader Kings II
  • Crusader Kings III
I'm playing as an emperor and my vassal viceroyalties always try to revoke their vassals' counties in their endless lust for power. How would I make a mod that prevents them from doing this?
 

Pjoelj

Sergeant
30 Badges
Jul 7, 2016
51
10
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Stellaris: Leviathans Story Pack
  • Crusader Kings III
  • Crusader Kings II: Monks and Mystics
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Jade Dragon
  • Stellaris: Apocalypse
  • Shadowrun Returns
  • Crusader Kings II: Holy Fury
  • Tyranny: Archon Edition
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Europa Universalis IV
  • Stellaris - Path to Destruction bundle
  • BATTLETECH: Flashpoint
  • Crusader Kings II: Rajas of India
The "set_allow_title_revokation" effect is probably what you're looking for. You can probably just fire an event that does "set allow_title_revokation = no" in an "on_new_holder"-triggered event.

If you don't have conclave, you might want to do that for all viceroyalties in each of the crown authority laws as well - if you change your crown law, you also change your viceroys' crown laws, which might accidentally allow them to revoke titles.