﻿# Ambitions - decisions (player only)

amb_seek_ambition_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
	}
	desc = amb_seek_ambition_decision_desc
	selection_tooltip = amb_seek_ambition_decision_tooltip

	is_shown = {
		is_ai = no
		is_landed = yes
		NOT = { has_variable = amb_active }
	}

	is_valid_showing_failures_only = {
		is_adult = yes
		is_imprisoned = no
		custom_description = {
			text = amb_no_cooldown_tt
			NOT = { has_variable = amb_cooldown }
		}
		custom_description = {
			text = amb_any_valid_tt
			amb_any_ambition_valid_trigger = yes
		}
	}

	effect = {
		custom_tooltip = amb_seek_effect_tt
		trigger_event = amb.0001
	}

	ai_check_interval = 0
	ai_potential = { always = no }
	ai_will_do = { base = 0 }
}

amb_review_ambition_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
	}
	desc = amb_review_ambition_decision_desc
	selection_tooltip = amb_review_ambition_decision_tooltip

	is_shown = {
		is_ai = no
		has_variable = amb_active
	}

	effect = {
		amb_show_goal_effect = yes
		custom_tooltip = amb_review_effect_tt
		trigger_event = amb.0002
	}

	ai_check_interval = 0
	ai_potential = { always = no }
	ai_will_do = { base = 0 }
}

# Ambition Settings (new in 1.2): how often ambitions appear, and whether AI rulers take them
amb_settings_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
	}
	desc = amb_settings_decision_desc
	selection_tooltip = amb_settings_decision_tooltip

	is_shown = {
		is_ai = no
	}

	is_valid_showing_failures_only = {
		always = yes
	}

	effect = {
		trigger_event = amb.0010
	}

	ai_check_interval = 0
	ai_potential = { always = no }
	ai_will_do = { base = 0 }
}
