﻿##### Heirs of Ērānšahr — the "lost" Great Houses (DORMANT at 867) #####
# Suren, Ispahbudhan, Waraz, Zik, Spandiyadh are independent Parthian dynasties: their members use
# `dynasty =`, NOT `dynasty_house =`. Each is ONE continuous lineage from its late-antique founder
# down to its LAST DEAD ANCESTOR before 867 (the "bloodline anchor"). The living 867 scion and his
# living kin are DELIBERATELY NOT defined in history: an unlanded character alive at the bookmark is
# a real, findable person who can die, be married off, or be landed before the player ever arrives.
# Instead, when the Sasanian adventurer reaches a homeland, he_raise_dormant_house_effect
# (common/scripted_effects/he_reconquest_effects.txt) MINTS the scion (and his kin) on the spot via
# create_character, using `father = character:<anchor>` PLUS `dynasty = inherit` — a father alone
# does NOT pass the dynasty on (create_character generates a random house otherwise; that was the
# "random house rises" bug), so the bloodline AND the dynasty are both inherited explicitly.
# The scion therefore cannot exist — or be lost — before the reconquest reaches it. KEEP the anchor
# ids (suren_rustam, ispahbudhan_gen3, waraz_adurbad/waraz_shapur, zik_burzin, spandiyadh_peroz)
# stable, since the effect creates the heirs from them.
# The 6th–7th c. interregnum notables (Vinduyih, Vistahm, Rostam, Piruz Suren …) live in
# zz_he_notables.txt and are wired INTO these lineages via their `father` fields.
# H = attested historical figure; unmarked links are reconstructed connectors.

