# DO NOT ALTER THE NAME OR NUMBER OF THESE!

succession_laws = {
	succ_primogeniture = {
		
		potential = {
			is_landless_type_title = no
			is_primary_type_title = no
			holder_scope = { is_feudal = yes }
			NOT = { has_law = succ_primogeniture }
		}
		allow = {
			always = yes
		}
		effect = {
			succession = primogeniture
		}
		revoke_allowed = {
			always = no
		}			
		ai_will_do = {
			factor = 0
		}
		ai_will_revoke = {
			factor = 0
		}
	}

	succ_seniority = {
		
		potential = {
			is_landless_type_title = no
			holder_scope = { is_feudal = yes }
			NOT = { has_law = succ_seniority }
			is_primary_type_title = no
		}
		allow = {
			always = yes
		}
		effect = {
			succession = seniority
		}
		revoke_allowed = {
			always = no
		}			
		ai_will_do = {
			factor = 0
		}
		ai_will_revoke = {
			factor = 0
		}
	}
	
	succ_feudal_elective = {
		potential = {
			is_landless_type_title = no
			holder_scope = { is_feudal = yes }
			NOT = { has_law = succ_feudal_elective }
			is_primary_type_title = no
			NOT = { tier = baron }
		}
		allow = {
			always = yes
		}
		effect = {
			succession = feudal_elective
		}
		revoke_allowed = {
			always = no
		}			
		ai_will_do = {
			factor = 0
		}
		ai_will_revoke = {
			factor = 0
		}
	}
}

