regula_initialize_compeditae_succession_decision = {
	picture = "gfx/interface/illustrations/decisions/regula_initialize_compeditae_succession_decision.dds"
	major = yes
	title = regula_initialize_compeditae_succession_decision.t
	desc = regula_initialize_compeditae_succession_decision.desc
	selection_tooltip = regula_initialize_compeditae_succession_decision_tooltip

	ai_check_interval = 0 #AI won't consider.

	is_shown = {
		is_ruler = yes
		is_ai = no
		has_global_variable = regula_initialized
		primary_title = {
			NOT = {
				has_title_law = compeditae_elective_succession_law
			}
		}
	}

	is_valid = {
		is_independent_ruler = yes
		highest_held_title_tier = tier_empire
		custom_description = {
			text = magister_trait_5_required_decision_trigger
			has_trait_rank = {
				trait = magister_trait_group
				rank >= 5
			}
		}
		custom_description = {
			text = regula_compeditae_election_concubine_pass_minimum_decision_trigger
			regula_num_landed_concubines >= 10
		}
	}

	is_valid_showing_failures_only = {
		is_available = yes
	}

	cost = {
		gold = 500
		prestige = 1500
		piety = 750
	}

	
	effect = {
		custom_tooltip = "regula_initialize_compeditae_succession_decision_tooltip_effect"
		trigger_event = {
			id = regula_initialize_event.1030
		}
		add_character_modifier = regula_compeditae_succession_modifier
	}

	confirm_text = regula_initialize_compeditae_succession_decision.a

	ai_will_do = {
		base = 0
	}
}