﻿# We use separate doctrines here so that we can have these used for all Magistarian faiths

doctrine_regula_magister_tenet = {
	group = "core_tenets"

	tenet_regula_magister = {
		icon = core_tenet_regula_magister
		name = tenet_regula_magister
		desc = tenet_regula_magister_desc

		piety_cost = {
			value = faith_tenet_cost_mid
		}

		is_shown = {
			is_regula_faith_trigger = yes
		}

		can_pick = {
			OR = {
				custom_description = {
					text = doctrine_concubine_regula_can_pick_trigger
					OR = {
						doctrine:doctrine_concubine_regula = { is_in_list = selected_doctrines }
					}
				}
			}
		}

		parameters = {
			same_culture_conversion_bonus_active = yes
			same_faith_promote_culture_bonus_active = yes
			other_culture_conversion_penalty_active = yes
			magister_tenet_traits = yes
			no_unfaithfulness_penalty_active = yes
		}
	}
}

doctrine_regula_devoted_tenet = {
	group = "core_tenets"

	# Classic Harem style, devoted are used spread Magister will
	tenet_regula_devoted = {
		icon = core_tenet_regula_devoted
		name = tenet_regula_devoted
		desc = tenet_regula_devoted_desc

		piety_cost = {
			value = faith_tenet_cost_mid
		}

		is_shown = {
			is_regula_faith_trigger = yes
		}

		can_pick = {
			custom_description = {
				text = doctrine_concubine_regula_can_pick_trigger
				OR = {
					doctrine:doctrine_concubine_regula = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			paelex_realm_benefits = yes
			tenet_adaptive_conversion_resistance = yes
		}
	}

	# Sacrafice Style, Paelex are not as important
	# More Contubernalis usage
	tenet_regula_sacrifice = {
		icon = core_tenet_regula_sacrifice
		name = tenet_regula_sacrifice
		desc = tenet_regula_sacrifice_desc

		piety_cost = {
			value = faith_tenet_cost_high
		}

		is_shown = {
			is_regula_faith_trigger = yes
		}

		can_pick = {
			custom_description = {
				text = doctrine_concubine_regula_can_pick_trigger
				OR = {
					doctrine:doctrine_concubine_regula = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			contubernalis_realm_benefits = yes
			paelex_realm_benefits_low = yes
			human_sacrifice_active = yes
			flower_war_cb_active = yes
		}
	}
}