################################################################################
### House of Sūrēn — Sakastān/Sīstān (dynasty 1042143) — the king-crowners
################################################################################
# Mihr-Narseh the wuzurg framadār founds the line; it runs through the marzbāns of
# Armenia and Nēmrōz and the king-slayers of the fall, on through the dihqāns of
# Sīstān, down to Mihr — the living Sūrēn scion at 867 — and his children Gēw & Ābānōy.
suren_mihr_narseh = {	# Mihr-Narseh, grand minister (wuzurg framadār) under Yazdegerd I–Yazdegerd II — H
	name = "Mihr_Narseh"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_stewardship_4
	trait = diligent
	trait = ambitious
	380.1.1 = { birth = yes }
	459.1.1 = { death = { death_reason = death_murder } }
}
suren_zurvandad = {	# Zurvandād, chief hērbed (high priest) — H
	name = "Zurvandad"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_learning_3
	trait = zealous
	father = suren_mihr_narseh
	410.1.1 = { birth = yes }
	470.1.1 = { death = yes }
}
suren_mahgushnasp = {	# Mahgushnasp, wāstryōšān sālār (chief of land-tax) — H
	name = "Mahgushnasp"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_stewardship_3
	father = suren_mihr_narseh
	412.1.1 = { birth = yes }
	475.1.1 = { death = yes }
}
suren_kardar = {	# Kardar, arteštārān sālār (military chief) — H; the line continues through him
	name = "Kardar"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = brave
	father = suren_mihr_narseh
	415.1.1 = { birth = yes }
	480.1.1 = { death = yes }
}
suren_godarz = {	# keeps the Pārs–Sakastān branch
	name = "Godarz"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = suren_kardar
	455.1.1 = { birth = yes }
	520.1.1 = { death = yes }
}
suren_bezhan = {	# restores the eastern estates
	name = "Bezhan"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = suren_godarz
	490.1.1 = { birth = yes }
	548.1.1 = { death = yes }
}
suren_chihor = {	# Chihor-Vishnasp, marzbān of Armenia; killed at Dvin (572) — H
	name = "Chihor_Vishnasp"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = brave
	father = suren_bezhan
	520.1.1 = { birth = yes }
	572.1.1 = { death = { death_reason = death_battle } }
}
suren_mahbod = {	# Mahbod, general under Khosrow I; killed in the Roman war (589) — H
	name = "Mahbod"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = brave
	father = suren_chihor
	540.1.1 = { birth = yes }
	589.1.1 = { death = { death_reason = death_battle } }
}
suren_zadspram = {	# lord in Nēmrōz/Sakastān
	name = "Zadspram"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = suren_mahbod
	568.1.1 = { birth = yes }
	625.1.1 = { death = yes }
}
suren_mardanshah = {	# Mardānshāh, padgospān of Nēmrōz; executed by Khosrow II (627) — H
	name = "Mardanshah"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = just
	father = suren_zadspram
	585.1.1 = { birth = yes }
	627.1.1 = { death = { death_reason = death_execution } }
}
suren_mihr_hormazd = {	# Mihr-Hormazd, slew Khosrow II, then executed by Kavad II (628) — H; a dead end
	name = "Mihr_Hormazd"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	trait = ambitious
	father = suren_mardanshah
	606.1.1 = { birth = yes }
	628.1.1 = { death = { death_reason = death_execution } }
}
suren_mahoe = {	# Māhōē, marzbān of Merv — the survival anchor; the line runs on through him
	name = "Mahoe"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	father = suren_mardanshah
	610.1.1 = { birth = yes }
	665.1.1 = { death = yes }
}
suren_peroz = {	# submits to the Arabs, keeps lands near Marv/Sīstān
	name = "Peroz"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = suren_mahoe
	644.1.1 = { birth = yes }
	710.1.1 = { death = yes }
}
suren_narseh = {	# returns west toward Sakastān
	name = "Narseh"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = suren_peroz
	680.1.1 = { birth = yes }
	745.1.1 = { death = yes }
}
suren_hormazd = {	# dihqān of the old Surenid estates
	name = "Hormazd"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = suren_narseh
	716.1.1 = { birth = yes }
	782.1.1 = { death = yes }
}
suren_bahram = {	# survives Abbasid/Tahirid pressure
	name = "Bahram"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = suren_hormazd
	752.1.1 = { birth = yes }
	818.1.1 = { death = yes }
}
suren_rustam = {	# old noble of Zaranj/Sīstān
	name = "Rustam"
	dynasty = 1042143
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = brave
	father = suren_bahram
	792.1.1 = { birth = yes }
	855.1.1 = { death = yes }
}
# NOTE: the living 867 scion (Mihr) and his children Gēw & Ābānōy are NOT defined here.
# They are minted at arrival by he_raise_dormant_house_effect so they cannot die, be found,
# married, or landed before the reconquest reaches Sīstān. suren_rustam (†855) is the
# bloodline anchor the heir is created from (father = character:suren_rustam).

