doctrine_polygamy = {
	doctrine_group_type = doctrine_marriage_type
	index = 1
	divergence = 30

	piety_cost = {
		value = faith_doctrine_cost_mid
		if = {
			limit = { rite_has_doctrine = doctrine_polygamy }
			multiply = faith_unchanged_doctrine_cost_mult
		}
	}
	parameters = {
		doctrine_polygamy
		spouse_piety_loss
	}

	special_parameters = {
		number_of_spouses = 1000
	}
}

doctrine_concubines = {
	doctrine_group_type = doctrine_marriage_type
	index = 2
	divergence = 20

	piety_cost = {
		value = faith_doctrine_cost_mid
		if = {
			limit = { rite_has_doctrine = doctrine_concubines }
			multiply = faith_unchanged_doctrine_cost_mult
		}
	}
	parameters = {
		doctrine_concubines
	}

	special_parameters = {
		number_of_spouses = 1
		number_of_consorts = 999
	}
}
