succession_laws = {

    succ_byzantine_elective = {
		oldest_child_opinion = -5
		child_opinion = -5
		dynasty_opinion = -5
		feudal_opinion = -5
		potential = {
			holder_scope = {
				OR = {
					has_landed_title = e_byzantium
					has_landed_title = e_roman_empire
					has_landed_title = e_western_roman_empire
				}
				NOT = { religion_group = muslim }
				is_nomadic = no
				is_merchant_republic = no
				is_patrician = no
			#	OR = {
			#		culture_group = byzantine
			#		culture = roman
			#		religion = orthodox
			#		religion = hellenic_pagan
			#		religion = hellenic_pagan_reformed
			#	}
			#	OR = {
			#		independent = yes
			#		NOT = {
			#			any_demesne_title = {
			#				is_vice_royalty = yes
			#			}
			#		}
			#	}
			}
			#OR = {
			#	is_landless_type_title = no
			#	is_tribal_type_title = yes
			#	temporary = yes
			#}
			#is_primary_type_title = no
			NOT = { holder_scope = { government = confucian_bureaucracy } }
			NOT = { holder_scope = { government = chinese_imperial_government } }

		}
		allow = {
			custom_tooltip = {
				text = not_forced_tt
				hidden_tooltip = {
					holder_scope = { NOT = { has_character_flag = liege_forced_succ_law } }
				}
			}
		}
		effect = {
			succession = {
				base_type = feudal_elective
				voting_rules = byzantine_elective
			}
		}
		revoke_allowed = {
			always = no
		}			
	}

}