﻿darius_seed = {
	type = darius
	quality = famed
	is_shown = {
		has_dlc_feature = legends
		NOT = {
			has_global_variable = darius_legend
		}
	}
	
	is_valid = {
		prestige_level >= 3
		custom_tooltip = {
			text = has_claim_on_persian_empire_darius_tooltip
			OR = {
				has_title = title:e_persia
				has_claim_on = title:e_persia
				has_character_flag = has_claimed_persian_empire
			}
		}
		custom_tooltip = {
			text = must_be_either_iranian_or_complete_amastris_tooltip
			OR = {
				culture = { has_cultural_pillar = heritage_iranian }
				root.dynasty = {
					has_dynasty_modifier = is_assimilated_to_iranian_heritage_modifier
				}
			}
		}
		custom_tooltip = {
			text = valid_legend_cooresponding_figure_tooltip
			has_trait_xp = {
				trait = achaemenid_historian
				track = darius
				value >= 100
			}
		}
	}

	chronicle = darius_chronicle
	chronicle_properties = {
		ancestor_flag = flag:darius_achaemenid
		title = title:e_persia
	}
}

immortal_seed = {
	type = immortal
	quality = famed
	is_shown = {
		has_dlc_feature = legends
		NOT = {
			has_global_variable = immortal_legend
		}
	}
	
	is_valid = {
		prestige_level >= 4
		completely_controls = title:e_persia
		custom_tooltip = {
			text = must_be_either_iranian_or_complete_amastris_tooltip
			OR = {
				culture = { has_cultural_pillar = heritage_iranian }
				root.dynasty = {
					has_dynasty_modifier = is_assimilated_to_iranian_heritage_modifier
				}
			}

		}
	}

	chronicle = immortal_chronicle
	chronicle_properties = {
		ancestor_flag = flag:immortal_achaemenid
	}
}

zoroaster_seed = {
	type = zoroaster
	quality = famed
	is_shown = {
		has_dlc_feature = legends
		NOT = {
			has_global_variable = zoroaster_legend
		}
	}
	
	is_valid = {
		learning >= 20
		custom_tooltip = {
			text = be_saoshyant_or_saoshyant_descendant_requirement_tooltip
			OR = {
				has_trait = saoshyant
				has_trait = saoshyant_descendant
			}
		}
		custom_tooltip = {
			text = be_zoroastrian_or_eastern_syncretic_requirement_tooltip
			OR = {
				faith.religion = religion:zoroastrianism_religion
				faith = {
					has_doctrine = tenet_eastern_syncretism
				}
			}
		}
		custom_tooltip = {
			text = must_be_either_iranian_or_complete_amastris_tooltip
			OR = {
				culture = { has_cultural_pillar = heritage_iranian }
				root.dynasty = {
					has_dynasty_modifier = is_assimilated_to_iranian_heritage_modifier
				}
			}
		}
		custom_tooltip = {
			text = valid_legend_cooresponding_figure_tooltip
			has_trait_xp = {
				trait = achaemenid_historian
				track = zoroaster
				value >= 100
			}
		}
	}

	chronicle = zoroaster_chronicle
	chronicle_properties = {
		ancestor_flag = flag:zoroaster
		religion = religion:zoroastrianism_religion
	}
}

amastris_seed = {
	type = amastris
	quality = famed
	is_shown = {
		has_dlc_feature = legends
		NOT = {
			has_global_variable = amastris_legend
		}
	}
	
	is_valid = {
		diplomacy >= 10
		dread >= 75
		tyranny >= 20
		has_title = title:c_honorias
	}

	chronicle = amastris_chronicle
	chronicle_properties = {
		ancestor_flag = flag:amastris
	}
}

cyrus_seed = {
	type = cyrus
	quality = famed
	is_shown = {
		has_dlc_feature = legends
		NOT = {
			has_global_variable = cyrus_legend
		}
	}

	is_valid = {
		stewardship >= 18
		has_title = title:e_persia
		capital_province.county = {
			development_level >= 30
		}
		custom_tooltip = {
			text = must_be_either_iranian_or_complete_amastris_tooltip
			OR = {
				culture = { has_cultural_pillar = heritage_iranian }
				root.dynasty = {
					has_dynasty_modifier = is_assimilated_to_iranian_heritage_modifier
				}
			}
		}
		custom_tooltip = {
			text = valid_legend_cooresponding_figure_tooltip
			has_trait_xp = {
				trait = achaemenid_historian
				track = cyrus
				value >= 100
			}
		}
	}

	chronicle = cyrus_chronicle
	chronicle_properties = {
		ancestor_flag = flag:cyrus
		title = root.capital_province.county
	}
}