################################################################################
### House of Ispahbudhān — Gurgān/Dihistan (dynasty dyn_ispahbudhan) — the kingmakers
################################################################################
# (Unchanged.) Shapur's children — Vistahm, Vinduyih, and the mother of Khosrau II —
# plus the interregnum line live in zz_he_notables.txt, wired here by their `father` fields.
ispahbudhan_aspahbadh = {	# eponymous progenitor of the "House of the Aspahbadh"
	name = "Aspahbad"
	dynasty = dyn_ispahbudhan
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	418.1.1 = { birth = yes }
	478.1.1 = { death = yes }
}
ispahbudhan_bawi = {	# Bawi, spahbed of the north — H (the eponymous "House of Bawi")
	name = "Bawi"
	dynasty = dyn_ispahbudhan
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	father = ispahbudhan_aspahbadh
	450.1.1 = { birth = yes }
	512.1.1 = { death = yes }
}
ispahbudhan_shapur = {	# Shāpur, son of Bawi, spahbed of Ray — father of Vistahm, Vinduyih & the mother of Khosrau II
	name = "Shapur"
	dynasty = dyn_ispahbudhan
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	father = ispahbudhan_bawi
	500.1.1 = { birth = yes }
	570.1.1 = { death = yes }
}
# Shapur's children — Vistahm, Vinduyih, and the daughter who bore Khosrau II — plus the later
# interregnum line (Farrukh Hormazd, Rostam Farrokhzad, Farrukhzad) all live in zz_he_notables.txt,
# wired to this tree via their `father` fields.
ispahbudhan_sorkhab = {	# a son of Rostam Farrokhzād who survived the conquest
	name = "Sorkhab"
	dynasty = dyn_ispahbudhan
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = brave
	father = he_rostam
	628.1.1 = { birth = yes }
	690.1.1 = { death = yes }
}
ispahbudhan_farrukhan = {	# the last of the elder Ispahbudhān line
	name = "Farrukhan"
	dynasty = dyn_ispahbudhan
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = ispahbudhan_sorkhab
	658.1.1 = { birth = yes }
	722.1.1 = { death = yes }
}
# --- Ispahbudhān → Vistahm (the living scion at 867) ---
ispahbudhan_gen1 = { name = "Farrukhan" dynasty = dyn_ispahbudhan religion = mazdayasna culture = persian trait = education_martial_2 father = ispahbudhan_farrukhan 700.1.1 = { birth = yes } 768.1.1 = { death = yes } }
ispahbudhan_gen2 = { name = "Farrukh"   dynasty = dyn_ispahbudhan religion = mazdayasna culture = persian trait = education_martial_2 father = ispahbudhan_gen1     745.1.1 = { birth = yes } 812.1.1 = { death = yes } }
ispahbudhan_gen3 = { name = "Bawi"      dynasty = dyn_ispahbudhan religion = mazdayasna culture = persian trait = education_martial_2 father = ispahbudhan_gen2     790.1.1 = { birth = yes } 858.1.1 = { death = yes } }
# NOTE: the living 867 scion (Vistahm) is NOT defined here — he is minted at arrival by
# he_raise_dormant_house_effect from the bloodline anchor ispahbudhan_gen3 (Bawi, †858),
# so he cannot die or be found before the reconquest reaches Gurgān.

################################################################################
### House of Warāz — Media / Khurāsān (dynasty 1042145; "Warāz" = the boar)
################################################################################
# From Varaz-Vzur, marzpān of Armenia under Hormizd IV, the boar-lords withdraw east
# to Khurāsān and endure as Marw dihqāns down to Gōdarz — the living heir at 867 — his
# son Warazdad, and his cousin Zamāsp of the junior Bahman branch.
waraz_varaz_vzur = {	# Varaz-Vzur, marzpān of Armenia under Hormizd IV — H (candidate)
	name = "Varaz_Vzur"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = brave
	525.1.1 = { birth = yes }
	590.1.1 = { death = yes }
}
waraz_warazdad = {	# returns east after service in Armenia
	name = "Warazdad"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_varaz_vzur
	560.1.1 = { birth = yes }
	625.1.1 = { death = yes }
}
waraz_godarz = {	# survives the Arab conquest as a Khurāsānī dihqān
	name = "Godarz"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_warazdad
	592.1.1 = { birth = yes }
	655.1.1 = { death = yes }
}
waraz_peroz = {	# preserves the clan under Umayyad rule in Marw
	name = "Peroz"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_godarz
	628.1.1 = { birth = yes }
	700.1.1 = { death = yes }
}
waraz_bahram = {	# noble during the Abbasid revolution in Khurāsān
	name = "Bahram"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_peroz
	670.1.1 = { birth = yes }
	735.1.1 = { death = yes }
}
waraz_narseh = {	# client of the Abbasid/Tahirid order
	name = "Narseh"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_bahram
	710.1.1 = { birth = yes }
	780.1.1 = { death = yes }
}
waraz_mahbod = {	# lord of a reduced estate near Merv/Nishapur — the senior line
	name = "Mahbod"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_narseh
	748.1.1 = { birth = yes }
	822.1.1 = { death = yes }
}
waraz_adurbad = {	# bridge generation (Māhbōd's son) — narrows the gap to the 867 heir
	name = "Adurbad"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_mahbod
	782.1.1 = { birth = yes }
	845.1.1 = { death = yes }
}
waraz_bahman = {	# the junior branch — grandfather of the cousin Zamāsp
	name = "Bahman"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_narseh
	770.1.1 = { birth = yes }
	850.1.1 = { death = yes }
}
waraz_shapur = {	# bridge generation (Bahman's son) — narrows the gap to Zamāsp
	name = "Shapur"
	dynasty = 1042145
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = waraz_bahman
	808.1.1 = { birth = yes }
	860.1.1 = { death = yes }
}
# NOTE: the living 867 scion (Gōdarz), his son Warazdad, and his cousin Zamāsp are NOT defined
# here. They are minted at arrival by he_raise_dormant_house_effect so none can die or be found
# before the reconquest reaches Media. Bloodline anchors: waraz_adurbad (†845) for the heir and
# his son; waraz_shapur (†860) for the junior-branch cousin Zamāsp.

