regula_adopt_martial_custom_decision = {
	ai_check_interval = 0
	major = yes

	title = regula_adopt_martial_custom_decision.t
	desc = regula_adopt_martial_custom_decision.desc
	picture = "gfx/interface/illustrations/decisions/regula_adopt_martial_custom_decision.dds"
	selection_tooltip = regula_adopt_martial_custom_decision_tooltip

	is_shown = {
		has_trait = magister_trait_group
		culture = {
			NOT = { has_cultural_pillar = martial_custom_regula }
		}
	}

	is_valid = {
		custom_description = {
			text = holy_site_reg_offspring_held_trigger
			faith = {
				controls_holy_site_with_flag = holy_site_reg_offspring_flag
			}
		}
		custom_description = {
			text = magister_trait_5_required_decision
			NOT = { has_trait = magister_5 }
		}
	}

	is_valid_showing_failures_only = {
		is_available_adult = yes
	}

	cost = {
		piety = 1500
		prestige = 2000
	}

	effect = {
		custom_tooltip = "regula_adopt_martial_custom_decision_tooltip_effect"		
		trigger_event = regula_tradition.1001
	}

	confirm_text = regula_adopt_martial_custom_decision.a
	
	ai_potential = {
		always = yes
	}

	ai_will_do = {
		base = 0
	}
}