doctrine_muhammad_succession = {
	group = "main_group"
	is_available_on_create = {
		religion_tag = islam_religion
	}

	muhammad_succession_sunni_doctrine = {
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = muhammad_succession_sunni_doctrine }
				multiply = 0
			}
		}
		parameters = {
			hostility_override_muhammad_succession_sunni_doctrine = 1
			same_hof_hostility_override = 0
		}
	}
	
	muhammad_succession_shia_doctrine = {
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = muhammad_succession_shia_doctrine }
				multiply = 0
			}
		}
		parameters = {
			hostility_override_muhammad_succession_shia_doctrine = 1
			same_hof_hostility_override = 0
		}
	}
	
	muhammad_succession_muhakkima_doctrine = {
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = muhammad_succession_muhakkima_doctrine }
				multiply = 0
			}
		}
		parameters = {
			hostility_override_muhammad_succession_muhakkima_doctrine = 1
			same_hof_hostility_override = 0
		}
	}

	muhammad_succession_zandaqa_doctrine = {
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = muhammad_succession_zandaqa_doctrine }
				multiply = 0
			}
		}
		character_modifier = {
			advantage_against_coreligionists = 5
		}
		parameters = {
			same_hof_hostility_override = 0
		}
	}
}
