invite_knights_decision = {
	picture = "gfx/interface/illustrations/decisions/invite_knights.dds"

	ai_check_interval = 0

	cooldown = { days = 3650 }
	
	desc = invite_knights_decision_desc

	effect = {
		#A flag to increase weights for knights in regular guest invites
		add_character_flag = {
			flag = invite_knights_decision_active
			days = 1095
		}
		#A counter for the free "extra knights", will be reduced by 1 for every extra knight and extra knights stops when it reaches 0
		set_variable = {
			name = number_of_invite_knights_countdown
			value = 3 #If this number changes make sure the tooltips change
			days = 1000
		}
		trigger_event = {
			id = minor_decisions.0001
			days = { 20 40 }
		}

		#Effect tooltip
		if = {
			limit = { faith = { has_doctrine_parameter = combatant_must_be_male } }
			custom_tooltip = invite_knights_decision.men.tt
		}
		else_if = {
			limit = { faith = { has_doctrine_parameter = combatant_must_be_female } }
			custom_tooltip = invite_knights_decision.women.tt
		}
		else = {
			custom_tooltip = invite_knights_decision.warriors.tt
		}
	}

	cost = { prestige = { value = medium_prestige_value } }	

	ai_potential = {
		always = no
	}

	ai_will_do = {
		base = 0
	}
}


invite_claimants_decision = {
	picture = "gfx/interface/illustrations/decisions/invite_claimants.dds"
	ai_check_interval = 0
	
	desc = invite_claimants_decision_desc

	cooldown = { days = 3650 }

	is_shown = {
		is_landed = yes
		primary_title.tier > tier_county
	}

	effect = {
		#A flag to increase weights for claimants in regular guest invites
		add_character_flag = {
			flag = invite_claimants_decision_active
			days = 1825
		}
		#A counter for the free "extra claimants", will be reduced by 1 for every extra claimant and extra claimants stops when it reaches 0
		set_variable = {
			name = number_of_invite_claimants_countdown
			value = 3 #If this number changes make sure the tooltips change
			days = 1825
		}
		trigger_event = {
			id = minor_decisions.0002
			days = { 20 40 }
		}

		#Effect tooltip
		custom_tooltip = invite_claimants_decision.tt
	}

	cost = { prestige = invite_claimants_decision_prestige_value }	

	ai_potential = {
		always = no
	}

	ai_will_do = {
		base = 0
	}
}