﻿# TO DO: should be available for any character involved in the Struggle instead of checking Iberian heritage
fp2_urbanism_legacy_track = {
	is_shown = {
		has_dlc_feature = the_fate_of_iberia
		dynasty = {
			OR = {
				dynast = {
					OR = {
						any_character_struggle = {
							involvement = involved
							is_struggle_type = iberian_struggle
						}
						culture = {
							has_cultural_pillar = heritage_iberian
						}
						AND = {
							exists = capital_province
							capital_province = {
								geographical_region = world_europe_west_iberia
							}
						}
					}
				}
				has_dynasty_perk = fp2_urbanism_legacy_1
			}
		}
	}
}

# TO DO: should be available for any character involved in the Struggle instead of checking Iberian heritage
fp2_coterie_legacy_track = {
	is_shown = {
		has_dlc_feature = the_fate_of_iberia
		dynasty = {
			OR = {
				dynast = {
					OR = {
						any_character_struggle = {
							involvement = involved
							is_struggle_type = iberian_struggle
						}
						culture = {
							has_cultural_pillar = heritage_iberian
						}
						AND = {
							exists = capital_province
							capital_province = {
								geographical_region = world_europe_west_iberia
							}
						}
					}
				}
				has_dynasty_perk = fp2_coterie_legacy_1
			}
		}
	}
}