################################################################################
### House of Zīk — Ādurbādagān (dynasty dyn_zik) — the spahbeds of fire
################################################################################
# Zik, Shapur II's commander over Armenia, founds the fire-lords of Ādurbādagān. The
# line guards the fire-road between Ganzak and Armenia through the fall and the Arab
# centuries, down to Āturpāt — the last fire-lord, living at 867 — and his son Ardeshir.
zik_founder = {	# Zik, commander under Shapur II, placed over Armenia; the house eponym — H
	name = "Zik"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_4
	trait = brave
	330.1.1 = { birth = yes }
	390.1.1 = { death = yes }
}
zik_adur = {	# keeps the clan's estates in Ādurbādagān
	name = "Adur"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_founder
	365.1.1 = { birth = yes }
	430.1.1 = { death = yes }
}
zik_wahram1 = {	# northern noble of the old Median-Zik line
	name = "Wahram"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_adur
	402.1.1 = { birth = yes }
	468.1.1 = { death = yes }
}
zik_aturpat1 = {	# guards the fire-road between Ganzak and Armenia
	name = "Aturpat"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_wahram1
	438.1.1 = { birth = yes }
	505.1.1 = { death = yes }
}
zik_mihr = {	# serves on the Caucasian frontier
	name = "Mihr"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_aturpat1
	475.1.1 = { birth = yes }
	540.1.1 = { death = yes }
}
zik_adurbad1 = {	# dihqān of Ādurbādagān; backs Khosrow I's frontier reforms
	name = "Adurbad"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	father = zik_mihr
	512.1.1 = { birth = yes }
	578.1.1 = { death = yes }
}
zik_wahram2 = {	# killed during the northern wars of Khosrow II
	name = "Wahram"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = brave
	father = zik_adurbad1
	548.1.1 = { birth = yes }
	610.1.1 = { death = { death_reason = death_battle } }
}
zik_adur_narseh = {	# preserves the house through the fall of Ērānšahr
	name = "Adur_Narseh"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_wahram2
	585.1.1 = { birth = yes }
	650.1.1 = { death = yes }
}
zik_shahriyar = {	# local noble under early Arab rule in Azerbaijan
	name = "Shahriyar"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_adur_narseh
	625.1.1 = { birth = yes }
	695.1.1 = { death = yes }
}
zik_mihrbozed = {	# keeps the old fire-banner hidden in the mountains
	name = "Mihrbozed"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_shahriyar
	670.1.1 = { birth = yes }
	735.1.1 = { death = yes }
}
zik_adurbad2 = {	# cooperates outwardly with the Abbasid governors
	name = "Adurbad"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_mihrbozed
	715.1.1 = { birth = yes }
	785.1.1 = { death = yes }
}
zik_wahram3 = {	# mountain lord near Ardabīl/Marāgha
	name = "Wahram"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_adurbad2
	760.1.1 = { birth = yes }
	828.1.1 = { death = yes }
}
zik_burzin = {	# bridge generation (Wahrām's son) — narrows the gap to the 867 heir
	name = "Burzin"
	dynasty = dyn_zik
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = zik_wahram3
	792.1.1 = { birth = yes }
	855.1.1 = { death = yes }
}
# NOTE: the living 867 scion (Āturpāt) and his son Ardeshir are NOT defined here — they are
# minted at arrival by he_raise_dormant_house_effect from the bloodline anchor zik_burzin (†855),
# so neither can die or be found before the reconquest reaches Ādurbādagān.

