﻿# Heirs of Ērānšahr — reconquest decisions.
# (The old houses now rally to the camp automatically when the Sasanian adventurer reaches the
# Iranian heartland — see common/on_action/he_reconquest_on_actions.txt — so there is no separate
# "proclaim" decision. What remains is the endgame: refounding the empire.)

he_restore_eransahr_decision = {
	picture = { reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds" }
	decision_group_type = major
	sort_order = 200

	is_shown = {
		he_is_sasanian_trigger = yes
		he_reconquest_active_trigger = yes
		NOT = { exists = title:e_persia.holder }
	}
	is_valid = {
		faith = { religion_tag = zoroastrianism_religion }
		highest_held_title_tier >= tier_kingdom
		any_held_title = { this = title:k_persia }
	}
	cost = { prestige = 1000 gold = 300 }
	effect = {
		create_title_and_vassal_change = {
			type = created
			save_scope_as = restore_change
			add_claim_on_loss = yes
		}
		title:e_persia = {
			change_title_holder = {
				holder = root
				change = scope:restore_change
			}
		}
		resolve_title_and_vassal_change = scope:restore_change
		add_prestige = 2000
		dynasty = { add_dynasty_prestige = 1000 }
		trigger_event = he_reconquest.0030
	}
	ai_will_do = { base = 0 }
}
