is_house_head = { # For unevaluated triggers trigger_if = { limit = { exists = this } save_temporary_scope_as = house_check exists = house house = { house_head = scope:house_check } } } is_dynast = { save_temporary_scope_as = dynast_check custom_description = { text = is_dynast subject = scope:dynast_check exists = dynasty dynasty = { dynast = scope:dynast_check } } } can_start_new_legacy_track_trigger = { exists = dynasty dynasty = { OR = { NOT = { has_dynasty_perk = blood_legacy_1 } has_dynasty_perk = blood_legacy_5 } OR = { NOT = { has_dynasty_perk = warfare_legacy_1 } has_dynasty_perk = warfare_legacy_5 } OR = { NOT = { has_dynasty_perk = law_legacy_1 } has_dynasty_perk = law_legacy_5 } OR = { NOT = { has_dynasty_perk = guile_legacy_1 } has_dynasty_perk = guile_legacy_5 } OR = { NOT = { has_dynasty_perk = erudition_legacy_1 } has_dynasty_perk = erudition_legacy_5 } OR = { NOT = { has_dynasty_perk = glory_legacy_1 } has_dynasty_perk = glory_legacy_5 } OR = { NOT = { has_dynasty_perk = kin_legacy_1 } has_dynasty_perk = kin_legacy_5 } OR = { NOT = { has_fp1_dlc_trigger = yes } NOT = { has_dynasty_perk = fp1_adventure_legacy_1 } has_dynasty_perk = fp1_adventure_legacy_5 } OR = { NOT = { has_fp1_dlc_trigger = yes } NOT = { has_dynasty_perk = fp1_pillage_legacy_1 } has_dynasty_perk = fp1_pillage_legacy_5 } OR = { NOT = { has_dlc_feature = hybridize_culture } NOT = { has_dynasty_perk = ep1_culture_legacy_1 } has_dynasty_perk = ep1_culture_legacy_5 } OR = { NOT = { has_dlc_feature = the_fate_of_iberia } NOT = { has_dynasty_perk = fp2_urbanism_legacy_1 } has_dynasty_perk = fp2_urbanism_legacy_5 } OR = { NOT = { has_dlc_feature = the_fate_of_iberia } NOT = { has_dynasty_perk = fp2_coterie_legacy_1 } has_dynasty_perk = fp2_coterie_legacy_5 } OR = { NOT = { has_dlc_feature = legacy_of_persia } NOT = { has_dynasty_perk = fp3_khvarenah_legacy_1 } has_dynasty_perk = fp3_khvarenah_legacy_5 } OR = { NOT = { has_dlc_feature = tours_and_tournaments } NOT = { has_dynasty_perk = ep2_activities_legacy_1 } has_dynasty_perk = ep2_activities_legacy_5 } OR = { NOT = { has_dlc_feature = legends_of_the_dead } NOT = { has_dynasty_perk = ce1_heroic_legacy_1 } has_dynasty_perk = ce1_heroic_legacy_5 } OR = { NOT = { has_dlc_feature = legends_of_the_dead } NOT = { has_dynasty_perk = ce1_legitimacy_legacy_1 } has_dynasty_perk = ce1_legitimacy_legacy_5 } OR = { NOT = { has_dlc_feature = roads_to_power } NOT = { has_dynasty_perk = ep3_administrative_legacy_1 } has_dynasty_perk = ep3_administrative_legacy_5 } } } dynasty_head_prefers_activities_trigger = { has_trait = diligent OR = { has_trait = gregarious has_trait = lifestyle_reveler } }