﻿# This on action is used to trigger the "Incapable" Magister event
# This allows the player to abdicate early, or cure themself using the lifeforce of their family.
quarterly_playable_pulse = {
	on_actions = {
		regula_incapable_on_actions
	}
}

regula_incapable_on_actions = {
	trigger = {
		has_trait = magister_trait_group
		has_trait = incapable
		is_ai = no
		NOT = {
			has_character_flag = flag_regula_incapable_cooldown
		}
	}

	first_valid = {
		regula_incapable.1000	# Incapable Magister has adult Primary heir
		regula_incapable.2000 	# Incapable Magister has child Primary heir
	}
}
