You should just be able to remove the viceroyalty checks from the other succession laws that prevent them being available for viceroyalties. The game will automatically assign succession laws based on this:
If the succession law you want to be default isn't on that list, you will have to make an on_startup event that assigns it to people who should have it, similar to the Eldership event.
Although, I am not convinced that succ_appointment is used for viceroyalties, since it requires any_liege = { holy_order = yes }.
This is what I am doing. My custom succession law does not exclude viceroyalties, and the startup event applies it to all appropriate titles, except those that have "vice_royalty = yes" set in title history. Those still revert to the liege...
The reason why I am asking all this is that I am looking for a way to have independent elective successions for secondary duchies.
Is there any way to achieve this?
(I hoped since viceroyalties always have their own succession law that they could be modded to behave like this)
Last edited: