﻿###DECISIONS LIST###

##############################
# Host a Bride-show          #
# by EmrysValdr      	     #
##############################
host_a_bride_show_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_recruitment.dds"
	}
	ai_check_interval = 120
	
	cooldown = { days = 3650 }

	desc = host_a_bride_show_decision_desc
	selection_tooltip = host_a_bride_show_decision_tooltip
	decision_group_type = roman

	is_shown = {
		is_lowborn = no
		is_landed = yes
		is_independent_ruler = yes
		highest_held_title_tier >= tier_kingdom

		is_married = no

		trigger_if = {
			limit = { has_ep3_dlc_trigger = yes }
			culture = { has_cultural_parameter = holds_bride_shows }
		}

		trigger_if = {
			limit = { has_ep3_dlc_trigger = no }
			OR = { # Greek or Russian
				culture = { has_cultural_pillar = heritage_byzantine }	
				culture = { has_cultural_pillar = heritage_south_slavic }			
			}

			OR = { # Must be Roman Emperor or Russian Tsar
				has_title = title:h_roman_empire
				has_title = title:e_byzantium
				has_title = title:e_russia
			}
		}
	}

	is_valid = {
		is_married = no

		#Must have specific level of prestige/influence:
		trigger_if = {
			limit = { has_ep3_dlc_trigger = yes }
			influence_level >= 2
		}
		trigger_if = {
			limit = { has_ep3_dlc_trigger = no }
			prestige_level >= 2
		}
		#Must have specific tradition:
		trigger_if = {
			limit = { has_ep3_dlc_trigger = yes }
			root.culture = {	
				has_cultural_tradition = tradition_ep3_roman_ceremonies
			}
		}
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
		is_at_war = no
	}

	effect = {
		save_scope_as = suitor
		custom_tooltip = host_a_bride_show_decision_tt
		trigger_event = {
			id =  DE_misc_decision_event.0001 # HAVE TO MAKE
		}
	}

	cost = {
		influence = {
			value = 0
			if = {
				limit = { government_has_flag = government_is_administrative }
				add = 500
			}
		}
		prestige = {
			value = 500
			if = {
				limit = { government_has_flag = government_is_administrative }
				subtract = 250
			}
		}
		gold = 50
	}

	ai_potential = {
		always = yes
	}

	ai_will_do = {
		base = 1000
	}
}