﻿# Heirs of Ērānšahr — reconquest triggers

he_is_sasanian_trigger = {
	dynasty = dynasty:1029100
}

# Physically present in the Iranian heartland (works for a landless adventurer OR a landed ruler).
he_in_persia_region_trigger = {
	exists = location
	location = { geographical_region = world_persia }
}

# --- each dormant house rallies only when the heir reaches ITS ancestral seat ---
he_reached_suren_lands_trigger = {		# Suren — Sakastān / Sistan
	location ?= { county ?= { title:d_sistan = { is_de_jure_liege_or_above_target = prev } } }
}
he_reached_ispahbudhan_lands_trigger = {	# Ispahbudhan — Gurgān / the northern march
	location ?= { county ?= { title:d_gurgan = { is_de_jure_liege_or_above_target = prev } } }
}
he_reached_waraz_lands_trigger = {		# Waraz — Media (Hamadān / Ecbatana)
	location ?= { county ?= { title:d_hamadan = { is_de_jure_liege_or_above_target = prev } } }
}
he_reached_spandiyadh_lands_trigger = {		# Spandiyadh — central Iran (Isfahān)
	location ?= { county ?= { title:d_isfahan = { is_de_jure_liege_or_above_target = prev } } }
}
he_reached_zik_lands_trigger = {		# Zik — Ādurbādagān (Azerbaijan)
	location ?= { county ?= { title:d_azerbaijan = { is_de_jure_liege_or_above_target = prev } } }
}

# A living head of a Persian/Iranic or Caucasian house that can be petitioned.
he_is_petitionable_house_head_trigger = {
	is_alive = yes
	is_house_head = yes
	is_adult = yes
	NOT = { dynasty = dynasty:1029100 }
	NOT = { has_character_flag = he_house_answered }
	NOT = { has_character_flag = he_house_declined_soft }
	OR = {
		culture = { has_cultural_pillar = heritage_iranian }
		culture = { has_cultural_pillar = heritage_caucasian }
	}
}

# The Sasanian has reached Ērānšahr and at least one old house has rallied to the camp.
he_reconquest_active_trigger = {
	has_character_flag = he_reached_eranshahr
}
