﻿aureliani_plan_roman_ambition = {
	picture = { reference = "gfx/interface/illustrations/decisions/decision_legend.dds" }
	desc = aureliani_plan_roman_ambition_desc
	selection_tooltip = aureliani_plan_roman_ambition_tooltip
	decision_group_type = major
	ai_check_interval = 0
	is_shown = {
		is_playable_character = yes
		house = house:house_aureliani
		house = { has_variable = aureliani_italian_crown_secured NOT = { has_variable = aureliani_roman_preparation } }
	}
	is_valid = {
		aureliani_roman_mandate_trigger = yes
		custom_description = { text = aureliani_playtest_req_roman_plan_ready aureliani_roman_ambition_predecessor_trigger = yes }
		custom_description = { text = aureliani_playtest_req_roman_plan_idle NOT = { has_character_flag = aureliani_roman_preparation_pending } }
	}
	effect = {
		if = {
			limit = { aureliani_roman_mandate_trigger = yes aureliani_roman_ambition_predecessor_trigger = yes NOT = { has_character_flag = aureliani_roman_preparation_pending } house = { NOT = { has_variable = aureliani_roman_preparation } } }
			custom_tooltip = aureliani_roman_plan_tt
			house = { set_variable = { name = aureliani_roman_ambition value = 1 } }
			add_character_flag = { flag = aureliani_roman_preparation_pending days = 60 }
			trigger_event = aureliani.0090
		}
	}
	ai_potential = { always = no }
}

aureliani_fulfil_roman_ambition = {
	picture = { reference = "gfx/interface/illustrations/decisions/ep3_decision_roman_restoration.dds" }
	desc = aureliani_fulfil_roman_ambition_desc
	selection_tooltip = aureliani_fulfil_roman_ambition_tooltip
	decision_group_type = major
	ai_check_interval = 0
	is_shown = {
		is_playable_character = yes
		house = house:house_aureliani
		house = { has_variable = aureliani_roman_ambition NOT = { has_variable = aureliani_roman_goal_completed } }
	}
	is_valid = {
		aureliani_roman_mandate_trigger = yes
		aureliani_roman_sovereignty_trigger = yes
		aureliani_roman_territory_trigger = yes
		custom_description = { text = aureliani_roman_origin_tt completely_controls = title:d_toscana }
		prestige_level >= max_prestige_level
		restore_roman_empire_decision_religion_culture_trigger = yes
		custom_description = { text = aureliani_playtest_req_roman_settlement_idle NOT = { has_character_flag = aureliani_roman_settlement_pending } }
	}
	effect = {
		custom_tooltip = aureliani_tooltip_roman_settlement
		aureliani_open_roman_council_effect = yes
	}
	ai_potential = { always = no }
}