################################################################################
### House of Spandiyādh — Rayy / Jibāl (dynasty dyn_spandiyadh) — heirs of Isfandiyār
################################################################################
# A Rayy line named for the Kayanid hero Isfandiyār, surviving Qādisiyyah and Nihāvand
# as local dihqāns of the Jibāl, down to Isfandiyār — the last of the Spandiyādh, the
# living heir at 867.
spandiyadh_isfandiyar = {	# founder, named for the Kayanid ancestor Isfandiyār
	name = "Isfandiyar"
	dynasty = dyn_spandiyadh
	religion = mazdayasna
	culture = persian
	trait = education_martial_3
	trait = brave
	528.1.1 = { birth = yes }
	595.1.1 = { death = yes }
}
spandiyadh_bahram = {	# serves the road between Rayy and Ctesiphon
	name = "Bahram"
	dynasty = dyn_spandiyadh
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = spandiyadh_isfandiyar
	564.1.1 = { birth = yes }
	625.1.1 = { death = yes }
}
spandiyadh_zadan = {	# survives Qādisiyyah and Nihāvand as a local dihqān
	name = "Zadan"
	dynasty = dyn_spandiyadh
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = spandiyadh_bahram
	600.1.1 = { birth = yes }
	660.1.1 = { death = yes }
}
spandiyadh_farrukhan = {	# keeps the family under early Arab rule in Jibāl
	name = "Farrukhan"
	dynasty = dyn_spandiyadh
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = spandiyadh_zadan
	635.1.1 = { birth = yes }
	704.1.1 = { death = yes }
}
spandiyadh_shahriyar = {	# old noble of Rayy, outwardly loyal to the governors
	name = "Shahriyar"
	dynasty = dyn_spandiyadh
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = spandiyadh_farrukhan
	675.1.1 = { birth = yes }
	745.1.1 = { death = yes }
}
spandiyadh_bahman = {	# keeps the Isfandiyār claim alive in family memory
	name = "Bahman"
	dynasty = dyn_spandiyadh
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = spandiyadh_shahriyar
	718.1.1 = { birth = yes }
	790.1.1 = { death = yes }
}
spandiyadh_hormazd = {	# reduced lord near Rayy/Qom/Isfahan
	name = "Hormazd"
	dynasty = dyn_spandiyadh
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = spandiyadh_bahman
	760.1.1 = { birth = yes }
	825.1.1 = { death = yes }
}
spandiyadh_peroz = {	# bridge generation (Hormazd's son) — narrows the gap to the 867 heir
	name = "Peroz"
	dynasty = dyn_spandiyadh
	religion = mazdayasna
	culture = persian
	trait = education_martial_2
	father = spandiyadh_hormazd
	793.1.1 = { birth = yes }
	858.1.1 = { death = yes }
}
# NOTE: the living 867 scion (Isfandiyār) is NOT defined here — he is minted at arrival by
# he_raise_dormant_house_effect from the bloodline anchor spandiyadh_peroz (†858), so he
# cannot die or be found before the reconquest reaches the Jibāl.
