pam_legacy_track = { is_shown = { has_dlc_feature = by_god_alone OR = { has_game_rule = unrestricted_dynasty_legacies_all AND = { has_game_rule = unrestricted_dynasty_legacies_player_only is_ai = no } dynasty = { OR = { dynast = { OR = { faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:protestant_religion } } has_dynasty_perk = pam_legacy_1 } } } } }