• 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.

üstad_pro

Corporal
5 Badges
Aug 28, 2018
34
3
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Holy Fury
  • Crusader Kings II
  • Darkest Hour
Code:
# Titles revert back to the liege on death
succ_appointment = {
   potential = {
        OR = {
            AND = {
                holder_scope = {
                    is_feudal = yes
                    independent = no
                    any_liege = {
                        holy_order = yes
                    }
                    is_merchant_republic = no
                }
                NOT = { holder_scope = { government = confucian_bureaucracy } }
                NOT = { holder_scope = { government = chinese_imperial_government } }
            }
            AND = {
                is_theocracy = yes
                controls_religion = no
                independent = no
                OR = {
                    religion = tengri_pagan_reformed
                    religion = baltic_pagan_reformed
                    religion = finnish_pagan_reformed
                    religion = aztec_reformed
                    religion = slavic_pagan_reformed
                    religion = west_african_pagan_reformed
                    religion = zun_pagan_reformed
                    religion = zoroastrian
                    religion = jewish
                }
                OR = {
                    NOT = { religion_group = pagan_group }
                    has_religion_feature = religion_theocratic_head
                }
            }
        }
    }
    effect = {
        succession = appointment
    }
    revoke_allowed = {
        always = no
    }       
}

Code:
succ_open_elective = {
       potential = {
           NOR = {
               title = k_papal_state
               title = d_baltic_pagan_reformed
               title = d_tengri_pagan_reformed
               title = d_finnish_pagan_reformed
               title = d_aztec_reformed
               title = d_slavic_pagan_reformed
               title = d_west_african_pagan_reformed
               title = d_zun_pagan_reformed
               title = d_zoroastrian
               title = d_jewish
               title = d_fraticelli
               title = e_byzantium
               title = e_roman_empire
           }
               NOR = {
                   religion = tengri_pagan_reformed
                    religion = baltic_pagan_reformed
                    religion = finnish_pagan_reformed
                    religion = aztec_reformed
                    religion = slavic_pagan_reformed
                    religion = west_african_pagan_reformed
                    religion = zun_pagan_reformed
                    religion = zoroastrian
                    religion = jewish
                   }
                   NAND = {
                       has_religion_feature = religion_theocratic_head
                       is_theocracy = yes
                       }
           NOT = { title = k_papal_state }
           temporary = no
           OR = {
               is_primary_type_title = yes
               holy_order = yes
               AND = {
                   tier = baron
                   OR = {
                       is_republic = yes
                       AND = {
                           is_theocracy = yes
                           NOT = { holder_scope = { religion_group = muslim } }
                       }
                   }
               }
               holder_scope = {
                   OR = {
                       is_republic = yes
                       AND = {
                           is_theocracy = yes
                           NOT = { religion_group = muslim }
                       }
                   }
               }
           }
           OR = {
               is_landless_type_title = yes
               holder_scope = { is_theocracy = no }
               holder_scope = {
                   NOT = { religion = catholic }
                   NOT = { religion = fraticelli }
               }
           }
           holder_scope = {
               is_patrician = no
               is_merchant_republic = no
               OR = {
                   independent = yes
                   is_feudal = no
                   NOT = {
                       any_liege = {
                           holy_order = yes
                       }
                   }
               }
           }
           NAND = {
               has_law = succession_voting_power_1
               OR = {
                   has_law = succ_feudal_elective
                   has_law = succ_hre_elective
               }
           }
           NOT = { holder_scope = { government = confucian_bureaucracy } }
           NOT = { holder_scope = { government = chinese_imperial_government } }
       }
      
       effect = {
           succession = open_elective
       }
       revoke_allowed = {
           always = no
       }
   }


I wanted to prevent theocracies besides religious heads using open elective succession and wanted them to revert back to liege. But it doesn't work, can anyone help?
 
Are they still getting open elective? Must be something in that law's potential that still allows them.
If they're getting gavelkind instead, they're not eligible for any succession law and the game defaults back to gavelkind.
You may enjoy adjusting succession laws from the files in CleanSlate, linked in my signature. They're much easier to read.