﻿hth_ancestral_seat_decision = { ### Name Ancestral Seat
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
	}
	
	decision_group_type = major

	selection_tooltip = hth_ancestral_seat_decision_tooltip
	desc = hth_ancestral_seat_decision_desc
		
	effect = {
		trigger_event = hth.0001
		custom_tooltip = hth_ancestral_seat_decision_effect_tt_1
		custom_tooltip = hth_ancestral_seat_decision_effect_tt_2
	}
	
	is_shown = {
		NOR = {
			dynasty = { 
				any_dynasty_member = { has_character_flag = hth_founded_ancestral_seat }
			}
			has_character_flag = hth_founded_ancestral_seat
		}
		AND = {
			exists = dynasty
			dynasty = { has_dynasty_perk = hth_kin_legacy_3 }
		}
	}
	
	is_valid_showing_failures_only = {
		is_available_adult = yes
		is_dynast = yes
	}
	
	cost = {
		prestige = 500
	}
	
	ai_check_interval = 0
		
	ai_potential = {
		always = no
	}
	ai_will_do = {
		base = 0
	}
}
hth_consult_the_archives_decision = { ### Consult the Archives
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
	}

	desc = hth_consult_the_archives_decision_desc
	
	selection_tooltip = hth_consult_the_archives_decision_tooltip
	
	effect = {
		trigger_event = hth.0003
		custom_tooltip = hth_consult_the_archives_effect_tt_2
	}
	
	is_valid_showing_failures_only = {
		is_available_adult = yes
		is_physically_able = yes
	}
	
	is_shown = {
		AND = {
			exists = dynasty
			dynasty = { has_dynasty_perk = ep3_administrative_legacy_4 }
		}
	}

	cooldown = { years = 10 }
	
	ai_check_interval = 72
	
	ai_potential = {
		OR = {
			piety >= medium_piety_value
			health < 4
		}
	}

	ai_will_do = {
		base = 25
		modifier = {
			add = 85
			health < 4
		}
	}
}
hth_visit_shady_merchant_decision = { ### Visit Shady Merchant
	picture = {
		reference = "gfx/interface/illustrations/decisions/fp3_decision_tax_collector.dds"
	}
	
	desc = hth_visit_shady_merchant_decision_desc
	
	selection_tooltip = hth_visit_shady_merchant_decision_tooltip
	
	effect = {
		trigger_event = hth.0008
		custom_tooltip = hth_shady_merchant_effect
	}
	
	is_valid_showing_failures_only = {
		is_available_adult = yes
		is_physically_able = yes
	}
	
	is_shown = {
		AND = {
			exists = dynasty
			dynasty = { has_dynasty_perk = hth_guile_legacy_3 }
		}
	}

	cooldown = { years = 5 }
	
	ai_check_interval = 72
	ai_potential = {
		gold > medium_gold_value
		any_scheme = {
			scheme_owner = {
				this = root
			}
			scheme_type = murder
		}
	}
	ai_will_do = {
		base = 10
		modifier = {
			add = 25
			ai_vengefulness >= high_positive_ai_value
		}
		modifier = {
			add = 25
			gold >= major_gold_value
		}
	}
}