From 7be1d9b7e0c5609eceb4393e49197965b67f300d Mon Sep 17 00:00:00 2001 From: Greekman Date: Sat, 3 Oct 2026 02:28:45 +0100 Subject: [PATCH] a lot of shit mostly orthodox and shit like that --- .../00_divinity_custom_loc.txt | 2928 +++- common/flavorization/00_title_holders.txt | 682 +- common/flavorization/20_pam_flavorization.txt | 53 +- common/governments/00_government_types.txt | 53 - .../02_theocratic_government_types.txt | 161 + common/on_action/dlc/pam/pam_on_actions.txt | 544 + .../faith_types/NEOW_faiths_orthodox.txt | 4 - common/scripted_effects/pam_effects.txt | 14582 ++++++++++++++++ .../characters/NEOW_byzantine_emperors.txt | 36 +- history/characters/NEOW_e_greece.txt | 48 +- history/characters/NEOW_e_nistrenia.txt | 2 +- .../characters/NEOW_ecumenical_patriarchs.txt | 126 +- .../titles/ce3/00_ecclesiastical_titles.txt | 4477 +++++ .../english/replace/council_l_english.yml | 85 +- .../culture/culture_titles_l_english.yml | 1560 ++ .../dlc/pam/pam_flavorization_l_english.yml | 12 + 16 files changed, 24635 insertions(+), 718 deletions(-) create mode 100644 common/governments/02_theocratic_government_types.txt create mode 100644 common/on_action/dlc/pam/pam_on_actions.txt create mode 100644 common/scripted_effects/pam_effects.txt create mode 100644 history/titles/ce3/00_ecclesiastical_titles.txt create mode 100644 localization/english/replace/culture/culture_titles_l_english.yml create mode 100644 localization/english/replace/dlc/pam/pam_flavorization_l_english.yml diff --git a/common/customizable_localization/00_divinity_custom_loc.txt b/common/customizable_localization/00_divinity_custom_loc.txt index 413f073b5..4b8b85c68 100644 --- a/common/customizable_localization/00_divinity_custom_loc.txt +++ b/common/customizable_localization/00_divinity_custom_loc.txt @@ -38,18 +38,18 @@ ToleranceValue = { } } } -# text = { -# localization_key = tolerance_evil -# -# trigger = { -# faith = { -# faith_hostility_level = { -# target = scope:second.faith -# value = faith_evil_level -# } -# } -# } -# } + text = { + localization_key = tolerance_evil + + trigger = { + faith = { + faith_hostility_level = { + target = scope:second.faith + value = faith_evil_level + } + } + } + } } ToleranceValueConcept = { @@ -159,12 +159,12 @@ DefaultPriestTitle = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_male_only + rite_has_doctrine = doctrine_clerical_gender_male_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_male_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_male_dominated } } } @@ -174,12 +174,12 @@ DefaultPriestTitle = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_female_only + rite_has_doctrine = doctrine_clerical_gender_female_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_female_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_female_dominated } } } @@ -189,9 +189,9 @@ DefaultPriestTitle = { text = { trigger = { - faith = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_equal + rite = { + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_equal } } localization_key = neuter_priest_title @@ -204,12 +204,12 @@ DefaultPriestTitlePlural = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_male_only + rite_has_doctrine = doctrine_clerical_gender_male_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_male_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_male_dominated } } } @@ -219,12 +219,12 @@ DefaultPriestTitlePlural = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_female_only + rite_has_doctrine = doctrine_clerical_gender_female_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_female_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_female_dominated } } } @@ -234,9 +234,9 @@ DefaultPriestTitlePlural = { text = { trigger = { - faith = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_equal + rite = { + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_equal } } localization_key = neuter_priest_title_plural @@ -250,12 +250,12 @@ DefaultPriestWomenMen = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_male_only + rite_has_doctrine = doctrine_clerical_gender_male_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_male_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_male_dominated } } } @@ -265,12 +265,12 @@ DefaultPriestWomenMen = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_female_only + rite_has_doctrine = doctrine_clerical_gender_female_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_female_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_female_dominated } } } @@ -280,9 +280,9 @@ DefaultPriestWomenMen = { text = { trigger = { - faith = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_equal + rite = { + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_equal } } localization_key = CHARACTER_MEN @@ -295,12 +295,12 @@ DefaultBishopTitle = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_male_only + rite_has_doctrine = doctrine_clerical_gender_male_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_male_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_male_dominated } } } @@ -310,12 +310,12 @@ DefaultBishopTitle = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_female_only + rite_has_doctrine = doctrine_clerical_gender_female_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_female_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_female_dominated } } } @@ -325,9 +325,9 @@ DefaultBishopTitle = { text = { trigger = { - faith = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_equal + rite = { + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_equal } } localization_key = neuter_bishop_title @@ -340,12 +340,12 @@ DefaultBishopTitlePlural = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_male_only + rite_has_doctrine = doctrine_clerical_gender_male_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_male_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_male_dominated } } } @@ -355,12 +355,12 @@ DefaultBishopTitlePlural = { text = { trigger = { - faith = { + rite = { OR = { - has_doctrine = doctrine_clerical_gender_female_only + rite_has_doctrine = doctrine_clerical_gender_female_only AND = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_female_dominated + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_female_dominated } } } @@ -370,9 +370,9 @@ DefaultBishopTitlePlural = { text = { trigger = { - faith = { - has_doctrine = doctrine_clerical_gender_either - has_doctrine = doctrine_gender_equal + rite = { + rite_has_doctrine = doctrine_clerical_gender_either + rite_has_doctrine = doctrine_gender_equal } } localization_key = neuter_bishop_title_plural @@ -406,8 +406,23 @@ GetUnbelieverName = { #Returns Heathens for Pagans and Infidels for other Faiths. GetUnbelieverNamePlural = { type = character - parent = GetUnbelieverName - suffix = _plural + + text = { + trigger = { + faith = { + has_doctrine = pagan_hostility_doctrine + } + } + localization_key = unbeliever_heathen_plural + } + text = { + trigger = { + faith = { + NOT = { has_doctrine = pagan_hostility_doctrine } + } + } + localization_key = unbeliever_infidel_plural + } } GetUnbelieverTerm = { @@ -445,8 +460,29 @@ GetUnbelieverTermPlural = { GetUnbelieverTermAdjective = { type = character - parent = GetUnbelieverTerm - suffix = _adj + + text = { + trigger = { + is_infidel_trigger = { WHO = scope:second TARGET = root} + } + localization_key = unbeliever_infidel_adj + } + text = { + trigger = { + is_heathen_trigger = { WHO = scope:second TARGET = root} + } + localization_key = unbeliever_heathen_adj + } + text = { + trigger = { + is_heretic_trigger = { WHO = scope:second TARGET = root} + } + localization_key = unbeliever_heretic_adj + } + text = { + trigger = { always = yes } + localization_key = unbeliever_unbeliever_adj + } } GetUnbelieverAndForeignerTerm = { @@ -600,8 +636,8 @@ GetAfterLifeDestination = { text = { trigger = { - faith = { - has_doctrine_parameter = reincarnation_resistance_to_conversion + rite = { + rite_has_parameter = reincarnation_resistance_to_conversion } } localization_key = character_afterlife_reincarnation @@ -624,6 +660,45 @@ GetActualBishopTitle = { type = character # 'Early Out' keys for Head of Faith/Landed Rulers. + text = { + trigger = { + pam_is_antipope_trigger = yes + is_female = yes + } + localization_key = anti_religious_head_name_female + } + + text = { + trigger = { + pam_is_antipope_trigger = yes + } + localization_key = anti_religious_head_name + } + + text = { + trigger = { + pam_is_ecumenical_patriarch_trigger = yes + is_female = yes + } + localization_key = ecumenical_matriarch + } + + text = { + trigger = { + pam_is_ecumenical_patriarch_trigger = yes + } + localization_key = ecumenical_patriarch + } + + text = { + trigger = { + exists = faith.religious_head + this = faith.religious_head + is_female = yes + } + localization_key = religious_head_name_female + } + text = { trigger = { exists = faith.religious_head @@ -632,154 +707,149 @@ GetActualBishopTitle = { localization_key = religious_head_name } +# text = { # No longer relevant now that we scope directly to the court owner +# trigger = { +# is_playable_character = yes +# } +# localization_key = ruler_title_name +# } + # Religion-By-Religion Titles for Bishops based on Liege's Tier. - #Thelema + # Zunism text = { trigger = { - highest_held_title_tier >= tier_empire - OR = { - faith.religion = faith:victorian.religion + highest_held_title_tier >= tier_kingdom + faith.religion = faith:zun_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } } } - localization_key = councillor_court_chaplain_thelema_religion_empire + localization_key = councillor_court_chaplain_zunism_religion_kingdom + } + text = { + trigger = { + highest_held_title_tier < tier_kingdom + faith.religion = faith:zun_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_zunism_religion_duchy + } + + # Zoroastrianism + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + fp3_custom_divinity_for_zoroastrianism_faiths = yes + } + localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom } text = { trigger = { highest_held_title_tier >= tier_kingdom - OR = { - faith.religion = faith:victorian.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } } + fp3_custom_divinity_for_zoroastrianism_faiths = yes } - localization_key = councillor_court_chaplain_thelema_religion_kingdom + localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom_female } text = { trigger = { highest_held_title_tier >= tier_duchy - OR = { - faith.religion = faith:victorian.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } } + fp3_custom_divinity_for_zoroastrianism_faiths = yes } - localization_key = councillor_court_chaplain_thelema_religion_duchy + localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + fp3_custom_divinity_for_zoroastrianism_faiths = yes + } + localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy_female } text = { trigger = { highest_held_title_tier < tier_duchy - OR = { - faith.religion = faith:victorian.religion + fp3_custom_divinity_for_zoroastrianism_faiths = yes + } + localization_key = councillor_court_chaplain_zoroastrianism_religion_county + } + # African Roog + text = { + trigger = { + faith.religion = faith:west_african_roog_pagan.religion + } + localization_key = councillor_court_chaplain_west_african_roog_religion_duchy + } + # African Bori + text = { + trigger = { + faith.religion = faith:west_african_bori_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } } } - localization_key = councillor_court_chaplain_thelema_religion_county + localization_key = councillor_court_chaplain_west_african_bori_religion_duchy + } + text = { + trigger = { + faith.religion = faith:west_african_bori_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_west_african_bori_religion_duchy_female + } + # African + text = { + trigger = { + faith.religion = faith:west_african_pagan.religion + } + localization_key = councillor_court_chaplain_west_african_religion_duchy + } + + # Tengrism + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:tengri_pagan.religion + } + localization_key = councillor_court_chaplain_tengrism_religion_kingdom + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:tengri_pagan.religion + } + localization_key = councillor_court_chaplain_tengrism_religion_duchy } - -# # Zoroastrianism -# text = { -# trigger = { -# highest_held_title_tier >= tier_kingdom -# NOT = { # Required formatting to include male/female check as well as vacancy -# cp:councillor_court_chaplain ?= { -# is_female = yes -# } -# } -# #fp3_custom_divinity_for_zoroastrianism_faiths = yes -# } -# localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom -# } -# text = { -# trigger = { -# highest_held_title_tier >= tier_kingdom -# NOT = { # Required formatting to include male/female check as well as vacancy -# cp:councillor_court_chaplain ?= { -# is_female = no -# } -# } -# #fp3_custom_divinity_for_zoroastrianism_faiths = yes -# } -# localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom_female -# } -# text = { -# trigger = { -# highest_held_title_tier >= tier_duchy -# NOT = { # Required formatting to include male/female check as well as vacancy -# cp:councillor_court_chaplain ?= { -# is_female = yes -# } -# } -# #fp3_custom_divinity_for_zoroastrianism_faiths = yes -# } -# localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy -# } -# text = { -# trigger = { -# highest_held_title_tier >= tier_duchy -# NOT = { # Required formatting to include male/female check as well as vacancy -# cp:councillor_court_chaplain ?= { -# is_female = no -# } -# } -# #fp3_custom_divinity_for_zoroastrianism_faiths = yes -# } -# localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy_female -# } -# text = { -# trigger = { -# highest_held_title_tier < tier_duchy -# fp3_custom_divinity_for_zoroastrianism_faiths = yes -# } -# localization_key = councillor_court_chaplain_zoroastrianism_religion_county -# } -# # African Roog -# text = { -# trigger = { -# faith.religion = faith:west_african_roog_pagan.religion -# } -# localization_key = councillor_court_chaplain_west_african_roog_religion_duchy -# } -# # African Bori -# text = { -# trigger = { -# faith.religion = faith:west_african_bori_pagan.religion -# NOT = { # Required formatting to include male/female check as well as vacancy -# cp:councillor_court_chaplain ?= { -# is_female = yes -# } -# } -# } -# localization_key = councillor_court_chaplain_west_african_bori_religion_duchy -# } -# text = { -# trigger = { -# faith.religion = faith:west_african_bori_pagan.religion -# NOT = { # Required formatting to include male/female check as well as vacancy -# cp:councillor_court_chaplain ?= { -# is_female = yes -# } -# } -# } -# localization_key = councillor_court_chaplain_west_african_bori_religion_duchy_female -# } -# # African -# text = { -# trigger = { -# faith.religion = faith:west_african_pagan.religion -# } -# localization_key = councillor_court_chaplain_west_african_religion_duchy -# } -# -# # Tengrism -# text = { -# trigger = { -# highest_held_title_tier >= tier_duchy -# faith.religion = faith:tengri_pagan.religion -# } -# localization_key = councillor_court_chaplain_tengrism_religion_kingdom -# } -# text = { -# trigger = { -# highest_held_title_tier < tier_duchy -# faith.religion = faith:tengri_pagan.religion -# } -# localization_key = councillor_court_chaplain_tengrism_religion_duchy -# } #Taoism text = { @@ -826,14 +896,14 @@ GetActualBishopTitle = { trigger = { faith.religion = faith:finnish_pagan.religion } - localization_key = councillor_court_chaplain_finnic_religion_duchy + localization_key = councillor_court_chaplain_finno_ugric_religion_duchy } #Slavic text = { trigger = { highest_held_title_tier >= tier_duchy - faith.religion = faith:chernobozhye.religion + faith.religion = faith:slavic_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = yes @@ -845,7 +915,7 @@ GetActualBishopTitle = { text = { trigger = { highest_held_title_tier >= tier_duchy - faith.religion = faith:chernobozhye.religion + faith.religion = faith:slavic_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = no @@ -857,7 +927,7 @@ GetActualBishopTitle = { text = { trigger = { highest_held_title_tier < tier_duchy - faith.religion = faith:chernobozhye.religion + faith.religion = faith:slavic_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = yes @@ -869,7 +939,7 @@ GetActualBishopTitle = { text = { trigger = { highest_held_title_tier < tier_duchy - faith.religion = faith:chernobozhye.religion + faith.religion = faith:slavic_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = no @@ -914,8 +984,9 @@ GetActualBishopTitle = { } OR = { faith.religion = faith:baltic_pagan.religion - faith.religion = faith:chernobozhye.religion + faith.religion = faith:slavic_pagan.religion faith.religion = faith:finnish_pagan.religion + faith.religion = faith:zun_pagan.religion } } localization_key = councillor_court_chaplain_baltic_religion_county @@ -930,8 +1001,9 @@ GetActualBishopTitle = { } OR = { faith.religion = faith:baltic_pagan.religion - faith.religion = faith:chernobozhye.religion + faith.religion = faith:slavic_pagan.religion faith.religion = faith:finnish_pagan.religion + faith.religion = faith:zun_pagan.religion } } localization_key = councillor_court_chaplain_baltic_religion_county_female @@ -949,28 +1021,28 @@ GetActualBishopTitle = { text = { trigger = { highest_held_title_tier >= tier_empire - faith.religion = faith:kabbalist.religion + faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_empire } text = { trigger = { highest_held_title_tier >= tier_kingdom - faith.religion = faith:kabbalist.religion + faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_kingdom } text = { trigger = { highest_held_title_tier >= tier_duchy - faith.religion = faith:kabbalist.religion + faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_duchy } text = { trigger = { highest_held_title_tier < tier_duchy - faith.religion = faith:kabbalist.religion + faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_county } @@ -979,78 +1051,78 @@ GetActualBishopTitle = { text = { trigger = { highest_held_title_tier >= tier_kingdom - faith.religion = faith:megalocratic.religion + faith.religion = faith:hellenic_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = yes } } } - localization_key = councillor_court_chaplain_theomach_religion_kingdom + localization_key = councillor_court_chaplain_hellenism_religion_kingdom } text = { trigger = { highest_held_title_tier >= tier_kingdom - faith.religion = faith:megalocratic.religion + faith.religion = faith:hellenic_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = no } } } - localization_key = councillor_court_chaplain_theomach_religion_kingdom_female + localization_key = councillor_court_chaplain_hellenism_religion_kingdom_female } text = { trigger = { highest_held_title_tier >= tier_duchy - faith.religion = faith:megalocratic.religion + faith.religion = faith:hellenic_pagan.religion } - localization_key = councillor_court_chaplain_theomach_religion_duchy + localization_key = councillor_court_chaplain_hellenism_religion_duchy } text = { trigger = { highest_held_title_tier < tier_duchy - faith.religion = faith:megalocratic.religion + faith.religion = faith:hellenic_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = yes } } } - localization_key = councillor_court_chaplain_theomach_religion_county + localization_key = councillor_court_chaplain_hellenism_religion_county } text = { trigger = { highest_held_title_tier < tier_duchy - faith.religion = faith:megalocratic.religion + faith.religion = faith:hellenic_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = no } } } - localization_key = councillor_court_chaplain_theomach_religion_county_female + localization_key = councillor_court_chaplain_hellenism_religion_county_female } #Norse text = { trigger = { highest_held_title_tier >= tier_kingdom - faith.religion = faith:folketro.religion + faith.religion = faith:norse_pagan.religion } localization_key = councillor_court_chaplain_germanic_religion_kingdom } text = { trigger = { highest_held_title_tier >= tier_duchy - faith.religion = faith:folketro.religion + faith.religion = faith:norse_pagan.religion } localization_key = councillor_court_chaplain_germanic_religion_duchy } text = { trigger = { highest_held_title_tier < tier_duchy - faith.religion = faith:folketro.religion + faith.religion = faith:norse_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = yes @@ -1062,7 +1134,7 @@ GetActualBishopTitle = { text = { trigger = { highest_held_title_tier < tier_duchy - faith.religion = faith:folketro.religion + faith.religion = faith:norse_pagan.religion NOT = { # Required formatting to include male/female check as well as vacancy cp:councillor_court_chaplain ?= { is_female = no @@ -1072,23 +1144,23 @@ GetActualBishopTitle = { localization_key = councillor_court_chaplain_germanic_religion_county_female } -# #Dualism -# text = { -# trigger = { -# highest_held_title_tier < tier_duchy -# faith.religion = faith:manichean.religion -# } -# localization_key = councillor_court_chaplain_dualism_religion_county -# } -# -# #Bon -# text = { -# trigger = { -# highest_held_title_tier >= tier_kingdom -# faith.religion = faith:bon.religion -# } -# localization_key = councillor_court_chaplain_bon_religion_kingdom -# } + #Dualism + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:manichaean_faith.religion + } + localization_key = councillor_court_chaplain_dualism_religion_county + } + + #Bon + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:bon_faith.religion + } + localization_key = councillor_court_chaplain_bon_religion_kingdom + } # Japanese Buddhism text = { @@ -1136,9 +1208,9 @@ GetActualBishopTitle = { } } OR = { - faith = faith:dhyana + faith = faith:mahayana_faith AND = { - faith = { has_doctrine = tenet_no_mind } + rite = { rite_has_tenet = tenet_no_mind } religion = religion:buddhism_religion } } @@ -1168,9 +1240,9 @@ GetActualBishopTitle = { } } OR = { - faith = faith:dhyana + faith = faith:mahayana_faith AND = { - faith = { has_doctrine = tenet_no_mind } + rite = { rite_has_tenet = tenet_no_mind } religion = religion:buddhism_religion } } @@ -1191,14 +1263,23 @@ GetActualBishopTitle = { localization_key = councillor_court_chaplain_buddhist_korean_empire } + # Viet Buddhism + text = { + trigger = { + culture = { has_cultural_pillar = language_vietnamese } + religion = religion:buddhism_religion + } + localization_key = councillor_court_chaplain_buddhist_viet + } + #Buddhism/Hinduism/Jainism text = { trigger = { highest_held_title_tier >= tier_empire OR = { - faith.religion = faith:osvicenist.religion - faith.religion = faith:vaishnavism.religion - faith.religion = faith:digambara.religion + faith.religion = faith:theravada_faith.religion + faith.religion = faith:vaishnava_faith.religion + faith.religion = faith:jain_faith.religion } } localization_key = councillor_court_chaplain_buddhism_religion_empire @@ -1207,9 +1288,9 @@ GetActualBishopTitle = { trigger = { highest_held_title_tier >= tier_kingdom OR = { - faith.religion = faith:osvicenist.religion - faith.religion = faith:vaishnavism.religion - faith.religion = faith:digambara.religion + faith.religion = faith:theravada_faith.religion + faith.religion = faith:vaishnava_faith.religion + faith.religion = faith:jain_faith.religion } } localization_key = councillor_court_chaplain_buddhism_religion_kingdom @@ -1218,9 +1299,10 @@ GetActualBishopTitle = { trigger = { highest_held_title_tier >= tier_duchy OR = { - faith.religion = faith:osvicenist.religion - faith.religion = faith:vaishnavism.religion - faith.religion = faith:digambara.religion + faith.religion = faith:theravada_faith.religion + faith.religion = faith:vaishnava_faith.religion + faith.religion = faith:jain_faith.religion + faith.religion = faith:bon_faith.religion } } localization_key = councillor_court_chaplain_buddhism_religion_duchy @@ -1229,9 +1311,10 @@ GetActualBishopTitle = { trigger = { highest_held_title_tier < tier_duchy OR = { - faith.religion = faith:osvicenist.religion - faith.religion = faith:vaishnavism.religion - faith.religion = faith:digambara.religion + faith.religion = faith:theravada_faith.religion + faith.religion = faith:vaishnava_faith.religion + faith.religion = faith:jain_faith.religion + faith.religion = faith:bon_faith.religion } } localization_key = councillor_court_chaplain_buddhism_religion_county @@ -1239,119 +1322,690 @@ GetActualBishopTitle = { #Shia text = { - trigger = { highest_held_title_tier >= tier_empire faith = faith:ismaili } + trigger = { highest_held_title_tier >= tier_empire rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_empire } text = { - trigger = { highest_held_title_tier >= tier_kingdom faith = faith:ismaili } + trigger = { highest_held_title_tier >= tier_kingdom rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_kingdom } text = { - trigger = { highest_held_title_tier < tier_duchy faith = faith:ismaili } + trigger = { highest_held_title_tier < tier_duchy rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_county } #Islam text = { - trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:aqlani.religion } + trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_empire } text = { - trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:aqlani.religion } + trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_kingdom } text = { - trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:aqlani.religion } + trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_duchy } text = { - trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:aqlani.religion } + trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_county } #Yazidi text = { - trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:yazidi.religion } + trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_empire } text = { - trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:yazidi.religion } + trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_kingdom } text = { - trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:yazidi.religion } + trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_duchy } text = { - trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:yazidi.religion } + trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_county } + + # Cyprus: autocephalous Archbishopric. This must come before the holy-site Patriarch check. + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_title = title:d_et_cyprus + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_archbishop_female + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_title = title:d_et_cyprus + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_archbishop + } + + # NEOW Kyiv/Nistrenia/Rus' Exarchate: checked before Orthodox holy-site Patriarch logic. + text = { + trigger = { + is_female = yes + faith.religion = religion:eastern_orthodox_religion + has_title = title:d_et_kyiv + title:d_et_kyiv = { NOT = { has_variable = neow_kyiv_autocephalous } } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_exarch_female + } + text = { + trigger = { + faith.religion = religion:eastern_orthodox_religion + has_title = title:d_et_kyiv + title:d_et_kyiv = { NOT = { has_variable = neow_kyiv_autocephalous } } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_exarch + } + + # Patriarch exception + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + OR = { + primary_title ?= title:d_et_alexandria + primary_title ?= title:d_et_antioch + primary_title ?= title:d_et_aquileia + primary_title ?= title:d_et_jerusalem + cp:councillor_court_chaplain ?= { + OR = { + primary_title ?= title:d_et_alexandria + primary_title ?= title:d_et_antioch + primary_title ?= title:d_et_aquileia + primary_title ?= title:d_et_jerusalem + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site + } + + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site_female + } + + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site + } + #Orthodox text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } cp:councillor_court_chaplain ?= { - is_female = yes + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } } } - faith.religion = faith:orthodox.religion } - localization_key = councillor_court_chaplain_orthodox_empire + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site_female } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } cp:councillor_court_chaplain ?= { - is_female = no + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } } } - faith.religion = faith:orthodox.religion } - localization_key = councillor_court_chaplain_orthodox_empire_female + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site } text = { trigger = { - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } cp:councillor_court_chaplain ?= { - is_female = yes + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } } } - faith.religion = faith:orthodox.religion } - localization_key = councillor_court_chaplain_orthodox_kingdom + localization_key = councillor_court_chaplain_orthodox_clerical_region } text = { trigger = { - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_council_position = councillor_court_chaplain + liege ?= { + highest_held_title_tier >= tier_duchy } - faith.religion = faith:orthodox.religion } - localization_key = councillor_court_chaplain_orthodox_kingdom_female + localization_key = councillor_court_chaplain_orthodox_duchy_female } text = { trigger = { - highest_held_title_tier >= tier_duchy - faith.religion = faith:orthodox.religion + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_council_position = councillor_court_chaplain + liege ?= { + highest_held_title_tier >= tier_duchy + } } localization_key = councillor_court_chaplain_orthodox_duchy } text = { trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_council_position = councillor_court_chaplain + } + localization_key = councillor_court_chaplain_orthodox_county_female + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_council_position = councillor_court_chaplain + } + localization_key = councillor_court_chaplain_orthodox_county + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_orthodox_duchy_female + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_orthodox_duchy + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } highest_held_title_tier < tier_duchy - faith.religion = faith:orthodox.religion + } + localization_key = councillor_court_chaplain_orthodox_county_female + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + highest_held_title_tier < tier_duchy + } + localization_key = councillor_court_chaplain_orthodox_county + } + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_duchy + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_female + } + text = { + trigger = { + highest_held_title_tier >= tier_empire + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy + } + text = { + trigger = { + highest_held_title_tier >= tier_empire + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy + } + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy + } + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy + } + text = { + trigger = { + is_female = yes + highest_held_title_tier < tier_duchy + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_county_female + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } } localization_key = councillor_court_chaplain_orthodox_county } #Christian + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + is_landless_type_title = no + } + } + localization_key = duke_theocracy_female_christianity_religion_archbishop_holder + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + is_landless_type_title = no + } + } + localization_key = duke_theocracy_male_christianity_religion_archbishop_holder + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_county + is_landless_type_title = no + } + } + localization_key = count_theocracy_female_christianity_religion_archbishop_holder + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_county + is_landless_type_title = no + } + } + localization_key = count_theocracy_male_christianity_religion_archbishop_holder + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region_female + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region_female + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + has_council_position = councillor_court_chaplain + liege ?= { + highest_held_title_tier >= tier_duchy + } + } + localization_key = councillor_court_chaplain_catholic_duchy_female + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + has_council_position = councillor_court_chaplain + liege ?= { + highest_held_title_tier >= tier_duchy + } + } + localization_key = councillor_court_chaplain_catholic_duchy + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + has_council_position = councillor_court_chaplain + } + localization_key = councillor_court_chaplain_catholic_county + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_catholic_duchy_female + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_catholic_duchy + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + highest_held_title_tier < tier_duchy + } + localization_key = councillor_court_chaplain_catholic_county + } + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_duchy + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + } + localization_key = councillor_court_chaplain_christian_duchy_female + } text = { trigger = { highest_held_title_tier >= tier_empire @@ -1360,12 +2014,9 @@ GetActualBishopTitle = { is_female = yes } } - OR = { - faith.religion = faith:lutheran_faith.religion - faith.religion = faith:roman_catholic.religion - } + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } - localization_key = councillor_court_chaplain_christian_empire + localization_key = councillor_court_chaplain_christian_duchy } text = { trigger = { @@ -1375,40 +2026,38 @@ GetActualBishopTitle = { is_female = no } } - OR = { - faith.religion = faith:lutheran_faith.religion - faith.religion = faith:roman_catholic.religion - } - } - localization_key = councillor_court_chaplain_christian_empire_female - } - text = { - trigger = { highest_held_title_tier >= tier_kingdom - OR = { - faith.religion = faith:lutheran_faith.religion - faith.religion = faith:roman_catholic.religion - } - } - localization_key = councillor_court_chaplain_christian_kingdom - } - text = { - trigger = { highest_held_title_tier >= tier_duchy - OR = { - faith.religion = faith:lutheran_faith.religion - faith.religion = faith:roman_catholic.religion - } + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } localization_key = councillor_court_chaplain_christian_duchy } text = { - trigger = { highest_held_title_tier < tier_duchy - OR = { - faith.religion = faith:lutheran_faith.religion - faith.religion = faith:roman_catholic.religion - } + trigger = { highest_held_title_tier >= tier_kingdom OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } + localization_key = councillor_court_chaplain_christian_duchy + } + text = { + trigger = { highest_held_title_tier >= tier_duchy OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } + localization_key = councillor_court_chaplain_christian_duchy + } + text = { + trigger = { + is_female = yes + highest_held_title_tier < tier_duchy + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } + localization_key = councillor_court_chaplain_christian_county_female + } + text = { + trigger = { highest_held_title_tier < tier_duchy OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } localization_key = councillor_court_chaplain_christian_county } + + #Basque Paganism + text = { + trigger = { + religion = religion:basque_religion + } + localization_key = council_basque_priest + } # Shinto text = { @@ -1457,7 +2106,15 @@ GetActualBishopTitle = { } localization_key = councillor_court_chaplain_paganism_religion_county } + #Fallback + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_empire + } + localization_key = councillor_court_chaplain_theocrat_empire_female + } text = { trigger = { highest_held_title_tier >= tier_empire @@ -1480,25 +2137,1614 @@ GetActualBishopTitle = { } localization_key = councillor_court_chaplain_theocrat_empire_female } + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_kingdom + } + localization_key = councillor_court_chaplain_theocrat_kingdom_female + } text = { trigger = { highest_held_title_tier >= tier_kingdom } localization_key = councillor_court_chaplain_theocrat_kingdom } + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_theocrat_duchy_female + } text = { trigger = { highest_held_title_tier >= tier_duchy } localization_key = councillor_court_chaplain_theocrat_duchy } + text = { + trigger = { + is_female = yes + highest_held_title_tier < tier_duchy + } + localization_key = councillor_court_chaplain_theocrat_county_female + } text = { trigger = { highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_theocrat_county } } +GetActualCountTheocracyTitle = { + type = character + + text = { + trigger = { + exists = clerical_elector_title + } + localization_key = count_theocracy_male_christianity_religion_cardinal + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + } + localization_key = count_theocracy_female_christianity_religion_archbishop_holder + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + } + localization_key = count_theocracy_male_christianity_religion_archbishop_holder + } + text = { + trigger = { is_female = yes } + localization_key = count_theocracy_female_christianity_religion_default + } + text = { + localization_key = count_theocracy_male_christianity_religion_default + } +} + +GetActualDukeTheocracyTitle = { + type = character + + # 'Early Out' keys for the Eastern Christian sees that keep their own head titles rather than Patriarch. + text = { + trigger = { + has_title = title:d_coptic_papacy + is_female = yes + } + localization_key = coptic_religious_head_title_female + } + + text = { + trigger = { + has_title = title:d_coptic_papacy + } + localization_key = coptic_religious_head_title + } + + text = { + trigger = { + has_title = title:d_apostolic_church + } + localization_key = apostolic_religious_head_title + } + + text = { + trigger = { + exists = clerical_elector_title + } + localization_key = duke_theocracy_male_christianity_religion_cardinal + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + } + localization_key = duke_theocracy_female_christianity_religion_archbishop_holder + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + } + localization_key = duke_theocracy_male_christianity_religion_archbishop_holder + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site_female + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site_female + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region_female + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region + } + text = { + trigger = { is_female = yes } + localization_key = duke_theocracy_female_christianity_religion_default + } + text = { + localization_key = duke_theocracy_male_christianity_religion_default + } +} + # GetActualBishopTitle should be updated synchronously with this GetActualBishopTitlePossessive = { type = character - parent = GetActualBishopTitle - suffix = _possessive + + text = { + trigger = { + pam_is_antipope_trigger = yes + is_female = yes + } + localization_key = anti_religious_head_name_female_possessive + } + + text = { + trigger = { + pam_is_antipope_trigger = yes + } + localization_key = anti_religious_head_name_possessive + } + + text = { + trigger = { + pam_is_ecumenical_patriarch_trigger = yes + is_female = yes + } + localization_key = ecumenical_matriarch_possessive + } + + text = { + trigger = { + pam_is_ecumenical_patriarch_trigger = yes + } + localization_key = ecumenical_patriarch_possessive + } + + text = { + trigger = { + exists = faith.religious_head + this = faith.religious_head + is_female = yes + } + localization_key = religious_head_name_female_possessive + } + + text = { + trigger = { + exists = faith.religious_head + this = faith.religious_head + } + localization_key = religious_head_name_possessive + } + + # Religion-By-Religion Titles for Bishops based on Liege's Tier. + # Zunism + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:zun_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_zunism_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_kingdom + faith.religion = faith:zun_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_zunism_religion_duchy_possessive + } + + # Zoroastrianism + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:mazdayasna.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:mazdayasna.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom_female_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:mazdayasna.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:mazdayasna.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy_female_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:mazdayasna.religion + } + localization_key = councillor_court_chaplain_zoroastrianism_religion_county_possessive + } + # African Roog + text = { + trigger = { + faith.religion = faith:west_african_roog_pagan.religion + } + localization_key = councillor_court_chaplain_west_african_roog_religion_duchy_possessive + } + # African Bori + text = { + trigger = { + faith.religion = faith:west_african_bori_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_west_african_bori_religion_duchy_possessive + } + text = { + trigger = { + faith.religion = faith:west_african_bori_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_west_african_bori_religion_duchy_female_possessive + } + # African + text = { + trigger = { + faith.religion = faith:west_african_pagan.religion + } + localization_key = councillor_court_chaplain_west_african_religion_duchy_possessive + } + + # Tengrism + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:tengri_pagan.religion + } + localization_key = councillor_court_chaplain_tengrism_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:tengri_pagan.religion + } + localization_key = councillor_court_chaplain_tengrism_religion_duchy_possessive + } + + #Taoism + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = religion:taoism_religion + } + localization_key = councillor_court_chaplain_taoism_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = religion:taoism_religion + } + localization_key = councillor_court_chaplain_taoism_religion_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = religion:taoism_religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_taoism_religion_county_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = religion:taoism_religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_taoism_religion_county_female_possessive + } + + #Finno-Ugric + text = { + trigger = { + faith.religion = faith:finnish_pagan.religion + } + localization_key = councillor_court_chaplain_finno_ugric_religion_duchy_possessive + } + + #Slavic + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:slavic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_slavic_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:slavic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_slavic_religion_kingdom_female_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:slavic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_slavic_religion_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:slavic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_slavic_religion_duchy_female_possessive + } + + #Baltic + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:baltic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_baltic_religion_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:baltic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_baltic_religion_duchy_female_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + OR = { + faith.religion = faith:baltic_pagan.religion + faith.religion = faith:slavic_pagan.religion + faith.religion = faith:finnish_pagan.religion + faith.religion = faith:zun_pagan.religion + } + } + localization_key = councillor_court_chaplain_baltic_religion_county_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + OR = { + faith.religion = faith:baltic_pagan.religion + faith.religion = faith:slavic_pagan.religion + faith.religion = faith:finnish_pagan.religion + faith.religion = faith:zun_pagan.religion + } + } + localization_key = councillor_court_chaplain_baltic_religion_county_female_possessive + } + + #Magyarism + text = { + trigger = { + faith.religion = faith:magyar_pagan.religion + } + localization_key = councillor_court_chaplain_magyarism_religion_county_possessive + } + + #Judaism + text = { + trigger = { + highest_held_title_tier >= tier_empire + faith.religion = faith:rabbinic_faith.religion + } + localization_key = councillor_court_chaplain_judaism_religion_empire_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:rabbinic_faith.religion + } + localization_key = councillor_court_chaplain_judaism_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:rabbinic_faith.religion + } + localization_key = councillor_court_chaplain_judaism_religion_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:rabbinic_faith.religion + } + localization_key = councillor_court_chaplain_judaism_religion_county_possessive + } + + #Hellenic + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:hellenic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_hellenism_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:hellenic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_hellenism_religion_kingdom_female_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:hellenic_pagan.religion + } + localization_key = councillor_court_chaplain_hellenism_religion_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:hellenic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_hellenism_religion_county_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:hellenic_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_hellenism_religion_county_female_possessive + } + + #Norse + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:norse_pagan.religion + } + localization_key = councillor_court_chaplain_germanic_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + faith.religion = faith:norse_pagan.religion + } + localization_key = councillor_court_chaplain_germanic_religion_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:norse_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_germanic_religion_county_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:norse_pagan.religion + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_germanic_religion_county_female_possessive + } + + #Dualism + text = { + trigger = { + highest_held_title_tier < tier_duchy + faith.religion = faith:manichaean_faith.religion + } + localization_key = councillor_court_chaplain_dualism_religion_county_possessive + } + + #Bon + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + faith.religion = faith:bon_faith.religion + } + localization_key = councillor_court_chaplain_bon_religion_kingdom_possessive + } + + #Buddhism/Hinduism/Jainism + text = { + trigger = { + highest_held_title_tier >= tier_empire + OR = { + faith.religion = faith:theravada_faith.religion + faith.religion = faith:vaishnava_faith.religion + faith.religion = faith:jain_faith.religion + } + } + localization_key = councillor_court_chaplain_buddhism_religion_empire_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + OR = { + faith.religion = faith:theravada_faith.religion + faith.religion = faith:vaishnava_faith.religion + faith.religion = faith:jain_faith.religion + } + } + localization_key = councillor_court_chaplain_buddhism_religion_kingdom_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + OR = { + faith.religion = faith:theravada_faith.religion + faith.religion = faith:vaishnava_faith.religion + faith.religion = faith:jain_faith.religion + faith.religion = faith:bon_faith.religion + } + } + localization_key = councillor_court_chaplain_buddhism_religion_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + OR = { + faith.religion = faith:theravada_faith.religion + faith.religion = faith:vaishnava_faith.religion + faith.religion = faith:jain_faith.religion + faith.religion = faith:bon_faith.religion + } + } + localization_key = councillor_court_chaplain_buddhism_religion_county_possessive + } + + #Shia + text = { + trigger = { highest_held_title_tier >= tier_empire rite = rite:ismaili } + localization_key = councillor_court_chaplain_ismaili_empire_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_kingdom rite = rite:ismaili } + localization_key = councillor_court_chaplain_ismaili_kingdom_possessive + } + text = { + trigger = { highest_held_title_tier < tier_duchy rite = rite:ismaili } + localization_key = councillor_court_chaplain_ismaili_county_possessive + } + + #Islam + text = { + trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:sunni.religion } + localization_key = councillor_court_chaplain_islam_empire_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:sunni.religion } + localization_key = councillor_court_chaplain_islam_kingdom_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:sunni.religion } + localization_key = councillor_court_chaplain_islam_duchy_possessive + } + text = { + trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:sunni.religion } + localization_key = councillor_court_chaplain_islam_county_possessive + } + + #Yazidi + text = { + trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:yazidi_faith.religion } + localization_key = councillor_court_chaplain_yazidi_empire_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:yazidi_faith.religion } + localization_key = councillor_court_chaplain_yazidi_kingdom_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:yazidi_faith.religion } + localization_key = councillor_court_chaplain_yazidi_duchy_possessive + } + text = { + trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:yazidi_faith.religion } + localization_key = councillor_court_chaplain_yazidi_county_possessive + } + + + # Cyprus: autocephalous Archbishopric. Possessive form must use the same priority as GetActualBishopTitle. + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_title = title:d_et_cyprus + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_archbishop_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_title = title:d_et_cyprus + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_archbishop_possessive + } + + # NEOW Kyiv/Nistrenia/Rus' Exarchate possessive. + text = { + trigger = { + is_female = yes + faith.religion = religion:eastern_orthodox_religion + has_title = title:d_et_kyiv + title:d_et_kyiv = { NOT = { has_variable = neow_kyiv_autocephalous } } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_exarch_female_possessive + } + text = { + trigger = { + faith.religion = religion:eastern_orthodox_religion + has_title = title:d_et_kyiv + title:d_et_kyiv = { NOT = { has_variable = neow_kyiv_autocephalous } } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_exarch_possessive + } + + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + NOR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site_possessive + } + + #Orthodox + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith + } + } + } + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_holy_site_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_orthodox_clerical_region_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_council_position = councillor_court_chaplain + liege ?= { + highest_held_title_tier >= tier_duchy + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_council_position = councillor_court_chaplain + liege ?= { + highest_held_title_tier >= tier_duchy + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_council_position = councillor_court_chaplain + } + localization_key = councillor_court_chaplain_orthodox_county_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + has_council_position = councillor_court_chaplain + } + localization_key = councillor_court_chaplain_orthodox_county_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_orthodox_duchy_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_orthodox_duchy_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + highest_held_title_tier < tier_duchy + } + localization_key = councillor_court_chaplain_orthodox_county_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + highest_held_title_tier < tier_duchy + } + localization_key = councillor_court_chaplain_orthodox_county_possessive + } + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_duchy + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_female_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_empire + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_empire + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_kingdom + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_duchy + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_duchy_possessive + } + text = { + trigger = { + is_female = yes + highest_held_title_tier < tier_duchy + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_county_female_possessive + } + text = { + trigger = { + highest_held_title_tier < tier_duchy + OR = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } + faith.religion = faith:manichaean_faith.religion + } + } + localization_key = councillor_court_chaplain_orthodox_county_possessive + } + + #Christian + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + is_landless_type_title = no + } + } + localization_key = duke_theocracy_female_christianity_religion_archbishop_holder_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + is_landless_type_title = no + } + } + localization_key = duke_theocracy_male_christianity_religion_archbishop_holder_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_county + is_landless_type_title = no + } + } + localization_key = count_theocracy_female_christianity_religion_archbishop_holder_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_county + is_landless_type_title = no + } + } + localization_key = count_theocracy_male_christianity_religion_archbishop_holder_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + OR = { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + any_held_title = { + tier = tier_duchy + has_clerical_region = yes + } + cp:councillor_court_chaplain ?= { + primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + } + } + } + } + localization_key = councillor_court_chaplain_catholic_clerical_region_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + has_council_position = councillor_court_chaplain + liege ?= { + highest_held_title_tier >= tier_duchy + } + } + localization_key = councillor_court_chaplain_catholic_duchy_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + has_council_position = councillor_court_chaplain + liege ?= { + highest_held_title_tier >= tier_duchy + } + } + localization_key = councillor_court_chaplain_catholic_duchy_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + has_council_position = councillor_court_chaplain + } + localization_key = councillor_court_chaplain_catholic_county_possessive + } + text = { + trigger = { + is_female = yes + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_catholic_duchy_female_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_catholic_duchy_possessive + } + text = { + trigger = { + OR = { faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + highest_held_title_tier < tier_duchy + } + localization_key = councillor_court_chaplain_catholic_county_possessive + } + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_duchy + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + } + localization_key = councillor_court_chaplain_christian_duchy_female_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_empire + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + } + localization_key = councillor_court_chaplain_christian_duchy_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_empire + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + } + localization_key = councillor_court_chaplain_christian_duchy_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_kingdom OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } + localization_key = councillor_court_chaplain_christian_duchy_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_duchy OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } + localization_key = councillor_court_chaplain_christian_duchy_possessive + } + text = { + trigger = { + is_female = yes + highest_held_title_tier < tier_duchy + OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + } + localization_key = councillor_court_chaplain_christian_county_female_possessive + } + text = { + trigger = { highest_held_title_tier < tier_duchy OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } } + localization_key = councillor_court_chaplain_christian_county_possessive + } + # Shinto + text = { + trigger = { + religion = religion:shintoism_religion + } + localization_key = councillor_court_chaplain_shintoism_religion_possessive + } + + #Paganism + text = { + trigger = { + faith = { has_doctrine = pagan_hostility_doctrine } + highest_held_title_tier >= tier_kingdom + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_paganism_religion_kingdom_possessive + } + text = { + trigger = { + faith = { has_doctrine = pagan_hostility_doctrine } + highest_held_title_tier >= tier_kingdom + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_paganism_religion_kingdom_female_possessive + } + text = { + trigger = { + faith = { has_doctrine = pagan_hostility_doctrine } + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_paganism_religion_duchy_possessive + } + text = { + trigger = { + faith = { has_doctrine = pagan_hostility_doctrine } + highest_held_title_tier < tier_duchy + } + localization_key = councillor_court_chaplain_paganism_religion_county_possessive + } + + #Fallback + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_empire + } + localization_key = councillor_court_chaplain_theocrat_empire_female_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_empire + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = yes + } + } + } + localization_key = councillor_court_chaplain_theocrat_empire_possessive + } + text = { + trigger = { + highest_held_title_tier >= tier_empire + NOT = { # Required formatting to include male/female check as well as vacancy + cp:councillor_court_chaplain ?= { + is_female = no + } + } + } + localization_key = councillor_court_chaplain_theocrat_empire_female_possessive + } + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_kingdom + } + localization_key = councillor_court_chaplain_theocrat_kingdom_female_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_kingdom } + localization_key = councillor_court_chaplain_theocrat_kingdom_possessive + } + text = { + trigger = { + is_female = yes + highest_held_title_tier >= tier_duchy + } + localization_key = councillor_court_chaplain_theocrat_duchy_female_possessive + } + text = { + trigger = { highest_held_title_tier >= tier_duchy } + localization_key = councillor_court_chaplain_theocrat_duchy_possessive + } + text = { + trigger = { + is_female = yes + highest_held_title_tier < tier_duchy + } + localization_key = councillor_court_chaplain_theocrat_county_female_possessive + } + text = { + trigger = { highest_held_title_tier < tier_duchy } + localization_key = councillor_court_chaplain_theocrat_county_possessive + } } GetBirthOmen = { @@ -1520,7 +3766,7 @@ GetTaltosTerm = { type = character text = { - trigger = { religion = religion:mediterranean_religion } + trigger = { religion = religion:magyar_religion } localization_key = chosen_one_taltos } text = { @@ -1537,12 +3783,7 @@ GetReligiousRite = { text = { localization_key = rite_mass - trigger = { OR = { - religion = religion:eastern_orthodox_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - } - } + trigger = { faith = { religion = religion:christianity_religion } } } text = { localization_key = rite_prayer @@ -1580,8 +3821,17 @@ GetRiteEcumenismFullOrEmpty = { } text = { trigger = { - NOT = { - faith = { has_doctrine = special_doctrine_ecumenical_christian } + faith = { has_doctrine = special_doctrine_ecumenical_miaphysite } + } + localization_key = GetRiteEcumenismMiaphysiteFullOrEmpty_full + } + text = { + trigger = { + faith = { + NOR = { + has_doctrine = special_doctrine_ecumenical_christian + has_doctrine = special_doctrine_ecumenical_miaphysite + } } } localization_key = GetRiteEcumenismFullOrEmpty_empty @@ -1594,21 +3844,21 @@ ghw_from_which_tenet = { text = { trigger = { - faith = { has_doctrine = tenet_armed_pilgrimages } + rite = { rite_has_tenet = tenet_armed_pilgrimages } } localization_key = ghw_from_which_tenet_armed_pilgrimages } text = { trigger = { - faith = { has_doctrine = tenet_struggle_submission } + rite = { rite_has_tenet = tenet_struggle_submission } } localization_key = ghw_from_which_tenet_struggle_submission } text = { trigger = { - faith = { has_doctrine = tenet_warmonger } + rite = { rite_has_tenet = tenet_warmonger } } localization_key = ghw_from_which_tenet_warmonger } @@ -1621,7 +3871,7 @@ GetFaithTaxExemptInstitution = { # Theocratic clergy faiths exempt the Church. text = { trigger = { - faith = { has_doctrine_parameter = theocracy_temple_lease } + rite = { rite_has_parameter = theocracy_temple_lease } } localization_key = faithtaxexemption_the_church } @@ -1629,7 +3879,7 @@ GetFaithTaxExemptInstitution = { # Lay clergy faiths exempt charities. text = { trigger = { - faith = { has_doctrine_parameter = lay_clergy } + rite = { rite_has_parameter = lay_clergy } } fallback = yes localization_key = faithtaxexemption_charities diff --git a/common/flavorization/00_title_holders.txt b/common/flavorization/00_title_holders.txt index 0b165c3d8..57114cabb 100644 --- a/common/flavorization/00_title_holders.txt +++ b/common/flavorization/00_title_holders.txt @@ -694,178 +694,7 @@ king_theocracy_female_buddhism_religion = { } # Christianity -baron_theocracy_male_christianity_religion = { - type = character - gender = male - special = holder - tier = barony - priority = 7 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -baron_theocracy_female_christianity_religion = { - type = character - gender = female - special = holder - tier = barony - priority = 7 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -barony_theocracy_christianity_religion = { - type = title - tier = barony - priority = 7 - holding = church_holding - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -count_theocracy_male_christianity_religion = { - type = character - gender = male - special = holder - tier = county - priority = 18 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -count_theocracy_female_christianity_religion = { - type = character - gender = female - special = holder - tier = county - priority = 18 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -county_theocracy_christianity_religion = { - type = title - tier = county - priority = 18 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -duke_theocracy_male_christianity_religion = { - type = character - gender = male - special = holder - tier = duchy - priority = 27 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -duke_theocracy_female_christianity_religion = { - type = character - gender = female - special = holder - tier = duchy - priority = 27 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -duchy_theocracy_christianity_religion = { - type = title - tier = duchy - priority = 27 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } - flavourization_rules = { - top_liege = no - } -} -king_theocracy_male_christianity_religion = { - type = character - gender = male - special = holder - tier = kingdom - priority = 47 - flavourization_rules = { - top_liege = no - } - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } -} -king_theocracy_female_christianity_religion = { - type = character - gender = female - special = holder - tier = kingdom - priority = 47 - flavourization_rules = { - top_liege = no - } - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } -} -kingdom_theocracy_christianity_religion = { - type = title - tier = kingdom - flavourization_rules = { - top_liege = no - } - priority = 47 - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } -} -emperor_theocracy_male_christianity_religion = { - type = character - gender = male - special = holder - tier = empire - priority = 102 - flavourization_rules = { - top_liege = no - } - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } -} -emperor_theocracy_female_christianity_religion = { - type = character - gender = female - special = holder - tier = empire - priority = 102 - flavourization_rules = { - top_liege = no - } - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } -} -empire_theocracy_christianity_religion = { - type = title - tier = empire - priority = 102 - flavourization_rules = { - top_liege = no - } - governments = { theocracy_government } - religions = { eastern_orthodox_religion catholic_religion protestant_religion } -} -#Eastern Christians baron_orthodox = { type = character gender = male @@ -875,7 +704,7 @@ baron_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } barony_orthodox = { @@ -885,7 +714,7 @@ barony_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } count_orthodox = { @@ -897,7 +726,7 @@ count_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } county_orthodox = { @@ -907,7 +736,7 @@ county_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } duke_orthodox = { @@ -919,7 +748,7 @@ duke_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } duchy_orthodox = { @@ -929,7 +758,7 @@ duchy_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } king_orthodox = { @@ -941,7 +770,7 @@ king_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } kingdom_orthodox = { @@ -951,7 +780,7 @@ kingdom_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } emperor_orthodox = { @@ -963,7 +792,7 @@ emperor_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } empire_orthodox = { @@ -973,7 +802,7 @@ empire_orthodox = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } # girlboss for mostly wives presbytera @@ -986,7 +815,7 @@ baron_orthodox_female = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } count_orthodox_female = { @@ -998,7 +827,7 @@ count_orthodox_female = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } duke_orthodox_female = { @@ -1010,7 +839,7 @@ duke_orthodox_female = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } king_orthodox_female = { @@ -1022,7 +851,7 @@ king_orthodox_female = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } emperor_orthodox_female = { @@ -1034,9 +863,490 @@ emperor_orthodox_female = { flavourization_rules = { top_liege = no } - governments = { theocracy_government } + governments = { theocracy_government ecclesiastical_government } religions = { eastern_orthodox_religion oriental_orthodox_religion } } +# Christianity +baron_theocracy_male_christianity_religion = { + type = character + gender = male + special = holder + tier = barony + priority = 7 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +baron_theocracy_female_christianity_religion = { + type = character + gender = female + special = holder + tier = barony + priority = 7 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +barony_theocracy_christianity_religion = { + type = title + tier = barony + priority = 7 + holding = church_holding + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +count_theocracy_male_christianity_religion = { + type = character + gender = male + special = holder + tier = county + priority = 18 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +count_theocracy_female_christianity_religion = { + type = character + gender = female + special = holder + tier = county + priority = 18 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +count_theocracy_male_christianity_religion_cardinal = { + type = character + gender = male + special = holder + tier = county + priority = 19 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + flag = cardinal_flag +} +count_theocracy_female_christianity_religion_cardinal = { + type = character + gender = female + special = holder + tier = county + priority = 19 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + flag = cardinal_flag +} +county_theocracy_christianity_religion = { + type = title + tier = county + priority = 18 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_male_christianity_religion = { + type = character + gender = male + special = holder + tier = duchy + priority = 27 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_female_christianity_religion = { + type = character + gender = female + special = holder + tier = duchy + priority = 27 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_male_christianity_religion_archbishop = { + type = character + gender = male + special = clerical_region_holder + tier = duchy + priority = 27 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_female_christianity_religion_archbishop = { + type = character + gender = female + special = clerical_region_holder + tier = duchy + priority = 27 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_male_christianity_religion_clerical_region = { + type = character + gender = male + special = clerical_region_holder + tier = duchy + priority = 28 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_female_christianity_religion_clerical_region = { + type = character + gender = female + special = clerical_region_holder + tier = duchy + priority = 28 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_male_catholic_clerical_region_archbishop = { + type = character + gender = male + special = clerical_region_holder + tier = duchy + priority = 29 + governments = { theocracy_government ecclesiastical_government } + religions = { catholic_religion protestant_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_female_catholic_clerical_region_archbishop = { + type = character + gender = female + special = clerical_region_holder + tier = duchy + priority = 29 + governments = { theocracy_government ecclesiastical_government } + religions = { catholic_religion protestant_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_male_christian_faith_clerical_region = { + type = character + gender = male + special = clerical_region_holder + tier = duchy + priority = 29 + governments = { theocracy_government ecclesiastical_government } + faiths = { christian_faith } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_female_christian_faith_clerical_region = { + type = character + gender = female + special = clerical_region_holder + tier = duchy + priority = 29 + governments = { theocracy_government ecclesiastical_government } + faiths = { christian_faith } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_male_orthodox_clerical_region_metropolitan = { + type = character + gender = male + special = clerical_region_holder + tier = duchy + priority = 29 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_female_orthodox_clerical_region_metropolitan = { + type = character + gender = female + special = clerical_region_holder + tier = duchy + priority = 29 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_male_orthodox_clerical_region_archbishopric = { + type = character + gender = male + special = clerical_region_holder + tier = duchy + priority = 31 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion } + titles = { d_et_cyprus } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_female_orthodox_clerical_region_archbishopric = { + type = character + gender = female + special = clerical_region_holder + tier = duchy + priority = 31 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion } + titles = { d_et_cyprus } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_male_christianity_religion_cardinal = { + type = character + gender = male + special = holder + tier = duchy + priority = 28 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + flag = cardinal_flag +} +duke_theocracy_female_christianity_religion_cardinal = { + type = character + gender = female + special = holder + tier = duchy + priority = 28 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + flag = cardinal_flag +} +duke_theocracy_male_christianity_religion_archbishop_cardinal = { + type = character + gender = male + special = clerical_region_holder + tier = duchy + priority = 28 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + special_title = clerical_elector +} +duke_theocracy_female_christianity_religion_archbishop_cardinal = { + type = character + gender = female + special = clerical_region_holder + tier = duchy + priority = 28 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + special_title = clerical_elector +} +duchy_theocracy_christianity_religion = { + type = title + tier = duchy + priority = 27 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flavourization_rules = { + top_liege = no + } +} +king_theocracy_male_christianity_religion = { + type = character + gender = male + special = holder + tier = kingdom + priority = 47 + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } +} +king_theocracy_female_christianity_religion = { + type = character + gender = female + special = holder + tier = kingdom + priority = 47 + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } +} +king_theocracy_male_christianity_religion_cardinal = { + type = character + gender = male + special = holder + tier = kingdom + priority = 48 + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flag = cardinal_flag +} +king_theocracy_female_christianity_religion_cardinal = { + type = character + gender = female + special = holder + tier = kingdom + priority = 48 + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flag = cardinal_flag +} +kingdom_theocracy_christianity_religion = { + type = title + tier = kingdom + flavourization_rules = { + top_liege = no + } + priority = 47 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } +} +emperor_theocracy_male_christianity_religion = { + type = character + gender = male + special = holder + tier = empire + priority = 102 + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } +} +emperor_theocracy_female_christianity_religion = { + type = character + gender = female + special = holder + tier = empire + priority = 102 + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } +} +emperor_theocracy_male_christianity_religion_cardinal = { + type = character + gender = male + special = holder + tier = empire + priority = 103 + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flag = cardinal_flag +} +emperor_theocracy_female_christianity_religion_cardinal = { + type = character + gender = female + special = holder + tier = empire + priority = 103 + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } + flag = cardinal_flag +} +empire_theocracy_christianity_religion = { + type = title + tier = empire + priority = 102 + flavourization_rules = { + top_liege = no + } + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion dualism_religion } +} # john holy order holy_order_orthodox = { type = character diff --git a/common/flavorization/20_pam_flavorization.txt b/common/flavorization/20_pam_flavorization.txt index 74e4b54aa..3f77de465 100644 --- a/common/flavorization/20_pam_flavorization.txt +++ b/common/flavorization/20_pam_flavorization.txt @@ -1,11 +1,39 @@ ### Clerical Regions ### +duke_theocracy_male_orthodox_clerical_region_exarch = { + type = character + gender = male + special = clerical_region_holder + tier = duchy + priority = 32 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion } + flag = neow_orthodox_exarch_flag + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} +duke_theocracy_female_orthodox_clerical_region_exarch = { + type = character + gender = female + special = clerical_region_holder + tier = duchy + priority = 32 + governments = { theocracy_government ecclesiastical_government } + religions = { eastern_orthodox_religion oriental_orthodox_religion } + flag = neow_orthodox_exarch_flag + flavourization_rules = { + top_liege = no + spouse_takes_title = no + } +} clerical_region_duchy_fallback = { type = title tier = duchy priority = 30 governments = { ecclesiastical_government } - religion = { christianity_religion } + religions = { christianity_religion eastern_orthodox_religion oriental_orthodox_religion catholic_religion protestant_religion } flavourization_rules = { target_character = yes @@ -22,8 +50,7 @@ clerical_region_duchy_east_christian = { priority = 110 governments = { ecclesiastical_government } - rites = { byzantine_rite georgian_rite } - faiths = { christian_faith } + religions = { eastern_orthodox_religion oriental_orthodox_religion } flavourization_rules = { target_character = yes @@ -40,7 +67,7 @@ clerical_region_duchy_west_christian = { priority = 100 governments = { ecclesiastical_government } - faiths = { christian_faith } + religions = { catholic_religion protestant_religion } flavourization_rules = { target_character = yes @@ -57,7 +84,7 @@ clerical_region_duchy_catholic = { priority = 100 governments = { ecclesiastical_government } - faiths = { catholic } + religions = { catholic_religion protestant_religion } flavourization_rules = { target_character = yes @@ -74,7 +101,7 @@ clerical_region_duchy_orthodox = { priority = 100 governments = { ecclesiastical_government } - faiths = { orthodox } + religions = { eastern_orthodox_religion oriental_orthodox_religion } flavourization_rules = { target_character = yes @@ -91,8 +118,8 @@ clerical_region_duchy_patriarchate = { # exceptions to normal rules, including P priority = 101 governments = { ecclesiastical_government } - faiths = { orthodox } - titles = { d_et_roma d_et_constantinople d_et_alexandria d_et_antioch d_et_jerusalem } + religions = { eastern_orthodox_religion oriental_orthodox_religion } + titles = { d_et_roma d_et_constantinople d_et_alexandria d_et_antioch d_et_jerusalem d_et_kartli } flavourization_rules = { target_character = yes @@ -109,8 +136,8 @@ clerical_region_duchy_metropolitanate = { # sees held by a metropolitan rather t priority = 101 governments = { ecclesiastical_government } - religions = { christianity_religion } - titles = { d_et_axum d_et_kyiv } + religions = { eastern_orthodox_religion oriental_orthodox_religion } + titles = { d_et_axum } flavourization_rules = { target_character = yes @@ -121,13 +148,15 @@ clerical_region_duchy_metropolitanate = { # sees held by a metropolitan rather t special_title = clerical_region } + + clerical_region_duchy_archbishopric = { # exceptional autocephalous archbishopric type = title tier = duchy priority = 101 governments = { ecclesiastical_government } - religions = { christianity_religion } + religions = { eastern_orthodox_religion oriental_orthodox_religion } titles = { d_et_cyprus } flavourization_rules = { @@ -200,7 +229,7 @@ clerical_elector_duchy_cardinalate = { tier = duchy priority = 75 governments = { ecclesiastical_government } - religions = { christianity_religion dualism_religion } + religions = { catholic_religion protestant_religion dualism_religion } flavourization_rules = { only_holder = yes top_liege = no diff --git a/common/governments/00_government_types.txt b/common/governments/00_government_types.txt index 765bd732a..096a60141 100644 --- a/common/governments/00_government_types.txt +++ b/common/governments/00_government_types.txt @@ -293,59 +293,6 @@ republic_government = { realm_mask_scale = { 1 1 } } -### Brief: theocracy_government -# Head of faith will always get this if possible -# -# This is referenced in code -# -theocracy_government = { - government_rules = { - religious = yes - inherit_from_dynastic_government = no - } - - primary_holding = church_holding - valid_holdings = { castle_holding tribal_holding nomad_holding herder_holding temple_citadel_holding } - required_county_holdings = { church_holding castle_holding city_holding } - - ai = { - use_legends = no - } - - can_get_government = { - NOT = { - faith = { has_doctrine = doctrine_theocracy_lay_clergy } - } - #The LAAMP Construct Holding decision - trigger_if = { - limit = { - OR = { - has_variable = city_construction_is_temple_citadel - has_variable = city_construction_is_castle - } - } - always = no - } - } - - vassal_contract_group = theocracy_vassal - - # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). - flags = { - government_is_theocracy - government_is_settled - government_uses_domain_limit - gov_uses_non_crown_coa - } - - mechanic_type = theocracy - is_mechanic_type_default = yes - - color = hsv{ 0.00 0.00 0.78 } - realm_mask_offset = { 0.0 0.02 } - realm_mask_scale = { 0.95 0.95 } -} - ### Brief: clan_government clan_government = { government_rules = { diff --git a/common/governments/02_theocratic_government_types.txt b/common/governments/02_theocratic_government_types.txt new file mode 100644 index 000000000..302d47403 --- /dev/null +++ b/common/governments/02_theocratic_government_types.txt @@ -0,0 +1,161 @@ +### Brief: theocracy_government +# Head of faith will always get this if possible +# +# This is referenced in code +# +theocracy_government = { + government_rules = { + inherit_from_dynastic_government = no + disable_regnal_numbers = yes + sticky_government = yes + } + + primary_holding = church_holding + valid_holdings = { castle_holding tribal_holding nomad_holding herder_holding temple_citadel_holding } + required_county_holdings = { church_holding castle_holding city_holding } + + ai = { + use_legends = no + } + + royal_court = landed + + can_get_government = { + theocratic_lay_clergy_trigger = yes + #The LAAMP Construct Holding decision + trigger_if = { + limit = { + has_variable = { + name = city_construction_is_temple_citadel + name = city_construction_is_castle + } + } + always = no + } + } + + vassal_contract_group = theocracy_vassal + + # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). + flags = { + government_is_theocracy + government_is_settled + government_uses_church_authority + government_uses_domain_limit + } + + mechanic_type = theocracy + min_appointment_tier = county + is_mechanic_type_default = yes + + # Any positive weight is enough + grant_vassal_ai_will_do = { + value = 0 + if = { + limit = { + scope:title = { tier = tier_county } + NOT = { has_variable = grant_vassal_government_cooldown } + ai_zeal >= medium_positive_ai_value + rite = { + NOT = { rite_has_doctrine = doctrine_theocracy_lay_clergy } + rite_has_doctrine = doctrine_theocracy_temporal + } + realm_theocratic_county_share_ai_below_cap_trigger = yes + } + add = 10 + } + } + + color = hsv{ 0.00 0.00 0.78 } + realm_mask_offset = { 0.0 0.02 } + realm_mask_scale = { 0.95 0.95 } +} + +### Brief: ecclesiastical_government +# This is a theocratic government type that is Christian centered +# +ecclesiastical_government = { + government_rules = { + inherit_from_dynastic_government = no + treasury = yes + replace_gold_cost_by_treasury = yes + add_religious_subordinates_for_treasury = yes + use_as_base_on_landed = yes + disable_regnal_numbers = yes + sticky_government = yes + allow_accolades = yes + landless_playable = yes + } + + royal_court = landed + + primary_holding = church_holding + valid_holdings = { castle_holding tribal_holding nomad_holding herder_holding temple_citadel_holding } + required_county_holdings = { church_holding castle_holding city_holding } + + ai = { + use_legends = no + } + + can_get_government = { + theocratic_lay_clergy_trigger = yes + #The LAAMP Construct Holding decision + trigger_if = { + limit = { + has_variable = { + name = city_construction_is_temple_citadel + name = city_construction_is_castle + } + } + always = no + } + } + + vassal_contract_group = theocracy_vassal + + character_modifier = { + monthly_treasury_from_vassals = 0.85 + monthly_treasury_from_non_vassals = 0.85 + monthly_piety = 0.25 + accolades = -1 + knight_limit = -3 + men_at_arms_cap = -3 + men_at_arms_limit = -3 + mercenary_hire_cost_mult = 2 + } + + # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). + flags = { + government_is_ecclesiastical + government_is_theocracy + government_is_settled + government_uses_domicile_but_not_adventurer + government_uses_church_authority + government_uses_domain_limit + government_has_treasury + government_uses_cardinal_budget + } + + mechanic_type = theocracy + min_appointment_tier = county + domicile_type = ecclesiastical_domicile + + # is_grant_government_shown already limits this to ecclesiastical theocracy faiths + grant_vassal_ai_will_do = { + value = 0 + if = { + limit = { + scope:title = { tier = tier_county } + NOT = { has_variable = grant_vassal_government_cooldown } + ai_zeal >= medium_positive_ai_value + rite = { rite_has_doctrine = doctrine_theocracy_temporal } + realm_theocratic_county_share_ai_below_cap_trigger = yes + } + add = 10 + } + } + + color = hsv{ 0.00 0.00 0.38 } + realm_mask_offset = { 0.0 0.02 } + realm_mask_scale = { 0.95 0.95 } +} diff --git a/common/on_action/dlc/pam/pam_on_actions.txt b/common/on_action/dlc/pam/pam_on_actions.txt new file mode 100644 index 000000000..db409067f --- /dev/null +++ b/common/on_action/dlc/pam/pam_on_actions.txt @@ -0,0 +1,544 @@ +# referenced by code. Fired yearly on every rite +# root = rite +on_rite_yearly = { + effect = { + rite_yearly_hor_passive_learning_effect = yes + rite_yearly_hor_divergence_drift_effect = yes + } +} + +pam_the_christian_church_yearly_on_action = { + effect = { + # Non Christian presence in Europe + pam_the_christian_church_non_christian_kingdom_in_europe_catalyst_effect = yes + # Non-Catholic ruler controls the Papal State's de jure capital + pam_the_christian_church_catholic_hof_weak_papal_state_control_catalyst_effect = yes + # Byzantine emperor is not Christian + pam_the_christian_church_byzantine_emperor_non_christian_catalyst_effect = yes + } +} +# Tier 1 is paced once from pam_cathedral_01 on_start_build (years = 2). +pam_cathedral_great_project_yearly_on_action = { + effect = { + every_great_project = { + limit = { + OR = { + great_project_type = pam_cathedral_02 + great_project_type = pam_cathedral_03 + } + } + great_project_founder = { + save_scope_as = founder + trigger_event = { + on_action = pam_cathedral_great_project_yearly_founder_events_on_action + years = 5 + } + } + great_project_owner = { + if = { + limit = { + this = scope:founder + } + trigger_event = { + on_action = pam_cathedral_great_project_yearly_owner_events_on_action + years = 10 + } + } + else = { + trigger_event = { + on_action = pam_cathedral_great_project_yearly_owner_events_on_action + years = 5 + } + } + } + } + } +} +pam_cathedral_great_project_yearly_founder_events_on_action = { + random_events = { + 1 = pam_great_projects_events.0007 + 1 = pam_great_projects_events.0008 + 1 = pam_great_projects_events.0011 + 1 = pam_great_projects_events.0013 + } +} +pam_cathedral_great_project_yearly_owner_events_on_action = { + random_events = { + 1 = pam_great_projects_events.0012 + } +} + +study_faith_success = { + on_actions = { + pam_study_faith_personal_tenet_on_action + } +} + +on_travel_plan_movement = { + on_actions = { + pam_mountain_travel_personal_tenet_on_action + sun_worship_desert_travel_personal_tenet_on_action + pam_sanctity_of_nature_travel_on_action + } +} + +on_building_completed = { + on_actions = { + pam_sanctity_of_nature_building_completed_on_action + } +} + +on_faith_conversion = { + on_actions = { + pam_tax_nonbelievers_faith_conversion_on_action + } +} + +on_birth_child = { + on_actions = { + pam_auspicious_birthright_birth_on_action + } +} + +pam_study_faith_personal_tenet_on_action = { + effect = { + if = { + limit = { + scope:owner = { + has_personal_tenet_flag = adaptive_study_rite_cultural_acceptance + culture != scope:target.culture + } + } + scope:owner = { + culture = { + change_cultural_acceptance = { + target = scope:target.culture + value = minor_cultural_acceptance_gain + desc = pam_adaptive_study_rite_cultural_acceptance + } + } + send_interface_toast = { + type = event_toast_effect_good + title = pam_adaptive_study_rite_cultural_acceptance_toast + left_icon = scope:owner + right_icon = scope:target + } + } + } + } +} + +pam_mountain_travel_personal_tenet_on_action = { + effect = { + if = { + limit = { + has_personal_tenet_flag = cthonic_redoubts_mountain_travel_fulfillment + current_travel_plan.current_location = { + OR = { + terrain = mountains + terrain = desert_mountains + } + } + current_travel_plan = { + NOT = { has_variable = pam_mountain_travel_fulfillment_awarded } + } + } + current_travel_plan = { + set_variable = pam_mountain_travel_fulfillment_awarded + } + send_interface_toast = { + type = event_toast_effect_good + title = pam_cthonic_redoubts_mountain_travel_toast + left_icon = root + add_piety = minor_piety_gain + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } + } + } +} + +sun_worship_desert_travel_personal_tenet_on_action = { + effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_sun_worship_desert_pilgrim + current_travel_plan.current_location = { + OR = { + terrain = desert + terrain = desert_mountains + terrain = oasis + } + } + current_travel_plan = { + NOT = { has_variable = sun_worship_desert_fulfillment_awarded } + } + } + current_travel_plan = { + set_variable = sun_worship_desert_fulfillment_awarded + } + send_interface_toast = { + type = event_toast_effect_good + title = sun_worship_desert_travel_toast + left_icon = root + add_piety = minor_piety_gain + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } + } + } +} + +pam_sanctity_of_nature_travel_on_action = { + effect = { + if = { + limit = { + current_travel_plan.current_location = { + has_province_modifier = preserved_wilderness_modifier + } + } + current_travel_plan = { + if = { + limit = { + NOT = { has_travel_plan_modifier = preserved_wilderness_travel_modifier } + } + add_travel_plan_modifier = preserved_wilderness_travel_modifier + } + } + } + else_if = { + limit = { + current_travel_plan = { + has_travel_plan_modifier = preserved_wilderness_travel_modifier + } + } + current_travel_plan = { + remove_travel_plan_modifier = preserved_wilderness_travel_modifier + } + } + + if = { + limit = { + has_personal_tenet_flag = tenet_sanctity_of_nature_wilderness_fulfillment + current_travel_plan.current_location = { + has_holding = no + is_sea_province = no + } + current_travel_plan = { + OR = { + NOT = { has_variable_list = pam_sanctity_of_nature_visited_wilderness } + AND = { + has_variable_list = pam_sanctity_of_nature_visited_wilderness + NOT = { + is_target_in_variable_list = { + name = pam_sanctity_of_nature_visited_wilderness + target = root.current_travel_plan.current_location + } + } + } + } + } + } + change_spiritual_fulfillment = miniscule_spiritual_fulfillment_value + current_travel_plan = { + add_to_variable_list = { + name = pam_sanctity_of_nature_visited_wilderness + target = root.current_travel_plan.current_location + } + } + } + } +} + +pam_sanctity_of_nature_building_completed_on_action = { + # add_great_building fires on_building_completed during history setup. + trigger = { + has_global_variable = game_has_started + } + + effect = { + if = { + limit = { + has_holding = yes + has_province_modifier = preserved_wilderness_modifier + } + remove_province_modifier = preserved_wilderness_modifier + } + } +} + +pam_tax_nonbelievers_faith_conversion_on_action = { + trigger = { + exists = scope:actor + root != scope:actor + scope:actor = { + has_personal_tenet_flag = tax_nonbelievers_fulfillment_from_conversion + } + } + effect = { + scope:actor = { + pam_tax_nonbelievers_conversion_fulfillment_effect = yes + } + } +} + +pam_auspicious_birthright_birth_on_action = { + effect = { + if = { + limit = { + OR = { + scope:mother = { + has_personal_tenet_flag = mystical_birthright_spiritual_leader + } + scope:real_father ?= { + has_personal_tenet_flag = mystical_birthright_spiritual_leader + } + } + } + # Base 5% chance for later children; the first-child modifiers shift the chance to 20%. + random_list = { + 95 = { + modifier = { + add = -15 + OR = { + scope:mother = { + has_personal_tenet_flag = mystical_birthright_spiritual_leader + NOR = { + any_child = { + even_if_dead = yes + this != scope:child + } + } + } + scope:real_father ?= { + has_personal_tenet_flag = mystical_birthright_spiritual_leader + NOR = { + any_child = { + even_if_dead = yes + this != scope:child + } + } + } + } + } + } + 5 = { + modifier = { + add = 15 + OR = { + scope:mother = { + has_personal_tenet_flag = mystical_birthright_spiritual_leader + NOR = { + any_child = { + even_if_dead = yes + this != scope:child + } + } + } + scope:real_father ?= { + has_personal_tenet_flag = mystical_birthright_spiritual_leader + NOR = { + any_child = { + even_if_dead = yes + this != scope:child + } + } + } + } + } + random_list = { + 1 = { + trigger = { + NOR = { + has_trait = dwarf + has_trait = giant + } + } + add_trait = dwarf + } + 1 = { + trigger = { + NOR = { + has_trait = giant + has_trait = dwarf + } + } + add_trait = giant + } + 1 = { + trigger = { + NOT = { has_trait = albino } + } + add_trait = albino + } + 1 = { + trigger = { + NOT = { has_trait = clubfooted } + } + add_trait = clubfooted + } + 1 = { + trigger = { + NOT = { has_trait = bleeder } + } + add_trait = bleeder + } + 1 = { + trigger = { + NOT = { has_trait = hunchbacked } + } + add_trait = hunchbacked + } + 1 = { + trigger = { + NOT = { has_trait = lisping } + } + add_trait = lisping + } + 1 = { + trigger = { + NOT = { has_trait = stuttering } + } + add_trait = stuttering + } + 1 = { + trigger = { + NOR = { + has_trait = spindly + has_trait = physique_good + } + } + add_trait = spindly + } + 1 = { + trigger = { + NOT = { has_trait = scaly } + } + add_trait = scaly + } + 1 = { + trigger = { + NOT = { has_trait = wheezing } + } + add_trait = wheezing + } + 1 = { + trigger = { + NOR = { + has_trait = beauty_bad + has_trait = beauty_good + } + } + add_trait = beauty_bad_2 + } + } + } + } + } + if = { + limit = { + scope:child = { + OR = { + has_trait = dwarf + has_trait = albino + has_trait = clubfooted + has_trait = bleeder + has_trait = scaly + has_trait = giant + has_trait = hunchbacked + has_trait = spindly + has_trait = wheezing + has_trait = lisping + has_trait = stuttering + has_trait = beauty_bad + } + } + OR = { + scope:mother = { + has_personal_tenet_flag = mystical_birthright_spiritual_leader + } + scope:real_father ?= { + has_personal_tenet_flag = mystical_birthright_spiritual_leader + } + } + } + scope:child = { + add_character_modifier = { + modifier = pam_mystical_birthright_spiritual_leader_modifier + } + } + if = { + limit = { + scope:mother = { + is_ai = no + } + } + scope:mother = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_mystical_birthright_spiritual_leader_toast + left_icon = scope:child + custom_tooltip = { + text = pam_mystical_birthright_spiritual_leader_toast_tt + } + } + } + } + if = { + limit = { + scope:real_father ?= { + is_ai = no + } + } + scope:real_father = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_mystical_birthright_spiritual_leader_toast + left_icon = scope:child + custom_tooltip = { + text = pam_mystical_birthright_spiritual_leader_toast_tt + } + } + } + } + } + } +} + +# used by code, do not rename or remove. +# root = clerical region holder +# scope:title = clerical region title +# scope:county = capital county +# scope:reason = reason that triggered this mismatch. flag can be: +# - county_converted (county is now of different faith, holder stayed old faith) +# - character_converted (character converted away from county faith) +# - changed_tenets_or_doctrines (county and character are still matching faith but the faith doesn't support clerical regions anymore) +on_clerical_region_faith_mismatch = { + # TIT-75963 player choice when capital converts; TIT-75964 other succession cases + events = { + # Capital converted; both Faiths have Clerical Regions (player) + pam_clergy_events.0051 + # AI / other mismatch reasons / new Faith lacks Clerical Regions + pam_clergy_events.0052 + } +} + +# used by code, do not rename or remove. +# root = challenger character +# scope:sponsor = former sponsor title +# scope:title = challenger title +on_challenger_removed = { + effect = { + if = { + limit = { + is_alive = yes + has_character_flag = antipope_flag + } + remove_character_flag = antipope_flag + } + # TODO_PAM move antipope removal cleanup effects here + #if = { + # limit = { root = scope:title.holder } + # destroy_title = scope:title + #} + } + +} diff --git a/common/religion/faith_types/NEOW_faiths_orthodox.txt b/common/religion/faith_types/NEOW_faiths_orthodox.txt index 8621755a5..9d8f450d6 100644 --- a/common/religion/faith_types/NEOW_faiths_orthodox.txt +++ b/common/religion/faith_types/NEOW_faiths_orthodox.txt @@ -8,8 +8,6 @@ orthodox = { religious_head = k_orthodox } - origin = christian_faith - eminent_holy_sites = { constantinople jerusalem @@ -38,8 +36,6 @@ russian_orthodox = { #religious_head = k_orthodox } - origin = christian_faith - eminent_holy_sites = { constantinople jerusalem diff --git a/common/scripted_effects/pam_effects.txt b/common/scripted_effects/pam_effects.txt new file mode 100644 index 000000000..14a8ef256 --- /dev/null +++ b/common/scripted_effects/pam_effects.txt @@ -0,0 +1,14582 @@ +#create_appropriate_relic_artifact_effect +#create_artifact_pedestal_bible_effect +#create_artifact_pedestal_thurible_effect +#create_artifact_pedestal_situla_effect +#create_artifact_pedestal_crozier_effect +#create_christian_religious_artifact_effect +#pam_miles_christi_white_peace_effect +#pam_miles_christi_fulfillment_from_combat_effect +#pam_miles_christi_holy_weapon_victory_effect +#pam_miles_christi_holy_weapon_gain_victory_effect +#pam_miles_christi_holy_weapon_blessing_effect +#pam_tenet_scholasticism_university_bonus_effect +#pam_tenet_scholasticism_yearly_effect +#pam_tenet_scholasticism_studium_effect +#pam_harmonious_society_five_bonds_effect +#pam_harmonious_society_apply_five_bonds_effect +#pam_tenet_purgatory_sin_penalty_effect +#pam_tenet_apostolic_succession_episcopate_effect +#pam_tenet_divine_liturgy_choirs_effect +#pam_tenet_divine_liturgy_officiant_effect +#pam_pentarchy_circuit_entourage_effect +#pam_pentarchy_pilgrim_circuit_effect +#add_scholar_trait_or_xp_effect +#pam_remove_forbidden_personal_tenet_secret_if_invalid_effect +#pam_faith_cleanup_forbidden_personal_tenet_secrets_effect +#pam_faith_grant_forbidden_personal_tenet_secrets_effect +#on_personal_tenet_gain_secret_gain_effect +#pam_ai_personal_tenet_pulse_effect +#conversion_tenet_acts_of_the_apostles_legitimacy_effect +#ora_et_labora_gardener_gain_effect +#hedonistic_reveler_gain_effect +#hedonistic_obesity_modifier_sync_effect +#hedonistic_feast_gout_risk_effect +#pam_tenet_mountain_worship_rough_terrain_expert_gain_effect +#pam_tenet_mountain_worship_hike_spiritual_fulfillment_effect +#asceticism_inappetetic_gain_effect +#literalism_scholar_gain_effect +#scholasticism_scholar_gain_effect +#pam_levy_the_tithes_decision_effects +#unrelenting_faith_blademaster_gain_effect +#pam_kingdom_of_heaven_declaration_effect +#pam_create_theocratic_dynasty_extra_effects +#pam_the_christian_church_clergy_embezzled_treasury_catalyst_effect +#pam_the_christian_church_non_christian_kingdom_in_europe_catalyst_effect +#pam_the_christian_church_county_converted_to_faith_catalyst_effect +#pam_the_christian_church_county_conversion_catalysts_effect +#pam_the_christian_church_excommunication_war_catalyst_effect +#pam_the_christian_church_humiliation_war_catalyst_effect +#pam_the_christian_church_clergy_has_child_catalyst_effect +#pam_determine_ghw_target_character_from_kingdom_effect +#pam_use_bull_selected_ghw_target_effect +#pam_start_bull_great_holy_war_effect +#pam_bull_notify_faith_rulers_effect +#pam_declare_rite_heresy_effect +#pam_secure_pilgrim_routes_effect +#request_white_peace_interaction_effect +#request_victory_interaction_effect +#request_enforce_succession_interaction_effect +#pam_enforce_title_succession_effect +#pam_increase_papabile_score_effect +#pam_on_conversion_effect +#pam_cardinal_vacancy_on_death_effect +#pam_evangelize_personal_tenet_effect +#pam_evangelize_personal_tenet_decline_effect + +create_appropriate_relic_artifact_effect = { + hidden_effect_new_object = { + if = { + limit = { religion = religion:christianity_religion } + create_artifact_pedestal_reliquary_christian_effect = { OWNER = $OWNER$ } + } + else_if = { + limit = { religion = religion:islam_religion } + create_artifact_pedestal_reliquary_islam_effect = { OWNER = $OWNER$ } + } + else_if = { + limit = { religion = religion:buddhism_religion } + create_artifact_pedestal_reliquary_buddhism_effect = { OWNER = $OWNER$ } + } + else_if = { + limit = { religion = religion:judaism_religion } + create_artifact_pedestal_reliquary_judaism_effect = { OWNER = $OWNER$ } + } + else = { + create_artifact_sculpture_religious_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ } + } + scope:newly_created_artifact = { + set_variable = relic # Adds the Relic flag + } + if = { # Makes a regular character artifact if you don't have a Royal Court + limit = { + has_royal_court = no + } + scope:newly_created_artifact = { + reforge_artifact = { type = miscellaneous } + } + } + } +} + +create_artifact_pedestal_bible_effect = { + $OWNER$ = { save_scope_as = owner } + $CREATOR$ = { save_scope_as = creator } + + get_artifact_quality_effect = yes + get_artifact_wealth_effect = yes + + scope:owner = { + create_artifact = { + name = artifact_pedestal_bible_name + creator = scope:creator + description = artifact_pedestal_bible_description + visuals = pam_bible + type = pedestal + template = cross_template + modifier = artifact_placeholder_modifier + save_scope_as = newly_created_artifact + wealth = scope:wealth + quality = scope:quality + } + } + + scope:newly_created_artifact = { + add_scaled_artifact_modifier_devotion_effect = yes + add_scaled_artifact_modifier_grandeur_small_effect = yes + if = { + limit = { + OR = { + rarity = famed + rarity = illustrious + } + } + add_scaled_artifact_modifier_piety_effect = yes + } + remove_artifact_modifier = artifact_placeholder_modifier + } +} + +create_artifact_pedestal_thurible_effect = { + $OWNER$ = { save_scope_as = owner } + $CREATOR$ = { save_scope_as = creator } + + get_artifact_quality_effect = yes + get_artifact_wealth_effect = yes + + scope:owner = { + create_artifact = { + name = artifact_pedestal_thurible_name + creator = scope:creator + description = artifact_pedestal_thurible_description + visuals = pam_thurible + type = pedestal + template = cross_template + modifier = artifact_placeholder_modifier + save_scope_as = newly_created_artifact + wealth = scope:wealth + quality = scope:quality + } + } + + scope:newly_created_artifact = { + add_scaled_artifact_modifier_devotion_effect = yes + add_scaled_artifact_modifier_grandeur_small_effect = yes + if = { + limit = { + OR = { + rarity = famed + rarity = illustrious + } + } + add_scaled_artifact_modifier_piety_effect = yes + } + remove_artifact_modifier = artifact_placeholder_modifier + } +} + +create_artifact_pedestal_situla_effect = { + $OWNER$ = { save_scope_as = owner } + $CREATOR$ = { save_scope_as = creator } + + get_artifact_quality_effect = yes + get_artifact_wealth_effect = yes + + scope:owner = { + create_artifact = { + name = artifact_pedestal_situla_name + creator = scope:creator + description = artifact_pedestal_situla_description + visuals = pam_situla + type = pedestal + template = cross_template + modifier = artifact_placeholder_modifier + save_scope_as = newly_created_artifact + wealth = scope:wealth + quality = scope:quality + } + } + + scope:newly_created_artifact = { + add_scaled_artifact_modifier_devotion_effect = yes + add_scaled_artifact_modifier_grandeur_small_effect = yes + if = { + limit = { + OR = { + rarity = famed + rarity = illustrious + } + } + add_scaled_artifact_modifier_piety_effect = yes + } + remove_artifact_modifier = artifact_placeholder_modifier + } +} + +create_artifact_pedestal_crozier_effect = { + $OWNER$ = { save_scope_as = owner } + $CREATOR$ = { save_scope_as = creator } + + get_artifact_quality_effect = yes + get_artifact_wealth_effect = yes + + scope:owner = { + create_artifact = { + name = artifact_pedestal_crozier_name + creator = scope:creator + description = artifact_pedestal_crozier_description + visuals = pam_crozier + type = pedestal + template = cross_template + modifier = artifact_placeholder_modifier + save_scope_as = newly_created_artifact + wealth = scope:wealth + quality = scope:quality + } + } + + scope:newly_created_artifact = { + add_scaled_artifact_modifier_devotion_effect = yes + add_scaled_artifact_modifier_grandeur_small_effect = yes + if = { + limit = { + OR = { + rarity = famed + rarity = illustrious + } + } + add_scaled_artifact_modifier_piety_effect = yes + } + remove_artifact_modifier = artifact_placeholder_modifier + } +} + +create_christian_religious_artifact_effect = { + hidden_effect_new_object = { + random_list = { + 1 = { + create_artifact_pedestal_cross_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ } + } + 1 = { + trigger = { + rite = { + NOT = { rite_has_tenet = tenet_aniconism } + } + } + create_artifact_pedestal_crucifix_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ } + } + 1 = { + create_artifact_sculpture_religious_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ } + } + 1 = { + create_artifact_pedestal_bible_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ } + } + 1 = { + create_artifact_pedestal_thurible_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ } + } + 1 = { + create_artifact_pedestal_situla_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ } + } + 1 = { + create_artifact_pedestal_crozier_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ } + } + } + if = { # Makes a regular character artifact if you don't have a Royal Court + limit = { + has_royal_court = no + } + scope:newly_created_artifact = { reforge_artifact = { type = miscellaneous } } + } + } +} + +# Called from wars on_white_peace +pam_miles_christi_white_peace_effect = { + scope:defender = { + if = { + limit = { + rite = { rite_has_parameter = tenet_miles_christi_white_peace_defender_bonus } + scope:attacker = { + faith = scope:defender.faith + } + } + add_piety = { + value = medium_piety_gain + multiply = scope:attacker.primary_title.tier + multiply = scope:defender.primary_title.tier + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + add_legitimacy = { + value = medium_legitimacy_gain + multiply = scope:attacker.primary_title.tier + multiply = scope:defender.primary_title.tier + } + } + } +} +# Both on_combat_end_loser and on_combat_end_winner fire this +pam_miles_christi_fulfillment_from_combat_effect = { + if = { + limit = { + rite = { rite_has_parameter = tenet_miles_christi_combat_fulfillment } + } + send_interface_toast = { + title = successful_battles_and_sieges_give_sp_toast + left_icon = root + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } + } +} + +# Called from on_combat_end_winner in the scope of the winning combat side. +pam_miles_christi_holy_weapon_victory_effect = { + if = { + limit = { + exists = enemy_side.side_primary_participant + } + enemy_side.side_primary_participant = { + save_temporary_scope_as = pam_holy_weapon_enemy + } + every_side_commander = { + limit = { + rite = { rite_has_parameter = tenet_miles_christi_holy_weapon_blessing } + NOT = { faith.religion = scope:pam_holy_weapon_enemy.faith.religion } + } + every_character_artifact = { + limit = { pam_holy_weapon_trigger = yes } + pam_miles_christi_holy_weapon_gain_victory_effect = yes + } + } + } +} + +# Artifact scope. Tallies one holy victory and steps up the blessing when a threshold is crossed. +pam_miles_christi_holy_weapon_gain_victory_effect = { + if = { + limit = { NOT = { has_variable = pam_holy_weapon_victories_var } } + set_variable = { + name = pam_holy_weapon_victories_var + value = 1 + } + } + else = { + change_variable = { + name = pam_holy_weapon_victories_var + add = 1 + } + } + + if = { + limit = { + NOT = { has_variable = pam_holy_weapon_blessing_var } + var:pam_holy_weapon_victories_var >= 5 + } + set_variable = { + name = pam_holy_weapon_blessing_var + value = 1 + } + pam_miles_christi_holy_weapon_blessing_effect = { MODIFIER = pam_holy_weapon_1_artifact_modifier } + } + else_if = { + limit = { + has_variable = pam_holy_weapon_blessing_var + var:pam_holy_weapon_blessing_var = 1 + var:pam_holy_weapon_victories_var >= 15 + } + change_variable = { + name = pam_holy_weapon_blessing_var + add = 1 + } + pam_miles_christi_holy_weapon_blessing_effect = { MODIFIER = pam_holy_weapon_2_artifact_modifier } + } + else_if = { + limit = { + has_variable = pam_holy_weapon_blessing_var + var:pam_holy_weapon_blessing_var = 2 + var:pam_holy_weapon_victories_var >= 30 + } + change_variable = { + name = pam_holy_weapon_blessing_var + add = 1 + } + pam_miles_christi_holy_weapon_blessing_effect = { MODIFIER = pam_holy_weapon_3_artifact_modifier } + } + else_if = { + limit = { + has_variable = pam_holy_weapon_blessing_var + var:pam_holy_weapon_blessing_var = 3 + var:pam_holy_weapon_victories_var >= 50 + } + change_variable = { + name = pam_holy_weapon_blessing_var + add = 1 + } + pam_miles_christi_holy_weapon_blessing_effect = { MODIFIER = pam_holy_weapon_4_artifact_modifier } + } +} + +# Artifact scope +# MODIFIER = the artifact modifier for the tier being reached +pam_miles_christi_holy_weapon_blessing_effect = { + save_temporary_scope_as = pam_holy_weapon + add_artifact_modifier = $MODIFIER$ + artifact_owner ?= { + send_interface_toast = { + type = event_toast_effect_good + title = pam_holy_weapon_blessing_toast + desc = pam_holy_weapon_blessing_toast_desc + left_icon = this + right_icon = scope:pam_holy_weapon + show_as_tooltip = { + scope:pam_holy_weapon = { + add_artifact_modifier = $MODIFIER$ + } + } + } + } +} + +pam_pursuit_of_power_war_victory_fulfillment_effect = { + scope:winner = { + if = { + limit = { + has_personal_tenet_flag = tenet_pursuit_of_power_war_victory_fulfillment + scope:war.casus_belli = { + any_target_title = { is_landless_type_title = no } + } + } + send_interface_toast = { + title = pam_pursuit_of_power_war_victory_toast + left_icon = root + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + } + } + } +} + +# Only rewards paying for someone else's freedom in gold; self-ransoms and favour settlements do not count. +pam_philanthropia_ransom_payer_effect = { + scope:payer = { + if = { + limit = { + has_personal_tenet_flag = tenet_philanthropia_ransom_captives + this != scope:prisoner + pam_philanthropia_ransom_gold_value > 0 + } + send_interface_toast = { + title = pam_philanthropia_ransom_toast + left_icon = scope:prisoner + add_piety = pam_philanthropia_ransom_piety_value + change_spiritual_fulfillment = pam_philanthropia_ransom_fulfillment_value + } + } + } +} + +# Rewards releasing or exiling a prisoner outright; anything extracted from them first makes it a bargain. +tenet_benevolent_governance_clemency_effect = { + scope:puppet_or_actor = { + if = { + limit = { + has_personal_tenet_flag = tenet_benevolent_governance_clemency_fulfillment + OR = { + tenet_benevolent_governance_unconditional_release_trigger = yes + AND = { + scope:banish = yes + has_execute_reason = scope:recipient + } + } + } + if = { + limit = { is_ai = no } + send_interface_toast = { + type = event_generic_good + title = benevolent_governance_clemency_fulfillment_toast + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + change_spiritual_fulfillment = tenet_benevolent_governance_clemency_fulfillment_value + } + } + else = { + change_spiritual_fulfillment = tenet_benevolent_governance_clemency_fulfillment_value + } + } + } +} + +pam_be_fruitful_fruitful_upbringing_effect = { + if = { + limit = { + exists = scope:father + OR = { + scope:mother ?= { has_personal_tenet_flag = tenet_be_fruitful_and_multiply_fruitful_upbringing } + scope:father ?= { has_personal_tenet_flag = tenet_be_fruitful_and_multiply_fruitful_upbringing } + } + } + scope:child = { + if = { + limit = { + scope:mother ?= { has_relation_soulmate = scope:father } + } + add_character_modifier = { + modifier = tenet_be_fruitful_and_multiply_fruitful_upbringing_devoted + years = 16 + } + } + else_if = { + limit = { + scope:mother ?= { + OR = { + has_relation_lover = scope:father + has_relation_best_friend = scope:father + } + } + } + add_character_modifier = { + modifier = tenet_be_fruitful_and_multiply_fruitful_upbringing_close + years = 16 + } + } + else_if = { + limit = { + scope:mother ?= { + OR = { + has_relation_friend = scope:father + opinion = { + target = scope:father + value >= medium_positive_opinion + } + } + } + } + add_character_modifier = { + modifier = tenet_be_fruitful_and_multiply_fruitful_upbringing_fond + years = 16 + } + } + } + } +} + +# PAM Scholasticism tenet effect +pam_tenet_scholasticism_university_bonus_effect = { + if = { + limit = { + rite = { rite_has_parameter = tenet_scholasticism_university_bonus } + } + add_character_modifier = { + modifier = tenet_scholasticism_modifier + years = 20 + } + } +} + +pam_pentarchy_circuit_entourage_effect = { + if = { + limit = { exists = involved_activity } + save_temporary_scope_as = pam_pentarchy_circuit_pilgrim + involved_activity = { + every_attending_character = { + limit = { this != scope:pam_pentarchy_circuit_pilgrim } + custom = pam_pentarchy_circuit_entourage_tt + hidden_effect = { + local_court_type_skill_point_effect = { + PROVINCE = scope:pam_pentarchy_circuit_pilgrim.location + } + } + } + } + } +} + +# Pentarchy tenet is already checked when pilgrimage_additional_reward_effect fires this +pam_pentarchy_pilgrim_circuit_effect = { + save_temporary_scope_as = pam_pentarchy_pilgrim + if = { + limit = { + NOT = { has_character_flag = pam_pentarchy_circuit_completed } + exists = scope:pam_pentarchy_pilgrim.location.barony + faith = { + any_holy_site_barony = { this = scope:pam_pentarchy_pilgrim.location.barony } + } + } + scope:pam_pentarchy_pilgrim.location.barony = { + save_temporary_scope_as = pam_pentarchy_see + } + if = { + limit = { + OR = { + NOT = { has_variable_list = pam_pentarchy_sees_visited } + NOT = { + is_target_in_variable_list = { + name = pam_pentarchy_sees_visited + target = scope:pam_pentarchy_see + } + } + } + } + add_to_variable_list = { + name = pam_pentarchy_sees_visited + target = scope:pam_pentarchy_see + } + + # Recount vs current holy sites so a conversion since visiting self-corrects + set_variable = { + name = pam_pentarchy_sees_total + value = 0 + } + set_variable = { + name = pam_pentarchy_sees_count + value = 0 + } + faith = { + every_holy_site = { + limit = { exists = holy_site_barony } + holy_site_barony = { save_temporary_scope_as = pam_pentarchy_counted_see } + scope:pam_pentarchy_pilgrim = { + change_variable = { + name = pam_pentarchy_sees_total + add = 1 + } + if = { + limit = { + is_target_in_variable_list = { + name = pam_pentarchy_sees_visited + target = scope:pam_pentarchy_counted_see + } + } + change_variable = { + name = pam_pentarchy_sees_count + add = 1 + } + } + } + } + } + + if = { + limit = { + # The log entry's description is drawn before the counters above are set + has_variable = pam_pentarchy_sees_total + var:pam_pentarchy_sees_total > 0 + var:pam_pentarchy_sees_count >= var:pam_pentarchy_sees_total + } + add_character_flag = pam_pentarchy_circuit_completed + send_interface_toast = { + type = event_toast_text_and_effect_good + title = pam_pentarchy_circuit_completed_toast + desc = pam_pentarchy_circuit_completed_toast_desc + left_icon = scope:pam_pentarchy_pilgrim + add_character_modifier = { + modifier = pam_pilgrim_of_every_holy_site_modifier + } + add_piety = massive_piety_gain + change_spiritual_fulfillment = major_spiritual_fulfillment_value + if = { + limit = { has_personal_tenet_flag = tenet_pentarchy_pilgrim_circuit_companions } + pam_pentarchy_circuit_entourage_effect = yes + } + } + } + else = { + send_interface_message = { + type = event_generic_good_with_text + title = pam_pentarchy_see_visited_message + desc = pam_pentarchy_see_visited_message_desc + left_icon = scope:pam_pentarchy_pilgrim + add_piety = medium_piety_gain + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + if = { + limit = { has_personal_tenet_flag = tenet_pentarchy_pilgrim_circuit_companions } + pam_pentarchy_circuit_entourage_effect = yes + } + } + } + } + } +} + +pam_tenet_scholasticism_yearly_effect = { + random = { + chance = { + value = 5 + if = { + limit = { + is_ai = no + } + add = 5 + } + if = { + limit = { + learning >= 30 + } + add = 2 + } + if = { + limit = { + learning >= 40 + } + add = 3 + } + if = { + limit = { + piety_level >= 4 + } + add = 2 + } + if = { + limit = { + piety_level >= 5 + } + add = 3 + } + if = { + limit = { + num_of_known_languages >= 3 + } + add = 2 + } + if = { + limit = { + num_of_known_languages >= 5 + } + add = 3 + } + } + send_interface_toast = { + type = event_toast_effect_good + title = pam_tenet_scholasticism_toast_title + left_icon = root + add_character_modifier = { + modifier = tenet_scholasticism_modifier + years = 20 + } + } + } +} + +pam_tenet_scholasticism_studium_effect = { + save_scope_as = studium_master + current_travel_plan ?= { + random_entourage_character = { + limit = { + NOT = { this = scope:studium_master } + is_physically_able_ai_adult = yes + ep1_is_valid_character_for_inspiration_trigger = yes + } + random = { + chance = pam_scholasticism_studium_inspiration_chance_value + create_inspiration = book_inspiration + save_scope_as = pam_studium_scholar + scope:studium_master = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_tenet_scholasticism_studium_toast_title + desc = pam_tenet_scholasticism_studium_toast_desc + left_icon = scope:pam_studium_scholar + } + } + } + } + } +} +add_scholar_trait_or_xp_effect = { + if = { + limit = { + NOT = { has_trait = lifestyle_scholar } + } + add_trait = lifestyle_scholar + } + else = { + add_trait_xp = { + trait = lifestyle_scholar + value = $VALUE$ + } + } +} + +save_most_suitable_monastic_leader_effect = { + #Patronized by puppet_or_actor + random_faith_holy_order = { + limit = { + take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor } + holy_order_patron = scope:puppet_or_actor + } + leader = { + save_scope_as = archabbot + } + } + #leases from puppet_or_actor + if = { + limit = { + NOT = { + exists = scope:archabbot + } + } + random_faith_holy_order = { + limit = { + take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor } + any_leased_title = { + county.holder ?= scope:puppet_or_actor + } + } + leader = { + save_scope_as = archabbot + } + } + } + #patronized by puppet_or_actor's superior + if = { + limit = { + NOT = { + exists = scope:archabbot + } + } + random_faith_holy_order = { + limit = { + take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor } + holy_order_patron = { + is_liege_or_above_of = scope:puppet_or_actor + } + } + leader = { + save_scope_as = archabbot + } + } + } + #in same realm as puppet_or_actor + if = { + limit = { + NOT = { + exists = scope:archabbot + } + } + random_faith_holy_order = { + limit = { + take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor } + any_leased_title = { + county.holder.top_liege ?= scope:puppet_or_actor.top_liege + } + } + leader = { + save_scope_as = archabbot + } + } + } + #in diplo range of puppet_or_actor + if = { + limit = { + NOT = { + exists = scope:archabbot + } + } + random_faith_holy_order = { + limit = { + take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor } + leader = { + in_diplomatic_range = scope:puppet_or_actor + } + } + leader = { + save_scope_as = archabbot + } + } + } + #any order + if = { + limit = { + NOT = { + exists = scope:archabbot + } + } + random_faith_holy_order = { + limit = { + take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor } + } + leader = { + save_scope_as = archabbot + } + } + } +} + +# Saeculum Obscurum ends - time to get divorced +pam_the_christian_church_saeculum_obscurum_end_clergy_divorce_effect = { + every_situation_participant = { + limit = { + is_clergy = yes + rite = { rite_has_doctrine = doctrine_clerical_marriage_disallowed } + } + hidden_effect = { + if = { + limit = { + is_married = yes + is_ai = yes + } + every_spouse = { + limit = { is_ai = yes } + save_temporary_scope_as = saeculum_clergy_divorcee + less_verbose_divorce_effect = { + DIVORCER = prev + DIVORCEE = scope:saeculum_clergy_divorcee + } + } + } + if = { + limit = { exists = betrothed } + break_betrothal = betrothed + } + } + } +} + +#The Christian Church phase start effect - +# Phase on_start runs with situation as root; every_player does not iterate players from that context. Iterate situation participants instead (cf. the_great_steppe phase on_start). +the_christian_church_fire_event_for_participant_players_effect = { + if = { + limit = { + NOT = { has_global_variable = pam_skip_tcc_phase_start_event } + } + every_player = { + limit = { + # Saeculum Obscurum on_start fires the schism start event + trigger_if = { + limit = { + situation:the_christian_church ?= { situation_current_phase = saeculum_obscurum } + } + situation:the_christian_church ?= { + NOT = { has_variable = pam_great_schism_status } + } + } + OR = { + government_has_flag = government_is_theocracy + years_from_game_start >= 1 + } + any_character_situation = { + this = situation:the_christian_church + } + } + trigger_event = $EVENT$ + } + } +} + +#The Christian Church situation effects +the_christian_church_fire_correct_phase_start_event_for_player_effect = { + if = { + limit = { + is_ai = no + is_player_tutorial_character = no + NOT = { has_global_variable = pam_skip_tcc_phase_start_event } + OR = { + government_has_flag = government_is_theocracy + years_from_game_start >= 1 + } + } + save_scope_as = situation_participant + situation:the_christian_church = { + switch = { + trigger = situation_current_phase + fragile_unity = { + scope:situation_participant = { + trigger_event = pam_the_christian_church.0051 + } + } + saeculum_obscurum = { + scope:situation_participant = { + trigger_event = pam_the_christian_church.0052 + } + } + conversion_phase = { + scope:situation_participant = { + trigger_event = pam_the_christian_church.0053 + } + } + reform_phase = { + scope:situation_participant = { + trigger_event = pam_the_christian_church.0054 + } + } + investiture_crisis = { + scope:situation_participant = { + trigger_event = pam_the_christian_church.0055 + } + } + crusade_phase = { + scope:situation_participant = { + trigger_event = pam_the_christian_church.0056 + } + } + concord = { + scope:situation_participant = { + trigger_event = pam_the_christian_church.0057 + } + } + } + } + } +} + +pam_remove_forbidden_personal_tenet_secret_if_invalid_effect = { + if = { + limit = { + any_secret = { type = secret_forbidden_personal_tenet } + NOT = { pam_has_forbidden_personal_tenet_trigger = yes } + } + every_secret = { + type = secret_forbidden_personal_tenet + remove_secret = yes + } + } +} + +# Faith scope +pam_faith_cleanup_forbidden_personal_tenet_secrets_effect = { + hidden_effect = { + every_faith_character = { + pam_remove_forbidden_personal_tenet_secret_if_invalid_effect = yes + } + } +} + +# Faith scope. TENET is the tenet just prohibited +pam_faith_grant_forbidden_personal_tenet_secrets_effect = { + hidden_effect = { + every_faith_character = { + limit = { + has_personal_tenet = $TENET$ + NOT = { any_secret = { type = secret_forbidden_personal_tenet } } + } + on_personal_tenet_gain_secret_gain_effect = yes + } + } +} + +on_personal_tenet_gain_secret_gain_effect = { + # AI on_personal_tenet_gain is delayed, so the prohibited tenet may already be gone + if = { + limit = { pam_has_forbidden_personal_tenet_trigger = yes } + send_interface_toast = { + title = on_personal_tenet_gain_secret_gain_effect_tt + left_icon = root + add_secret = { + type = secret_forbidden_personal_tenet + target = this + } + if = { + limit = { exists = var:tenet_evangelized_by } + var:tenet_evangelized_by = { save_temporary_scope_as = tenet_evangelizer } + every_secret = { + type = secret_forbidden_personal_tenet + reveal_to = scope:tenet_evangelizer + } + remove_variable = tenet_evangelized_by + } + } + } +} + +# Called from five_year_playable_pulse. Root is the character. +pam_ai_personal_tenet_pulse_effect = { + if = { + limit = { + is_physically_able_ai = yes + } + + # Phase 0: cardinals may hold beliefs their rite prohibits, so a new pontiff can arrive carrying one + # Ahead of Phase 1 so the freed slot refills this pulse; on_personal_tenet_loss clears the secret + if = { + limit = { + pam_holds_college_elected_church_seat_trigger = yes + pam_has_forbidden_personal_tenet_trigger = yes + } + faith.main_rite = { save_temporary_scope_as = pam_pontiff_rite } + while = { + count = 8 + limit = { pam_has_forbidden_personal_tenet_trigger = yes } + random_personal_tenet = { + limit = { + scope:pam_pontiff_rite = { + has_tenet_status = { + tenet = prev + status = prohibited + } + } + } + root = { remove_personal_tenet = prev } + } + } + } + + # Phase 1: fill every empty personal tenet slot. No chance gate - empty slots are wasted SF and immersion. + # 8 = safety upper bound on slot cap (base 1 + up to ~5 from piety levels, with headroom). + while = { + count = 8 + limit = { + free_personal_tenet_slots > 0 + any_desired_tenet = { + only_positive = yes + threshold = 1 + selection_count = 97 + save_temporary_scope_as = pam_personal_tenet_candidate + NOT = { + root = { + any_personal_tenet = { + this = scope:pam_personal_tenet_candidate + } + } + } + OR = { + NOT = { + root.faith.main_rite = { + has_tenet_status = { + tenet = scope:pam_personal_tenet_candidate + status = prohibited + } + } + } + root = { pam_ai_can_consider_forbidden_personal_tenet_trigger = yes } + } + } + } + + random_desired_tenet = { + only_positive = yes + threshold = 1 + selection_count = 97 + limit = { + save_temporary_scope_as = pam_personal_tenet_candidate + NOT = { + root = { + any_personal_tenet = { + this = scope:pam_personal_tenet_candidate + } + } + } + OR = { + NOT = { + root.faith.main_rite = { + has_tenet_status = { + tenet = scope:pam_personal_tenet_candidate + status = prohibited + } + } + } + root = { pam_ai_can_consider_forbidden_personal_tenet_trigger = yes } + } + } + root = { set_personal_tenet = prev } + } + } + + # Phase 2: chance-gated swap, only when there are no free slots left to fill. + if = { + limit = { + free_personal_tenet_slots <= 0 + any_desired_tenet = { + only_positive = yes + threshold = 1 + selection_count = 97 + save_temporary_scope_as = pam_personal_tenet_candidate + NOT = { + root = { + any_personal_tenet = { + this = scope:pam_personal_tenet_candidate + } + } + } + OR = { + NOT = { + root.faith.main_rite = { + has_tenet_status = { + tenet = scope:pam_personal_tenet_candidate + status = prohibited + } + } + } + root = { pam_ai_can_consider_forbidden_personal_tenet_trigger = yes } + } + } + } + + random = { + chance = 30 + modifier = { + add = 15 + has_trait = zealous + } + modifier = { + add = -15 + has_trait = cynical + } + modifier = { + add = { + value = ai_zeal + divide = 5 + } + } + modifier = { + add = { + value = ai_boldness + divide = 5 + } + } + + # Pick the new tenet - Random of any positive-SF known tenet, not strictly the best. + random_desired_tenet = { + only_positive = yes + threshold = 1 + selection_count = 97 + limit = { + save_temporary_scope_as = pam_personal_tenet_candidate + NOT = { + root = { + any_personal_tenet = { + this = scope:pam_personal_tenet_candidate + } + } + } + OR = { + NOT = { + root.faith.main_rite = { + has_tenet_status = { + tenet = scope:pam_personal_tenet_candidate + status = prohibited + } + } + } + root = { pam_ai_can_consider_forbidden_personal_tenet_trigger = yes } + } + } + root = { force_set_personal_tenet = prev } + } + } + } + } +} + +conversion_tenet_acts_of_the_apostles_effect = { + scope:puppet_or_actor = { + if = { + limit = { # Legitimacy if core to the faith + rite = { + rite_has_parameter = tenet_acts_of_apostles_legitimacy_from_converts + } + is_valid_for_legitimacy_change = yes + } + send_interface_toast = { + title = conversion_tenet_acts_of_the_apostles_effect_legitimacy_tt + left_icon = scope:puppet_or_actor + add_legitimacy = minor_legitimacy_gain + } + } + if = { + limit = { # SP if personal tenet - converting the mighty pays more + has_personal_tenet_flag = tenet_acts_of_apostles_fulfillment_from_converts + scope:recipient ?= { is_landed = yes } + } + send_interface_toast = { + title = conversion_tenet_acts_of_the_apostles_effect_sp_tt + left_icon = scope:puppet_or_actor + change_spiritual_fulfillment = major_spiritual_fulfillment_value + } + } + else_if = { + limit = { + has_personal_tenet_flag = tenet_acts_of_apostles_fulfillment_from_converts + } + send_interface_toast = { + title = conversion_tenet_acts_of_the_apostles_effect_sp_tt + left_icon = scope:puppet_or_actor + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } + } + if = { + limit = { # Piety if core to the faith, scaled steeply by the convert's rank + rite = { rite_has_parameter = tenet_acts_of_apostles_piety_from_converts } + scope:recipient ?= { highest_held_title_tier >= tier_barony } + } + send_interface_toast = { + title = conversion_tenet_acts_of_the_apostles_effect_piety_tt + left_icon = scope:puppet_or_actor + add_piety = pam_acts_conversion_piety_value + } + } + } + if = { + limit = { + scope:is_puppet_action ?= yes + scope:puppet_or_actor = { + rite = { rite_has_parameter = tenet_acts_of_apostles_legitimacy_from_converts } + is_valid_for_legitimacy_change = yes + } + } + scope:actor = { + send_interface_toast = { + title = conversion_tenet_acts_of_the_apostles_effect_legitimacy_tt_puppeteer + left_icon = scope:puppet_or_actor + } + } + } + if = { + limit = { + scope:is_puppet_action ?= yes + scope:puppet_or_actor = { has_personal_tenet_flag = tenet_acts_of_apostles_fulfillment_from_converts } + } + scope:actor = { + send_interface_toast = { + title = conversion_tenet_acts_of_the_apostles_effect_sp_tt_puppeteer + left_icon = scope:puppet_or_actor + } + } + } +} + +pam_tax_nonbelievers_conversion_concession_effect = { + if = { + limit = { + scope:tax_nonbelievers_conversion_concession = yes + } + scope:puppet_or_actor = { + pay_short_term_gold = { + target = scope:recipient + gold = medium_gold_value + } + send_interface_toast = { + type = event_toast_effect_good + title = pam_tax_nonbelievers_conversion_concession_toast + left_icon = scope:recipient + right_icon = scope:puppet_or_actor + } + } + } +} + +conversion_tenet_mendicant_preachers_effect = { + scope:puppet_or_actor = { + if = { + limit = { + has_personal_tenet_flag = tenet_mendicant_preachers_conversion_fulfillment + } + send_interface_toast = { + title = conversion_tenet_mendicant_preachers_effect_sp_tt + left_icon = scope:puppet_or_actor + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } + } + } + if = { + limit = { + scope:is_puppet_action ?= yes + scope:puppet_or_actor = { has_personal_tenet_flag = tenet_mendicant_preachers_conversion_fulfillment } + } + scope:actor = { + send_interface_toast = { + title = conversion_tenet_mendicant_preachers_effect_sp_tt_puppeteer + left_icon = scope:puppet_or_actor + } + } + } +} + +pam_tax_nonbelievers_conversion_fulfillment_effect = { + if = { + limit = { + has_personal_tenet_flag = tax_nonbelievers_fulfillment_from_conversion + } + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } +} + +ora_et_labora_gardener_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_ora_et_labora_gardener_trait + NOT = { has_trait = lifestyle_gardener } + } + add_trait = lifestyle_gardener + } +} + +pam_tenet_takamin_hunter_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_takamin_hunter_trait + NOT = { has_trait = lifestyle_hunter } + } + add_trait = lifestyle_hunter + } +} + +pam_tenet_religious_law_scholar_gain_effect = { + if = { + limit = { + scope:tenet = tenet:tenet_religious_legal_pronouncements + has_personal_tenet_flag = tenet_religious_law_scholar_trait + } + if = { + limit = { + NOT = { has_trait = lifestyle_scholar } + } + add_stress = medium_stress_gain + add_trait = lifestyle_scholar + } + } +} + +pam_tenet_filial_piety_education_completion_reward_effect = { + if = { + limit = { + NOT = { has_character_flag = pam_filial_piety_education_rewarded } + exists = scope:educator + scope:educator = { + is_parent_of = root + has_personal_tenet_flag = tenet_filial_piety_education_completion_reward + } + } + add_character_flag = pam_filial_piety_education_rewarded + scope:educator = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_filial_piety_education_completion_parent_toast + left_icon = scope:educator + right_icon = root + add_piety = major_piety_value + change_spiritual_fulfillment = major_spiritual_fulfillment_value + } + } + send_interface_toast = { + type = event_toast_effect_good + title = pam_filial_piety_education_completion_child_toast + left_icon = root + right_icon = scope:educator + add_piety = major_piety_value + if = { + limit = { is_playable_character = yes } + change_spiritual_fulfillment = major_spiritual_fulfillment_value + } + } + } +} + +# An activity already under way was planned without the vow, so its reward is forfeit +pam_vows_of_poverty_block_ongoing_activity_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_vows_of_poverty_humble_host + exists = involved_activity + involved_activity.activity_host = root + } + involved_activity = { + set_variable = pam_vows_of_poverty_completion_piety_paid + } + } +} + +pam_vows_of_poverty_host_completion_piety_effect = { + if = { + limit = { + this = scope:host + scope:host = { + has_personal_tenet_flag = tenet_vows_of_poverty_humble_host + } + scope:activity = { + NOT = { has_variable = pam_vows_of_poverty_completion_piety_paid } + } + } + scope:activity = { + set_variable = pam_vows_of_poverty_completion_piety_paid + scope:host = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_vows_of_poverty_activity_completion_piety_toast + left_icon = scope:host + add_piety = pam_vows_of_poverty_host_piety_value + } + } + } + } +} + +hedonistic_reveler_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_hedonistic_reveler_trait + NOT = { has_trait = lifestyle_reveler } + } + add_trait = lifestyle_reveler + } +} + +pam_tenet_mountain_worship_rough_terrain_expert_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_mountain_worship_rough_terrain_expert_trait + NOT = { has_trait = rough_terrain_expert } + } + add_trait = rough_terrain_expert + } +} + +pam_tenet_mountain_worship_hike_spiritual_fulfillment_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_mountain_worship_hike + location = { + OR = { + terrain = mountains + terrain = desert_mountains + } + } + } + custom_tooltip = pam_tenet_mountain_worship_hike_spiritual_fulfillment_tt + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + } +} + +hedonistic_obesity_modifier_sync_effect = { + if = { + limit = { + current_weight >= overweight_value + has_personal_tenet_flag = tenet_hedonistic_obesity_fulfillment + } + if = { + limit = { + NOT = { has_character_modifier = tenet_hedonistic_obese_modifier } + } + add_character_modifier = { + modifier = tenet_hedonistic_obese_modifier + } + } + } + else_if = { + limit = { + has_character_modifier = tenet_hedonistic_obese_modifier + } + remove_character_modifier = tenet_hedonistic_obese_modifier + } +} + +hedonistic_feast_gout_risk_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_hedonistic_feast_gout_risk + current_weight >= overweight_value + can_contract_disease_trigger = { DISEASE = gout_ridden } + } + random_list = { + 75 = {} + 25 = { + send_interface_toast = { + type = event_toast_effect_bad + title = hedonistic_feast_gout_risk_toast + left_icon = root + show_as_tooltip = { add_trait_force_tooltip = gout_ridden } + hidden_effect = { + contract_disease_effect = { DISEASE = gout_ridden TREATMENT_EVENT = no } + } + } + } + } + } +} + +asceticism_inappetetic_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_asceticism_inappetetic_trait + NOT = { has_trait = inappetetic } + } + add_trait = inappetetic + } +} + +# Traits granted by a personal tenet are permanent +mortification_holy_scars_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_mortification_holy_scars + NOT = { has_trait = scarred } + } + add_trait = scarred + } +} + +# Revel in Pain belongs to Exaltation of Pain +pam_mortify_flesh_scourge_effect = { + if = { + limit = { has_personal_tenet_flag = tenet_mortification_revel_bonus } + send_interface_toast = { + type = event_generic_good + title = pam_mortification_revel_toast + left_icon = root + if = { # If you don't have the trait, it's guaranteed + limit = { + NOT = { has_trait = flagellant } + } + add_trait = flagellant + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + } + } + + if = { + limit = { has_personal_tenet_flag = tenet_mortification_holy_scars } + send_interface_toast = { + type = event_generic_good + title = pam_mortification_holy_scars_toast + left_icon = root + add_trait = scarred + add_trait_xp = { + trait = scarred + value = { integer_range = { min = 10 max = 25 } } + } + } + } +} + +# Wounds cannot kill here: the player chose this from a decision. +pam_mortify_flesh_offering_effect = { + add_piety = massive_piety_value + change_spiritual_fulfillment = major_spiritual_fulfillment_value + stress_and_fulfillment_impact = { + flagellant = medium_stress_impact_loss + zealous = minor_stress_impact_loss + craven = medium_stress_impact_gain + content = medium_stress_impact_gain + } + increase_wounds_no_death_effect = { REASON = treatment } +} + +literalism_scholar_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_literalism_scholar_trait + NOT = { has_trait = lifestyle_scholar } + } + add_trait = lifestyle_scholar + } +} + +scholasticism_scholar_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_scholasticism_scholar_trait + NOT = { has_trait = lifestyle_scholar } + } + add_trait = lifestyle_scholar + } + else_if = { + limit = { + has_personal_tenet_flag = tenet_scholasticism_scholar_trait + } + add_trait_xp = { + trait = lifestyle_scholar + value = pam_scholasticism_scholar_xp_value + } + } +} + +unrelenting_faith_blademaster_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_unrelenting_faith_blademaster_trait + NOT = { has_trait = lifestyle_blademaster } + } + add_trait = lifestyle_blademaster + } +} + +astrology_mystic_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_astrology_mystic_trait + NOT = { has_trait = lifestyle_mystic } + } + add_trait = lifestyle_mystic + } +} + +anachoresis_mystic_gain_effect = { + if = { + limit = { + scope:tenet = tenet:tenet_anachoresis + has_personal_tenet_flag = tenet_anachoresis_mystic_trait + NOT = { has_trait = lifestyle_mystic } + } + add_trait = lifestyle_mystic + } +} + +pure_land_aggressive_attacker_gain_effect = { + if = { + limit = { + scope:tenet = tenet:tenet_pure_land + has_personal_tenet_flag = tenet_pure_land_aggressive_attacker_trait + NOT = { has_trait = aggressive_attacker } + } + add_trait = aggressive_attacker + } +} + +pure_land_prestige_level_loss_effect = { + if = { + limit = { + scope:tenet = tenet:tenet_pure_land + has_personal_tenet_flag = tenet_pure_land_prestige_level_loss + } + add_prestige_level = -1 + } +} + +# Miles Christi personal tenet: the soldier of Christ takes up the mantle of a Holy Warrior +miles_christi_holy_warrior_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_miles_christi_holy_warrior_trait + NOT = { has_trait = holy_warrior } + } + add_trait = holy_warrior + } +} + +# PAM - Reincarnation: claim a forebear's personality trait. +# Opposing traits are replaced first; otherwise the least-fulfilling personality trait is replaced. +pam_claim_remembered_personality_trait_effect = { + if = { + limit = { + $TRAIT$ = { + any_opposite_trait = { + root = { has_trait = prev } + } + } + } + $TRAIT$ = { + every_opposite_trait = { + limit = { + root = { has_trait = prev } + } + root = { remove_trait = prev } + } + } + } + else_if = { + limit = { number_of_personality_traits >= 1 } + ordered_character_trait = { + limit = { has_trait_category = personality } + order_by = pam_recall_worst_personality_order_value + save_scope_as = pam_recall_replaced_personality + } + remove_trait = scope:pam_recall_replaced_personality + } + add_trait = $TRAIT$ + change_spiritual_fulfillment = medium_spiritual_fulfillment_value +} + +pam_great_project_contribution_catalyst_effect = { + if = { + limit = { + this != scope:owner + this != scope:founder + scope:owner ?= { + any_character_situation = { + situation_type = the_christian_church + } + } + OR = { + scope:great_project.great_project_type = great_project_type:pam_cathedral_01 + scope:great_project.great_project_type = great_project_type:pam_cathedral_02 + scope:great_project.great_project_type = great_project_type:pam_cathedral_03 + scope:great_project.great_project_type = great_project_type:pam_mass_rite_conversion + } + } + random_character_situation = { + limit = { situation_type = the_christian_church } + switch = { + trigger = scope:great_project.great_project_type + great_project_type:pam_cathedral_01 = { + if = { + limit = { situation_top_has_catalyst = catalyst_great_project_cathedral_contribution } + trigger_situation_catalyst = catalyst_great_project_cathedral_contribution + } + } + great_project_type:pam_cathedral_02 = { + if = { + limit = { situation_top_has_catalyst = catalyst_great_project_cathedral_contribution } + trigger_situation_catalyst = catalyst_great_project_cathedral_contribution + } + } + great_project_type:pam_cathedral_03 = { + if = { + limit = { situation_top_has_catalyst = catalyst_great_project_cathedral_contribution } + trigger_situation_catalyst = catalyst_great_project_cathedral_contribution + } + } + great_project_type:pam_mass_rite_conversion = { + if = { + limit = { situation_top_has_catalyst = catalyst_great_project_mass_rite_conversion_contribution } + trigger_situation_catalyst = catalyst_great_project_mass_rite_conversion_contribution + } + } + } + } + } +} + +pam_levy_the_tithes_decision_effects = { + every_vassal = { + limit = { + OR = { + government_has_flag = government_is_theocracy + government_has_flag = government_is_ecclesiastical + } + } + custom = every_theocratic_vassal_tt + pay_short_term_gold = { + target = root + gold = minor_gold_value + } + } + if = { + limit = { exists = cp:councillor_court_chaplain } + cp:councillor_court_chaplain = { + progress_towards_rival_effect = { + CHARACTER = root + REASON = rival_levied_tithes + OPINION = default_rival_opinion + } + } + } +} + +#The flag is set in give_cardinal_order_interaction this provides the appropriate event option to accept or deny, along with communicating to players (via toast) who rule the county(s) affected by the below modifiers that a change has taken place +pam_choose_cardinal_order_switch_scripted_effect = { + switch = { + trigger = yes + scope:cardinal_improve_development ?= { + capital_county.clerical_region_title = { + every_county_in_clerical_region = { + custom = cardinal_order_improve_development + limit = { + faith = scope:recipient.faith + } + add_county_modifier = { + modifier = pam_cardinal_order_improve_development_modifier + years = 10 + } + holder = { + if = { + limit = { + is_ai = no + } + add_to_list = county_holders + } + } + } + } + } + + scope:cardinal_convert_faith ?= { + capital_county ?= { + clerical_region_title ?= { + every_county_in_clerical_region = { + custom = cardinal_order_convert_faith + limit = { + pam_cardinal_order_convert_faith_in_region_county_trigger = { CARDINAL = scope:recipient } + } + add_county_modifier = { + modifier = pam_cardinal_order_convert_faith_modifier + years = 10 + } + holder = { + if = { + limit = { + is_ai = no + } + add_to_list = county_holders + } + } + } + if = { + limit = { + any_county_in_clerical_region = { + any_neighboring_county = { + pam_cardinal_order_convert_faith_neighboring_county_trigger = { CARDINAL = scope:recipient } + } + } + } + custom_tooltip = { + text = cardinal_order_convert_faith_neighboring + every_county_in_clerical_region = { + every_neighboring_county = { + limit = { + pam_cardinal_order_convert_faith_neighboring_county_trigger = { CARDINAL = scope:recipient } + NOT = { has_county_modifier = pam_cardinal_order_convert_faith_modifier } + } + add_county_modifier = { + modifier = pam_cardinal_order_convert_faith_modifier + years = 10 + } + holder = { + if = { + limit = { + is_ai = no + } + add_to_list = county_holders + } + } + } + } + } + } + } + } + } + + scope:cardinal_increase_control ?= { + capital_county.clerical_region_title = { + every_county_in_clerical_region = { + custom = cardinal_order_increase_control + limit = { + holder.top_liege.faith = scope:recipient.faith + } + add_county_modifier = { + modifier = pam_cardinal_order_increase_control_modifier + years = 10 + } + holder = { + if = { + limit = { + is_ai = no + } + add_to_list = county_holders + } + } + } + } + } + + scope:cardinal_accelerate_cultural_fascination ?= { + scope:puppet_or_actor.culture.culture_head = { + custom_tooltip = cardinal_order_accelerate_cultural_fascination + add_character_modifier = { + modifier = pam_cardinal_order_accelerate_cultural_fascination_modifier + years = 10 + } + if = { + limit = { + is_ai = no + } + add_to_list = county_holders + } + } + } + + scope:cardinal_improve_epidemic_resistance ?= { + capital_county.clerical_region_title = { + every_county_in_clerical_region = { + custom = cardinal_order_improve_epidemic_resistance + limit = { + NOT = { + has_county_modifier = pam_cardinal_order_improve_epidemic_resistance_modifier + } + faith = scope:recipient.faith + } + add_county_modifier = { + modifier = pam_cardinal_order_improve_epidemic_resistance_modifier + years = 10 + } + holder = { + if = { + limit = { + is_ai = no + } + add_to_list = county_holders + } + } + } + } + } + + scope:cardinal_improve_legitimacy ?= { + capital_county.clerical_region_title = { + every_county_in_clerical_region = { + custom = cardinal_order_improve_legitimacy + limit = { + holder.top_liege = { + has_legitimacy = yes + NOT = { + has_character_modifier = pam_cardinal_order_improve_legitimacy_modifier + } + faith = scope:recipient.faith + } + } + holder.top_liege = { + add_character_modifier = { + modifier = pam_cardinal_order_improve_legitimacy_modifier + years = 10 + } + if = { + limit = { + is_ai = no + } + add_to_list = county_holders + } + } + } + } + } + + scope:cardinal_undermine_legitimacy ?= { + capital_county.clerical_region_title = { + every_county_in_clerical_region = { + custom = cardinal_order_undermine_legitimacy + limit = { + holder.top_liege = { + has_legitimacy = yes + NOT = { + has_character_modifier = pam_cardinal_order_undermine_legitimacy_modifier + } + faith = scope:recipient.faith + } + } + holder.top_liege = { + add_character_modifier = { + modifier = pam_cardinal_order_undermine_legitimacy_modifier + years = 10 + } + if = { + limit = { + is_ai = no + } + add_to_list = county_holders + } + } + } + } + } + } +} + +pam_cardinal_order_accept_notify_players_effect = { + $HOF$ = { + if = { + limit = { is_ai = no } + hidden_effect = { + send_interface_toast = { + type = event_toast_effect_neutral + title = give_cardinal_order_interaction_toast + left_icon = $HOF$ + right_icon = scope:recipient + scope:recipient = { + show_as_tooltip = { + pam_choose_cardinal_order_switch_scripted_effect = yes + } + } + } + } + } + } + if = { + limit = { + scope:actor != $HOF$ + scope:actor = { is_ai = no } + } + scope:actor = { + send_interface_toast = { + type = event_toast_effect_neutral + title = give_cardinal_order_interaction_toast + left_icon = $HOF$ + right_icon = scope:recipient + scope:recipient = { + show_as_tooltip = { + pam_choose_cardinal_order_switch_scripted_effect = yes + } + } + } + } + } + every_in_list = { + list = county_holders + limit = { + NOT = { this = $HOF$ } + NOT = { this = scope:actor } + } + hidden_effect = { + send_interface_toast = { + type = event_toast_effect_neutral + title = give_cardinal_order_interaction_toast + left_icon = $HOF$ + right_icon = scope:recipient + scope:recipient = { + show_as_tooltip = { + pam_choose_cardinal_order_switch_scripted_effect = yes + } + } + } + } + } +} + +pam_cardinal_order_decline_effect = { + $CARDINAL$ = { + add_prestige = medium_prestige_gain + add_piety = medium_piety_loss + if = { + limit = { + $HOF$ = { is_alive = yes } + can_set_relation_rival_trigger = { CHARACTER = $HOF$ } + } + progress_towards_rival_effect = { + REASON = rival_ignored_orders + CHARACTER = $HOF$ + OPINION = default_rival_opinion + } + } + else_if = { + limit = { + $HOF$ = { is_alive = yes } + } + add_opinion = { + target = $HOF$ + modifier = disrespect_opinion + opinion = -60 + } + } + } +} + +# Shared handler for the offer_pilgrimage send option: ACTOR promises the pilgrimage, CLERIC is rewarded +pam_offer_pilgrimage_effect = { + if = { + limit = { + scope:offer_pilgrimage ?= yes + } + $ACTOR$ = { + add_character_modifier = { + modifier = promised_pilgrimage_to_clergy_modifier + years = 10 + } + custom_tooltip = actor_promised_pilgrimage_tt + } + $CLERIC$ = { + add_piety_experience = { + value = minor_piety_gain + add = { + value = $ACTOR$.highest_held_title_tier + subtract = 1.5 + multiply = 20 + } + } + } + } +} + +request_legitimacy_interaction_effect = { + add_legitimacy = { + value = medium_legitimacy_gain + multiply = 1.5 + if = { + limit = { + scope:monastic_support = yes + } + scope:puppet_or_actor = { + every_patroned_holy_order = { + limit = { + leader = { + government_has_flag = government_is_monastic_holy_order + } + } + add = minor_legitimacy_gain + } + } + } + if = { + limit = { + scope:puppet_or_actor ?= { + has_personal_tenet_flag = tenet_apostolic_succession_papal_legitimacy + faith.religious_head ?= scope:recipient + } + } + add = medium_legitimacy_gain + } + max = massive_legitimacy_gain + } + if = { + limit = { + rite = { + has_tenet_status = { + tenet = tenet_simony + status = prohibited + } + } + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + } + if = { + limit = { + any_vassal = { + NOT = { + faith = scope:puppet_or_actor.faith + } + } + } + every_vassal = { + custom = custom.every_astray_faith_vassal + limit = { + NOT = { + faith = scope:puppet_or_actor.faith + } + faith = { + faith_hostility_level = { + target = scope:puppet_or_actor.faith + value >= faith_astray_level + } + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = heathen_mandate_opinion + opinion = -20 + } + } + } + if = { + limit = { + any_held_title = { + tier = tier_county + NOT = { + faith = scope:puppet_or_actor.faith + } + faith = { + faith_hostility_level = { + target = scope:puppet_or_actor.faith + value >= faith_astray_level + } + } + } + } + every_held_title = { + custom = custom.every_astray_faith_domain_county + limit = { + tier = tier_county + NOT = { + faith = scope:puppet_or_actor.faith + } + faith = { + faith_hostility_level = { + target = scope:puppet_or_actor.faith + value >= faith_astray_level + } + } + } + add_county_modifier = { + modifier = heathen_mandate_modifier + years = 5 + } + } + } + if = { + limit = { + scope:monastic_support = yes + } + every_patroned_holy_order = { + limit = { + leader = { + government_has_flag = government_is_monastic_holy_order + } + } + scope:puppet_or_actor = { + pay_short_term_gold = { + target = prev.leader + gold = minor_gold_value + } + } + } + } + if = { + limit = { + scope:tithe = yes + } + every_held_title = { + limit = { + tier = tier_county + NOT = { + any_county_province = { + is_occupied = yes + } + } + development_level >= 1 + } + add_to_list = tithed_counties + } + scope:recipient = { + add_gold = { + value = 0 + every_in_list = { + list = tithed_counties + add = scope:recipient.miniscule_gold_value + add = { + value = development_level + } + } + max = monumental_gold_value + } + } + every_in_list = { + list = tithed_counties + custom = custom.every_domain_county_1_plus_development + if = { + limit = { + scope:recipient.culture = { + has_cultural_era_or_later = culture_era_late_medieval + } + } + change_development_progress = massive_development_progress_loss + } + else_if = { + limit = { + scope:recipient.culture = { + has_cultural_era_or_later = culture_era_high_medieval + } + } + change_development_progress = major_development_progress_loss + } + else = { + change_development_progress = medium_development_progress_loss + } + } + #Secretly take gold from wealthy-ass barons + hidden_effect = { + every_in_list = { + list = tithed_counties + every_county_province = { + limit = { + barony.holder ?= { + highest_held_title_tier = tier_barony + is_ai = yes + gold > medium_gold_value + } + } + barony.holder ?= { + remove_short_term_gold = medium_gold_value + } + } + } + } + if = { + limit = { + any_vassal = { + has_vassal_stance = barons_and_minor_landholders + } + } + every_vassal = { + custom = custom.every_barons_and_minor_landholders_vassal + limit = { + has_vassal_stance = barons_and_minor_landholders + } + add_opinion = { + modifier = tithed_opinion + target = scope:puppet_or_actor + opinion = -25 + } + } + custom_tooltip = tithe_takes_baron_gold_tt + } + } + if = { + limit = { + scope:donate_faith = yes + } + pay_short_term_gold = { + target = scope:recipient + gold = scope:puppet_or_actor.major_gold_value + } + } + if = { + limit = { + scope:use_hook = yes + has_usable_hook = scope:recipient + } + use_hook = scope:recipient + } + if = { + limit = { + scope:offer_hook = yes + } + scope:recipient = { + add_hook = { + type = favor_hook + target = scope:puppet_or_actor + } + } + } + if = { + limit = { + is_ai = yes + } + add_opinion = { + target = scope:recipient + modifier = grateful_opinion + opinion = 30 + } + } + pam_offer_pilgrimage_effect = { + ACTOR = scope:puppet_or_actor + CLERIC = scope:recipient + } + #The cleric should lose spiritual fulfillment if they agree to supporting a wicked king or a tyrant + if = { + limit = { + OR = { + character_considered_wicked_trigger = { RITE = scope:recipient.rite } + scope:recipient = { + has_relation_rival = scope:puppet_or_actor + } + tyranny > medium_tyranny + has_trait = excommunicated + } + } + scope:recipient = { + # We never take more piety than the cleric has, or the Church goes into debt + add_piety = { + value = major_piety_value + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + max = piety + min = 0 + multiply = -1 + } + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + if = { + limit = { + scope:puppet_or_actor = { has_trait = excommunicated } + } + custom_tooltip = sp_ful_loss_due_to_excommunicated + } + else_if = { + limit = { + has_relation_rival = scope:puppet_or_actor + } + custom_tooltip = sp_ful_loss_due_to_rival + } + else_if = { + limit = { + scope:puppet_or_actor = { tyranny > medium_tyranny } + } + custom_tooltip = sp_ful_loss_due_to_tyranny + } + else_if = { + custom_tooltip = sp_ful_loss_due_to_wicked + } + } + } + else_if = { + limit = { + OR = { + character_considered_morally_dubious_trigger = { RITE = scope:recipient.rite } + tyranny >= low_tyranny + } + } + scope:recipient = { + add_piety = { + value = minor_piety_value + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + max = piety + min = 0 + multiply = -1 + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + if = { + limit = { + scope:puppet_or_actor = { tyranny >= low_tyranny } + } + custom_tooltip = sp_ful_loss_due_to_tyranny + } + else = { + custom_tooltip = sp_ful_loss_due_to_immoral + } + } + } + else = { + scope:recipient = { + add_piety = { + value = miniscule_piety_value + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + max = piety + min = 0 + multiply = -1 + } + } + } + # Catalysts + if = { + limit = { + scope:puppet_or_actor.religion = religion:christianity_religion + situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_the_christian_church_requested_legitimacy } + } + situation:the_christian_church = { trigger_situation_catalyst = catalyst_the_christian_church_requested_legitimacy } + } +} +#Add variable that makes title grant recipient (who is claimant) satisfied with claim-granting for a bit +claimant_jealousy_immunity_effect = { + custom_tooltip = satisfied_claim_granting_tt + if = { + limit = { + scope:highest_claim.tier = tier_hegemony + } + add_to_variable_list = { + name = hegemony_grant + target = scope:puppet_or_actor + years = 3 + } + } + else_if = { + limit = { + scope:highest_claim.tier = tier_empire + } + add_to_variable_list = { + name = empire_grant + target = scope:puppet_or_actor + years = 3 + } + } + else_if = { + limit = { + scope:highest_claim.tier = tier_kingdom + } + add_to_variable_list = { + name = kingdom_grant + target = scope:puppet_or_actor + years = 3 + } + } + else_if = { + limit = { + scope:highest_claim.tier = tier_duchy + } + add_to_variable_list = { + name = duchy_grant + target = scope:puppet_or_actor + years = 3 + } + } + else_if = { + limit = { + scope:highest_claim.tier = tier_county + } + add_to_variable_list = { + name = county_grant + target = scope:puppet_or_actor + years = 3 + } + } +} +claimant_rivalry_mercy_effect = { + custom_tooltip = strong_claim_given_away_rivalry_tt + if = { + limit = { + scope:highest_denied_claim = { + tier >= tier_hegemony + } + } + add_to_variable_list = { + name = denied_hegemony + target = scope:puppet_or_actor + days = 31 + } + } + else_if = { + limit = { + scope:highest_denied_claim = { + tier >= tier_empire + } + } + add_to_variable_list = { + name = denied_empire + target = scope:puppet_or_actor + days = 31 + } + } + else_if = { + limit = { + scope:highest_denied_claim = { + tier >= tier_kingdom + } + } + add_to_variable_list = { + name = denied_kingdom + target = scope:puppet_or_actor + days = 31 + } + } + else_if = { + limit = { + scope:highest_denied_claim = { + tier >= tier_duchy + } + } + add_to_variable_list = { + name = denied_duchy + target = scope:puppet_or_actor + days = 31 + } + } + else_if = { + limit = { + scope:highest_denied_claim = { + tier >= tier_county + } + } + add_to_variable_list = { + name = denied_county + target = scope:puppet_or_actor + days = 31 + } + } + trigger_event = { + id = pam_interactions_events.0040 + days = 30 + } +} +#Opinion loss with underlings who think they should get the title you're granting +title_granting_controversy_effect = { + #populate vassal list + every_vassal_or_below = { + limit = { + NOR = { + this = scope:recipient + this = $TITLE$.holder + is_in_list = eligible_vassals + } + highest_held_title_tier > tier_barony + #Vassal granting should only annoy people who could actually receive vassal + trigger_if = { + limit = { + exists = scope:secondary_actor + } + highest_held_title_tier > $TITLE$.tier + } + #Children can't hold titles in admin govs + trigger_if = { + limit = { + government_has_mechanic = administrative + } + is_adult = yes + #Admin de jure/neighboring thing is a pain in the butt but should be acknowledged + trigger_if = { + limit = { + is_ruler = yes + } + any_held_title = { + OR = { + # The target title is part of your de jure structure + is_de_jure_liege_or_above_target = $TITLE$ + target_is_de_jure_liege_or_above = $TITLE$ + } + } + } + } + scope:puppet_or_actor = { + is_character_interaction_valid = { + recipient = prev + interaction = $INTERACTION$ + } + } + #Shouldn't lose opinion when giving title to their child or parent + NOR = { + AND = { + is_child_of = scope:recipient + is_heir_of = scope:recipient + } + AND = { + is_parent_of = scope:recipient + exists = scope:recipient.house + house ?= scope:recipient.house + } + } + } + add_to_list = eligible_vassals + } + #Also show effect on courtier claimants you actually care about (IE your family members) + $TITLE$ = { + every_claimant = { + limit = { + NOT = { this = scope:recipient } + NOT = { + is_in_list = eligible_vassals + } + #Vassal granting should only annoy people who could actually receive vassal + trigger_if = { + limit = { + exists = scope:secondary_actor + } + highest_held_title_tier > $TITLE$.tier + } + trigger_if = { + limit = { + is_ruler = no + } + OR = { + rite = { + rite_has_parameter = gender_equal_law + } + AND = { + is_male = yes + rite = { + rite_has_parameter = male_dominated_law + } + } + AND = { + is_female = yes + rite = { + rite_has_parameter = female_dominated_law + } + } + } + } + in_diplomatic_range = scope:puppet_or_actor + NOT = { has_strong_implicit_claim_on = $TITLE$ } + any_claim = { + pressed = yes + this = $TITLE$ + } + any_liege_or_above = { + this = scope:puppet_or_actor + } + OR = { + any_close_family_member = { + this = scope:puppet_or_actor + } + AND = { + exists = scope:puppet_or_actor.house + house ?= scope:puppet_or_actor.house + } + any_spouse = { + this = scope:puppet_or_actor + } + has_any_good_relationship_with_character_trigger = { CHARACTER = scope:puppet_or_actor } + } + #Children can't hold titles in admin govs + trigger_if = { + limit = { + government_has_mechanic = administrative + } + is_adult = yes + #Admin de jure/neighboring thing is a pain in the butt but should be acknowledged + trigger_if = { + limit = { + is_ruler = yes + } + any_held_title = { + OR = { + # The target title is part of your de jure structure + is_de_jure_liege_or_above_target = $TITLE$ + target_is_de_jure_liege_or_above = $TITLE$ + } + } + } + } + scope:puppet_or_actor = { + is_character_interaction_valid = { + recipient = prev + interaction = $INTERACTION$ + } + } + #Shouldn't lose opinion when giving title to their child or parent + NOR = { + AND = { + is_child_of = scope:recipient + is_heir_of = scope:recipient + } + AND = { + is_parent_of = scope:recipient + exists = scope:recipient.house + house ?= scope:recipient.house + } + } + } + add_to_list = eligible_vassals + } + } + + #Higher repercussions for higher tier + #Higher repercussions for pressed claims than unpressed + if = { + limit = { + $TITLE$ = { + tier >= tier_kingdom + } + } + every_in_list = { + list = eligible_vassals + limit = { + NOT = { has_strong_implicit_claim_on = $TITLE$ } + has_claim_on = $TITLE$ + #Wasn't granted a claim of same tier or better in recent memory + NOR = { + any_in_list = { + variable = hegemony_grant + this = scope:puppet_or_actor + } + AND = { + $TITLE$.tier <= tier_empire + any_in_list = { + variable = empire_grant + this = scope:puppet_or_actor + } + } + AND = { + $TITLE$.tier <= tier_kingdom + any_in_list = { + variable = kingdom_grant + this = scope:puppet_or_actor + } + } + AND = { + $TITLE$.tier <= tier_duchy + any_in_list = { + variable = duchy_grant + this = scope:puppet_or_actor + } + } + AND = { + $TITLE$.tier <= tier_county + any_in_list = { + variable = county_grant + this = scope:puppet_or_actor + } + } + } + } + #pressed claim + if = { + limit = { + has_strong_claim_on = $TITLE$ + } + add_to_list = strong_claimants + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_my_pressed_claim_opinion + opinion = -50 + } + } + #unpressed claim + else = { + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_my_unpressed_claim_opinion + opinion = -30 + } + } + } + #Upset they didn't get de jure vassal title + every_in_list = { + list = eligible_vassals + limit = { + any_held_title = { + any_in_de_jure_hierarchy = { + this = $TITLE$ + } + } + } + #Less opinion loss if you're giving it to one of their vassals + if = { + limit = { + OR = { + exists = scope:secondary_actor + any_vassal_or_below = { + this = scope:recipient + } + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_vassal_title_opinion + opinion = -25 + } + } + else = { + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_vassal_title_opinion + opinion = -40 + } + } + } + #De Jure vassals upset they didn't get the title + every_in_list = { + list = eligible_vassals + limit = { + any_held_title = { + tier >= $TITLE$.tier_minus_1 + any_this_title_or_de_jure_above = { + this = $TITLE$ + } + } + } + #Less opinion loss if you're giving it to their liege or above + if = { + limit = { + any_liege_or_above = { + this = scope:recipient + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_liege_title_opinion + opinion = -20 + } + } + else = { + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_liege_title_opinion + opinion = -30 + } + } + } + } + else_if = { + limit = { + #Either title is a duchy or we're doing vassal transfer, not title granting + OR = { + $TITLE$ = { + tier >= tier_duchy + } + exists = scope:secondary_actor + } + } + every_in_list = { + list = eligible_vassals + limit = { + NOT = { has_strong_implicit_claim_on = $TITLE$ } + any_claim = { + this = $TITLE$ + pressed = yes + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_my_pressed_claim_opinion + opinion = -40 + } + } + every_in_list = { + list = eligible_vassals + limit = { + NOT = { has_strong_implicit_claim_on = $TITLE$ } + any_claim = { + this = $TITLE$ + pressed = no + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_my_unpressed_claim_opinion + opinion = -20 + } + } + #Upset they didn't get de jure vassal title + every_in_list = { + list = eligible_vassals + limit = { + any_held_title = { + any_in_de_jure_hierarchy = { + this = $TITLE$ + } + } + } + #Less opinion loss if you're giving it to one of their vassals or it's a vassal transfer + if = { + limit = { + OR = { + exists = scope:secondary_actor + any_vassal_or_below = { + this = scope:recipient + } + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_vassal_title_opinion + opinion = -20 + } + } + else = { + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_vassal_title_opinion + opinion = -30 + } + } + } + #De Jure vassals upset they didn't get the title + every_in_list = { + list = eligible_vassals + limit = { + any_held_title = { + tier >= $TITLE$.tier_minus_1 + any_this_title_or_de_jure_above = { + this = $TITLE$ + } + } + } + #Less opinion loss if you're giving it to their liege or above + if = { + limit = { + any_liege_or_above = { + this = scope:recipient + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_liege_title_opinion + opinion = -15 + } + } + else = { + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_liege_title_opinion + opinion = -20 + } + } + } + } + #Don't want to impose much mental load on giving away counties + #PLUS you can give them away with the "give to random noble" button without repercussions + #So we'll only do de jure lieges getting mad you are purposefully favoring another lord or courtier over them + else_if = { + limit = { + $TITLE$ = { tier >= tier_county } + } + #Upset they didn't get de jure vassal title + every_in_list = { + list = eligible_vassals + limit = { + any_held_title = { + any_in_de_jure_hierarchy = { + this = $TITLE$ + } + } + NOT = { + any_vassal_or_below = { + this = scope:recipient + } + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = gave_away_de_jure_vassal_title_opinion + opinion = -15 + } + } + } +} +strengthen_claim_interaction_effect = { + scope:puppet_or_actor = { add_pressed_claim = scope:target } + scope:recipient = { save_scope_as = cleric } + scope:target.holder ?= { save_scope_as = owner } + #Let's figure out how morally wrong the cleric feels this is + #Either your shittiness or target's coolness has given the clergyman pause + if = { + limit = { + clerical_hesitation_claim_interaction_value >= 9 + } + scope:recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = major_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = major_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 6 + } + scope:recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = medium_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = medium_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 3 + } + scope:recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = minor_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = minor_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value < 3 + clerical_hesitation_claim_interaction_value >= -2 + } + scope:recipient = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value < -2 + } + scope:recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = miniscule_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -5 + } + scope:recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -8 + } + scope:recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else = { + scope:recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = major_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + scope:target.holder ?= { + add_opinion = { + target = scope:puppet_or_actor + modifier = church_claim_modifier + opinion = -40 + } + if = { + limit = { + scope:recipient = { + is_ai = yes + } + } + hidden_effect = { + add_opinion = { + target = scope:recipient + modifier = church_claim_modifier + opinion = -30 + } + } + } + else = { + add_opinion = { + target = scope:recipient + modifier = church_claim_modifier + opinion = -30 + } + } + } + #Opinion loss with title's de jure liege - why you trying to steal this when it should be under me? + scope:target = { + every_this_title_or_de_jure_above = { + limit = { + exists = holder + NOR = { + this = scope:target + holder = { + OR = { + this = scope:puppet_or_actor + this = scope:recipient + this = scope:target.holder + #actor's liege being mad at them for contesting other vassals is kinda wrong + is_liege_or_above_of = scope:puppet_or_actor + } + } + } + } + if = { + limit = { + any_direct_de_jure_vassal_title = { + this = scope:target + } + } + holder = { add_to_list = de_jure_direct_lieges } + } + else = { + holder = { add_to_list = de_jure_higher_lieges } + } + } + every_in_list = { + list = de_jure_direct_lieges + #More loss for direct liege + add_opinion = { + target = scope:puppet_or_actor + modifier = pressed_church_claim_de_jure_liege_modifier + opinion = -25 + } + if = { + limit = { + scope:recipient = { + is_ai = yes + } + } + hidden_effect = { + add_opinion = { + target = scope:recipient + modifier = pressed_church_claim_de_jure_liege_modifier + opinion = -10 + } + } + } + else = { + add_opinion = { + target = scope:recipient + modifier = pressed_church_claim_de_jure_liege_modifier + opinion = -10 + } + } + } + every_in_list = { + list = de_jure_higher_lieges + limit = { + NOT = { is_in_list = de_jure_direct_lieges } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = pressed_church_claim_de_jure_liege_modifier + opinion = -15 + } + if = { + limit = { + scope:recipient = { + is_ai = yes + } + } + hidden_effect = { + add_opinion = { + target = scope:recipient + modifier = pressed_church_claim_de_jure_liege_modifier + opinion = -5 + } + } + } + else = { + add_opinion = { + target = scope:recipient + modifier = pressed_church_claim_de_jure_liege_modifier + opinion = -5 + } + } + } + } + if = { + limit = { + is_ai = yes + } + add_opinion = { + target = scope:recipient + modifier = pressed_my_claim + opinion = { + value = 10 + if = { + limit = { + highest_held_title_tier < scope:target.tier + } + multiply = 4 + } + else_if = { + limit = { + highest_held_title_tier = scope:target.tier + } + multiply = 3 + } + else_if = { + limit = { + highest_held_title_tier_minus_one = scope:target.tier + } + multiply = 2 + } + else_if = { + limit = { + highest_held_title_tier_minus_two = scope:target.tier + } + multiply = 1.5 + } + } + } + } + if = { + limit = { + scope:donate_faith = yes + } + pay_short_term_gold = { + target = scope:recipient + gold = scope:puppet_or_actor.medium_gold_value + } + } + if = { + limit = { + scope:use_hook = yes + has_usable_hook = scope:recipient + } + use_hook = scope:recipient + } + if = { + limit = { + scope:offer_hook = yes + } + scope:recipient = { + add_hook = { + type = favor_hook + target = scope:puppet_or_actor + } + } + } + pam_offer_pilgrimage_effect = { + ACTOR = scope:puppet_or_actor + CLERIC = scope:recipient + } + if = { + limit = { + scope:threaten_priest = yes + } + if = { + limit = { + scope:secondary_recipient = { + this = scope:puppet_or_actor.faith.religious_head + } + } + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + add_piety_experience = massive_piety_loss + custom_tooltip = hof_increase_piety_sp_fulfillment_loss_tt + } + else = { + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + add_piety_experience = major_piety_loss + } + scope:secondary_recipient = { + add_opinion = { + modifier = threatened_church_opinion + target = scope:puppet_or_actor + opinion = -50 + } + } + } + # Catalysts + if = { + limit = { # If you are strenghtening a claim against a Christian ruler + scope:puppet_or_actor.religion = religion:christianity_religion + scope:target.holder.religion ?= religion:christianity_religion + situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_the_christian_church_strenghtened_claim } + } + situation:the_christian_church = { trigger_situation_catalyst = catalyst_the_christian_church_strenghtened_claim } + } +} + +sell_claim_interaction_effect = { + scope:recipient = { add_unpressed_claim = scope:target } + # cost = { piety } is only charged to scope:actor, so a puppeteer's cleric pays here instead + if = { + limit = { scope:is_puppet_action ?= yes } + scope:puppet_or_actor = { + add_piety = { + value = { + add = pam_sell_claim_piety_cost_value + max = piety + multiply = -1 + } + } + } + } + if = { + limit = { scope:sell_claim_gold_and_hook = yes } + send_interface_toast = { + title = sell_claim_interaction_effect_tt + left_icon = scope:target + right_icon = scope:recipient + scope:recipient = { + pay_short_term_gold = { + target = scope:puppet_or_actor + gold = minor_gold_value + } + } + } + scope:puppet_or_actor = { # Generates its own toast + if = { + limit = { has_hook = scope:recipient } + custom_tooltip = already_has_hook_on_recipient + } + add_hook = { + type = favor_hook + target = scope:recipient + } + } + } + else = { + scope:puppet_or_actor = { + send_interface_toast = { + title = sell_claim_interaction_effect_tt + left_icon = scope:target + right_icon = scope:recipient + scope:recipient = { + pay_short_term_gold = { + target = scope:puppet_or_actor + gold = pam_sell_claim_gold_cost_value + } + } + } + } + } + if = { + limit = { + scope:is_puppet_action ?= yes + scope:actor != scope:recipient + } + scope:actor = { + send_interface_toast = { + title = sell_claim_interaction_effect_tt_puppeteer + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + } + } + } + if = { + limit = { + scope:puppet_or_actor = { has_pam_dlc_trigger = yes } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_sold_claim + } + scope:puppet_or_actor = { + any_character_situation = { + this = situation:the_christian_church + } + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_clergy_sold_claim + } + } +} + +gift_claim_interaction_effect = { + send_interface_toast = { + type = event_toast_effect_neutral + title = gift_claim_interaction_effect_tt + left_icon = scope:target + right_icon = scope:recipient + remove_claim = scope:target + scope:recipient = { + add_unpressed_claim = scope:target + } + } + if = { + limit = { + scope:actor != scope:puppet_or_actor + scope:actor != scope:recipient + } + scope:actor = { + send_interface_toast = { + type = event_toast_effect_neutral + title = gift_claim_interaction_effect_tt_puppeteer + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + } + } + } +} + +ecclesiastic_grant_claim_interaction_effect = { + add_pressed_claim = scope:target + scope:secondary_recipient = { save_scope_as = cleric } + scope:recipient = { save_scope_as = owner } + #Either your shittiness or target's coolness has given the clergyman pause + if = { + limit = { + clerical_hesitation_claim_interaction_value >= 9 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = major_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = major_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 6 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = medium_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = medium_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 3 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = minor_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = minor_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value < 3 + clerical_hesitation_claim_interaction_value >= -2 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value < -2 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = miniscule_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -5 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -8 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else = { + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:puppet_or_actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = major_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + scope:recipient ?= { + add_opinion = { + target = scope:puppet_or_actor + modifier = claimed_my_title_opinion + opinion = -60 + } + progress_towards_rival_effect = { + CHARACTER = scope:puppet_or_actor + OPINION = 0 + REASON = rival_claimed_my_title + } + hidden_effect = { + add_opinion = { + target = scope:secondary_recipient + modifier = claimed_my_title_opinion + opinion = -35 + } + } + } + #Opinion loss with title's de jure liege - why you trying to steal this when it should be under me? + scope:target = { + every_this_title_or_de_jure_above = { + limit = { + exists = holder + NOR = { + this = scope:target + holder = { + OR = { + this = scope:puppet_or_actor + this = scope:recipient + this = scope:target.holder + #actor's liege being mad at them for contesting other vassals is kinda wrong + is_liege_or_above_of = scope:puppet_or_actor + } + } + } + } + if = { + limit = { + any_direct_de_jure_vassal_title = { + this = scope:target + } + } + holder = { add_to_list = de_jure_direct_lieges } + } + else = { + holder = { add_to_list = de_jure_higher_lieges } + } + } + every_in_list = { + list = de_jure_direct_lieges + #More loss for direct liege + add_opinion = { + target = scope:puppet_or_actor + modifier = church_claim_de_jure_liege_modifier + opinion = -25 + } + if = { + limit = { + scope:secondary_recipient = { is_ai = yes } + } + hidden_effect = { + add_opinion = { + target = scope:secondary_recipient + modifier = church_claim_de_jure_liege_modifier + opinion = -10 + } + } + } + else = { + add_opinion = { + target = scope:secondary_recipient + modifier = church_claim_de_jure_liege_modifier + opinion = -10 + } + } + } + every_in_list = { + list = de_jure_higher_lieges + limit = { + NOT = { is_in_list = de_jure_direct_lieges } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = church_claim_de_jure_liege_modifier + opinion = -15 + } + if = { + limit = { + scope:secondary_recipient = { is_ai = yes } + } + hidden_effect = { + add_opinion = { + target = scope:secondary_recipient + modifier = church_claim_de_jure_liege_modifier + opinion = -5 + } + } + } + else = { + add_opinion = { + target = scope:secondary_recipient + modifier = church_claim_de_jure_liege_modifier + opinion = -5 + } + } + } + } + if = { + limit = { + is_ai = yes + } + add_opinion = { + target = scope:secondary_recipient + modifier = granted_claim_opinion + opinion = { + value = 10 + if = { + limit = { + highest_held_title_tier < scope:target.tier + } + multiply = 5 + } + else_if = { + limit = { + highest_held_title_tier = scope:target.tier + } + multiply = 4 + } + else_if = { + limit = { + highest_held_title_tier_minus_one = scope:target.tier + } + multiply = 3 + } + else_if = { + limit = { + highest_held_title_tier_minus_two = scope:target.tier + } + multiply = 2 + } + } + } + } + if = { + limit = { + scope:donate_faith = yes + } + pay_short_term_gold = { + target = scope:secondary_recipient + gold = scope:puppet_or_actor.medium_gold_value + } + } + if = { + limit = { + scope:use_hook = yes + has_usable_hook = scope:secondary_recipient + } + use_hook = scope:secondary_recipient + } + if = { + limit = { + scope:offer_hook = yes + } + scope:secondary_recipient = { + add_hook = { + type = favor_hook + target = scope:puppet_or_actor + } + } + } + pam_offer_pilgrimage_effect = { + ACTOR = scope:puppet_or_actor + CLERIC = scope:secondary_recipient + } + if = { + limit = { + scope:threaten_priest = yes + } + if = { + limit = { + scope:secondary_recipient = { + this = scope:puppet_or_actor.faith.religious_head + } + } + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + add_piety_experience = massive_piety_loss + custom_tooltip = hof_increase_piety_sp_fulfillment_loss_secondary_tt + } + else = { + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + add_piety_experience = major_piety_loss + } + scope:secondary_recipient = { + add_opinion = { + modifier = threatened_church_opinion + target = scope:puppet_or_actor + opinion = -50 + } + } + } + # Catalysts + if = { + limit = { + scope:puppet_or_actor.religion = religion:christianity_religion + scope:recipient.religion = religion:christianity_religion + situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_the_christian_church_ecclesiastical_grant_claim } + } + if = { + limit = { scope:threaten_priest = yes } + situation:the_christian_church = { trigger_situation_catalyst = catalyst_the_christian_church_threatened_ecclesiastical_grant_claim } + } + else = { + situation:the_christian_church = { trigger_situation_catalyst = catalyst_the_christian_church_ecclesiastical_grant_claim } + } + } +} + +# Called from on_personal_tenet_gain and on_piety_level_gain +reincarnation_piety_courage_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_reincarnation_piety_level_courage + piety_level >= high_piety_level + } + if = { + limit = { has_trait = craven } + send_interface_toast = { + type = event_toast_effect_good + title = pam_reincarnation_courage_toast + left_icon = root + remove_trait = craven + } + } + else_if = { + limit = { NOT = { has_trait = brave } } + send_interface_toast = { + type = event_toast_effect_good + title = pam_reincarnation_courage_toast + left_icon = root + add_trait = brave + } + } + } +} + +exaltation_of_pain_flagellant_gain_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_exaltation_of_pain_flagellant_trait + NOT = { has_trait = flagellant } + } + add_trait = flagellant + } +} + +pam_kingdom_of_heaven_declaration_effect = { + save_scope_as = kingdom_of_heaven_founder + get_title = title:h_kingdom_of_heaven + set_primary_title_to = title:h_kingdom_of_heaven + set_realm_capital = title:c_jerusalem + hidden_effect = { + domicile ?= { move_domicile = root.capital_province } + } + dynasty ?= { + add_dynasty_prestige = 10000 + add_dynasty_modifier = pam_founded_kingdom_of_heaven_modifier + } + if = { + limit = { NOT = { exists = dynasty } } + add_character_modifier = pam_founded_kingdom_of_heaven_modifier + } + custom_tooltip = { + text = pam_kingdom_of_heaven_decision_subjugation_effect_tt + set_variable = koh_subjugation_cb_allowed + } + set_global_variable = { + name = created_kingdom_of_heaven + value = yes + } + root.faith = { + every_faith_ruler = { + limit = { + this != root + is_independent_ruler = yes + is_available_quick = { + landed = yes + ai = yes + advanced_ruler = yes + } + is_playable_character = yes + highest_held_title_tier >= tier_county + highest_held_title_tier < tier_hegemony + NOR = { + has_relation_rival = root + is_at_war_with = root + government_has_flag = cannot_be_vassal_or_liege + } + } + random = { + chance = { + value = 20 + if = { + limit = { piety_level >= 1 } + add = 5 + } + if = { + limit = { piety_level >= 2 } + add = 8 + } + if = { + limit = { piety_level >= 3 } + add = 10 + } + if = { + limit = { piety_level >= 4 } + add = 15 + } + if = { + limit = { + opinion = { + target = root + value >= 30 + } + } + add = 10 + } + if = { + limit = { + opinion = { + target = root + value >= 60 + } + } + add = 15 + } + if = { + limit = { + exists = rite + scope:kingdom_of_heaven_founder = { exists = rite } + rite = scope:kingdom_of_heaven_founder.rite + } + add = 40 + } + } + add_to_list = new_vassals + hidden_effect = { + create_title_and_vassal_change = { + type = swear_fealty + save_scope_as = koh_fealty_change + add_claim_on_loss = no + } + change_liege = { + liege = root + change = scope:koh_fealty_change + } + resolve_title_and_vassal_change = scope:koh_fealty_change + } + if = { + limit = { highest_held_title_tier >= tier_kingdom } + show_as_tooltip = { + change_liege = { + liege = root + change = scope:koh_fealty_change + } + } + } + } + } + } + custom_tooltip = kingdom_of_heaven_lower_vassals_gained_tt + custom_tooltip = { + text = kingdom_of_heaven_lower_de_jure_gained_tt + every_empire = { + limit = { + is_landless_type_title = no + trigger_if = { + limit = { exists = holder.top_liege } + holder.top_liege = root + } + # really not landless + any_in_de_jure_hierarchy = { + tier = tier_kingdom + is_landless_type_title = no + any_in_de_jure_hierarchy = { + tier = tier_duchy + is_landless_type_title = no + } + } + save_temporary_scope_as = empire_temp + OR = { + holder ?= scope:kingdom_of_heaven_founder + scope:kingdom_of_heaven_founder = { completely_controls = scope:empire_temp } + } + } + set_de_jure_liege_title = title:h_kingdom_of_heaven + } + } +} + +pam_create_theocratic_dynasty_extra_effects = { + if = { # HoF doesn't like this + limit = { + exists = faith.religious_head + root != faith.religious_head + faith = { has_doctrine = doctrine_clerical_marriage_disallowed } + } + faith.religious_head = { + add_opinion = { + target = root + modifier = impious_opinion + opinion = -40 + } + } + add_piety = major_piety_loss + situation:the_christian_church ?= { + if = { + limit = { + situation_top_has_catalyst = catalyst_the_christian_church_established_theocratic_dynasty + } + trigger_situation_catalyst = catalyst_the_christian_church_established_theocratic_dynasty + } + } + } +} + +pam_boost_clerical_appointment_score_effect = { + $CHARACTER$.superior.primary_title ?= { + change_appointment_investment = { + target = $CHARACTER$ + value = $VALUE$ + } + } +} + +# Successful Siphon Treasury +pam_the_christian_church_clergy_embezzled_treasury_catalyst_effect = { + if = { + limit = { + is_clergy = yes + any_character_situation = { + situation_type = the_christian_church + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_embezzled_treasury + } + } + situation:the_christian_church = { + trigger_situation_catalyst = { + catalyst = catalyst_clergy_embezzled_treasury + character = root + } + } + } +} + +# Withdraw Funds from Treasury decision +pam_the_christian_church_clergy_withdrew_funds_from_treasury_catalyst_effect = { + if = { + limit = { + is_clergy = yes + any_character_situation = { + situation_type = the_christian_church + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_withdrew_funds_from_treasury + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_clergy_withdrew_funds_from_treasury + } + } +} + +# Needs POPE (appointer), CARDINAL (new cardinal) and OTHERWISE (non-nepotistic catalyst), any scope +# Both branches guard their catalyst, so a phase listing neither books nothing +pam_the_christian_church_appointed_cardinal_catalyst_effect = { + situation:the_christian_church ?= { + if = { + limit = { + $CARDINAL$ = { pam_cardinal_is_nepotistic_appointment_trigger = { POPE = $POPE$ } } + } + if = { + limit = { + situation_top_has_catalyst = catalyst_the_christian_church_appointed_nepotistic_cardinal + } + trigger_situation_catalyst = catalyst_the_christian_church_appointed_nepotistic_cardinal + } + } + else = { + if = { + limit = { + situation_top_has_catalyst = $OTHERWISE$ + } + trigger_situation_catalyst = $OTHERWISE$ + } + } + } +} + +# A non-Catholic ruler holds the de jure capital county of k_papal_state +pam_the_christian_church_catholic_hof_weak_papal_state_control_catalyst_effect = { + if = { + limit = { + has_pam_dlc_trigger = yes + pam_catholic_hof_weak_papal_state_control_trigger = yes + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_catholic_hof_weak_papal_state_control + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_catholic_hof_weak_papal_state_control + } + } +} + +@pam_papal_dynasty_capture_reigns = 3 +pam_the_christian_church_papal_dynasty_capture_catalyst_effect = { + if = { + limit = { + has_pam_dlc_trigger = yes + current_date_is_start_date_trigger = no + religion = religion:christianity_religion + } + if = { + limit = { exists = dynasty } + dynasty = { save_scope_as = pam_new_papal_dynasty } + } + situation:the_christian_church ?= { + if = { + limit = { + exists = scope:pam_new_papal_dynasty + has_variable = pam_papal_dynasty + var:pam_papal_dynasty = scope:pam_new_papal_dynasty + } + change_variable = { + name = pam_papal_dynasty_reigns + add = 1 + } + } + else_if = { + limit = { exists = scope:pam_new_papal_dynasty } + set_variable = { + name = pam_papal_dynasty + value = scope:pam_new_papal_dynasty + } + set_variable = { + name = pam_papal_dynasty_reigns + value = 1 + } + remove_variable = pam_papal_dynasty_capture_catalyst_fired + } + else = { + remove_variable = pam_papal_dynasty + remove_variable = pam_papal_dynasty_reigns + remove_variable = pam_papal_dynasty_capture_catalyst_fired + } + if = { + limit = { + has_variable = pam_papal_dynasty_reigns + var:pam_papal_dynasty_reigns >= @pam_papal_dynasty_capture_reigns + NOT = { has_variable = pam_papal_dynasty_capture_catalyst_fired } + situation_top_has_catalyst = catalyst_the_christian_church_papal_dynasty_capture + } + set_variable = pam_papal_dynasty_capture_catalyst_fired + trigger_situation_catalyst = catalyst_the_christian_church_papal_dynasty_capture + } + } + } +} + +# A different Christian faith becomes Main Power +pam_the_christian_church_main_power_faith_changed_catalyst_effect = { + situation:the_christian_church ?= { + if = { + limit = { + has_variable = pam_main_power_faith_changed_catalyst_faith + NOT = { var:tcc_main_power_faith = var:pam_main_power_faith_changed_catalyst_faith } + } + remove_variable = pam_the_christian_church_main_power_faith_changed_catalyst_fired + remove_variable = pam_main_power_faith_changed_catalyst_faith + } + if = { + limit = { + exists = scope:tcc_old_main_power_faith + has_variable = tcc_main_power_faith + var:tcc_main_power_faith != scope:tcc_old_main_power_faith + NOT = { has_variable = pam_the_christian_church_main_power_faith_changed_catalyst_fired } + situation_top_has_catalyst = catalyst_the_christian_church_main_power_faith_changed + } + set_variable = pam_the_christian_church_main_power_faith_changed_catalyst_fired + set_variable = { + name = pam_main_power_faith_changed_catalyst_faith + value = var:tcc_main_power_faith + } + trigger_situation_catalyst = catalyst_the_christian_church_main_power_faith_changed + } + } +} + +# Byzantine emperor is not Christian +pam_the_christian_church_byzantine_emperor_non_christian_catalyst_effect = { + situation:the_christian_church ?= { + if = { + limit = { + pam_byzantine_emperor_non_christian_trigger = no + } + remove_variable = pam_byzantine_emperor_non_christian_catalyst_fired + } + else_if = { + limit = { + pam_byzantine_emperor_non_christian_trigger = yes + NOT = { has_variable = pam_byzantine_emperor_non_christian_catalyst_fired } + situation_top_has_catalyst = catalyst_byzantine_emperor_non_christian + } + set_variable = pam_byzantine_emperor_non_christian_catalyst_fired + trigger_situation_catalyst = catalyst_byzantine_emperor_non_christian + } + } +} + +# Non Christian presence in Europe +pam_the_christian_church_non_christian_kingdom_in_europe_catalyst_effect = { + if = { + limit = { + pam_non_christian_kingdom_holder_in_europe_trigger = yes + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_non_christian_kingdom_in_europe + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_non_christian_kingdom_in_europe + } + random_ruler = { + limit = { pam_non_christian_kingdom_holder_in_europe_trigger = yes } + set_variable = pam_non_christian_kingdom_holder_in_europe_trigger_var + } + } +} + +# County conversion Catalysts +pam_the_christian_church_county_conversion_catalysts_effect = { + if = { # PAM - Catalysts if non-Christian county is converted to Christianity + limit = { + faith != scope:old_faith + scope:old_faith = { + religion != religion:christianity_religion + } + faith.religion = religion:christianity_religion + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_county_converted_to_faith + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_county_converted_to_faith + } + } + if = { # PAM - Catalyst when Christian county is converted away from Christianity + limit = { + faith != scope:old_faith + scope:old_faith = { + religion = religion:christianity_religion + } + faith.religion != religion:christianity_religion + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_county_converted_from_faith + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_county_converted_from_faith + } + } + if = { # PAM - Jerusalem county is no longer Christian + limit = { + this = title:c_jerusalem + scope:old_faith = { + religion = religion:christianity_religion + } + faith.religion != religion:christianity_religion + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_lose_jerusalem + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_lose_jerusalem + } + } + if = { # PAM - Other Christian holy site county is no longer Christian + limit = { + NOT = { this = title:c_jerusalem } + scope:old_faith = { + religion = religion:christianity_religion + } + faith.religion != religion:christianity_religion + any_county_province = { + barony = { is_holy_site_of = scope:old_faith } + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_lose_holy_site + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_lose_holy_site + } + } +} + +# Clergy member exposed as adhering to a prohibited personal tenet +pam_the_christian_church_clergy_exposed_forbidden_personal_tenet_catalyst_effect = { + if = { + limit = { + is_clergy = yes + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_exposed_forbidden_personal_tenet + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_clergy_exposed_forbidden_personal_tenet + } + } +} + +# Secular ruler exposed as adhering to a prohibited personal tenet +pam_the_christian_church_exposed_forbidden_personal_tenet_catalyst_effect = { + if = { + limit = { + is_clergy = no + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_exposed_forbidden_personal_tenet + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_exposed_forbidden_personal_tenet + } + } +} + +# Christian ruler wins a Great Holy War +pam_the_christian_church_great_holy_war_won_catalyst_effect = { + if = { + limit = { + scope:attacker = { + has_pam_dlc_trigger = yes + religion = religion:christianity_religion + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_the_christian_church_great_holy_war_won + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_great_holy_war_won + } + } +} + +# Christian ruler loses a Great Holy War +pam_the_christian_church_great_holy_war_lost_catalyst_effect = { + if = { + limit = { + scope:attacker = { + has_pam_dlc_trigger = yes + religion = religion:christianity_religion + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_the_christian_church_great_holy_war_lost + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_great_holy_war_lost + } + } +} + +# Christian prelate hires a Military Order (on_holy_order_hired) +pam_the_christian_church_clergy_hired_holy_order_catalyst_effect = { + if = { + limit = { + scope:actor = { + has_pam_dlc_trigger = yes + is_clergy = yes + religion = religion:christianity_religion + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_hired_holy_order + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_clergy_hired_holy_order + } + } +} + +# Christian prelate hires mercenaries while at war with a non-Christian (on_mercenary_company_hired) +pam_the_christian_church_clergy_hired_mercenaries_catalyst_effect = { + if = { + limit = { + scope:employer = { + has_pam_dlc_trigger = yes + is_clergy = yes + religion = religion:christianity_religion + any_primary_war_enemy = { + religion != religion:christianity_religion + } + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_hired_mercenaries + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_clergy_hired_mercenaries + } + } +} + +pam_the_christian_church_clergy_gained_landed_title_catalyst_effect = { + if = { + limit = { + has_global_variable = game_has_started # Don't fire for the clerical title holders placed during setup + has_pam_dlc_trigger = yes + is_clergy = yes + religion = religion:christianity_religion + scope:title = { + tier >= tier_county + has_clerical_region = no + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_gained_landed_title + } + } + situation:the_christian_church = { + trigger_situation_catalyst = { + catalyst = catalyst_clergy_gained_landed_title + character = root + } + } + } +} + +# Excommunication war declared between two Christian rulers (excommunication_war on_declaration) +pam_the_christian_church_excommunication_war_catalyst_effect = { + if = { + limit = { + scope:attacker = { has_pam_dlc_trigger = yes } + scope:attacker = { religion = religion:christianity_religion } + scope:defender = { religion = religion:christianity_religion } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_the_christian_church_excommunication_war_declared + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_excommunication_war_declared + } + } +} + +# Humiliation war declared against a Christian ecclesiastical ruler +pam_the_christian_church_humiliation_war_catalyst_effect = { + if = { + limit = { + scope:attacker = { has_pam_dlc_trigger = yes } + scope:defender = { + religion = religion:christianity_religion + government_has_flag = government_is_theocracy # Accounts for Ecclesiastical + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_the_christian_church_humiliation_war_declared + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_humiliation_war_declared + } + } +} + +# Clergy has a child +pam_the_christian_church_clergy_has_child_catalyst_effect = { + $CHARACTER$ = { + if = { + limit = { + has_pam_dlc_trigger = yes + is_clergy = yes + rite = { rite_has_doctrine = doctrine_clerical_marriage_disallowed } + any_character_situation = { + situation_type = the_christian_church + situation_top_has_catalyst = catalyst_clergy_has_child + } + } + if = { + limit = { + any_held_title = { is_head_of_faith = yes } + } + situation:the_christian_church = { + trigger_situation_catalyst = { + catalyst = catalyst_the_christian_church_head_of_faith_has_child + character = $CHARACTER$ + } + } + } + else = { + situation:the_christian_church = { + trigger_situation_catalyst = { + catalyst = catalyst_clergy_has_child + character = $CHARACTER$ + } + } + } + } + } +} + +pam_buy_ecclesiastical_title_interaction_effect = { + scope:actor = { + if = { + limit = { government_has_flag = government_is_theocracy } + save_scope_as = new_holder + } + else = { + scope:secondary_recipient = { save_scope_as = new_holder } + } + } + scope:actor = { + pay_short_term_gold = { + target = scope:recipient + gold = pam_buy_ecclesiastical_title_gold_cost_value + } + } + create_title_and_vassal_change = { + type = granted + save_scope_as = change + } + scope:target = { + change_title_holder_include_vassals = { + holder = scope:new_holder + change = scope:change + government_base = scope:recipient + } + } + resolve_title_and_vassal_change = scope:change + scope:new_holder = { + if = { + limit = { + NOT = { government_has_flag = government_is_ecclesiastical } + } + change_government = ecclesiastical_government + } + } + if = { + limit = { + scope:actor = { has_pam_dlc_trigger = yes } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_simony + } + scope:actor = { + any_character_situation = { + this = situation:the_christian_church + } + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_clergy_simony + } + } +} + +ecclesiastic_transfer_land_interaction_immediate_effect = { + scope:secondary_recipient = { save_scope_as = cleric } + scope:recipient = { save_scope_as = owner } + #Either your shittiness or target's coolness has given the clergyman pause + if = { + limit = { + clerical_hesitation_claim_interaction_value >= 9 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = major_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = major_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 6 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = medium_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = medium_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 3 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = minor_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = minor_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_high_player_tt + } + else = { + custom_tooltip = clerical_hesitation_high_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value < 3 + clerical_hesitation_claim_interaction_value >= -2 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value < -2 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = miniscule_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -5 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -8 + } + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + else = { + scope:secondary_recipient = { + if = { + limit = { + is_ai = yes + piety <= 0 + } + show_as_tooltip = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + } + else = { + add_piety = { + value = miniscule_piety_loss + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + change_spiritual_fulfillment = major_spiritual_fulfillment_value + if = { + limit = { + root ?= scope:cleric + } + custom_tooltip = clerical_hesitation_low_player_tt + } + else = { + custom_tooltip = clerical_hesitation_low_tt + } + } + } + #Opinion effects + scope:target.holder ?= { + #Hide this info from the cleric secondary_recipient + if = { + limit = { + root ?= scope:secondary_recipient + } + hidden_effect = { + add_opinion = { + target = scope:actor + modifier = demanded_my_title_opinion + opinion = -50 + } + } + } + else = { + add_opinion = { + target = scope:actor + modifier = demanded_my_title_opinion + opinion = -50 + } + } + if = { + limit = { + scope:secondary_recipient = { + is_ai = yes + } + } + hidden_effect = { + add_opinion = { + target = scope:secondary_recipient + modifier = demanded_my_title_opinion + opinion = -30 + } + } + } + } + if = { + limit = { + scope:recipient = { + NOT = { + this = scope:target.holder + } + } + } + scope:recipient ?= { + #Hide this info from the cleric secondary_recipient + if = { + limit = { + root ?= scope:secondary_recipient + } + hidden_effect = { + add_opinion = { + target = scope:actor + modifier = demanded_my_title_opinion + opinion = -25 + } + } + } + else = { + add_opinion = { + target = scope:actor + modifier = demanded_my_title_opinion + opinion = -25 + } + } + + + if = { + limit = { + scope:secondary_recipient = { + is_ai = yes + } + } + hidden_effect = { + add_opinion = { + target = scope:secondary_recipient + modifier = demanded_my_title_opinion + opinion = -20 + } + } + } + } + } + if = { + limit = { + is_ai = yes + } + add_opinion = { + target = scope:secondary_recipient + modifier = clerical_transfer_title_opinion + opinion = { + value = 10 + if = { + limit = { + highest_held_title_tier < scope:target.tier + } + multiply = 8 + } + else_if = { + limit = { + highest_held_title_tier = scope:target.tier + } + multiply = 5 + } + else_if = { + limit = { + highest_held_title_tier_minus_one = scope:target.tier + } + multiply = 3 + } + else_if = { + limit = { + highest_held_title_tier_minus_two = scope:target.tier + } + multiply = 2 + } + } + } + } + #Send toast to actor to confirm that interaction option costs have been applied + if = { + limit = { + OR = { + scope:promise_church_succession = yes + scope:donate_faith = yes + AND = { + scope:use_hook = yes + has_usable_hook = scope:secondary_recipient + } + scope:offer_pilgrimage = yes + scope:threaten_priest = yes + } + } + trigger_event = pam_interactions_events.0038 + #You promised the church could inherit this title if it is ever without heirs + if = { + limit = { + scope:promise_church_succession = yes + } + scope:actor = { + set_fallback_succession_title = scope:secondary_recipient.primary_title + } + scope:actor = { + custom_tooltip = church_fallback_succession_promise_tt + } + } + if = { + limit = { + scope:donate_faith = yes + } + pay_short_term_gold = { + target = scope:secondary_recipient + gold = scope:actor.medium_gold_value + } + } + if = { + limit = { + scope:use_hook = yes + has_usable_hook = scope:secondary_recipient + } + use_hook = scope:secondary_recipient + } + if = { + limit = { + scope:offer_hook = yes + } + scope:secondary_recipient = { + add_hook = { + type = strong_obligation_hook + target = scope:actor + } + } + } + pam_offer_pilgrimage_effect = { + ACTOR = scope:actor + CLERIC = scope:secondary_recipient + } + if = { + limit = { + scope:threaten_priest = yes + } + if = { + limit = { + scope:secondary_recipient = { + this = scope:actor.faith.religious_head + } + } + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + add_piety_experience = massive_piety_loss + custom_tooltip = hof_increase_piety_sp_fulfillment_loss_secondary_tt + } + else = { + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + add_piety_experience = major_piety_loss + } + scope:secondary_recipient = { + add_opinion = { + modifier = threatened_church_opinion + target = scope:actor + opinion = -50 + } + } + } + } + #Catalyst towards saeculum_obscurum + if = { + limit = { + #Only fire catalyst if clergyman is choosing a more immoral holder (has decently high hesitation) + clerical_hesitation_claim_interaction_value >= -2 + any_character_situation = { + this = situation:the_christian_church + } + situation:the_christian_church = { + OR = { + situation_top_has_catalyst = catalyst_ecclesiastical_transfer_land_interaction + situation_top_has_catalyst = catalyst_ecclesiastical_transfer_land_interaction_major + } + } + } + situation:the_christian_church = { + if = { + limit = { + scope:target.tier >= tier_kingdom + } + trigger_situation_catalyst = catalyst_ecclesiastical_transfer_land_interaction_major + } + else = { + trigger_situation_catalyst = catalyst_ecclesiastical_transfer_land_interaction + } + } + + } +} + +ecclesiastic_transfer_land_interaction_transfer_effect = { + #Transfer vassal + #Need to inform player of why they were just transferred + #Players are only valid if it is their primary title being transfered + if = { + limit = { + scope:target.holder ?= { + NOT = { + this = scope:recipient + } + is_ai = no + } + } + #transfer vassal + if = { + limit = { + scope:target.holder = { is_governor_or_admin_count = no } + } + scope:target.holder = { + add_to_list = already_transfered + every_vassal_or_below = { + limit = { + highest_held_title_tier >= tier_county + } + add_to_list = already_transfered + } + } + create_title_and_vassal_change = { + type = granted + save_scope_as = change + add_claim_on_loss = no + } + scope:target.holder = { + change_liege = { + liege = scope:actor + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + + scope:target.holder = { + #Notification event they're being transferred + trigger_event = pam_interactions_events.0037 + } + } + #Admin - needs title revoked + else = { + every_held_title = { + limit = { + any_this_title_or_de_jure_above = { + this = scope:target + } + } + add_to_list = admin_target_transfer + } + hidden_effect = { + create_title_and_vassal_change = { + type = revoked + save_scope_as = change + add_claim_on_loss = yes + } + every_in_list = { + list = admin_target_transfer + change_title_holder = { + holder = scope:recipient + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + } + scope:target.holder = { + #Notification event to dispossessed admin + trigger_event = pam_interactions_events.0039 + } + } + } + #Transfer vassal if it is primary title of its holder + else_if = { + limit = { + scope:target.holder.primary_title ?= scope:target + scope:target.holder = { + highest_held_title_tier = scope:target.tier + is_governor_or_admin_count = no + } + OR = { + #already low enough tier to transfer + scope:target.holder.highest_held_title_tier < scope:actor.highest_held_title_tier + #Will be low enough tier to transfer + scope:target.holder = { + NOT = { + any_held_title = { + NOT = { + this = scope:target + } + tier = scope:target.tier + } + } + } + } + } + scope:target.holder = { save_scope_as = old_holder } + #Need to transfer vassals if getting taken down a tier + if = { + limit = { + #Will be low enough tier to transfer + scope:target.holder = { + NOT = { + any_held_title = { + NOT = { + this = scope:target + } + tier >= scope:target.tier + } + } + } + } + scope:old_holder = { + every_vassal = { + limit = { + highest_held_title_tier >= tier_county + primary_title = { + any_this_title_or_de_jure_above = { + this = scope:target + } + } + highest_held_title_tier >= scope:target.tier_minus_one + is_governor_or_admin_count = no + } + add_to_list = transfer_vassals + } + } + } + #Transferring title still if needed to vassalize recipient + if = { + limit = { + scope:target.tier >= scope:actor.highest_held_title_tier + } + create_title_and_vassal_change = { + type = granted + save_scope_as = change + add_claim_on_loss = yes + } + scope:target = { + change_title_holder = { + holder = scope:actor + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + } + scope:old_holder = { + add_to_list = already_transfered + every_vassal_or_below = { + limit = { + + } + add_to_list = already_transfered + } + } + custom_tooltip = clergy_transfer_vassal_tt + hidden_effect = { + create_title_and_vassal_change = { + type = granted + save_scope_as = change + add_claim_on_loss = no + } + scope:old_holder = { + change_liege = { + liege = scope:actor + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + } + } + #transfer the title without the holder + else = { + scope:target ?= { + add_to_list = titles_to_grant + } + } + scope:target ?= { + #Revoke titles from admins in the transfer zone + every_in_de_jure_hierarchy = { + limit = { + tier >= tier_county + holder ?= { + is_vassal_or_below_of = scope:recipient + is_governor_or_admin_count = yes + } + NOT = { is_in_list = titles_to_grant } + } + add_to_list = admin_title_losses + } + hidden_effect = { + create_title_and_vassal_change = { + type = revoked + save_scope_as = change + add_claim_on_loss = yes + } + every_in_list = { + list = admin_title_losses + change_title_holder = { + holder = scope:recipient + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + } + + #Transfer vassals + every_in_de_jure_hierarchy = { + limit = { + exists = holder + holder = { + is_governor_or_admin_count = no + } + } + #Transfer vassals/sub-vassals of recipient that belong under target title + #At this point, target holder may be transfered and thus their vassals would not be included in this + if = { + limit = { + holder = { + highest_held_title_tier >= tier_county + any_liege_or_above = { + this = scope:recipient + } + primary_title = { + any_this_title_or_de_jure_above = { + this = scope:target + } + } + #Liege is also being transferred + NOT = { + any_liege_or_above = { + NOT = { + this = scope:target.holder + } + primary_title = { + any_this_title_or_de_jure_above = { + this = scope:target + } + } + } + } + NOR = { + is_in_list = transfer_vassals + is_in_list = already_transfered + } + highest_held_title_tier < scope:actor.highest_held_title_tier + } + } + holder = { add_to_list = transfer_vassals } + } + } + } + #transfer title(s) + if = { + limit = { + any_in_list = { + list = titles_to_grant + count >= 1 + } + } + create_title_and_vassal_change = { + type = granted + save_scope_as = change + add_claim_on_loss = yes + } + every_in_list = { + list = titles_to_grant + limit = { + tier >= tier_county + } + change_title_holder = { + holder = scope:actor + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + } + #transfer vassals + if = { + limit = { + any_in_list = { + list = transfer_vassals + count >= 1 + any_held_title = { + is_landless_type_title = no + NOT = { + is_in_list = titles_to_grant + } + } + } + } + if = { + limit = { + any_in_list = { + list = transfer_vassals + this = scope:target.holder + } + } + custom_tooltip = clergy_transfer_vassal_tt + } + hidden_effect = { + create_title_and_vassal_change = { + type = granted + save_scope_as = change + add_claim_on_loss = yes + } + every_in_list = { + list = transfer_vassals + change_liege = { + liege = scope:actor + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + } + } + #Make sure recipient isn't sneakily holding onto titles beneath the target title + if = { + limit = { + scope:recipient = { + NOT = { + is_vassal_of = scope:actor + } + } + } + scope:recipient = { + every_held_title = { + limit = { + tier >= tier_county + any_this_title_or_de_jure_above = { + this = scope:target + } + } + add_to_list = recipient_mop_up + } + } + hidden_effect = { + create_title_and_vassal_change = { + type = granted + save_scope_as = change + add_claim_on_loss = yes + } + every_in_list = { + list = recipient_mop_up + limit = { + tier >= tier_county + } + change_title_holder = { + holder = scope:actor + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + } + } + if = { + limit = { + scope:target.tier >= highest_held_title_tier_minus_one + } + create_character_memory = { + type = negotiated_for_land_memory + participants = { + recipient = scope:recipient + } + } + scope:new_memory = { + set_variable = { + name = target_title + value = scope:target + } + } + } + if = { + limit = { + scope:target.tier >= scope:recipient.highest_held_title_tier_minus_one + } + scope:recipient = { + create_character_memory = { + type = gave_away_land_memory + participants = { + actor = scope:actor + } + } + scope:new_memory = { + set_variable = { + name = target_title + value = scope:target + } + } + } + } +} + +pam_negotiate_land_possible_refusal_notificaton_effect = { + if = { + limit = { + scope:target.tier >= scope:recipient.highest_held_title_tier_minus_one + scope:recipient = { + has_legitimacy = no + } + } + scope:recipient = { custom_tooltip = refuse_ecclesiastic_land_transfer_penalty_no_legit_tt } + } + else_if = { + limit = { + scope:recipient = { + has_legitimacy = no + } + } + scope:recipient = { custom_tooltip = refuse_ecclesiastic_land_transfer_penalty_minor_no_legit_tt } + } + else_if = { + limit = { + scope:target.tier >= scope:recipient.highest_held_title_tier_minus_one + } + scope:recipient = { custom_tooltip = refuse_ecclesiastic_land_transfer_penalty_tt } + } + else = { + scope:recipient = { custom_tooltip = refuse_ecclesiastic_land_transfer_penalty_minor_tt } + } +} +clergy_land_refusal_legitimacy_piety_effect = { + if = { + limit = { + scope:target.tier >= scope:recipient.highest_held_title_tier_minus_one + } + scope:recipient = { + add_piety = clergy_land_refusal_large_piety_value + if = { + limit = { + has_legitimacy = yes + } + add_legitimacy = clergy_land_refusal_large_legitimacy_value + } + else = { + add_prestige = clergy_land_refusal_large_prestige_value + } + } + } + else = { + scope:recipient = { + add_piety = clergy_land_refusal_small_piety_value + if = { + limit = { + has_legitimacy = yes + } + add_legitimacy = clergy_land_refusal_small_legitimacy_value + } + else = { + add_prestige = clergy_land_refusal_small_prestige_value + } + } + } +} + +pam_available_negotiation_methods_tooltip_effect = { + #show tooltips + if = { + limit = { + pam_forced_negotiate_land_success_trigger = yes + } + #Do not show AI behaviour tooltips if this is recipient viewing + if = { + limit = { + NOT = { exists = scope:recipient_event } + } + custom_tooltip = pam_clergy_land_forced_success_tt + custom_tooltip = pam_negotiate_land_force_by_tt + } + #FORCED FIRST + if = { + limit = { + pam_negotiate_land_forced_hook_trigger = yes + } + custom_tooltip = pam_forced_negotiate_land_hook_tt + } + if = { + limit = { + pam_negotiate_land_forced_relation_trigger = yes + } + custom_tooltip = pam_forced_negotiate_land_relation_tt + } + if = { + limit = { + pam_negotiate_land_forced_piety_level_trigger = yes + } + if = { + limit = { + scope:recipient.piety_level = 0 + } + custom_tooltip = pam_forced_negotiate_land_piety_level_1_tt + } + else = { + custom_tooltip = pam_forced_negotiate_land_piety_level_2_tt + } + } + if = { + limit = { + pam_negotiate_land_forced_legitimacy_level_trigger = yes + } + if = { + limit = { + scope:recipient.legitimacy_level = 0 + } + custom_tooltip = pam_forced_negotiate_land_legitimacy_level_1_tt + } + else = { + custom_tooltip = pam_forced_negotiate_land_legitimacy_level_2_tt + } + } + if = { + limit = { + pam_negotiate_land_forced_gold_trigger = yes + } + show_as_tooltip = { + if = { + limit = { + has_treasury = yes + } + pay_short_term_treasury = { + target = scope:recipient + gold = scope:recipient.pam_transfer_land_gold_value + } + } + else = { + pay_short_term_gold = { + target = scope:recipient + gold = scope:recipient.pam_transfer_land_gold_value + } + } + } + } + } + else = { + #Do not show AI behaviour tooltips if this is recipient viewing + if = { + limit = { + NOT = { exists = scope:recipient_event } + } + custom_tooltip = pam_clergy_land_possible_success_tt + } + } + + if = { + limit = { + pam_possible_negotiate_land_success_trigger = yes + } + #Do not show AI behaviour tooltips if this is recipient viewing + if = { + limit = { + NOT = { exists = scope:recipient_event } + } + custom_tooltip = pam_negotiate_land_possible_by_tt + } + #POSSIBLE NEXT + if = { + limit = { + pam_negotiate_land_possible_hook_trigger = yes + pam_negotiate_land_forced_hook_trigger = no + } + custom_tooltip = pam_possible_negotiate_land_hook_tt + } + if = { + limit = { + pam_negotiate_land_possible_relation_trigger = yes + pam_negotiate_land_forced_relation_trigger = no + } + custom_tooltip = pam_possible_negotiate_land_relation_tt + } + if = { + limit = { + pam_negotiate_land_possible_piety_level_trigger = yes + pam_negotiate_land_forced_piety_level_trigger = no + } + custom_tooltip = pam_possible_negotiate_land_piety_level_tt + } + if = { + limit = { + pam_negotiate_land_possible_legitimacy_level_trigger = yes + pam_negotiate_land_forced_legitimacy_level_trigger = no + } + custom_tooltip = pam_possible_negotiate_land_legitimacy_level_tt + } + if = { + limit = { + pam_negotiate_land_possible_gold_trigger = yes + pam_negotiate_land_forced_gold_trigger = no + } + show_as_tooltip = { + pam_negotiate_land_gold_effect = yes + } + } + } +} +pam_negotiate_land_hook_effect = { + use_hook = scope:recipient +} +pam_negotiate_land_relation_accept_effect = { + if = { + limit = { + has_relation_best_friend = scope:recipient + } + remove_relation_best_friend = scope:recipient + } + else_if = { + limit = { + has_relation_friend = scope:recipient + } + remove_relation_friend = scope:recipient + } + if = { + limit = { + has_relation_soulmate = scope:recipient + } + remove_relation_soulmate = scope:recipient + } + if = { + limit = { + has_relation_lover = scope:recipient + } + remove_relation_lover = scope:recipient + } + if = { + limit = { + has_relation_crush = scope:recipient + } + remove_relation_crush = scope:recipient + } + if = { + limit = { + has_relation_student = scope:recipient + } + remove_relation_student = scope:recipient + } + if = { + limit = { + has_relation_mentor = scope:recipient + } + remove_relation_mentor = scope:recipient + } + if = { + limit = { + has_relation_guardian = scope:recipient + } + remove_relation_guardian = scope:recipient + } + if = { + limit = { + has_relation_ward = scope:recipient + } + remove_relation_ward = scope:recipient + } + if = { + limit = { + has_relation_potential_friend = scope:recipient + } + remove_relation_potential_friend = scope:recipient + } + if = { + limit = { + has_relation_potential_lover = scope:recipient + } + remove_relation_potential_lover = scope:recipient + } + if = { + limit = { + has_relation_blood_brother = scope:recipient + } + remove_relation_blood_brother = scope:recipient + } + if = { + limit = { + has_relation_disciple = scope:recipient + } + remove_relation_disciple = scope:recipient + } + if = { + limit = { + has_relation_elder = scope:recipient + } + remove_relation_elder = scope:recipient + } +} +pam_negotiate_land_relation_effect = { + pam_negotiate_land_relation_accept_effect = yes + if = { + limit = { + exists = scope:forceable_relation + } + custom_tooltip = recipient_becomes_potential_rival_tt + hidden_effect = { + set_relation_potential_rival = { + target = scope:recipient + reason = rival_quarreled_over_land + } + } + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + scope:recipient = { + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + } + } + else = { + custom_tooltip = recipient_becomes_rival_tt + hidden_effect = { + set_relation_rival = { + target = scope:recipient + reason = rival_quarreled_over_land + } + } + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + scope:recipient = { + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + } + } +} +pam_negotiate_land_piety_effect = { + if = { + limit = { + pam_negotiate_land_forced_piety_level_trigger = yes + } + if = { + limit = { + scope:recipient.piety_level = 0 + } + add_piety_experience = major_piety_loss + scope:recipient = { add_piety_experience = massive_piety_loss } + } + else = { + add_piety_experience = massive_piety_loss + scope:recipient = { add_piety_level = -1 } + } + } + else = { + add_piety_level = -1 + scope:recipient = { add_piety_level = -2 } + } +} +pam_negotiate_land_legitimacy_effect = { + if = { + limit = { + pam_negotiate_land_forced_legitimacy_level_trigger = yes + } + if = { + limit = { + scope:recipient.legitimacy_level = 0 + } + add_legitimacy = medium_legitimacy_loss + scope:recipient = { add_legitimacy = major_legitimacy_loss } + } + else = { + add_legitimacy = major_legitimacy_loss + scope:recipient = { add_legitimacy_level = -1 } + } + } + else = { + add_legitimacy_level = -1 + scope:recipient = { add_legitimacy_level = -2 } + } +} +pam_negotiate_land_gold_effect = { + if = { + limit = { + has_treasury = yes + } + pay_short_term_treasury = { + target = scope:recipient + gold = scope:recipient.pam_transfer_land_gold_value + } + } + else = { + pay_short_term_gold = { + target = scope:recipient + gold = scope:recipient.pam_transfer_land_gold_value + } + } +} +pam_negotiate_land_tracking_variable_effect = { + scope:recipient = { + if = { + limit = { + has_variable = clergy_land_granted + var:clergy_land_granted <= scope:target.tier + } + remove_variable = clergy_land_granted + custom_tooltip = clergy_land_request_reduction_tt + set_variable = { + name = clergy_land_granted + value = scope:target.tier + years = 5 + } + } + else_if = { + limit = { + NOT = { + has_variable = clergy_land_granted + } + } + custom_tooltip = clergy_land_request_reduction_tt + set_variable = { + name = clergy_land_granted + value = scope:target.tier + years = 5 + } + } + } +} + +###################### +### RITE DIVERGENCE DRIFT +###################### + + +@hor_drift_forward_cap = 40 +@hor_drift_backward_floor = 5 + +@hor_drift_step_high = 20 +@hor_drift_step_normal = 10 +@hor_drift_step_low = 5 + +@hor_drift_step_high_neg = -20 +@hor_drift_step_normal_neg = -10 +@hor_drift_step_low_neg = -5 + +@hor_drift_low_fervor = 40 +@hor_drift_high_fervor = 70 + +rite_yearly_hor_divergence_drift_effect = { + if = { + limit = { + this != faith.main_rite + # We leave rites that are already heretical alone, since heresy already covers that range + "divergence(faith.main_rite)" < faith.heresy_threshold + head_of_rite ?= { + is_available_ai_adult = yes + NOT = { has_character_flag = hor_already_drifted_rite_flag } + } + } + random = { + chance = { + value = 4 + # Low fervor: lots of room for reinterpretation + if = { + limit = { faith.fervor <= @hor_drift_low_fervor } + add = 6 + } + # Stable faith: rare drift + if = { + limit = { faith.fervor >= @hor_drift_high_fervor } + add = -2 + } + # Unfulfilled HoR's do changes more often + if = { + limit = { + head_of_rite ?= { + spiritual_fulfillment <= 0 + } + } + add = 4 + } + if = { + limit = { head_of_rite ?= { has_trait = heresiarch } } + add = 25 + } + min = 1 + } + + rite_yearly_hor_divergence_drift_apply_effect = yes + } + } +} + +rite_yearly_hor_divergence_drift_apply_effect = { + save_scope_as = diverged_rite + head_of_rite = { save_scope_as = diverged_hor } + + # Snapshot the rite's current tenets and (HoR-known) doctrines so we can identify what change_rite_divergence swapped in. + every_rite_tenet = { + add_to_list = drift_tenets_before + } + scope:diverged_hor = { + every_character_doctrine = { + rite_filter = scope:diverged_rite + add_to_list = drift_doctrines_before + } + } + + random_list = { + 100 = { + trigger = { + "divergence(faith.main_rite)" <= 40 + } + modifier = { + factor = 0.5 + "divergence(faith.main_rite)" >= 30 + } + modifier = { + # Low fervor faiths drift outward more readily. + factor = 1.5 + faith.fervor <= @hor_drift_low_fervor + } + modifier = { + factor = 0.6 + faith.fervor >= @hor_drift_high_fervor + } + + save_scope_value_as = { name = diverged_change value = 1 } + rite_yearly_hor_divergence_drift_forward_pick_effect = yes + } + 100 = { + trigger = { + "divergence(faith.main_rite)" >= 10 + faith.rite_growth_rites_needed <= 0 + trigger_if = { + limit = { + exists = faith.religious_head + } + scope:diverged_hor = { + OR = { + opinion = { + target = scope:diverged_rite.faith.religious_head + value >= 50 + } + has_dread_level_towards = { + target = scope:diverged_rite.faith.religious_head + level >= 1 + } + } + } + } + trigger_else = { + always = yes + } + } + modifier = { + # Mirror the forward throttle: when divergence is small there's less room to walk it back. + factor = 0.5 + "divergence(faith.main_rite)" < 20 + } + modifier = { + factor = 1.3 + faith.fervor >= @hor_drift_high_fervor + } + modifier = { + # Consolidation belongs to high-fervor faiths; sub-70 fervor is the divergence regime. + factor = 0.2 + faith.fervor < @hor_drift_high_fervor + } + modifier = { + # Without a HoF to anchor consolidation, backward drift is much rarer. + factor = 0.2 + NOT = { exists = faith.religious_head } + } + save_scope_value_as = { name = diverged_change value = -1 } + rite_yearly_hor_divergence_drift_backward_pick_effect = yes + } + } +} + +rite_yearly_hor_divergence_drift_forward_pick_effect = { + random_list = { + 1 = { + # Only allow a +20 jump if we're far below the cap. + trigger = { + "divergence(faith.main_rite)" <= 20 + } + modifier = { + factor = 0.4 + "divergence(faith.main_rite)" >= 15 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_high } + change_rite_divergence = { + value = @hor_drift_step_high + override_tenets_first = no + } + } + 1 = { + trigger = { + "divergence(faith.main_rite)" <= 20 + } + modifier = { + factor = 0.4 + "divergence(faith.main_rite)" >= 15 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_high } + change_rite_divergence = { + value = @hor_drift_step_high + override_tenets_first = yes + } + } + 3 = { + trigger = { + "divergence(faith.main_rite)" <= 30 + } + modifier = { + factor = 0.5 + "divergence(faith.main_rite)" >= 25 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_normal } + change_rite_divergence = { + value = @hor_drift_step_normal + override_tenets_first = no + } + } + 3 = { + trigger = { + "divergence(faith.main_rite)" <= 30 + } + modifier = { + factor = 0.5 + "divergence(faith.main_rite)" >= 25 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_normal } + change_rite_divergence = { + value = @hor_drift_step_normal + override_tenets_first = yes + } + } + 8 = { + trigger = { + "divergence(faith.main_rite)" <= 40 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_low } + change_rite_divergence = { + value = @hor_drift_step_low + override_tenets_first = no + } + } + 8 = { + trigger = { + "divergence(faith.main_rite)" <= 40 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_low } + change_rite_divergence = { + value = @hor_drift_step_low + override_tenets_first = yes + } + } + } + rite_yearly_hor_divergence_drift_commit_effect = yes +} + +rite_yearly_hor_divergence_drift_backward_pick_effect = { + random_list = { + 1 = { + trigger = { + "divergence(faith.main_rite)" >= 25 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_high_neg } + change_rite_divergence = { + value = @hor_drift_step_high_neg + override_tenets_first = no + } + } + 1 = { + trigger = { + "divergence(faith.main_rite)" >= 25 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_high_neg } + change_rite_divergence = { + value = @hor_drift_step_high_neg + override_tenets_first = yes + } + } + 3 = { + trigger = { + "divergence(faith.main_rite)" >= 15 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_normal_neg } + change_rite_divergence = { + value = @hor_drift_step_normal_neg + override_tenets_first = no + } + } + 3 = { + trigger = { + "divergence(faith.main_rite)" >= 15 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_normal_neg } + change_rite_divergence = { + value = @hor_drift_step_normal_neg + override_tenets_first = yes + } + } + 8 = { + trigger = { + "divergence(faith.main_rite)" >= 10 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_low_neg } + change_rite_divergence = { + value = @hor_drift_step_low_neg + override_tenets_first = no + } + } + 8 = { + trigger = { + "divergence(faith.main_rite)" >= 10 + } + save_scope_value_as = { name = diverged_change value = @hor_drift_step_low_neg } + change_rite_divergence = { + value = @hor_drift_step_low_neg + override_tenets_first = yes + } + } + } + rite_yearly_hor_divergence_drift_commit_effect = yes +} + +rite_yearly_hor_divergence_drift_commit_effect = { + random_rite_tenet = { + limit = { + NOT = { is_in_list = drift_tenets_before } + } + save_scope_as = diverged_added_tenet + } + scope:diverged_hor = { + random_character_doctrine = { + rite_filter = scope:diverged_rite + limit = { + NOT = { is_in_list = drift_doctrines_before } + } + save_scope_as = diverged_added_doctrine + } + } + + if = { + limit = { + OR = { + exists = scope:diverged_added_tenet + exists = scope:diverged_added_doctrine + } + } + scope:diverged_hor = { + add_character_flag = hor_already_drifted_rite_flag + } + if = { + limit = { scope:diverged_change <= -1 } + scope:diverged_rite.faith = { + change_fervor = { + value = notable_fervor_value + desc = fervor_gain_pam_rite_consolidated + } + } + } + else_if = { + limit = { scope:diverged_change >= 1 } + scope:diverged_rite.faith = { + change_fervor = { + value = significant_fervor_loss + desc = fervor_loss_pam_rite_diverged + } + } + } + rite_yearly_hor_divergence_drift_notify_effect = yes + } +} + +# Notify every ruler of the rite + the religious head, via letter event. +rite_yearly_hor_divergence_drift_notify_effect = { + faith = { + every_faith_ruler = { + limit = { + rite = scope:diverged_rite + this != scope:diverged_hor + } + trigger_event = pam_tenet_events.0004 + } + } + # Religious head (if any) gets the letter too, even if they aren't iterated above. + faith.religious_head ?= { + if = { + limit = { + NOT = { rite = scope:diverged_rite } + this != scope:diverged_hor + } + trigger_event = pam_tenet_events.0004 + } + } +} + +pam_declare_rite_heresy_effect = { + custom_tooltip = { + text = pam_declare_rite_heresy_effect_tt + detach_rite_to_new_faith = { + target = scope:heresy_rite + } + } + # Heresy rite types ship convert = no so they cannot be joined before the bull; branding has to flip it or nothing can convert in. + scope:heresy_rite = { + set_can_convert_to_rite = yes + } + faith = { + change_fervor = { + value = notable_fervor_value + desc = fervor_gain_pam_rite_declared_heresy + } + set_variable = { + name = rite_growth_recent_heresy + value = yes + days = rite_growth_heresy_cooldown_days + } + } + # The declaring faith repudiates the now-heretical rite, so its core tenets lose standing there. + if = { + limit = { faith = { has_tenet_popularity_trigger = yes } } + faith = { save_scope_as = heresy_declaring_faith } + scope:heresy_rite = { + every_rite_tenet = { + status = core + save_scope_as = heresy_rite_tenet + scope:heresy_declaring_faith = { + change_tenet_popularity = { + target = scope:heresy_rite_tenet + change = major_tenet_popularity_loss + } + } + } + } + } + if = { + limit = { + exists = scope:heresy_rite + NOT = { scope:heresy_rite.faith = faith } + } + scope:heresy_rite.faith = { + every_faith_character = { + limit = { + is_ruler = yes + this != scope:bull_issuer + } + trigger_event = { id = pam_decision_events.0013 days = 1 } + } + } + } +} + +#This is only for use in pam_cathedral_01, pam_cathedral_02, and pam_cathedral_03 +pam_cathedral_art_contribution_subject_event_effect = { + save_scope_as = contributor + scope:contributor = { + trigger_event = { + id = $EVENT$ + days = { 5 20 } + } + } +} + +#This is only for use in pam_cathedral_01, pam_cathedral_02, and pam_cathedral_03 +cathedral_great_project_funded_started_event_sender_effect = { + scope:founder = { + trigger_event = pam_great_projects_events.0005 + } + scope:owner = { + if = { + limit = { + this != scope:founder + } + trigger_event = pam_great_projects_events.0005 + } + } + every_contribution = { + limit = { + contribution_is_funded = yes + } + contributor ?= { + if = { + limit = { + this != scope:owner + this != scope:founder + } + save_scope_as = contributor + trigger_event = pam_great_projects_events.0005 + } + } + } +} + +cathedral_great_project_completed_event_sender_effect = { + scope:founder = { + trigger_event = pam_great_projects_events.0020 + } + scope:owner = { + if = { + limit = { + this != scope:founder + } + trigger_event = pam_great_projects_events.0020 + } + } + scope:founder_heir ?= { + if = { + limit = { + is_alive = yes + this != scope:founder + this != scope:owner + } + trigger_event = pam_great_projects_events.0020 + } + } + every_contribution = { + limit = { + contribution_is_funded = yes + } + contributor ?= { + if = { + limit = { + this != scope:owner + this != scope:founder + NOT = { this ?= scope:founder_heir } + } + save_scope_as = contributor + trigger_event = pam_great_projects_events.0020 + } + } + } +} + +# Create a New Ecclesiastical Title as HoF - on_accept +pam_create_new_ecclesiastical_title_interaction_effect = { + scope:secondary_recipient = { + save_scope_as = new_ecclesiastical_holder + } + scope:recipient = { + save_scope_as = kingdom_holder + if = { + limit = { + scope:new_ecclesiastical_holder = { + NOT = { + is_courtier_of = scope:kingdom_holder + } + is_ruler = no + } + } + add_courtier = scope:new_ecclesiastical_holder + } + if = { + limit = { + scope:new_ecclesiastical_holder = { + NOT = { is_councillor_of = scope:kingdom_holder } + } + } + assign_councillor_type = { + type = councillor_court_chaplain + remove_existing_councillor = yes + target = scope:new_ecclesiastical_holder + } + } + } + scope:target = { + save_scope_as = target_kingdom + } + scope:actor = { + if = { + limit = { + any_character_situation = { + situation_type = the_christian_church + situation_top_has_catalyst = catalyst_the_christian_church_clerical_region_created + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_clerical_region_created + } + } + send_interface_toast = { + type = event_toast_effect_good + title = create_new_ecclesiastical_title_toast + left_icon = scope:actor + right_icon = scope:new_ecclesiastical_holder + custom_tooltip = { + text = create_new_ecclesiastical_title_effect_tt + create_title_and_vassal_change = { + type = created + save_scope_as = change + add_claim_on_loss = no + } + scope:target_kingdom = { + title_capital_county = { + save_scope_as = clerical_region_anchor_county + random_county_province = { + limit = { + is_county_capital = yes + } + save_scope_as = region_capital + create_clerical_region = { + domicile_type = ecclesiastical_domicile + name = NEW_ECCLESIASTICAL_TITLE + save_scope_as = new_title + } + scope:new_title ?= { + set_coa = scope:target_kingdom + set_color_from_title = scope:target_kingdom + set_capital_county = scope:clerical_region_anchor_county + set_landless_title = yes + set_no_automatic_claims = yes + set_definitive_form = yes + change_title_holder = { + holder = scope:new_ecclesiastical_holder + change = scope:change + } + resolve_title_and_vassal_change = scope:change + } + } + } + } + } + } + reverse_add_opinion = { + target = scope:new_ecclesiastical_holder + modifier = grateful_opinion + opinion = 50 + } + } + scope:new_ecclesiastical_holder = { + if = { + limit = { + NOT = { government_has_flag = government_is_ecclesiastical } + } + change_government = ecclesiastical_government + } + faith = { + change_fervor = { + value = notable_fervor_gain + desc = fervor_gain_clerical_title_created + } + } + situation:the_christian_church ?= { + add_manual_participant = prev + } + } +} + +# Expects scope:target and scope:pam_new_archbishop, and the caller must save pam_old_archbishop first +pam_grant_ecclesiastical_title_interaction_effect = { + scope:actor = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_grant_ecclesiastical_title_toast + left_icon = scope:actor + right_icon = scope:pam_new_archbishop + if = { + limit = { exists = scope:pam_old_archbishop } + custom_tooltip = { + text = pam_grant_ecclesiastical_title_deposed_effect_tt + create_title_and_vassal_change = { + type = granted + save_scope_as = change + add_claim_on_loss = no + } + scope:pam_old_archbishop = { + every_held_title = { + limit = { + OR = { + has_clerical_region = yes + is_landless_type_title = no + } + } + change_title_holder_include_vassals = { + holder = scope:pam_new_archbishop + change = scope:change + government_base = scope:pam_old_archbishop + } + } + } + resolve_title_and_vassal_change = scope:change + } + } + else = { + custom_tooltip = { + text = pam_grant_ecclesiastical_title_vacant_effect_tt + create_title_and_vassal_change = { + type = granted + save_scope_as = change + } + scope:target = { + change_title_holder_include_vassals = { + holder = scope:pam_new_archbishop + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + } + } + add_hook = { + type = granted_clerical_title_hook + target = scope:pam_new_archbishop + } + } + reverse_add_opinion = { + target = scope:pam_new_archbishop + modifier = grateful_opinion + opinion = 50 + } + } + scope:pam_old_archbishop ?= { + add_opinion = { + target = scope:actor + modifier = fp3_resentful_opinion + opinion = -40 + } + } + if = { + limit = { + scope:pam_old_archbishop ?= { rite != scope:actor.rite } + } + scope:actor.faith = { + change_fervor = { + value = significant_fervor_loss + desc = fervor_loss_pam_archbishop_deposed + } + } + } + scope:pam_new_archbishop = { + if = { + limit = { + NOT = { government_has_flag = government_is_ecclesiastical } + } + change_government = ecclesiastical_government + } + situation:the_christian_church ?= { + add_manual_participant = prev + } + } + if = { + limit = { + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_clergy_elevated_to_archbishopric + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_clergy_elevated_to_archbishopric + } + } +} + +# Picks scope:target_character for a GHW after scope:target_kingdom is already set (e.g. bull kingdom selection). +pam_determine_ghw_target_character_from_kingdom_effect = { + scope:target_kingdom = { + random_in_de_jure_hierarchy = { + continue = { tier > tier_county } + limit = { + tier = tier_county + $FAITH$.main_rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.rite } + } + holder = { + highest_held_title_tier >= 4 + any_realm_county = { count >= 5 } + } + } + alternative_limit = { + tier = tier_county + $FAITH$.main_rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.rite } + } + holder = { + highest_held_title_tier >= 3 + any_realm_county = { count >= 5 } + } + } + alternative_limit = { + tier = tier_county + $FAITH$.main_rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.rite } + } + holder = { + highest_held_title_tier >= 2 + any_realm_county = { count >= 5 } + } + } + alternative_limit = { + tier = tier_county + $FAITH$.main_rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.rite } + } + } + alternative_limit = { + tier = tier_kingdom + $FAITH$.main_rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.rite } + } + } + holder = { + save_scope_as = target_character + } + } + } +} + +pam_use_bull_selected_ghw_target_effect = { + $GHW_SPONSOR$ = { + var:pam_bull_ghw_target_kingdom = { save_scope_as = target_kingdom } + remove_variable = pam_bull_ghw_target_kingdom + } + pam_determine_ghw_target_character_from_kingdom_effect = { FAITH = $FAITH$ } +} + +# Starts an undirected GHW using the kingdom stored on the HoF by pick_crusade_target_decision. +pam_start_bull_great_holy_war_effect = { + $GHW_SPONSOR$ = { + if = { + limit = { has_variable = pam_bull_ghw_target_kingdom } + religion = { set_variable = variable_ghw_unlocked } + $FAITH$ = { trigger_event = great_holy_war.0001 } + } + } +} + +pam_bull_notify_faith_rulers_effect = { + scope:bull_issuer = { + faith = { + every_faith_character = { + limit = { + is_ruler = yes + this != scope:bull_issuer + } + trigger_event = { id = pam_bull_events.0004 days = 1 } + } + } + } +} + +pam_apply_great_schism_creation_effect = { + if = { + limit = { NOT = { has_global_variable = pam_great_schism_happened } } + set_global_variable = { + name = pam_great_schism_happened + value = current_year + } + } + situation:the_christian_church.var:schism_mainline_rite = { save_scope_as = schism_mainline_rite } + if = { + limit = { scope:schism_mainline_rite = rite:roman_rite } + faith:catholic = { save_scope_as = schism_mainline_faith } + faith:orthodox = { save_scope_as = schism_competitor_faith } + } + else = { + faith:orthodox = { save_scope_as = schism_mainline_faith } + faith:catholic = { save_scope_as = schism_competitor_faith } + } + custom_tooltip = { + text = pam_create_great_schism_effect_tt + faith:christian_faith = { + save_scope_as = old_rite + every_faith_rite = { + limit = { rite_has_doctrine = doctrine_no_head } + change_rite_doctrine = doctrine_spiritual_head + } + } + faith:catholic = { + set_religious_head_title = title:k_papal_state + } + faith:orthodox = { + set_religious_head_title = title:k_orthodox + } + rite:roman_rite = { + save_scope_as = roman_rite + set_can_convert_to_rite = yes + set_parent_faith = { + target = faith:catholic + main = yes + } + } + rite:insular_celtic = { + set_can_convert_to_rite = yes + set_parent_faith = { + target = faith:catholic + main = no + } + } + rite:mozarabic_church = { + set_can_convert_to_rite = yes + set_parent_faith = { + target = faith:catholic + main = no + } + } + rite:ambrosian_rite = { + set_can_convert_to_rite = yes + set_parent_faith = { + target = faith:catholic + main = no + } + } + rite:byzantine_rite = { + save_scope_as = byzantine_rite + set_can_convert_to_rite = yes + set_parent_faith = { + target = faith:orthodox + main = yes + } + } + rite:georgian_rite = { + set_can_convert_to_rite = yes + set_parent_faith = { + target = faith:orthodox + main = no + } + } + rite:slavic_rite = { + set_can_convert_to_rite = yes + set_parent_faith = { + target = faith:orthodox + main = no + } + } + rite:carolingian_christianity = { + set_can_convert_to_rite = no + set_rite_enabled = no + set_parent_faith = { + target = faith:catholic + main = no + } + } + rite:beneventan_rite = { + set_can_convert_to_rite = no + set_rite_enabled = no + set_parent_faith = { + target = faith:catholic + main = no + } + } + struggle:iberian_struggle ?= { + set_faith_as_involved = rite:mozarabic_church.faith + set_faith_as_uninvolved = faith:christian_faith + } + } + show_as_tooltip = { + faith:catholic = { set_religious_head_title = title:k_papal_state } + } + hidden_effect = { + situation:the_christian_church ?= { + every_situation_participant = { + limit = { + OR = { + var:pam_schism_stance ?= flag:mainline + var:pam_schism_stance ?= flag:competitor + } + OR = { + faith = faith:christian_faith + faith = scope:schism_mainline_faith + faith = scope:schism_competitor_faith + } + NOR = { + any_held_title = { is_head_of_faith = yes } + primary_title ?= { is_holy_order = yes } + } + } + if = { + limit = { + var:pam_schism_stance ?= flag:mainline + NOT = { faith = scope:schism_mainline_faith } + } + set_character_faith = scope:schism_mainline_faith + } + else_if = { + limit = { + var:pam_schism_stance ?= flag:competitor + NOT = { faith = scope:schism_competitor_faith } + } + set_character_faith = scope:schism_competitor_faith + } + } + } + faith:christian_faith = { + every_clerical_elector_title = { + add_to_list = pam_schism_cardinalates + } + } + every_in_list = { + list = pam_schism_cardinalates + save_temporary_scope_as = pam_schism_cardinalate + if = { + limit = { + holder ?= { + OR = { + faith = faith:catholic + AND = { + faith = faith:christian_faith + OR = { + rite = rite:roman_rite + rite = rite:insular_celtic + rite = rite:mozarabic_church + rite = rite:ambrosian_rite + } + } + } + } + } + holder = { + if = { + limit = { NOT = { faith = faith:catholic } } + set_character_faith = faith:catholic + } + } + add_clerical_elector = faith:catholic + } + else_if = { + limit = { exists = holder } + holder = { + pam_destroy_cardinal_title_effect = { CARDINALATE = scope:pam_schism_cardinalate } + } + } + } + faith:christian_faith = { remove_doctrine = special_doctrine_has_clerical_electors } + # Catholicism starts with a College so AI clergy do not spam the Pope to fill vacancies + faith:catholic = { pam_seed_cardinals_effect = yes } + if = { + limit = { exists = situation:the_christian_church } + the_christian_church_set_main_power_faith_effect = yes + the_christian_church_recalculate_participant_groups_effect = yes + } + } +} + +# Rite followers move with their rites +pam_unite_miaphysite_churches_effect = { + save_scope_as = unifier + if = { + limit = { faith = faith:miaphysitism } + custom_tooltip = { + text = pam_unite_miaphysite_churches_effect_tt + faith = { save_scope_as = uniting_faith } + faith:armenian_apostolic = { + save_scope_as = absorbed_faith + remove_religious_head_title = yes + every_faith_rite = { + limit = { faith != scope:uniting_faith } + set_parent_faith = { + target = faith:miaphysitism + main = no + include_derived = no + } + } + } + } + } + else = { + custom_tooltip = { + text = pam_unite_miaphysite_churches_effect_tt + faith = { save_scope_as = uniting_faith } + faith:miaphysitism = { + save_scope_as = absorbed_faith + remove_religious_head_title = yes + every_faith_rite = { + limit = { faith != scope:uniting_faith } + set_parent_faith = { + target = faith:armenian_apostolic + main = no + include_derived = no + } + } + } + } + } + faith = { + change_fervor = { + value = medium_fervor_gain + desc = fervor_gain_mended_schism + } + } + hidden_effect = { + every_player = { + limit = { + this != root + faith = scope:uniting_faith + } + send_interface_message = { + type = event_generic_good_with_text + title = pam_unite_miaphysite_churches_message + desc = pam_unite_miaphysite_churches_message_desc + left_icon = scope:unifier + } + } + } + set_nickname_effect = { NICKNAME = nick_the_ecumenist } +} + +pam_great_schismat_effect = { + give_nickname = nick_the_schismat + dynasty ?= { + add_dynasty_modifier = { modifier = pam_caused_great_schism_dynasty_modifier } + } + if = { + limit = { NOT = { exists = dynasty } } + add_character_modifier = pam_caused_great_schism_character_modifier + } + # 0061 already announces the Schism + set_global_variable = { + name = pam_skip_tcc_phase_start_event + days = 30 + } + situation:the_christian_church = { + change_top_phase = { phase = concord } + } + save_scope_as = schismat +} + +pam_create_great_schism_effect = { + set_global_variable = { + name = pam_skip_tcc_phase_start_event + days = 30 + } + pam_apply_great_schism_creation_effect = yes + set_global_variable = pam_great_schism_decision_taken + faith:catholic = { save_scope_as = schism_western_faith } + faith:orthodox = { save_scope_as = schism_eastern_faith } + if = { + limit = { NOT = { exists = scope:schismat } } + situation:the_christian_church = { + change_top_phase = { phase = reform_phase } + } + } + situation:the_christian_church ?= { + every_situation_participant = { + limit = { + is_ruler = yes + faith.religion = religion:christianity_religion + } + trigger_event = pam_the_christian_church.0061 + } + } +} + +pam_prevent_great_schism_effect = { + custom_tooltip = pam_prevent_great_schism_aftermath_tt + give_nickname = nick_the_concordant + dynasty ?= { + add_dynasty_modifier = { modifier = pam_prevented_great_schism_dynasty_modifier } + } + if = { + limit = { NOT = { exists = dynasty } } + add_character_modifier = pam_prevented_great_schism_character_modifier + } + # 0062 already announces the Schism + set_global_variable = { + name = pam_skip_tcc_phase_start_event + days = 30 + } + situation:the_christian_church = { + change_top_phase = { phase = concord } + } +} + +# Run from either Mend the Great Schism decision, which pass the modifier pair matching their route. +# MODIFIER - dynasty modifier for the mender's dynasty. +# CHARACTER_MODIFIER - equivalent for a lowborn mender, who has no dynasty to mark. +pam_mend_great_schism_reward_effect = { + dynasty ?= { + add_dynasty_prestige = 10000 + add_dynasty_modifier = { modifier = $MODIFIER$ } + } + if = { + limit = { NOT = { exists = dynasty } } + add_character_modifier = $CHARACTER_MODIFIER$ + } + add_piety = monumental_piety_gain + add_prestige = monumental_prestige_gain + set_nickname_effect = { NICKNAME = nick_the_reconciler } +} + +# Character scope, saved so the decision tooltip, 0062 option, and seating all name the same see +# Falls back to Rome so an unheld Constantinople does not leave the faith headless +pam_save_schism_head_of_faith_effect = { + if = { + limit = { + rite = rite:byzantine_rite + exists = title:d_et_constantinople.holder + } + title:d_et_constantinople = { save_scope_as = new_head_of_faith_title } + } + else_if = { + limit = { + rite = rite:byzantine_rite + exists = title:k_orthodox.holder + } + title:k_orthodox = { save_scope_as = new_head_of_faith_title } + } + else_if = { + limit = { exists = title:k_papal_state.holder } + title:k_papal_state = { save_scope_as = new_head_of_faith_title } + } + scope:new_head_of_faith_title.holder ?= { save_scope_as = new_head_of_faith } +} + +# Needs pam_save_schism_head_of_faith_effect +pam_schism_seat_head_of_faith_effect = { + if = { + limit = { exists = scope:new_head_of_faith_title } + custom_tooltip = { + text = pam_schism_seat_head_of_faith_tt + faith:christian_faith = { + if = { + limit = { NOT = { has_doctrine = doctrine_spiritual_head } } + change_doctrine = doctrine_spiritual_head + } + set_religious_head_title = scope:new_head_of_faith_title + # Carolingian Christianity has doctrine_no_head; leave it behind once the faith has a head + hidden_effect = { + every_faith_rite = { + if = { + limit = { rite_has_doctrine = doctrine_no_head } + change_rite_doctrine = doctrine_spiritual_head + } + force_refresh_head_of_rite = yes + } + } + } + } + } +} + +# The seat kept vacant. Chalcedonianism is already headless and keeps doctrine_spiritual_head, so +# there is nothing to change - doctrine_no_head would bar Establish a Head of Faith for good. +pam_schism_leave_faith_headless_effect = { + custom_tooltip = pam_schism_leave_faith_headless_tt +} + +# Apply an ancestral Khachkar in the chosen county (for decision confirmation event). +pam_apply_ancestral_khachkar_effects = { + $LOCATION$ = { + save_scope_as = khachkar_location + set_variable = { + name = pam_khachkar_ancestor + value = $ANCESTOR$ + } + set_variable = { + name = pam_khachkar_commissioner + value = root + } + add_county_modifier = { + modifier = pam_khachkar_ancestral_county + desc = pam_khachkar_ancestral_county_custom_desc + } + } + add_prestige = medium_prestige_value + add_piety = medium_piety_value + add_legitimacy = 100 + remove_variable = pam_khachkar_ancestral_ancestor +} + +# Remember a same-faith expansion outside the see's home kingdom so later petitions are harder to accept +pam_mark_recent_same_faith_clerical_expansion_effect = { + if = { + limit = { + exists = $TITLE$ + pam_expand_target_is_same_faith_outside_home_kingdom_trigger = { + TITLE = $TITLE$ + ARCHBISHOP = $ARCHBISHOP$ + } + } + $ARCHBISHOP$ = { + hidden_effect = { + add_character_flag = { + flag = pam_recently_expanded_same_faith + years = pam_expand_same_faith_recent_years + } + } + } + } +} + +# Expand an Ecclesiastical Title as HoF - on_accept +pam_expand_ecclesiastical_title_interaction_effect = { + scope:recipient = { + save_scope_as = clerical_region_holder + # We use the picker's region and skip alternative_limit, so we do not land on a non-bordering see + if = { + limit = { + capital_province.county.clerical_region_title ?= { + has_clerical_region = yes + holder ?= scope:clerical_region_holder + } + } + capital_province.county.clerical_region_title = { + save_scope_as = clerical_region_title + } + } + } + scope:target = { + save_scope_as = target_duchy + } + # is_adjacent_to_clerical_region matches the counties expand_clerical_region would take + if = { + limit = { + exists = scope:clerical_region_title + scope:clerical_region_title = { is_adjacent_to_clerical_region = scope:target_duchy } + } + scope:actor = { + if = { + limit = { + any_character_situation = { + situation_type = the_christian_church + situation_top_has_catalyst = catalyst_the_christian_church_clerical_region_expanded + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_clerical_region_expanded + } + } + hidden_effect = { + send_interface_toast = { + type = event_toast_effect_good + title = expand_ecclesiastical_title_toast + left_icon = scope:clerical_region_holder + right_icon = scope:clerical_region_title + custom_tooltip = { + text = expand_ecclesiastical_title_effect_tt + scope:clerical_region_title = { + expand_clerical_region = scope:target_duchy + } + } + } + } + faith = { + change_fervor = { + value = notable_fervor_gain + desc = fervor_gain_clerical_title_expanded + } + } + } + scope:clerical_region_holder = { + if = { + limit = { + NOT = { this = scope:actor } + } + add_opinion = { + target = scope:actor + modifier = grateful_opinion + opinion = 50 + } + } + send_interface_toast = { + type = event_toast_effect_good + title = expand_ecclesiastical_title_toast + left_icon = scope:actor + right_icon = scope:clerical_region_title + custom_tooltip = expand_ecclesiastical_title_effect_tt + } + pam_mark_recent_same_faith_clerical_expansion_effect = { + TITLE = scope:target_duchy + ARCHBISHOP = this + } + } + } +} + +# Split an Ecclesiastical Title as HoF - on_accept +pam_split_ecclesiastical_title_interaction_effect = { + scope:secondary_recipient = { + save_scope_as = new_ecclesiastical_holder + } + scope:secondary_actor = { + save_scope_as = secular_ruler + } + scope:recipient = { + save_scope_as = clerical_region_holder + } + scope:secular_ruler.capital_county.clerical_region_title ?= { + save_scope_as = clerical_region_title + } + # Interaction tooltip reads on_accept before the split + show_as_tooltip = { + pam_split_ecclesiastical_title_outcome_effect = yes + } + hidden_effect = { + scope:secular_ruler = { + capital_province = { save_scope_as = region_capital } + split_clerical_region = { + name = CLERICAL_REGION_PROVINCE_TITLE_NAME + save_scope_as = new_title + } + } + # A failed split leaves scope:new_title unset + if = { + limit = { exists = scope:new_title } + pam_split_ecclesiastical_title_outcome_effect = yes + } + } +} + +# Runs twice, once for the interaction window tooltip and once for real after a successful split +pam_split_ecclesiastical_title_outcome_effect = { + scope:secular_ruler = { + if = { + limit = { + scope:new_ecclesiastical_holder = { + NOT = { + is_courtier_of = scope:secular_ruler + } + is_ruler = no + } + } + add_courtier = scope:new_ecclesiastical_holder + } + if = { + limit = { + scope:new_ecclesiastical_holder = { + NOT = { is_councillor_of = scope:secular_ruler } + } + } + assign_councillor_type = { + type = councillor_court_chaplain + remove_existing_councillor = yes + target = scope:new_ecclesiastical_holder + } + } + } + hidden_effect = { + create_title_and_vassal_change = { + type = created + save_scope_as = change + add_claim_on_loss = no + } + scope:new_title ?= { + set_coa = scope:secular_ruler.primary_title + set_color_from_title = scope:secular_ruler.primary_title + set_capital_county = scope:secular_ruler.capital_county + set_landless_title = yes + set_no_automatic_claims = yes + + change_title_holder = { + holder = scope:new_ecclesiastical_holder + change = scope:change + } + resolve_title_and_vassal_change = scope:change + } + } + scope:actor = { + if = { + limit = { + any_character_situation = { + situation_type = the_christian_church + situation_top_has_catalyst = catalyst_the_christian_church_clerical_region_split + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_clerical_region_split + } + } + hidden_effect = { + send_interface_toast = { + type = event_toast_effect_good + title = split_ecclesiastical_title_toast + left_icon = scope:actor + right_icon = scope:new_ecclesiastical_holder + custom_tooltip = { + text = split_ecclesiastical_title_effect_tt + } + } + } + reverse_add_opinion = { + target = scope:new_ecclesiastical_holder + modifier = grateful_opinion + opinion = 50 + } + reverse_add_opinion = { + target = scope:secondary_actor + modifier = pleased_opinion + opinion = 25 + } + if = { + # On a self-split the HoF reorganises their own region, so there is no aggrieved superior to anger + limit = { scope:recipient != scope:actor } + reverse_add_opinion = { + target = scope:recipient + modifier = angry_opinion + opinion = -50 + } + } + add_hook = { + type = favor_hook + target = scope:new_ecclesiastical_holder + } + } + if = { + # Skip the "your region was split" notification when the HoF split their own region + limit = { scope:recipient != scope:actor } + scope:recipient = { + send_interface_toast = { + type = event_toast_effect_bad + title = split_ecclesiastical_title_toast + left_icon = scope:actor + right_icon = scope:new_ecclesiastical_holder + custom_tooltip = split_ecclesiastical_title_effect_tt + } + } + } + scope:new_ecclesiastical_holder = { + if = { + limit = { + NOT = { government_has_flag = government_is_ecclesiastical } + } + change_government = ecclesiastical_government + } + } +} + +# Merge an Ecclesiastical Title as HoF - on_accept +pam_merge_new_ecclesiastical_title_interaction_effect = { + $ABSORBING_TITLE$ ?= { + save_scope_as = absorbing_title + holder ?= { save_scope_as = absorbing_holder } + } + $ABSORBED_TITLE$ = { + save_scope_as = absorbed_title + holder = { + save_scope_as = absorbed_holder + scope:absorbed_holder = { + send_interface_toast = { + type = event_toast_effect_bad + title = request_ecclesiastical_title_merger_absorbed_tt + left_icon = scope:absorbing_holder + right_icon = scope:absorbed_title + if = { + limit = { is_ai = yes } + # Absorbed region holder is angry at the initiator + add_opinion = { + target = $SENDER$ + modifier = angry_opinion + opinion = -75 + } + progress_towards_rival_effect = { + CHARACTER = $SENDER$ + OPINION = 0 + REASON = rival_ecclesiastical_title_merged + } + } + } + } + } + } + # Toast to the initiator + $SENDER$ = { + hidden_effect = { + send_interface_toast = { + type = event_toast_effect_good + title = merge_new_ecclesiastical_title_toast + left_icon = scope:absorbing_holder + right_icon = scope:absorbed_title + # Perform the region merge + custom_tooltip = { + text = merge_new_ecclesiastical_title_effect_tt + scope:absorbing_title = { + grow_clerical_region_from = scope:absorbed_title + set_variable = { + name = merge_clerical_region_cooldown + years = merge_clerical_region_cooldown_years_value + } + } + } + } + } + } + scope:absorbing_holder = { + send_interface_toast = { + type = event_toast_effect_good + title = merge_new_ecclesiastical_title_toast + left_icon = $SENDER$ + right_icon = scope:absorbed_title + custom_tooltip = merge_new_ecclesiastical_title_effect_tt + # The puppet variant sends on its own behalf, so there is no favour owed. + if = { + limit = { NOT = { this = $SENDER$ } } + if = { + limit = { is_ai = yes } + add_opinion = { + target = $SENDER$ + modifier = grateful_opinion + opinion = 50 + } + } + $SENDER$ = { + add_hook = { + type = favor_hook + target = scope:absorbing_holder + } + } + } + } + } +} + +pam_secure_pilgrim_routes_effect = { + faith = { + set_variable = { + name = pam_secured_pilgrim_routes + years = 25 + } + main_rite = { + remove_rite_tenet = scope:removed_tenet + add_rite_tenet = tenet_armed_pilgrimages + } + # The removed tenet loses, and the new core tenet gains popularity. + if = { + limit = { has_tenet_popularity_trigger = yes } + change_tenet_popularity = { + target = scope:removed_tenet + change = major_tenet_popularity_loss + } + change_tenet_popularity = { + target = tenet:tenet_armed_pilgrimages + change = major_tenet_popularity_gain + } + } + } + add_character_modifier = { + modifier = pam_protector_of_pilgrims_modifier + years = 25 + } + custom_tooltip = pam_secure_pilgrim_routes_pilgrim_xp_tt + custom_tooltip = pam_secure_pilgrim_routes_ai_pilgrimage_tt +} + +spiritual_hof_or_realm_priest_superior_recipient_redirect_effect = { + #redirect low tiers targeting HoF to archbishops + if = { + limit = { + highest_held_title_tier < tier_kingdom + faith.religious_head ?= scope:recipient + OR = { + exists = cp:councillor_court_chaplain.superior + AND = { + government_has_flag = government_is_theocracy + exists = superior + } + } + } + #Actor is a priest themselves + if = { + limit = { + AND = { + government_has_flag = government_is_theocracy + exists = superior + } + } + superior = { save_scope_as = recipient } + } + #Actor is secular + else = { + cp:councillor_court_chaplain.superior = { + save_scope_as = recipient + } + } + } + #redirect high tiers targeting archbishops to HoF + else_if = { + limit = { + highest_held_title_tier >= tier_kingdom + OR = { + superior ?= scope:recipient + cp:councillor_court_chaplain.superior ?= scope:recipient + } + faith = { + has_doctrine = doctrine_spiritual_head + religious_head ?= { + NOR = { + this = scope:recipient + this = scope:puppet_or_actor + } + } + } + } + faith.religious_head = { + save_scope_as = recipient + } + } +} +non_pope_lifting_excommunication_penalty_effect = { + if = { + limit = { + scope:puppet_or_actor = { + has_character_flag = pope_excom + } + NOT = { + scope:puppet_or_actor.faith.religious_head ?= scope:recipient + } + } + scope:recipient = { + add_piety = massive_piety_loss + add_piety_level = -2 + } + scope:puppet_or_actor.faith.religious_head = { + add_opinion = { + target = scope:recipient + opinion = -80 + modifier = betrayal_opinion + } + } + } +} + +seek_indulgences_refusal_effect = { + scope:recipient = { + add_prestige = { + value = minor_prestige_value + multiply = { + value = scope:actor.highest_held_title_tier + subtract = 1 + } + } + } + scope:actor = { + clerical_interaction_refusal_minor_effect = yes + if = { + limit = { + scope:recipient = { + is_ai = yes + } + } + if = { + limit = { + scope:actor = { + is_ai = yes + } + } + add_character_modifier = { + modifier = pam_refused_indulgences_modifier_small + years = 5 + desc = refused_indulgences_effect_tt + } + custom_tooltip = refused_indulgences_ai_personality_effect_tt + custom_tooltip = refused_indulgences_ai_war_effect_tt + custom_tooltip = refused_indulgences_ai_amenity_effect_tt + } + else = { + add_character_modifier = { + modifier = pam_refused_indulgences_modifier_small + years = 5 + } + } + change_spiritual_fulfillment = minor_spiritual_fulfillment_loss + } + else = { + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + if = { + limit = { + scope:actor = { + is_ai = yes + } + } + add_character_modifier = { + modifier = pam_refused_indulgences_modifier + years = 5 + desc = refused_indulgences_effect_tt + } + custom_tooltip = refused_indulgences_ai_personality_effect_tt + custom_tooltip = refused_indulgences_ai_war_effect_tt + custom_tooltip = refused_indulgences_ai_amenity_effect_tt + } + else = { + add_character_modifier = { + modifier = pam_refused_indulgences_modifier + years = 5 + } + } + } + } +} +divorce_house_feud_effect = { + house_feud_start_effect = { + # Feuding House Head + ACTOR = scope:divorcer.house.house_head + # Target House Head + TARGET = scope:secondary_recipient.house.house_head + # Feud Reason + REASON = divorce + # House Member attacker if relevant + ATTACKER = scope:divorcer + # House Member victim if relevant + VICTIM = scope:secondary_recipient + } + scope:secondary_recipient = { + add_prestige_level = -1 + } +} +divorce_holy_order_lease_effect = { + scope:barony_to_lease = { lease_out_to_holy_order = scope:lease_order } +} +divorce_get_hook_effect = { + if = { + limit = { + exists = scope:forcing_divorce + } + add_hook = { + type = favor_hook + target = scope:forcing_divorce + } + } + else = { + add_hook = { + type = favor_hook + target = scope:divorcer + } + } + +} +divorce_put_spouse_in_monastery_effect = { + scope:secondary_recipient = { + add_trait = devoted + scope:recipient = { + add_courtier = scope:secondary_recipient + } + } +} + +############################# +# Tenet popularity # +############################# + +# on_personal_tenet_gain fires this, with root as the character and scope:tenet the gained tenet +# Popularity gain is the lowest possible value, scaled by title tier +pam_tenet_popularity_on_personal_tenet_gain_effect = { + save_scope_as = tp_personal_tenet_changer + faith = { + if = { + limit = { has_tenet_popularity_trigger = yes } + change_tenet_popularity = { + target = scope:tenet + change = scope:tp_personal_tenet_changer.pam_personal_tenet_popularity_gain + } + } + } +} + +# on_personal_tenet_loss runs this with root as the character and scope:tenet as the dropped tenet +pam_tenet_popularity_on_personal_tenet_loss_effect = { + save_scope_as = tp_personal_tenet_changer + faith = { + if = { + limit = { has_tenet_popularity_trigger = yes } + change_tenet_popularity = { + target = scope:tenet + change = scope:tp_personal_tenet_changer.pam_personal_tenet_popularity_loss + } + } + } +} + +# The newly elected pope is root +pam_tenet_popularity_on_new_pope_effect = { + if = { + limit = { faith = { has_tenet_popularity_trigger = yes } } + faith = { save_scope_as = tp_new_pope_faith } + every_personal_tenet = { + save_scope_as = tp_new_pope_tenet + scope:tp_new_pope_faith = { + change_tenet_popularity = { + target = scope:tp_new_pope_tenet + change = medium_tenet_popularity_gain + } + } + } + rite = { + every_rite_tenet = { + status = core + save_scope_as = tp_new_pope_tenet + scope:tp_new_pope_faith = { + change_tenet_popularity = { + target = scope:tp_new_pope_tenet + change = medium_tenet_popularity_gain + } + } + } + } + } +} + +pam_set_pope_rite_mainline_effect = { + if = { + limit = { + exists = rite + rite != faith.main_rite + } + rite = { + set_main_rite = yes + } + } +} + +pam_pope_core_tenet_popularity_catalyst_effect = { + if = { + limit = { + has_pam_dlc_trigger = yes + exists = scope:tenet_to_add + religion = religion:christianity_religion + exists = situation:the_christian_church + } + if = { + limit = { + "faith.tenet_popularity(scope:tenet_to_add)" >= tenet_popularity_popular_threshold + situation:the_christian_church = { + situation_top_has_catalyst = catalyst_pope_declared_popular_core_tenet + } + } + situation:the_christian_church = { + trigger_situation_catalyst = { + catalyst = catalyst_pope_declared_popular_core_tenet + character = root + } + } + } + else_if = { + limit = { + "faith.tenet_popularity(scope:tenet_to_add)" < tenet_popularity_popular_threshold + situation:the_christian_church = { + situation_top_has_catalyst = catalyst_pope_declared_unpopular_core_tenet + } + } + situation:the_christian_church = { + trigger_situation_catalyst = { + catalyst = catalyst_pope_declared_unpopular_core_tenet + character = root + } + } + } + } +} + +# Head of Faith enacts a papal bull. Called from the after block of each bull event, where root is the issuer. +pam_the_christian_church_papal_bull_enacted_catalyst_effect = { + if = { + limit = { + has_pam_dlc_trigger = yes + religion = religion:christianity_religion + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_the_christian_church_papal_bull_enacted + } + } + situation:the_christian_church = { + trigger_situation_catalyst = { + catalyst = catalyst_the_christian_church_papal_bull_enacted + character = root + } + } + } +} + +pam_react_to_new_pope_effect = { + if = { + limit = { + has_pam_dlc_trigger = yes + current_date_is_start_date_trigger = no + is_alive = yes + is_ruler = yes + } + save_scope_as = new_pope + faith = { + every_faith_character = { + limit = { + is_ruler = yes + this != scope:new_pope + } + hidden_effect = { remove_character_modifier = pam_denied_new_pope_modifier } + if = { + limit = { has_variable = pam_new_pope_events_as_feed_message } + send_interface_message = { + type = msg_pam_new_pope_elected + title = { + first_valid = { + triggered_desc = { + trigger = { scope:new_pope = { is_female = yes } } + desc = pam_clergy_events.0030.t.female + } + desc = pam_clergy_events.0030.t + } + } + desc = pam_clergy_events.0030.feed + left_icon = scope:new_pope + } + } + else = { + trigger_event = pam_clergy_events.0030 + } + } + } + } +} + +# Root = the kinsman who just took the office. $TITLE$ = the office title, $KIND$ = flag:head_of_faith / flag:antipope / flag:archbishop +pam_family_becomes_prelate_effect = { + if = { + limit = { + has_pam_dlc_trigger = yes + current_date_is_start_date_trigger = no + is_alive = yes + religion = religion:christianity_religion + # Every string in 0060 names the dynasty, so a lowborn prelate has no story to tell here + exists = dynasty + } + save_scope_as = new_prelate + $TITLE$ = { save_scope_as = prelate_title } + save_scope_value_as = { + name = prelate_office + value = $KIND$ + } + every_player = { + limit = { + this != scope:new_prelate + OR = { + is_close_or_extended_family_of = scope:new_prelate + house ?= scope:new_prelate.house + } + # Archdioceses change hands far more often than the great offices do + trigger_if = { + limit = { scope:prelate_office = flag:archbishop } + NOT = { has_character_flag = pam_family_prelate_cooldown } + } + } + if = { + limit = { scope:prelate_office = flag:archbishop } + add_character_flag = { + flag = pam_family_prelate_cooldown + years = 10 + } + } + trigger_event = { + id = pam_clergy_events.0060 + days = { 3 5 } + } + } + } +} + +# Root = the new archbishop. $TITLE$ = the clerical region title that changed hands. +pam_react_to_new_archbishop_effect = { + if = { + limit = { + has_pam_dlc_trigger = yes + current_date_is_start_date_trigger = no + is_alive = yes + } + save_scope_as = new_archbishop + $TITLE$ = { save_scope_as = archdiocese } + every_player = { + limit = { + this != scope:new_archbishop + is_ruler = yes + # The clerical_region_title is geographic, so a non-Christian holder would be told they answer to it + religion = religion:christianity_religion + capital_county.clerical_region_title ?= scope:archdiocese + } + send_interface_message = { + type = msg_pam_new_archbishop + left_icon = scope:new_archbishop + right_icon = scope:archdiocese + } + } + } +} + +pam_tenet_popularity_on_evangelized_tenet_effect = { + save_temporary_scope_as = pam_evangelizer + faith = { + if = { + limit = { has_tenet_popularity_trigger = yes } + change_tenet_popularity = { + target = $TENET$ + change = { + value = $CHANGE$ + # A Faithful Flock dynasty legacy: evangelizing dynasty members spread their tenets further + if = { + limit = { + scope:pam_evangelizer = { + dynasty ?= { has_dynasty_perk = pam_legacy_3 } + } + } + multiply = 1.5 + } + } + } + } + } +} + +# Root = preacher, $TENET$ = the tenet +# Once per preacher per activity, and we keep the record on the activity so it cannot leak +pam_spread_tenet_flat_popularity_once_effect = { + save_temporary_scope_as = pam_spread_flat_preacher + if = { + limit = { + involved_activity ?= { + NAND = { + has_variable_list = pam_spread_tenet_flat_paid + is_target_in_variable_list = { + name = pam_spread_tenet_flat_paid + target = scope:pam_spread_flat_preacher + } + } + } + } + involved_activity = { + add_to_variable_list = { + name = pam_spread_tenet_flat_paid + target = scope:pam_spread_flat_preacher + } + } + pam_tenet_popularity_on_evangelized_tenet_effect = { + TENET = $TENET$ + CHANGE = medium_tenet_popularity_gain + } + } +} + +# A converting character is root, scope:old_rite the previous rite +pam_tenet_popularity_on_rite_change_effect = { + if = { + limit = { is_landed = yes } + faith = { save_scope_as = tp_new_faith } + rite = { save_scope_as = tp_new_rite } + if = { + limit = { + exists = scope:old_rite + scope:old_rite != scope:tp_new_rite + } + scope:old_rite.faith = { save_scope_as = tp_old_faith } + if = { + limit = { scope:tp_old_faith = { has_tenet_popularity_trigger = yes } } + scope:old_rite = { + every_rite_tenet = { + status = core + save_scope_as = tp_tenet + scope:tp_old_faith = { + change_tenet_popularity = { + target = scope:tp_tenet + change = miniscule_tenet_popularity_loss + } + } + } + } + } + } + if = { + limit = { scope:tp_new_faith = { has_tenet_popularity_trigger = yes } } + scope:tp_new_rite = { + every_rite_tenet = { + status = core + save_scope_as = tp_tenet + scope:tp_new_faith = { + change_tenet_popularity = { + target = scope:tp_tenet + change = miniscule_tenet_popularity_gain + } + } + } + } + } + } +} + +# on_county_faith_change sets root as the county and scope:old_faith as the previous faith +# var:tp_popularity_rite remembers the last credited rite so the old faith can be uncredited +pam_tenet_popularity_on_county_faith_change_effect = { + faith = { save_scope_as = tp_new_faith } + rite = { save_scope_as = tp_new_rite } + if = { + limit = { exists = var:tp_popularity_rite } + var:tp_popularity_rite = { save_scope_as = tp_old_rite } + if = { + limit = { scope:old_faith = { has_tenet_popularity_trigger = yes } } + scope:tp_old_rite = { + every_rite_tenet = { + status = core + save_scope_as = tp_tenet + scope:old_faith = { + change_tenet_popularity = { + target = scope:tp_tenet + change = miniscule_tenet_popularity_loss + } + } + } + } + } + } + if = { + limit = { scope:tp_new_faith = { has_tenet_popularity_trigger = yes } } + scope:tp_new_rite = { + every_rite_tenet = { + status = core + save_scope_as = tp_tenet + scope:tp_new_faith = { + change_tenet_popularity = { + target = scope:tp_tenet + change = miniscule_tenet_popularity_gain + } + } + } + } + } + set_variable = { + name = tp_popularity_rite + value = rite + } +} + +# Study Rite: scope:discovered_tenet learned by root (a character). +pam_study_rite_tenet_popularity_effect = { + if = { + limit = { + exists = scope:discovered_tenet + faith = { has_tenet_popularity_trigger = yes } + } + faith = { + change_tenet_popularity = { + target = scope:discovered_tenet + change = minor_tenet_popularity_gain + } + } + } +} + +# on_rite_created. scope:new_rite must exist; root is founder. +pam_tenet_popularity_on_rite_created_effect = { + if = { + limit = { + scope:new_rite.faith ?= { has_tenet_popularity_trigger = yes } + } + root = { save_scope_as = rite_founder } + scope:new_rite = { + save_scope_as = created_rite + every_rite_tenet = { + status = core + save_scope_as = tenet + scope:created_rite.faith = { + change_tenet_popularity = { + target = scope:tenet + change = scope:created_rite.tenet_popularity_rite_created_gain + } + } + } + } + } +} + +# Bump one tenet across all Christian faiths with map presence. +pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + religion:christianity_religion = { + every_faith = { + limit = { + num_county_followers >= 1 + has_tenet_popularity_trigger = yes + } + change_tenet_popularity = { + target = tenet:$TENET$ + change = $VALUE$ + } + } + } +} + +# Situation phase on_start hooks (The Christian Church). +pam_tenet_popularity_situation_fragile_unity_start_effect = { + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_peace_of_god + VALUE = miniscule_tenet_popularity_gain + } +} + +pam_tenet_popularity_situation_saeculum_obscurum_start_effect = { + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_simony + VALUE = medium_tenet_popularity_gain + } +} + +pam_tenet_popularity_situation_conversion_phase_start_effect = { + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_ora_et_labora + VALUE = medium_tenet_popularity_gain + } +} + +pam_tenet_popularity_situation_reform_phase_start_effect = { + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_ora_et_labora + VALUE = medium_tenet_popularity_gain + } + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_simony + VALUE = medium_tenet_popularity_loss + } +} + +pam_tenet_popularity_situation_investiture_crisis_start_effect = { + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_apostolic_succession + VALUE = medium_tenet_popularity_loss + } +} + +pam_tenet_popularity_situation_crusade_phase_start_effect = { + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_miles_christi + VALUE = medium_tenet_popularity_gain + } + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_armed_pilgrimages + VALUE = medium_tenet_popularity_gain + } +} + +pam_tenet_popularity_situation_concord_start_effect = { + pam_tenet_popularity_christian_faiths_tenet_delta_effect = { + TENET = tenet_love_thy_neighbour + VALUE = medium_tenet_popularity_gain + } +} + +# Without this, clerical courts fill from generic pool templates and feel secular +pam_seed_monk_courtiers_effect = { + if = { + limit = { pam_court_wants_monk_courtiers_trigger = yes } + save_temporary_scope_as = monk_employer + while = { + count = 4 # Hard bound matching the highest quota; the limit below is what actually ends the loop + limit = { + any_courtier = { + count < pam_monk_courtier_target_value + OR = { + has_trait = devoted + has_trait = cleric + } + } + } + random_list = { + 50 = { + create_character = { # No location: create_character rejects location and employer together + employer = scope:monk_employer + template = pam_monk_courtier_template + } + } + 50 = { + create_character = { + employer = scope:monk_employer + template = pam_cleric_courtier_template + } + } + } + } + } +} + +# Game start only, because if the three-year pulse ran this the split would creep toward all courts +pam_seed_nun_courtier_effect = { + if = { + limit = { + pam_court_wants_monk_courtiers_trigger = yes + NOT = { + any_courtier = { + is_female = yes + has_trait = devoted + } + } + } + save_temporary_scope_as = monk_employer + random = { + chance = 50 + create_character = { + employer = scope:monk_employer + template = pam_nun_courtier_template + } + } + } +} + +# Here we run this on the courtier, and it expects scope:pam_clerical_patron +pam_clerical_court_ordain_effect = { + save_scope_as = pam_clerical_ordained + scope:pam_clerical_patron = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_clerical_court_ordain_toast + left_icon = scope:pam_clerical_ordained + scope:pam_clerical_ordained = { + add_trait = cleric + if = { + limit = { learning < scope:pam_clerical_patron.pam_clerical_court_learning_cap_value } + add_learning_skill = pam_clerical_court_learning_gain_value + } + add_opinion = { + target = scope:pam_clerical_patron + modifier = grateful_for_calling_opinion + } + } + add_piety = pam_clerical_court_piety_gain_value + } + } +} + +# scope:pam_clerical_patron is required here, and we run this on the courtier +pam_clerical_court_instruct_effect = { + save_scope_as = pam_clerical_instructed + scope:pam_clerical_patron = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_clerical_court_instruct_toast + left_icon = scope:pam_clerical_instructed + scope:pam_clerical_instructed = { + if = { + limit = { learning < scope:pam_clerical_patron.pam_clerical_court_learning_cap_value } + add_learning_skill = pam_clerical_court_learning_gain_value + } + if = { + limit = { NOT = { has_trait = lifestyle_scholar } } + add_trait = lifestyle_scholar + } + else_if = { + limit = { + has_trait_xp = { trait = lifestyle_scholar value < 100 } + } + add_trait_xp = { + trait = lifestyle_scholar + value = 20 + } + } + else_if = { + limit = { NOT = { has_trait = lifestyle_mystic } } + add_trait = lifestyle_mystic + } + else_if = { + limit = { + has_trait_xp = { trait = lifestyle_mystic value < 100 } + } + add_trait_xp = { + trait = lifestyle_mystic + value = 25 + } + } + } + } + } +} + +# Recruiting rulers run this, and it expects scope:pam_clerical_patron +pam_clerical_court_recruit_effect = { + if = { + limit = { exists = scope:pam_clerical_novice_current } + clear_saved_scope = pam_clerical_novice_current + } + if = { + limit = { + exists = scope:pam_clerical_novice + # Can cease to be in the pool between the event firing and the option executing + scope:pam_clerical_novice = { is_pool_character = yes } + } + scope:pam_clerical_novice = { save_scope_as = pam_clerical_novice_current } + } + else_if = { + limit = { + any_pool_character = { + province = scope:pam_clerical_patron.location + pam_clerical_court_novice_trigger = { RULER = scope:pam_clerical_patron } + faith = scope:pam_clerical_patron.faith + } + } + random_pool_character = { + province = scope:pam_clerical_patron.location + limit = { + pam_clerical_court_novice_trigger = { RULER = scope:pam_clerical_patron } + faith = scope:pam_clerical_patron.faith + } + save_scope_as = pam_clerical_novice_current + } + } + else_if = { + limit = { + any_pool_character = { + province = scope:pam_clerical_patron.location + pam_clerical_court_novice_trigger = { RULER = scope:pam_clerical_patron } + } + } + random_pool_character = { + province = scope:pam_clerical_patron.location + limit = { pam_clerical_court_novice_trigger = { RULER = scope:pam_clerical_patron } } + save_scope_as = pam_clerical_novice_current + } + } + if = { + limit = { exists = scope:pam_clerical_novice_current } + add_courtier = scope:pam_clerical_novice_current + send_interface_toast = { + type = event_toast_effect_good + title = pam_clerical_court_recruit_toast + left_icon = scope:pam_clerical_novice_current + if = { + limit = { + NOT = { scope:pam_clerical_novice_current.faith = scope:pam_clerical_patron.faith } + } + scope:pam_clerical_novice_current = { + set_character_faith = scope:pam_clerical_patron.faith + } + } + if = { + limit = { scope:pam_clerical_novice_current = { NOT = { rite = scope:pam_clerical_patron.rite } } } + scope:pam_clerical_novice_current = { + set_character_rite = scope:pam_clerical_patron.rite + } + } + if = { + limit = { scope:pam_clerical_novice_current = { NOT = { has_trait = cleric } } } + scope:pam_clerical_novice_current = { + add_trait = cleric + } + } + } + } +} + +# At game start we leave prohibited tenets at zero +pam_tenet_popularity_on_game_start_effect = { + if = { + limit = { has_pam_dlc_trigger = yes } + religion:christianity_religion = { + every_faith = { + limit = { num_county_followers >= 1 } + save_scope_as = tp_faith + main_rite = { save_scope_as = tp_rite } + # Any follower works as the host scope for the tenet iterator; rite_filter drives the list. + random_faith_county = { + limit = { exists = holder } + holder = { + pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_rite FAITH = scope:tp_faith STATUS = core VALUE = massive_tenet_popularity_value } + pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_rite FAITH = scope:tp_faith STATUS = permitted VALUE = major_tenet_popularity_value } + pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_rite FAITH = scope:tp_faith STATUS = known VALUE = medium_tenet_popularity_value } + } + } + } + } + } +} + +# $RITE$ is the rite scope, run after a title adopts a new state rite +pam_tenet_popularity_boost_rite_effect = { + $RITE$ = { + if = { + limit = { + has_pam_dlc_trigger = yes + faith.religion = religion:christianity_religion + faith = { num_county_followers >= 1 } + } + save_scope_as = tp_boost_rite + faith = { + save_scope_as = tp_boost_faith + # Any follower works as the host scope for the tenet iterator; rite_filter drives the list. + random_faith_county = { + limit = { exists = holder } + holder = { + pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_boost_rite FAITH = scope:tp_boost_faith STATUS = core VALUE = massive_tenet_popularity_value } + pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_boost_rite FAITH = scope:tp_boost_faith STATUS = permitted VALUE = major_tenet_popularity_value } + pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_boost_rite FAITH = scope:tp_boost_faith STATUS = known VALUE = medium_tenet_popularity_value } + } + } + } + } + } +} + +# Credits every $RITE$ tenet at $STATUS$ with $VALUE$ popularity for $FAITH$ +# Root is only a host for the tenet iterator, and its own knowledge is ignored +pam_tenet_popularity_seed_status_effect = { + if = { + limit = { $FAITH$ = { has_tenet_popularity_trigger = yes } } + every_character_tenet = { + rite_filter = $RITE$ + status = $STATUS$ + save_scope_as = tp_seed_tenet + $FAITH$ = { + change_tenet_popularity = { + target = scope:tp_seed_tenet + change = $VALUE$ + } + } + } + } +} + +pam_save_selected_interaction_tenet_effect = { + # Set the tenet based on selected send_options + switch = { + trigger = yes + scope:tenet_aniconism = { + tenet:tenet_aniconism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_alexandrian_catechism = { + tenet:tenet_alexandrian_catechism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_armed_pilgrimages = { + tenet:tenet_armed_pilgrimages = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_carnal_exaltation = { + tenet:tenet_carnal_exaltation = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_communal_identity = { + tenet:tenet_communal_identity = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_communion = { + tenet:tenet_communion = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_consolamentum = { + tenet:tenet_consolamentum = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_divine_marriage = { + tenet:tenet_divine_marriage = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_gnosticism = { + tenet:tenet_gnosticism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_mendicant_preachers = { + tenet:tenet_mendicant_preachers = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_pacifism = { + tenet:tenet_pacifism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_pentarchy = { + tenet:tenet_pentarchy = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_unrelenting_faith = { + tenet:tenet_unrelenting_faith = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_vows_of_poverty = { + tenet:tenet_vows_of_poverty = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_pastoral_isolation = { + tenet:tenet_pastoral_isolation = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_adaptive = { + tenet:tenet_adaptive = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_esotericism = { + tenet:tenet_esotericism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_legalism = { + tenet:tenet_legalism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_literalism = { + tenet:tenet_literalism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_reincarnation = { + tenet:tenet_reincarnation = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_religious_legal_pronouncements = { + tenet:tenet_religious_legal_pronouncements = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_struggle_submission = { + tenet:tenet_struggle_submission = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_false_conversion_sanction = { + tenet:tenet_false_conversion_sanction = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_tax_nonbelievers = { + tenet:tenet_tax_nonbelievers = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_asceticism = { + tenet:tenet_asceticism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_bhakti = { + tenet:tenet_bhakti = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_dharmic_pacifism = { + tenet:tenet_dharmic_pacifism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_inner_journey = { + tenet:tenet_inner_journey = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_ritual_hospitality = { + tenet:tenet_ritual_hospitality = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_adorcism = { + tenet:tenet_adorcism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_ancestor_worship = { + tenet:tenet_ancestor_worship = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_astrology = { + tenet:tenet_astrology = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_hedonistic = { + tenet:tenet_hedonistic = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_human_sacrifice = { + tenet:tenet_human_sacrifice = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_mystical_birthright = { + tenet:tenet_mystical_birthright = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_ritual_celebrations = { + tenet:tenet_ritual_celebrations = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_sacred_childbirth = { + tenet:tenet_sacred_childbirth = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_sanctity_of_nature = { + tenet:tenet_sanctity_of_nature = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_sun_worship = { + tenet:tenet_sun_worship = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_warmonger = { + tenet:tenet_warmonger = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_gruesome_festivals = { + tenet:tenet_gruesome_festivals = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_cthonic_redoubts = { + tenet:tenet_cthonic_redoubts = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_household_gods = { + tenet:tenet_household_gods = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_sinitic_syncretism = { + tenet:tenet_sinitic_syncretism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_eastern_syncretism = { + tenet:tenet_eastern_syncretism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_unreformed_syncretism = { + tenet:tenet_unreformed_syncretism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_christian_syncretism = { + tenet:tenet_christian_syncretism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_islamic_syncretism = { + tenet:tenet_islamic_syncretism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_jewish_syncretism = { + tenet:tenet_jewish_syncretism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_exaltation_of_pain = { + tenet:tenet_exaltation_of_pain = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_natural_primitivism = { + tenet:tenet_natural_primitivism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_pursuit_of_power = { + tenet:tenet_pursuit_of_power = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_ritual_cannibalism = { + tenet:tenet_ritual_cannibalism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_sacred_shadows = { + tenet:tenet_sacred_shadows = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_polyamory = { + tenet:tenet_polyamory = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_sacrificial_ceremonies = { + tenet:tenet_sacrificial_ceremonies = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_megaliths = { + tenet:tenet_megaliths = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_fp3_fedayeen = { + tenet:tenet_fp3_fedayeen = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_communal_possessions = { + tenet:tenet_communal_possessions = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_pure_land = { + tenet:tenet_pure_land = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_no_mind = { + tenet:tenet_no_mind = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_mountain_worship = { + tenet:tenet_mountain_worship = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_extinction_of_dharma = { + tenet:tenet_extinction_of_dharma = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_cranial_trophies = { + tenet:tenet_cranial_trophies = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_pursuit_of_knowledge = { + tenet:tenet_pursuit_of_knowledge = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_benevolent_governance = { + tenet:tenet_benevolent_governance = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_filial_piety = { + tenet:tenet_filial_piety = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_harmonious_society = { + tenet:tenet_harmonious_society = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_sacred_destruction = { + tenet:tenet_sacred_destruction = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_preservation = { + tenet:tenet_preservation = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_takamin = { + tenet:tenet_takamin = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_peace_of_god = { + tenet:tenet_peace_of_god = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_dulia = { + tenet:tenet_dulia = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_transubstantiation = { + tenet:tenet_transubstantiation = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_ora_et_labora = { + tenet:tenet_ora_et_labora = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_hyperdulia = { + tenet:tenet_hyperdulia = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_simony = { + tenet:tenet_simony = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_monophysitism = { + tenet:tenet_monophysitism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_acts_of_apostles = { + tenet:tenet_acts_of_apostles = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_purgatory = { + tenet:tenet_purgatory = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_be_fruitful_and_multiply = { + tenet:tenet_be_fruitful_and_multiply = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_apostolic_succession = { + tenet:tenet_apostolic_succession = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_confession = { + tenet:tenet_confession = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_original_sin = { + tenet:tenet_original_sin = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_celestial_hierarchy = { + tenet:tenet_celestial_hierarchy = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_miles_christi = { + tenet:tenet_miles_christi = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_philanthropia = { + tenet:tenet_philanthropia = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_scholasticism = { + tenet:tenet_scholasticism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_adoptionism = { + tenet:tenet_adoptionism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_love_thy_neighbour = { + tenet:tenet_love_thy_neighbour = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_divine_liturgy = { + tenet:tenet_divine_liturgy = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_miaphysitism = { + tenet:tenet_miaphysitism = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_hesychasm = { + tenet:tenet_hesychasm = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_anachoresis = { + tenet:tenet_anachoresis = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_mortification_of_the_flesh = { + tenet:tenet_mortification_of_the_flesh = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_holy_myron = { + tenet:tenet_holy_myron = { + save_scope_as = pam_selected_interaction_tenet + } + } + scope:tenet_khachkar = { + tenet:tenet_khachkar = { + save_scope_as = pam_selected_interaction_tenet + } + } + } +} + +# Root is character that will have their personal tenet replaced with TENET +pam_replace_personal_tenet_effect = { + save_temporary_scope_as = tenet_char + if = { + limit = { + free_personal_tenet_slots = 0 + } + random_personal_tenet = { + weight = { + base = 10 + modifier = { + add = pam_tenet_popularity_impact_value + } + } + scope:tenet_char = { + remove_personal_tenet = prev + } + } + } + set_personal_tenet = $TENET$ +} + +pam_notify_holy_war_instigator_effect_win = { + if = { + limit = { + scope:war ?= { + has_variable = holy_instigator + var:holy_instigator = { + is_alive = yes + save_temporary_scope_as = instigator_temp + } + NOT = { + any_war_participant = { + this = scope:instigator_temp + } + } + } + } + every_in_list = { + list = target_titles + save_scope_as = target + } + + scope:war = { + var:holy_instigator = { + save_scope_as = cleric + send_interface_message = { + type = event_generic_good + title = pam_instigated_holy_war_won.t + left_icon = scope:attacker + right_icon = scope:defender + + if = { + limit = { + is_ai = no + } + add_prestige = pam_holy_war_inciter_prestige_value + } + else = { + hidden_effect = { + add_prestige = pam_holy_war_inciter_prestige_value + } + } + + custom_tooltip = pam_instigated_holy_war_won_tt + if = { + limit = { + pam_can_expand_clerical_region_after_war_trigger = { HEATHEN = scope:defender } + } + if = { + limit = { + any_in_list = { + list = target_titles + tier = tier_county + } + } + every_in_list = { + list = target_titles + duchy = { + scope:cleric = { + add_to_variable_list = { + name = clergy_expands + target = prev + } + } + } + } + } + else_if = { + limit = { + any_in_list = { + list = target_titles + tier = tier_duchy + } + } + every_in_list = { + list = target_titles + scope:cleric = { + add_to_variable_list = { + name = clergy_expands + target = prev + } + } + } + } + else = { + every_in_list = { + list = target_titles + every_direct_de_jure_vassal_title = { + limit = { + any_de_jure_county = { + holder = { + target_is_same_character_or_above = scope:defender + } + } + } + scope:cleric = { + add_to_variable_list = { + name = clergy_expands + target = prev + } + } + } + } + } + } + } + } + } + } +} +pam_notify_holy_war_instigator_effect_draw = { + if = { + limit = { + scope:war ?= { + has_variable = holy_instigator + var:holy_instigator = { + is_alive = yes + save_temporary_scope_as = instigator_temp + } + NOT = { + any_war_participant = { + this = scope:instigator_temp + } + } + } + } + every_in_list = { + list = target_titles + save_scope_as = target + } + scope:war = { + var:holy_instigator = { + send_interface_message = { + type = event_generic_bad + title = pam_instigated_holy_war_draw.t + left_icon = scope:attacker + right_icon = scope:defender + custom_tooltip = pam_instigated_holy_war_draw_tt + } + } + } + } +} +pam_notify_holy_war_instigator_effect_loss = { + if = { + limit = { + scope:war ?= { + has_variable = holy_instigator + var:holy_instigator = { + is_alive = yes + save_temporary_scope_as = instigator_temp + } + NOT = { + any_war_participant = { + this = scope:instigator_temp + } + } + } + } + every_in_list = { + list = target_titles + save_scope_as = target + } + scope:war = { + if = { + limit = { + has_variable = holy_joiner + } + var:holy_joiner = { + send_interface_message = { + type = event_generic_bad + title = pam_instigated_holy_war_lost.t + left_icon = scope:attacker + right_icon = scope:defender + + add_prestige_level = -2 + } + } + } + else = { + var:holy_instigator = { + send_interface_message = { + type = event_generic_bad + title = pam_instigated_holy_war_lost.t + left_icon = scope:attacker + right_icon = scope:defender + + custom_tooltip = pam_instigated_holy_war_lost_tt + } + } + } + } + } +} +pam_incite_holy_war_effect = { + scope:puppet_or_actor = { + if = { + limit = { + top_participant_group:the_christian_church ?= { + has_participant_group_parameter = the_christian_church_incite_holy_war_interaction + } + NOR = { + has_trait = forgiving + has_trait = compassionate + } + } + change_spiritual_fulfillment = { + value = miniscule_spiritual_fulfillment_value + multiply = { + value = scope:target.tier + subtract = 1 + } + } + } + } + + scope:secondary_recipient = { + save_scope_as = sponsored_holy_war_attacker + add_piety = { + value = medium_piety_value + multiply = { + value = scope:target.tier + subtract = 1 + } + } + if = { + limit = { + scope:puppet_or_actor = { + top_participant_group:the_christian_church ?= { + has_participant_group_parameter = the_christian_church_incite_holy_war_interaction + } + } + NOR = { + has_trait = forgiving + has_trait = compassionate + } + } + change_spiritual_fulfillment = { + value = minor_spiritual_fulfillment_value + multiply = { + value = scope:target.tier + subtract = 1 + } + } + } + } + scope:recipient = { + save_scope_as = sponsored_holy_war_defender + if = { + limit = { + NOT = { + root ?= scope:secondary_recipient + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = incited_holy_war_opinion + opinion = -50 + } + } + } + if = { + limit = { + root ?= scope:secondary_recipient + } + custom_tooltip = interaction_holy_war_attacker_tt + show_as_tooltip = { + scope:recipient = { + add_opinion = { + modifier = declared_war + target = scope:secondary_recipient + } + } + } + } + else = { + scope:recipient = { + custom_tooltip = interaction_holy_war_attacked_tt + } + } + + scope:sponsored_holy_war_attacker = { + add_character_flag = { + flag = holy_war_incited + days = 10 + } + if = { + limit = { + scope:sponsored_holy_war_target.tier = tier_kingdom + } + hidden_effect = { + start_war = { + casus_belli = major_religious_war + target = scope:sponsored_holy_war_defender + target_title = scope:sponsored_holy_war_target + } + } + } + else_if = { + limit = { + scope:sponsored_holy_war_target.tier = tier_duchy + } + hidden_effect = { + start_war = { + casus_belli = religious_war + target = scope:sponsored_holy_war_defender + target_title = scope:sponsored_holy_war_target + } + } + } + else = { + hidden_effect = { + start_war = { + casus_belli = minor_religious_war + target = scope:sponsored_holy_war_defender + target_title = scope:sponsored_holy_war_target + } + } + } + random_character_war = { + limit = { + OR = { + using_cb = major_religious_war + using_cb = religious_war + using_cb = minor_religious_war + } + primary_defender = scope:recipient + } + save_scope_as = holy_war + set_variable = { + name = holy_instigator + value = scope:puppet_or_actor + } + } + } + scope:puppet_or_actor = { + custom_tooltip = inciter_gain_prestige_if_holy_war_won_tt + if = { + limit = { + scope:fund_war ?= yes + } + pay_treasury_or_gold = { + target = scope:secondary_recipient + value = scope:puppet_or_actor.major_gold_value + } + } + if = { + limit = { + scope:join_war ?= yes + } + custom_tooltip = holy_war_interaction_join_war_tt + custom_tooltip = holy_war_cleric_loss_penalty_tt + scope:holy_war ?= { + hidden_effect = { add_attacker = scope:puppet_or_actor } + set_variable = { + name = holy_joiner + value = scope:puppet_or_actor + } + } + } + if = { + limit = { + scope:use_hook ?= yes + has_usable_hook = scope:secondary_recipient + } + use_hook = scope:secondary_recipient + } + if = { + limit = { + scope:rally_crusaders ?= yes + } + scope:secondary_recipient = { + if = { + limit = { + highest_held_title_tier < scope:puppet_or_actor.highest_held_title_tier + current_military_strength < scope:puppet_or_actor.current_military_strength + } + if = { + limit = { + is_ai = yes + } + add_character_modifier = { + modifier = crusader_momentum_modifier_large + years = 10 + desc = crusader_momentum_ai_behavior_large_tt + } + custom_tooltip = crusader_momentum_ai_behavior_large_tt + } + else = { + add_character_modifier = { + modifier = crusader_momentum_modifier_large + years = 10 + } + } + } + else = { + if = { + limit = { + is_ai = yes + } + add_character_modifier = { + modifier = crusader_momentum_modifier + years = 10 + desc = crusader_momentum_ai_behavior_tt + } + custom_tooltip = crusader_momentum_ai_behavior_tt + } + else = { + add_character_modifier = { + modifier = crusader_momentum_modifier + years = 10 + } + } + } + } + if = { + limit = { + exists = scope:target + } + add_prestige = { + value = minor_prestige_loss + multiply = { + value = scope:target.tier + subtract = 1 + } + } + } + else = { + add_prestige = medium_prestige_loss + } + } + if = { + limit = { + scope:inspire_realm ?= yes + } + scope:secondary_recipient = { + add_character_modifier = { + modifier = holy_war_incited_throughout_realm_modifier + years = 15 + } + } + } + #Discount to expanding archbishopric into the area + if = { + limit = { + pam_can_expand_clerical_region_after_war_trigger = { HEATHEN = scope:recipient } + } + custom_tooltip = can_expand_clerical_region_into_target_tt + } + } + scope:recipient = { + trigger_event = { + id = pam_interactions_events.0072 + days = 3 + } + } + scope:puppet_or_actor = { + if = { + limit = { + exists = scope:target + scope:target.tier >= tier_kingdom + any_character_situation = { + situation_type = the_christian_church + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_major_holy_war_incited + } + } + trigger_situation_catalyst = catalyst_major_holy_war_incited + } + else_if = { + limit = { + exists = scope:target + scope:target.tier >= tier_duchy + any_character_situation = { + situation_type = the_christian_church + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_holy_war_incited + } + } + trigger_situation_catalyst = catalyst_holy_war_incited + } + else = { + limit = { + any_character_situation = { + situation_type = the_christian_church + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_minor_holy_war_incited + } + } + trigger_situation_catalyst = catalyst_minor_holy_war_incited + } + } +} +pam_incite_war_refusal_effect = { + if = { + limit = { + scope:target.tier >= tier_kingdom + } + add_piety_level = -1 + } + else = { + add_piety_experience = { + value = major_piety_loss + multiply = { + value = scope:target.tier + subtract = 1 + } + } + } + +} +pam_redirect_request_excommunication_ruler_effect = { + #Is the secondary recipient a theocrat? Only their superior can excommunicate them + if = { + limit = { + scope:secondary_recipient = { + government_has_flag = government_is_theocracy + exists = superior + NOR = { + superior = scope:secondary_recipient + superior = scope:actor + } + } + } + scope:secondary_recipient.superior = { + save_scope_as = recipient + } + } + #Redirect to bishop superior of court chaplain + else_if = { + limit = { + scope:secondary_recipient.cp:councillor_court_chaplain ?= { + highest_held_title_tier < tier_duchy + superior ?= { + highest_held_title_tier >= tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + } + scope:secondary_recipient.cp:councillor_court_chaplain.superior = { + save_scope_as = recipient + } + } + #Redirect to ecclesiastical/theocratic liege or above + else_if = { + limit = { + scope:secondary_recipient = { + any_liege_or_above = { + highest_held_title_tier >= tier_duchy + government_has_flag = government_is_theocracy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + scope:secondary_recipient = { + ordered_liege_or_above = { + order_by = highest_held_title_tier + limit = { + highest_held_title_tier >= tier_duchy + government_has_flag = government_is_theocracy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + save_scope_as = recipient + } + } + } + #Redirect to court chaplain of liege or above + else_if = { + limit = { + scope:secondary_recipient = { + any_liege_or_above = { + cp:councillor_court_chaplain ?= { + highest_held_title_tier < tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + } + } + scope:secondary_recipient = { + ordered_liege_or_above = { + order_by = { + value = highest_held_title_tier + multiply = -1 + } + limit = { + cp:councillor_court_chaplain ?= { + highest_held_title_tier < tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + cp:councillor_court_chaplain = { + save_scope_as = recipient + } + } + } + } + #Redirect to bishop + else_if = { + limit = { + scope:secondary_recipient.cp:councillor_court_chaplain ?= { + highest_held_title_tier >= tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + scope:secondary_recipient.cp:councillor_court_chaplain = { + save_scope_as = recipient + } + } + #Redirect to clerical region_holder + else_if = { + limit = { + scope:secondary_recipient.capital_county = { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + } + scope:secondary_recipient.capital_county.clerical_region_title.holder = { + save_scope_as = recipient + } + } + #Redirect to neighboring clerical region_holder + else_if = { + limit = { + scope:secondary_recipient = { + any_character_to_title_neighboring_county = { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + } + } + scope:secondary_recipient = { + random_character_to_title_neighboring_county = { + limit = { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + clerical_region_title.holder = { + save_scope_as = recipient + } + } + } + } +} +pam_redirect_request_excommunication_courtier_effect = { + #liege + if = { + limit = { + scope:secondary_recipient = { + liege = { + highest_held_title_tier >= tier_duchy + government_has_flag = government_is_theocracy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + scope:secondary_recipient.liege = { + save_scope_as = recipient + } + } + #Redirect to court chaplain of liege or above + else_if = { + limit = { + scope:secondary_recipient = { + any_liege_or_above = { + cp:councillor_court_chaplain ?= { + highest_held_title_tier < tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + } + } + scope:secondary_recipient = { + ordered_liege_or_above = { + order_by = { + value = highest_held_title_tier + multiply = -1 + } + limit = { + cp:councillor_court_chaplain ?= { + highest_held_title_tier < tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + cp:councillor_court_chaplain = { + save_scope_as = recipient + } + } + } + } + #Redirect to clerical region_holder + else_if = { + limit = { + scope:secondary_recipient.liege.capital_county = { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + } + scope:secondary_recipient.liege.capital_county.clerical_region_title.holder = { + save_scope_as = recipient + } + } + #Redirect to ecclesiastical/theocratic liege or above + else_if = { + limit = { + scope:secondary_recipient = { + any_liege_or_above = { + highest_held_title_tier >= tier_duchy + government_has_flag = government_is_theocracy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + scope:secondary_recipient = { + ordered_liege_or_above = { + order_by = { + value = highest_held_title_tier + multiply = -1 + } + limit = { + highest_held_title_tier >= tier_duchy + government_has_flag = government_is_theocracy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + save_scope_as = recipient + } + } + } + #Redirect to bishop superior of court chaplain + else_if = { + limit = { + scope:secondary_recipient.liege.cp:councillor_court_chaplain ?= { + highest_held_title_tier < tier_duchy + superior ?= { + highest_held_title_tier >= tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + } + scope:secondary_recipient.liege.cp:councillor_court_chaplain.superior = { + save_scope_as = recipient + } + } + #Redirect to neighboring clerical region_holder + else_if = { + limit = { + scope:secondary_recipient.liege = { + any_character_to_title_neighboring_county = { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + } + } + scope:secondary_recipient.liege = { + random_character_to_title_neighboring_county = { + limit = { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + clerical_region_title.holder = { + save_scope_as = recipient + } + } + } + } +} +pam_redirect_request_excommunication_wanderer_effect = { + #Location holder + if = { + limit = { + scope:secondary_recipient.location.county.holder ?= { + highest_held_title_tier >= tier_duchy + government_has_flag = government_is_theocracy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + scope:secondary_recipient.location.county.holder ?= { + save_scope_as = recipient + } + } + #Location holder + if = { + limit = { + scope:secondary_recipient.location.county.holder.cp:councillor_court_chaplain ?= { + highest_held_title_tier >= tier_duchy + is_clergy = yes + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + scope:secondary_recipient.location.county.holder.cp:councillor_court_chaplain ?= { + save_scope_as = recipient + } + } + #Redirect to court chaplain of holder's liege or above + else_if = { + limit = { + scope:secondary_recipient.location.county.holder ?= { + any_liege_or_above = { + cp:councillor_court_chaplain ?= { + highest_held_title_tier < tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + } + } + scope:secondary_recipient.location.county.holder ?= { + ordered_liege_or_above = { + order_by = { + value = highest_held_title_tier + multiply = -1 + } + limit = { + cp:councillor_court_chaplain ?= { + highest_held_title_tier < tier_duchy + is_clergy = yes + NOT = { + this = scope:actor + } + } + } + cp:councillor_court_chaplain = { + save_scope_as = recipient + } + } + } + } + #Redirect to ecclesiastical/theocratic liege or above + else_if = { + limit = { + scope:secondary_recipient.location.county.holder ?= { + any_liege_or_above = { + highest_held_title_tier >= tier_duchy + government_has_flag = government_is_theocracy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + scope:secondary_recipient.location.county.holder ?= { + ordered_liege_or_above = { + order_by = { + value = highest_held_title_tier + multiply = -1 + } + limit = { + highest_held_title_tier >= tier_duchy + government_has_flag = government_is_theocracy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + save_scope_as = recipient + } + } + } + #Redirect to clerical region_holder + else_if = { + limit = { + scope:secondary_recipient.location.county ?= { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + } + scope:secondary_recipient.location.county.clerical_region_title.holder = { + save_scope_as = recipient + } + } + #Redirect to neighboring clerical region_holder + else_if = { + limit = { + scope:secondary_recipient.location.county ?= { + any_neighboring_county = { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + } + } + scope:secondary_recipient.location.county = { + random_neighboring_county = { + limit = { + clerical_region_title ?= { + holder ?= { + highest_held_title_tier >= tier_duchy + faith ?= scope:secondary_recipient.faith + NOT = { + this = scope:actor + } + } + } + } + clerical_region_title.holder = { + save_scope_as = recipient + } + } + } + } +} +pam_christian_situation_hof_incite_holy_war_effect = { + if = { + limit = { + faith.religious_head ?= root + is_ai = yes + top_participant_group:the_christian_church ?= { + has_participant_group_parameter = the_christian_church_incite_holy_war_interaction + } + piety >= 100 + piety_level >= 2 + is_available_quick = { + adult = yes + alive = yes + imprisoned = no + incapable = no + } + actor_incite_holy_war_shown_trigger = yes + } + save_scope_as = puppet_or_actor + situation:the_christian_church = { + situation_participant_group:christian_regular_main_power_rulers = { + random_situation_group_participant = { + limit = { + faith = scope:puppet_or_actor.faith + highest_held_title_tier >= tier_county + is_at_war = no + save_temporary_scope_as = secondary_temp + #First need to find a neighbor who works... + any_neighboring_top_liege_realm_owner = { + save_temporary_scope_as = recipient_temp + NOT = { + faith = scope:secondary_temp.faith + } + scope:secondary_temp.faith = { + faith_hostility_level = { + target = scope:recipient_temp.faith + value >= religious_cb_enabled_hostility_level + } + } + NOR = { + is_at_war_with = scope:puppet_or_actor + is_at_war_with = scope:secondary_temp + } + current_military_strength < scope:secondary_temp.eighty_percent_of_current_military_strength + scope:secondary_temp = { + valid_holy_war_incited_attacker_trigger = { RECIPIENT = scope:recipient_temp } + } + incite_holy_war_ai_invalidation_trigger = { RECIPIENT = scope:recipient_temp SECONDARY = scope:secondary_temp } + trigger_if = { + limit = { + scope:puppet_or_actor.piety_level >= 3 + highest_held_title_tier >= tier_duchy + realm_size >= 8 + } + any_realm_de_jure_kingdom = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient_temp SECONDARY = scope:secondary_temp } + } + } + trigger_else_if = { + limit = { + scope:puppet_or_actor.piety_level >= 2 + realm_size >= 2 + } + any_realm_de_jure_duchy = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient_temp SECONDARY = scope:secondary_temp } + } + } + trigger_else = { + any_realm_county = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient_temp SECONDARY = scope:secondary_temp } + } + } + } + } + save_scope_as = secondary_recipient + ordered_neighboring_top_liege_realm_owner = { + order_by = { + value = current_military_strength + multiply = -1 + } + limit = { + save_temporary_scope_as = recipient_temp + NOT = { + faith = scope:secondary_recipient.faith + } + scope:secondary_recipient.faith = { + faith_hostility_level = { + target = scope:recipient_temp.faith + value >= religious_cb_enabled_hostility_level + } + } + NOR = { + is_at_war_with = scope:puppet_or_actor + is_at_war_with = scope:secondary_recipient + } + current_military_strength < scope:secondary_recipient.eighty_percent_of_current_military_strength + scope:secondary_recipient = { + valid_holy_war_incited_attacker_trigger = { RECIPIENT = scope:recipient_temp } + } + incite_holy_war_ai_invalidation_trigger = { RECIPIENT = scope:recipient_temp SECONDARY = scope:secondary_recipient } + trigger_if = { + limit = { + scope:puppet_or_actor.piety_level >= 3 + highest_held_title_tier >= tier_duchy + realm_size >= 8 + } + any_realm_de_jure_kingdom = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient_temp SECONDARY = scope:secondary_recipient } + } + } + trigger_else_if = { + limit = { + scope:puppet_or_actor.piety_level >= 2 + realm_size >= 2 + } + any_realm_de_jure_duchy = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient_temp SECONDARY = scope:secondary_recipient } + } + } + trigger_else = { + any_realm_county = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient_temp SECONDARY = scope:secondary_recipient } + } + } + } + save_scope_as = recipient + #Save target + if = { + limit = { + scope:puppet_or_actor.piety_level >= 3 + highest_held_title_tier >= tier_duchy + realm_size >= 8 + } + ordered_realm_de_jure_kingdom = { + order_by = de_jure_counties_held_by_recipient_value + limit = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient SECONDARY = scope:secondary_recipient } + } + save_scope_as = target + } + } + else_if = { + limit = { + scope:puppet_or_actor.piety_level >= 2 + realm_size >= 2 + } + ordered_realm_de_jure_duchy = { + order_by = de_jure_counties_held_by_recipient_value + limit = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient SECONDARY = scope:secondary_recipient } + } + save_scope_as = target + } + } + else = { + random_realm_county = { + limit = { + incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = scope:recipient SECONDARY = scope:secondary_recipient } + } + save_scope_as = target + } + } + } + } + } + } + save_scope_as = actor + if = { + limit = { + exists = scope:secondary_recipient + exists = scope:recipient + } + ecclesiastic_incite_holy_war_interaction_effect = yes + } + } +} +ecclesiastic_incite_holy_war_interaction_effect = { + scope:target = { + save_scope_as = sponsored_holy_war_target + } + show_as_tooltip = { + pam_incite_holy_war_effect = yes + scope:recipient = { custom_tooltip = holy_war_joining_interaction_warning_tt } + } + #Secondary recipient gets to call this off if player + if = { + limit = { + scope:secondary_recipient = { + is_ai = no + } + } + scope:secondary_recipient = { + trigger_event = pam_interactions_events.0070 + } + } + else = { + scope:actor = { + trigger_event = pam_interactions_events.0071 + } + } +} + +pam_notify_claim_war_instigator_effect_win = { + if = { + limit = { + scope:war ?= { + has_variable = claim_instigator + var:claim_instigator = { + is_alive = yes + save_temporary_scope_as = instigator_temp + } + OR = { + has_variable = claim_joiner + NOT = { + any_war_participant = { + this = scope:instigator_temp + } + } + } + } + } + every_in_list = { + list = target_titles + save_scope_as = target + } + scope:war = { + var:claim_instigator = { + send_interface_message = { + type = event_generic_good + title = pam_instigated_claim_war_won.t + left_icon = scope:attacker + right_icon = scope:defender + if = { + limit = { + is_ai = no + } + add_prestige = pam_holy_war_inciter_prestige_value + } + else = { + hidden_effect = { + add_prestige = pam_holy_war_inciter_prestige_value + } + } + custom_tooltip = pam_instigated_claim_war_won_tt + } + } + } + } +} +pam_notify_claim_war_instigator_effect_draw = { + if = { + limit = { + scope:war ?= { + has_variable = claim_instigator + var:claim_instigator = { + is_alive = yes + save_temporary_scope_as = instigator_temp + } + OR = { + has_variable = claim_joiner + NOT = { + any_war_participant = { + this = scope:instigator_temp + } + } + } + } + } + every_in_list = { + list = target_titles + save_scope_as = target + } + scope:war = { + var:claim_instigator = { + send_interface_message = { + type = event_generic_bad + title = pam_instigated_claim_war_draw.t + left_icon = scope:attacker + right_icon = scope:defender + custom_tooltip = pam_instigated_claim_war_draw_tt + } + } + } + } +} +pam_notify_claim_war_instigator_effect_loss = { + if = { + limit = { + scope:war ?= { + has_variable = claim_instigator + var:claim_instigator = { + is_alive = yes + save_temporary_scope_as = instigator_temp + } + OR = { + has_variable = claim_joiner + NOT = { + any_war_participant = { + this = scope:instigator_temp + } + } + } + } + } + every_in_list = { + list = target_titles + save_scope_as = target + } + scope:war = { + if = { + limit = { + has_variable = claim_joiner + } + var:claim_joiner = { + send_interface_message = { + type = event_generic_bad + title = pam_instigated_claim_war_lost.t + left_icon = scope:attacker + right_icon = scope:defender + add_prestige_level = -2 + } + } + } + else = { + var:claim_instigator = { + send_interface_message = { + type = event_generic_bad + title = pam_instigated_claim_war_lost.t + left_icon = scope:attacker + right_icon = scope:defender + custom_tooltip = pam_instigated_claim_war_lost_tt + } + } + } + } + } +} +pam_incite_claim_war_effect = { + scope:secondary_recipient = { + save_scope_as = sponsored_claim_war_attacker + add_piety = { + value = medium_piety_value + multiply = { + value = scope:target.tier + subtract = 1 + } + } + } + scope:recipient = { + save_scope_as = sponsored_claim_war_defender + if = { + limit = { + NOT = { + root ?= scope:secondary_recipient + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = incited_claim_war_opinion + opinion = -50 + } + } + } + if = { + limit = { + root ?= scope:secondary_recipient + } + custom_tooltip = interaction_claim_war_attacker_tt + show_as_tooltip = { + scope:recipient = { + add_opinion = { + modifier = declared_war + target = scope:secondary_recipient + } + } + } + } + else = { + scope:recipient = { + custom_tooltip = interaction_claim_war_attacked_tt + } + } + + scope:sponsored_claim_war_attacker = { + add_character_flag = { + flag = temp_no_claim_war_cost + days = 10 + } + hidden_effect = { + start_war = { + casus_belli = claim_cb + target = scope:sponsored_claim_war_defender + claimant = scope:sponsored_claim_war_attacker + target_title = scope:sponsored_claim_war_target + } + remove_character_flag = temp_no_claim_war_cost + } + random_character_war = { + limit = { + using_cb = claim_cb + primary_defender = scope:recipient + } + save_scope_as = claim_war + set_variable = { + name = claim_instigator + value = scope:puppet_or_actor + } + } + } + scope:puppet_or_actor = { + custom_tooltip = inciter_gain_prestige_if_claim_war_won_tt + if = { + limit = { + scope:fund_war ?= yes + } + pay_treasury_or_gold = { + target = scope:secondary_recipient + value = scope:puppet_or_actor.major_gold_value + } + } + if = { + limit = { + scope:join_war ?= yes + } + custom_tooltip = claim_war_interaction_join_war_tt + custom_tooltip = holy_war_cleric_loss_penalty_tt + scope:claim_war ?= { + hidden_effect = { add_attacker = scope:puppet_or_actor } + set_variable = { + name = claim_joiner + value = scope:puppet_or_actor + } + } + } + if = { + limit = { + scope:use_hook ?= yes + has_usable_hook = scope:secondary_recipient + } + use_hook = scope:secondary_recipient + } + } +} +ecclesiastic_incite_claim_war_interaction_effect = { + scope:target = { + save_scope_as = sponsored_claim_war_target + } + show_as_tooltip = { + pam_incite_claim_war_effect = yes + } + hidden_effect = { + scope:actor = { + send_interface_toast = { + type = event_toast_effect_good + title = ecclesiastic_incite_claim_war_interaction_toast + desc = incite_claim_war_past_tense_tt + left_icon = scope:secondary_recipient + right_icon = scope:recipient + pam_incite_claim_war_effect = yes + } + } + if = { + limit = { + scope:secondary_recipient = { + is_ai = no + this != scope:actor + } + } + scope:secondary_recipient = { + send_interface_toast = { + type = event_toast_effect_neutral + title = ecclesiastic_incite_claim_war_interaction_attacker_toast + desc = incite_claim_war_past_tense_tt + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + if = { + limit = { scope:join_war ?= yes } + custom_tooltip = incite_claim_war_joined_tt + } + else_if = { + limit = { scope:fund_war ?= yes } + custom_tooltip = incite_claim_war_funded_tt + } + } + } + } + if = { + limit = { + scope:recipient = { + is_ai = no + this != scope:actor + this != scope:secondary_recipient + } + } + scope:recipient = { + send_interface_toast = { + type = event_toast_effect_bad + title = ecclesiastic_incite_claim_war_interaction_defender_toast + desc = incite_claim_war_past_tense_tt + left_icon = scope:secondary_recipient + right_icon = scope:puppet_or_actor + if = { + limit = { scope:join_war ?= yes } + custom_tooltip = incite_claim_war_joined_tt + } + } + } + } + } +} + +request_white_peace_interaction_effect = { + scope:puppet_or_actor = { + random_character_war = { + limit = { + pam_request_white_peace_war_with_enemy_trigger = { ENEMY = scope:secondary_recipient } + } + save_scope_as = white_peace_war + save_scope_as = war #release_prisoners_of_war_effect resolves the war through scope:war + } + } + scope:white_peace_war = { + casus_belli = { + primary_attacker = { + save_scope_as = attacker + } + primary_defender = { + save_scope_as = defender + } + } + release_prisoners_of_war_effect = yes + end_war = white_peace + } + scope:recipient = { + send_interface_toast = { + type = event_toast_effect_good + title = request_white_peace_interaction_recipient_toast + left_icon = scope:puppet_or_actor + right_icon = scope:secondary_recipient + if = { + limit = { + OR = { + rite = { + OR = { + has_tenet_status = { tenet = tenet_peace_of_god status = core } + has_tenet_status = { tenet = tenet_pacifism status = core } + has_tenet_status = { tenet = tenet_dharmic_pacifism status = core } + } + } + any_personal_tenet = { + OR = { + this = tenet:tenet_peace_of_god + this = tenet:tenet_pacifism + this = tenet:tenet_dharmic_pacifism + } + } + } + } + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } + else_if = { + limit = { + NOT = { has_character_modifier = pam_white_peace_enforcer_modifier } + } + add_character_modifier = { + modifier = pam_white_peace_enforcer_modifier + years = 10 + } + } + if = { + limit = { has_any_nickname = no } + hidden_effect = { + random = { + chance = { + value = 1 + if = { + limit = { is_ai = no } + add = 9 + } + } + give_nickname = nick_the_peacemaker + } + } + } + } + } + scope:secondary_recipient = { + if = { + limit = { is_ai = yes } + add_opinion = { + target = scope:recipient + modifier = pam_enforced_white_peace_opinion + } + } + trigger_event = pam_interactions_events.0080 + } + if = { + limit = { + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_the_christian_church_white_peace_enforced + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_white_peace_enforced + } + } + scope:puppet_or_actor = { + if = { + limit = { + scope:donate_faith = yes + } + pay_treasury_or_gold = { + target = scope:recipient + value = major_gold_value + } + } + if = { + limit = { + scope:offer_piety = yes + } + add_piety = major_piety_loss + scope:recipient = { + add_piety = major_piety_gain + } + } + if = { + limit = { + scope:offer_hook = yes + } + scope:recipient = { + add_hook = { + type = favor_hook + target = scope:puppet_or_actor + } + } + } + pam_offer_pilgrimage_effect = { + ACTOR = scope:puppet_or_actor + CLERIC = scope:recipient + } + send_interface_toast = { + type = event_toast_effect_neutral + title = request_white_peace_interaction_toast_title + custom_tooltip = request_white_peace_interaction_toast + left_icon = scope:recipient + right_icon = scope:secondary_recipient + } + } + if = { + limit = { + scope:is_puppet_action ?= yes + scope:actor != scope:recipient + } + scope:actor = { + send_interface_toast = { + type = event_toast_effect_neutral + title = request_white_peace_interaction_toast_title + custom_tooltip = request_white_peace_interaction_toast_puppeteer + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + } + } + } +} + +request_victory_interaction_effect = { + scope:puppet_or_actor = { + random_character_war = { + limit = { + pam_request_victory_war_with_enemy_trigger = { ENEMY = scope:secondary_recipient } + } + save_scope_as = requested_victory_war + save_scope_as = war #release_prisoners_of_war_effect resolves the war through scope:war + } + } + if = { + #The war can end during the reply window, leaving nothing to rule on + limit = { exists = scope:requested_victory_war } + scope:requested_victory_war = { + casus_belli = { + primary_attacker = { + save_scope_as = attacker + } + primary_defender = { + save_scope_as = defender + } + } + release_prisoners_of_war_effect = yes + if = { + limit = { + casus_belli = { + primary_attacker = scope:puppet_or_actor + } + } + end_war = attacker + } + else = { + end_war = defender + } + } + scope:recipient = { + send_interface_toast = { + type = event_toast_effect_neutral + title = request_victory_interaction_recipient_toast + left_icon = scope:puppet_or_actor + right_icon = scope:secondary_recipient + } + } + #The Church makes it worth the loser's while, so that obeying a ruling is not simply a defeat + scope:secondary_recipient = { + if = { + limit = { + NOT = { has_character_modifier = pam_church_compensation_modifier } + } + add_character_modifier = { + modifier = pam_church_compensation_modifier + years = 10 + } + } + if = { + limit = { is_ai = yes } + add_opinion = { + target = scope:recipient + modifier = pam_enforced_victory_opinion + } + } + trigger_event = pam_interactions_events.0083 + } + if = { + limit = { + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_the_christian_church_victory_enforced + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_the_christian_church_victory_enforced + } + } + scope:puppet_or_actor = { + if = { + limit = { + scope:donate_faith = yes + } + pay_treasury_or_gold = { + target = scope:recipient + value = major_gold_value + } + } + if = { + limit = { + scope:offer_piety = yes + } + add_piety = major_piety_loss + scope:recipient = { + add_piety = major_piety_gain + } + } + if = { + limit = { + scope:offer_hook = yes + } + scope:recipient = { + add_hook = { + type = favor_hook + target = scope:puppet_or_actor + } + } + } + pam_offer_pilgrimage_effect = { + ACTOR = scope:puppet_or_actor + CLERIC = scope:recipient + } + send_interface_toast = { + type = event_toast_effect_neutral + title = request_victory_interaction_toast_title + custom_tooltip = request_victory_interaction_toast + left_icon = scope:recipient + right_icon = scope:secondary_recipient + } + } + if = { + limit = { + scope:is_puppet_action ?= yes + scope:actor != scope:recipient + } + scope:actor = { + send_interface_toast = { + type = event_toast_effect_neutral + title = request_victory_interaction_toast_title + custom_tooltip = request_victory_interaction_toast_puppeteer + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + } + } + } + } +} + +pam_enforce_title_succession_effect = { + scope:target = { save_scope_as = succession_title } + scope:target.holder = { save_scope_as = succession_holder } + scope:succession_title = { + current_heir = { save_scope_as = enforced_heir } + } + if = { + limit = { + exists = scope:enforced_heir + NOT = { scope:enforced_heir = scope:succession_holder } + } + create_title_and_vassal_change = { + type = stepped_down + save_scope_as = succession_title_change + add_claim_on_loss = no + } + scope:succession_title = { + change_title_holder_include_vassals = { + holder = scope:enforced_heir + change = scope:succession_title_change + } + } + resolve_title_and_vassal_change = scope:succession_title_change + } + if = { + limit = { scope:succession_holder = { is_ai = yes } } + scope:succession_holder = { + add_opinion = { + target = scope:actor + modifier = meddling_church_opinion + } + } + } +} + +pam_increase_papabile_score_effect = { + if = { + limit = { scope:pam_papabile_gold_option = yes } + custom_tooltip = { + text = pam_increase_papabile_score_effect_20_tt + if = { + limit = { exists = var:pam_papabile_score } + change_variable = { + name = pam_papabile_score + add = $VALUE$ + } + } + else = { + set_variable = { + name = pam_papabile_score + value = $VALUE$ + } + } + } + if = { + limit = { this != scope:actor } + add_opinion = { + target = scope:actor + modifier = grateful_opinion + opinion = 30 + } + } + } + else = { + custom_tooltip = { + text = pam_increase_papabile_score_effect_10_tt + if = { + limit = { exists = var:pam_papabile_score } + change_variable = { + name = pam_papabile_score + add = $VALUE$ + } + } + else = { + set_variable = { + name = pam_papabile_score + value = $VALUE$ + } + } + } + if = { + limit = { this != scope:actor } + add_opinion = { + target = scope:actor + modifier = grateful_opinion + opinion = 15 + } + } + } + # Both branches above have already created the variable + if = { + limit = { + scope:actor ?= { + has_personal_tenet_flag = tenet_apostolic_succession_papabile_influence + } + } + custom_tooltip = { + text = pam_increase_papabile_score_apostolic_succession_tt + change_variable = { + name = pam_papabile_score + add = pam_apostolic_succession_papabile_bonus_value + } + } + } + if = { + limit = { exists = scope:actor } + custom_tooltip = { + text = pam_papabile_leaning_tt + pam_spread_papabile_leaning_effect = { VALUE = $VALUE$ } + } + } +} + +pam_spread_papabile_leaning_effect = { + save_scope_as = pam_papabile_candidate + faith = { + every_clerical_elector_title = { + limit = { + holder ?= { + this != scope:pam_papabile_candidate + OR = { + this = scope:actor + is_vassal_or_below_of = scope:actor + top_liege ?= scope:actor.top_liege + is_close_or_extended_family_of = scope:actor + scope:actor.puppet:theological_agent_puppet ?= this + scope:actor.puppet:external_theological_agent_puppet ?= this + opinion = { + target = scope:actor + value >= medium_positive_opinion + } + } + } + } + holder ?= { + pam_apply_papabile_leaning_effect = { VALUE = $VALUE$ } + } + } + } +} + +pam_apply_papabile_leaning_effect = { + set_variable = { + name = pam_papabile_leaning_target + value = scope:pam_papabile_candidate + years = 20 + } + set_variable = { + name = pam_papabile_leaning_value + value = $VALUE$ + years = 20 + } +} + +# We declare the cardinal for that seat, otherwise a holy candidate is listed as The Pious +pam_place_first_as_powerful_effect = { + custom_tooltip = { + text = pam_place_first_as_powerful_tt + if = { + limit = { exists = var:pam_papabile_score } + change_variable = { + name = pam_papabile_score + add = $VALUE$ + } + } + else = { + set_variable = { + name = pam_papabile_score + value = $VALUE$ + } + } + } + custom_tooltip = { + text = pam_campaign_as_powerful_tt + remove_variable = pam_campaign_as_populist + set_variable = { + name = pam_campaign_as_powerful + years = 20 + } + } + # Deliberately the flat nudge rather than the purchased score: buying the seat should not also buy the vote. + if = { + limit = { exists = scope:actor } + custom_tooltip = { + text = pam_papabile_leaning_tt + pam_spread_papabile_leaning_effect = { VALUE = 10 } + } + } +} + +pam_place_first_as_populist_effect = { + # Own variable, and the elector vote modifier also reads pam_propagate_word_of_my_piety the same way + custom_tooltip = { + text = pam_place_first_as_populist_tt + if = { + limit = { exists = var:pam_papabile_populist_score } + change_variable = { + name = pam_papabile_populist_score + add = $VALUE$ + } + } + else = { + set_variable = { + name = pam_papabile_populist_score + value = $VALUE$ + } + } + } + custom_tooltip = { + text = pam_campaign_as_populist_tt + remove_variable = pam_campaign_as_powerful + set_variable = { + name = pam_campaign_as_populist + years = 20 + } + } + # Deliberately the flat nudge rather than the purchased score, matching the Powerful path. + if = { + limit = { exists = scope:actor } + custom_tooltip = { + text = pam_papabile_leaning_tt + pam_spread_papabile_leaning_effect = { VALUE = 10 } + } + } +} + +# $TT$ localizes the papabile loss for the losing side (defender on victory, attacker on defeat) +pam_humiliation_war_church_standing_loss_effect = { + if = { + limit = { + OR = { + exists = clerical_elector_title + exists = var:pam_papabile_score + } + } + custom_tooltip = { + text = $TT$ + if = { + limit = { exists = var:pam_papabile_score } + change_variable = { + name = pam_papabile_score + subtract = 25 + } + } + else = { + set_variable = { + name = pam_papabile_score + value = -25 + } + } + } + } + # Only clerical rulers carry standing the disgrace can bite into; it feeds clerical appointment scoring + if = { + limit = { government_has_flag = government_uses_church_authority } + add_character_modifier = { + modifier = pam_clerical_disgrace_modifier + years = 20 + } + } +} + +pam_on_conversion_effect = { + if = { + limit = { is_ai = no } + add_character_flag = { + flag = faith_conversion_recently_converted + years = pam_ui_conversion_cooldown + } + } +} + +remove_personal_tenet_if_has = { + if = { + limit = { has_personal_tenet = $TENET$ } + remove_personal_tenet = $TENET$ + } +} + +add_known_tenet_if_not = { + if = { + limit = { NOT = { knows_tenet = $TENET$ } } + add_known_tenet = $TENET$ + } +} + +update_syncretism_personal_tenet_effect = { + if = { + limit = { + is_available_quick = { advanced_ruler = yes } + scope:old_faith.religion != faith.religion + } + scope:old_faith = { + if = { + limit = { has_doctrine = sinitic_hostility_doctrine } + prev = { add_known_tenet_if_not = { TENET = tenet_sinitic_syncretism } } + } + else_if = { + limit = { has_doctrine = eastern_hostility_doctrine } + prev = { add_known_tenet_if_not = { TENET = tenet_eastern_syncretism } } + } + else_if = { + limit = { has_doctrine = pagan_hostility_doctrine } + prev = { add_known_tenet_if_not = { TENET = tenet_unreformed_syncretism } } + } + else_if = { + limit = { religion_tag = christianity_religion } + prev = { add_known_tenet_if_not = { TENET = tenet_christian_syncretism } } + } + else_if = { + limit = { religion_tag = islam_religion } + prev = { add_known_tenet_if_not = { TENET = tenet_islamic_syncretism } } + } + else_if = { + limit = { religion_tag = judaism_religion } + prev = { add_known_tenet_if_not = { TENET = tenet_jewish_syncretism } } + } + } + faith = { + if = { + limit = { has_doctrine = sinitic_hostility_doctrine } + prev = { remove_personal_tenet_if_has = { TENET = tenet_sinitic_syncretism } } + } + else_if = { + limit = { has_doctrine = eastern_hostility_doctrine } + prev = { remove_personal_tenet_if_has = { TENET = tenet_eastern_syncretism } } + } + else_if = { + limit = { has_doctrine = pagan_hostility_doctrine } + prev = { remove_personal_tenet_if_has = { TENET = tenet_unreformed_syncretism } } + } + else_if = { + limit = { religion_tag = christianity_religion } + prev = { remove_personal_tenet_if_has = { TENET = tenet_christian_syncretism } } + } + else_if = { + limit = { religion_tag = islam_religion } + prev = { remove_personal_tenet_if_has = { TENET = tenet_islamic_syncretism } } + } + else_if = { + limit = { religion_tag = judaism_religion } + prev = { remove_personal_tenet_if_has = { TENET = tenet_jewish_syncretism } } + } + } + } +} + +# Keep branches in sync with pam_sway_to_rite_variant_can_send_trigger +pam_open_sway_to_rite_variant_effect = { + if = { + limit = { scope:recipient = { is_courtier_of = scope:actor } } + open_interaction_window = { + interaction = sway_courtier_to_my_rite_interaction + actor = scope:actor + recipient = scope:recipient + } + } + else_if = { + limit = { + scope:recipient = { + OR = { + target_is_liege_or_above = scope:actor + is_tributary_of = scope:actor + pam_rite_sway_house_lane_trigger = { + ACTOR = scope:actor + RECIPIENT = scope:recipient + } + } + } + } + open_interaction_window = { + interaction = sway_vassal_to_my_rite_interaction + actor = scope:actor + recipient = scope:recipient + } + } + else = { + open_interaction_window = { + interaction = sway_ruler_to_my_rite_interaction + actor = scope:actor + recipient = scope:recipient + } + } +} + +# Shared on_accept for the three Sway to Rite interactions +# Option flags exist only on outreach, so the ?= checks do nothing elsewhere +pam_sway_to_rite_on_accept_effect = { + if = { + limit = { scope:is_puppet_action ?= yes } + scope:puppet_or_actor = { + if = { + limit = { pam_sway_ruler_to_my_rite_cost_value > 0 } + add_piety = { + value = { + add = pam_sway_ruler_to_my_rite_cost_value + max = piety + multiply = -1 + } + } + } + } + } + scope:puppet_or_actor = { + send_interface_toast = { + type = event_toast_effect_good + title = sway_ruler_to_my_rite_interaction_toast + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + scope:recipient = { + set_character_rite = scope:puppet_or_actor.rite + if = { + limit = { is_ai = yes } + add_opinion = { + target = scope:puppet_or_actor + modifier = pious_opinion + opinion = 10 + } + } + if = { # Accepting the founding wave of a freshly created rite pulls the whole domain and court along, but only if they are actually tied to us + limit = { + is_ruler = yes + is_landed = yes + scope:puppet_or_actor.rite ?= { + has_variable = pam_rite_founding_window + } + pam_rite_sway_connected_recipient_trigger = { ACTOR = scope:puppet_or_actor } + } + pam_convert_domain_counties_to_rite_effect = { RITE = scope:puppet_or_actor.rite } + pam_convert_court_to_rite_effect = { RITE = scope:puppet_or_actor.rite } + } + else_if = { # We also convert their capital county + limit = { + is_ruler = yes + is_landed = yes + capital_county = { + this.faith = scope:puppet_or_actor.faith # set_county_rite would drag a foreign-faith capital across faiths + this.rite != scope:puppet_or_actor.rite + any_neighboring_county = { # only if a neighbor shares the same liege or IS the liege, aka I'm not surrounded by complete strangers + OR = { + this.holder.liege = prev.holder.liege + this.holder = prev.holder.liege + } + } + } + } + capital_county = { set_county_rite = scope:puppet_or_actor.rite } + } + if = { + limit = { scope:pam_sway_pledge_favor ?= yes } + add_hook = { + target = scope:puppet_or_actor + type = favor_hook + } + } + } + if = { + limit = { scope:pam_sway_endowment ?= yes } + scope:puppet_or_actor = { + pay_treasury_or_gold = { + target = scope:recipient + value = pam_sway_to_rite_endowment_cost_value + } + } + } + } + # Catalysts + if = { + limit = { + scope:puppet_or_actor.religion = religion:christianity_religion + situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_the_christian_church_swayed_to_rite } + } + situation:the_christian_church = { trigger_situation_catalyst = catalyst_the_christian_church_swayed_to_rite } + } + } + if = { + limit = { + scope:is_puppet_action ?= yes + scope:actor != scope:recipient + } + scope:actor = { + send_interface_toast = { + type = event_toast_effect_good + title = sway_ruler_to_my_rite_interaction_toast_puppeteer + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + } + } + } + scope:puppet_or_actor = { + pam_tax_nonbelievers_conversion_fulfillment_effect = yes + } +} + +# Shared on_decline for the three Sway to Rite interactions. +pam_sway_to_rite_on_decline_effect = { + scope:puppet_or_actor = { + send_interface_toast = { + type = event_toast_effect_bad + title = sway_ruler_to_my_rite_interaction_decline_toast + right_icon = scope:recipient + scope:recipient = { + if = { + limit = { is_ai = yes } + add_opinion = { + target = scope:puppet_or_actor + modifier = annoyed_opinion + opinion = -10 + } + } + } + } + } + if = { + limit = { + scope:is_puppet_action ?= yes + scope:actor != scope:recipient + } + scope:actor = { + send_interface_toast = { + type = event_toast_effect_bad + title = sway_ruler_to_my_rite_interaction_decline_toast_puppeteer + left_icon = scope:puppet_or_actor + right_icon = scope:recipient + } + } + } +} + +# PAM - Converts every county in a ruler's domain that shares their faith to $RITE$ +# The capital is skipped while a different-rite clerical region holder is seated in it, unless that holder is our puppet +pam_convert_domain_counties_to_rite_effect = { + save_temporary_scope_as = domain_rite_converter + every_held_title = { + limit = { + tier = tier_county + faith = scope:domain_rite_converter.faith + rite != $RITE$ + trigger_if = { + limit = { scope:domain_rite_converter.capital_county ?= this } + NOT = { + clerical_region_title ?= { + holder ?= { + capital_county = scope:domain_rite_converter.capital_county + faith = scope:domain_rite_converter.faith + rite != $RITE$ + NOR = { + scope:domain_rite_converter.puppet:theological_agent_puppet ?= this + scope:domain_rite_converter.puppet:external_theological_agent_puppet ?= this + } + } + } + } + } + } + set_county_rite = $RITE$ + } +} + +# PAM - Converts a ruler's court (present, away, and guests) that shares their faith to $RITE$, mirroring rite growth's court conversion +pam_convert_court_to_rite_effect = { + every_courtier_or_guest = { + limit = { + is_physically_able_ai = yes + faith = $RITE$.faith + rite != $RITE$ + NOT = { has_character_flag = ai_will_not_convert } + } + set_character_rite = $RITE$ + } + every_courtier_away = { + limit = { + is_physically_able_ai = yes + faith = $RITE$.faith + rite != $RITE$ + NOT = { has_character_flag = ai_will_not_convert } + } + set_character_rite = $RITE$ + } +} + +# PAM - Faith counterpart of pam_convert_court_to_rite_effect: converts a ruler's court still on $OLD_FAITH$ to $FAITH$ +pam_convert_court_to_faith_effect = { + every_courtier_or_guest = { + limit = { + is_physically_able_ai = yes + faith = $OLD_FAITH$ + NOT = { has_character_flag = ai_will_not_convert } + } + set_character_faith = $FAITH$ + } + every_courtier_away = { + limit = { + is_physically_able_ai = yes + faith = $OLD_FAITH$ + NOT = { has_character_flag = ai_will_not_convert } + } + set_character_faith = $FAITH$ + } +} + +# PAM Great Schism: shows $TT$, and $VALUE$ goes up when positive (zero still shows the tooltip) +# Progress only goes up, and we do nothing once the schism has happened or been prevented +pam_change_great_schism_progress_effect = { + custom_tooltip = $TT$ + hidden_effect = { + if = { + limit = { pam_great_schism_progress_can_change_trigger = yes } + if = { + limit = { $VALUE$ > 0 } + situation:the_christian_church = { + if = { + limit = { NOT = { has_variable = pam_progress_towards_great_schism } } + set_variable = { name = pam_progress_towards_great_schism value = 0 } + } + change_variable = { + name = pam_progress_towards_great_schism + add = $VALUE$ + } + } + every_player = { + limit = { + faith.religion = religion:christianity_religion + exists = top_participant_group:the_christian_church + } + send_interface_message = { + type = msg_pam_great_schism_progress + desc = $TT$ + } + } + } + if = { + limit = { + situation:the_christian_church = { + NOT = { has_variable = pam_great_schism_status } + pam_great_schism_progress_value >= pam_great_schism_progress_threshold_value + } + } + situation:the_christian_church = { + pam_update_schism_rite_variables_effect = yes + var:schism_mainline_rite ?= { save_scope_as = schism_mainline_rite } + var:schism_competitor_rite ?= { save_scope_as = schism_competitor_rite } + set_variable = { + name = pam_great_schism_status + value = flag:threshold_reached + } + } + scope:schism_mainline_rite.head_of_rite ?= { save_scope_as = schism_mainline_head } + scope:schism_competitor_rite.head_of_rite ?= { save_scope_as = schism_competitor_head } + every_player = { + limit = { + faith.religion = religion:christianity_religion + any_character_situation = { this = situation:the_christian_church } + } + trigger_event = pam_the_christian_church.0064 + } + } + } + } +} + +# Situation scope, and a third rite as mainline keeps the existing Rome and Constantinople order +pam_update_schism_rite_variables_effect = { + if = { + limit = { + #stop updating it if the schism is going to happen + situation:the_christian_church ?= { + NOT = { has_variable = pam_great_schism_status } + } + } + if = { + limit = { faith:christian_faith.main_rite ?= rite:roman_rite } + set_variable = { name = schism_mainline_rite value = rite:roman_rite } + set_variable = { name = schism_competitor_rite value = rite:byzantine_rite } + } + else_if = { + limit = { faith:christian_faith.main_rite ?= rite:byzantine_rite } + set_variable = { name = schism_mainline_rite value = rite:byzantine_rite } + set_variable = { name = schism_competitor_rite value = rite:roman_rite } + } + else_if = { + limit = { NOT = { has_variable = schism_mainline_rite } } + set_variable = { name = schism_mainline_rite value = rite:roman_rite } + set_variable = { name = schism_competitor_rite value = rite:byzantine_rite } + } + } +} + +# Converters are root, with scope:old_rite the rite they left, when on_rite_change fires +# Flag spaces repeats and stops the event's own conversion from chaining +pam_schism_rite_conversion_dissent_effect = { + if = { + limit = { + is_landed = yes + exists = scope:old_rite + scope:old_rite != rite + OR = { + highest_held_title_tier >= tier_kingdom + pam_is_investiture_clergy_trigger = yes + } + pam_schism_rite_in_pair_trigger = { RITE = scope:old_rite } + pam_schism_rite_in_pair_trigger = { RITE = root.rite } + pam_great_schism_progress_can_change_trigger = yes + NOT = { has_character_flag = pam_schism_rite_conversion_dissent_recently } + } + random = { + chance = pam_schism_rite_conversion_dissent_chance_value + scope:old_rite = { save_scope_as = pam_dissent_rite } + add_character_flag = { + flag = pam_schism_rite_conversion_dissent_recently + years = 10 + } + trigger_event = { + id = pam_the_christian_church.0063 + days = { 3 10 } + } + } + } +} + +# $RITE$ is the rite they stayed with, evaluated on the character +# Shares pam_schism_rite_dissenter_valid_trigger with pam_the_christian_church.0063 +pam_save_schism_rite_dissenter_effect = { + every_courtier = { + limit = { pam_schism_rite_dissenter_valid_trigger = { RITE = $RITE$ } } + add_to_list = pam_schism_dissenter_candidates + } + every_vassal_or_below = { + limit = { pam_schism_rite_dissenter_valid_trigger = { RITE = $RITE$ } } + add_to_list = pam_schism_dissenter_candidates + } + every_pool_character = { + province = root.location + limit = { pam_schism_rite_dissenter_valid_trigger = { RITE = $RITE$ } } + add_to_list = pam_schism_dissenter_candidates + } + random_in_list = { + list = pam_schism_dissenter_candidates + weight = { + base = 1 + modifier = { + add = 10 + pam_is_investiture_clergy_trigger = yes + } + modifier = { + add = 5 + highest_held_title_tier >= tier_county + } + modifier = { + add = 5 + is_close_family_of = root + } + } + save_scope_as = schism_dissenter + } + if = { + limit = { + NOT = { exists = scope:schism_dissenter } + } + create_character = { + template = priest_character_template + employer = root + faith = root.faith + rite = $RITE$ + culture = root.culture + save_scope_as = schism_dissenter + after_creation = { + add_character_flag = created + } + } + } +} + +# A county is root when on_county_rite_change runs this, with scope:old_rite the rite it used to have +# A faith swap books nothing, because the schism is a quarrel within Christianity +pam_schism_county_conversion_progress_effect = { + if = { + limit = { + exists = scope:old_rite + rite != scope:old_rite + pam_schism_rite_in_pair_trigger = { RITE = scope:old_rite } + any_county_holy_site = { + any_holy_site_faith = { this = faith:christian_faith } + } + } + if = { + limit = { pam_schism_county_rite_in_pair_trigger = { COUNTY = root } } + pam_change_great_schism_progress_effect = { + VALUE = pam_great_schism_progress_county_conversion_value + TT = pam_great_schism_progress_county_conversion_tt + } + } + else = { # Attribute to the pair rite losing the county (gainer is outside the pair) + pam_change_great_schism_progress_effect = { + VALUE = pam_great_schism_progress_county_conversion_edge_value + TT = pam_great_schism_progress_county_conversion_edge_tt + } + } + } +} + +# Fire the Great Schism catalyst again on phase change to make sure Saeculum Obscurum happens +pam_refire_great_schism_catalyst_effect = { + if = { + limit = { + pam_great_schism_progress_can_change_trigger = yes + var:pam_great_schism_status ?= flag:threshold_reached + pam_great_schism_progress_value >= pam_great_schism_progress_threshold_value + situation_top_has_catalyst = catalyst_the_christian_church_great_schism + } + trigger_situation_catalyst = catalyst_the_christian_church_great_schism + } +} + +# PAM - Great Schism: fire the schism start event for Chalcedonian rulers once conditions hold +pam_fire_great_schism_start_event_effect = { + if = { + limit = { var:pam_great_schism_status ?= flag:threshold_reached } + var:schism_mainline_rite = { save_scope_as = schism_mainline_rite } + var:schism_competitor_rite = { save_scope_as = schism_competitor_rite } + scope:schism_mainline_rite.head_of_rite ?= { save_scope_as = schism_mainline_head } + scope:schism_competitor_rite.head_of_rite ?= { save_scope_as = schism_competitor_head } + set_variable = { + name = pam_great_schism_status + value = flag:ongoing + } + every_situation_participant = { + limit = { + is_ruler = yes + faith = faith:christian_faith + } + trigger_event = pam_the_christian_church.0060 + } + } +} + +pam_offer_great_schism_stance_effect = { + if = { + limit = { + pam_can_pick_great_schism_stance_trigger = yes + NOR = { + has_variable = pam_schism_stance + has_character_flag = pam_offered_great_schism_stance + } + } + pam_send_great_schism_stance_offer_effect = yes + } +} + +pam_offer_great_schism_stance_to_new_player_effect = { + if = { + limit = { pam_can_pick_great_schism_stance_trigger = yes } + pam_send_great_schism_stance_offer_effect = yes + } +} + +pam_send_great_schism_stance_offer_effect = { + add_character_flag = pam_offered_great_schism_stance + situation:the_christian_church = { + var:schism_mainline_rite = { save_scope_as = schism_mainline_rite } + var:schism_competitor_rite = { save_scope_as = schism_competitor_rite } + } + trigger_event = pam_the_christian_church.0060 +} + +# PAM - Sacred Childbirth: scaled piety (regular tenet) for a live birth. Also triggers spiritual fulfillment and stress loss rewards (personal tenet), shown in birth events +pam_childbirth_piety_reward_effect = { + if = { + limit = { rite = { rite_has_parameter = piety_from_childbirth_active } } + if = { + limit = { scope:child = { has_any_negative_bastard_trait_trigger = no } } + add_piety = { + value = major_piety_gain + if = { limit = { any_child = { is_twin_of = scope:child } } add = major_piety_gain } + if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = major_piety_gain } + } + } + else = { + add_piety = { + value = minor_piety_gain + if = { limit = { any_child = { is_twin_of = scope:child } } add = minor_piety_gain } + if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = minor_piety_gain } + } + } + } + pam_childbirth_spiritual_fulfillment_reward_effect = yes +} + +# PAM - Carnal Exaltation: piety for a successful seduce scheme +pam_seduction_piety_reward_effect = { + if = { + limit = { rite = { rite_has_parameter = piety_from_seduction_active } } + add_piety = medium_piety_gain + } +} + +# PAM - Sacred Childbirth: scaled spiritual fulfillment + stress loss (personal tenet) for a live birth; called on its own for children conceived in secret. shown in birth events +pam_childbirth_spiritual_fulfillment_reward_effect = { + if = { + limit = { + has_personal_tenet_flag = spiritual_fulfillment_from_childbirth_personal_active + has_pam_dlc_trigger = yes + } + if = { + limit = { scope:child = { has_any_negative_bastard_trait_trigger = no } } + change_spiritual_fulfillment = { + value = medium_spiritual_fulfillment_value + if = { limit = { any_child = { is_twin_of = scope:child } } add = medium_spiritual_fulfillment_value } + if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = medium_spiritual_fulfillment_value } + } + } + else = { + change_spiritual_fulfillment = { + value = minor_spiritual_fulfillment_value + if = { limit = { any_child = { is_twin_of = scope:child } } add = minor_spiritual_fulfillment_value } + if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = minor_spiritual_fulfillment_value } + } + } + } + if = { + limit = { + has_personal_tenet_flag = stress_loss_from_childbirth_personal_active + has_pam_dlc_trigger = yes + } + if = { + limit = { scope:child = { has_any_negative_bastard_trait_trigger = no } } + add_stress = { + value = medium_stress_loss + if = { limit = { any_child = { is_twin_of = scope:child } } add = medium_stress_loss } + if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = medium_stress_loss } + } + } + else = { + add_stress = { + value = minor_stress_loss + if = { limit = { any_child = { is_twin_of = scope:child } } add = minor_stress_loss } + if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = minor_stress_loss } + } + } + } +} + +# PAM - Sacred Childbirth: spiritual fulfillment loss for a child-death birth, shown in birth events +pam_childbirth_spiritual_fulfillment_penalty_effect = { + if = { + limit = { has_personal_tenet_flag = spiritual_fulfillment_from_childbirth_personal_active } + if = { + limit = { has_pam_dlc_trigger = yes } + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + } + } +} + +# PAM - Epidemics: spiritual fulfillment loss from pestilence as divine wrath. Exaltation of Pain (faith or personal tenet) exempts the character. Needs argument AMOUNT (spiritual fulfillment script value) +pam_epidemic_spiritual_fulfillment_loss_effect = { + if = { + limit = { + is_playable_character = yes + NOR = { + rite = { rite_has_parameter = no_epidemic_fulfillment_loss_active } + has_personal_tenet_flag = no_epidemic_fulfillment_loss_personal_active + } + } + change_spiritual_fulfillment = $AMOUNT$ + } +} + +# PAM Epidemics: expects scope:epidemic, shown in epidemic arrival events +pam_epidemic_arrival_spiritual_fulfillment_loss_effect = { + if = { + limit = { scope:epidemic = { outbreak_intensity = apocalyptic } } + pam_epidemic_spiritual_fulfillment_loss_effect = { AMOUNT = massive_spiritual_fulfillment_loss } + } + else_if = { + limit = { scope:epidemic = { outbreak_intensity = major } } + pam_epidemic_spiritual_fulfillment_loss_effect = { AMOUNT = major_spiritual_fulfillment_loss } + } + else = { + pam_epidemic_spiritual_fulfillment_loss_effect = { AMOUNT = medium_spiritual_fulfillment_loss } + } +} + +# PAM - Epidemics: spiritual fulfillment loss when your court physician treats you for an epidemic disease (chronic diseases are exempt). Expects scope:disease_type, shown in disease treatment events +pam_epidemic_disease_treatment_spiritual_fulfillment_loss_effect = { + if = { + limit = { + OR = { + scope:disease_type = flag:bubonic_plague + scope:disease_type = flag:smallpox + scope:disease_type = flag:typhus + scope:disease_type = flag:measles + scope:disease_type = flag:dysentery + scope:disease_type = flag:consumption + scope:disease_type = flag:ergotism + } + } + pam_epidemic_spiritual_fulfillment_loss_effect = { AMOUNT = medium_spiritual_fulfillment_loss } + } +} + +consecrate_kingdom_effect = { + #If you don't have sway over the pope... they get sway over you + if = { + limit = { + NOT = { + this = scope:religious_authority + } + } + if = { + limit = { + NOR = { + has_hook = scope:religious_authority + scope:king_aspirant.puppet:theological_agent_puppet ?= scope:religious_authority + scope:king_aspirant.puppet:external_theological_agent_puppet ?= scope:religious_authority + } + } + scope:religious_authority = { + add_hook = { + type = strong_obligation_hook + target = scope:king_aspirant + } + } + } + else = { + scope:religious_authority = { + add_hook = { + type = obligation_hook + target = scope:king_aspirant + } + } + } + } + if = { + limit = { + scope:religious_authority = { + this = scope:king_aspirant + } + } + every_held_title = { + limit = { + tier = tier_county + } + empire = { + every_de_jure_county = { + limit = { + holder ?= { + faith = scope:king_aspirant.faith + NOT = { + government_has_flag = government_is_theocracy + } + } + } + holder = { + add_to_list = angry_seculars + every_liege_or_above = { + limit = { + faith = scope:king_aspirant.faith + NOT = { + government_has_flag = government_is_theocracy + } + } + add_to_list = angry_seculars + } + } + } + } + } + every_in_list = { + custom = custom.every_empire_secular_ruler + list = angry_seculars + + add_opinion = { + modifier = power_hungry_priest_opinion + target = scope:king_aspirant + opinion = -30 + } + } + } + create_custom_kingdom_effect = yes + if = { + limit = { + NOT = { + this = scope:religious_authority + } + top_participant_group:the_christian_church ?= { + OR = { + participant_group_type = christian_clerical_main_power_rulers + participant_group_type = christian_regular_main_power_rulers + } + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_consecrated_kingdom_for_ruler + } + NOT = { + scope:king_aspirant = { government_has_flag = government_is_theocracy } + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_consecrated_kingdom_for_ruler + } + } + else_if = { + limit = { + this = scope:religious_authority + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_prelate_empowered_self_with_kingdom + } + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_prelate_empowered_self_with_kingdom + } + } + else_if = { + limit = { + top_participant_group:the_christian_church ?= { + OR = { + participant_group_type = christian_clerical_main_power_rulers + participant_group_type = christian_regular_main_power_rulers + } + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_consecrated_kingdom_for_theocrat + } + government_has_flag = government_is_theocracy + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_consecrated_kingdom_for_theocrat + } + } + if = { + limit = { + is_ai = no + NOT = { exists = global_var:found_kingdom_decision } + } + set_global_variable = { + name = found_kingdom_decision + value = root + } + set_global_variable = { + name = found_kingdom_decision_kingdom + value = root.primary_title + } + } +} +consecrate_kingdom_player_cleric_effect = { + if = { + limit = { + is_ai = yes + } + if = { + limit = { + NOT = { + exists = scope:interaction + } + } + add_opinion = { + target = scope:religious_authority + modifier = support_opinion + opinion = 50 + } + } + else = { + add_opinion = { + target = scope:religious_authority + modifier = support_opinion + opinion = 25 + } + } + add_character_modifier = { + modifier = consecrated_king_modifier + desc = consecrated_king_ai_behavior_large_tt + years = 20 + } + custom_tooltip = consecrated_king_ai_behavior_large_tt + } + else = { + add_character_modifier = { + modifier = consecrated_king_modifier_small + years = 20 + } + } + scope:religious_authority = { save_scope_as = cleric } + ecclesiastical_title_bestowing_clerical_hesitation_effect = yes +} +grant_title_populate_concerned_de_jure_list_effect = { + if = { + limit = { + $TITLE_GAINER$ = { + any_held_title = { + tier = tier_duchy + kingdom.holder ?= { + religion = scope:puppet_or_actor.religion + NOT = { + this = scope:puppet_or_actor + } + } + } + } + } + $TITLE_GAINER$ = { + every_held_title = { + limit = { + tier = tier_duchy + kingdom.holder ?= { + religion = scope:puppet_or_actor.religion + NOT = { + this = scope:puppet_or_actor + } + } + } + kingdom.holder = { + add_to_list = grateful_refusal_chars + } + } + } + } +} +bestow_title_effect = { + if = { + limit = { + scope:use_hook ?= yes + scope:puppet_or_actor ?= { has_usable_hook = scope:recipient } + } + scope:puppet_or_actor = { use_hook = scope:recipient } + } + if = { + limit = { + scope:gain_weak_hook ?= yes + } + scope:puppet_or_actor = { + add_hook = { + type = obligation_hook + target = scope:recipient + } + } + } + else_if = { + limit = { + scope:gain_strong_hook ?= yes + } + scope:puppet_or_actor = { + add_hook = { + type = strong_obligation_hook + target = scope:recipient + } + } + } + else = { + if = { + limit = { + exists = scope:target + } + scope:puppet_or_actor = { + add_prestige = { + value = minor_prestige_gain + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + + } + else = { + scope:puppet_or_actor = { + add_prestige = minor_prestige_gain + } + } + } + + scope:recipient = { save_scope_as = bestowed_title_holder } + scope:puppet_or_actor = { save_scope_as = bestowing_cleric } + bestow_title_shared_effect = yes +} +# Creates the unheld title and hands it to its new holder. Runs in the new holder's scope; callers must save scope:bestowed_title_holder and scope:bestowing_cleric first, since the clergy and the ruler swap roles between the bestowal and the petition. +bestow_title_shared_effect = { + create_title_and_vassal_change = { + type = created + save_scope_as = ecclesiastical_bestow_title_change + add_claim_on_loss = no + } + scope:target = { + change_title_holder = { + holder = scope:bestowed_title_holder + change = scope:ecclesiastical_bestow_title_change + } + } + resolve_title_and_vassal_change = scope:ecclesiastical_bestow_title_change + + scope:target ?= { + if = { + limit = { tier = tier_empire } + scope:bestowed_title_holder = { + add_opinion = { + modifier = received_title_empire + target = scope:bestowing_cleric + opinion = 50 + } + } + } + else_if = { + limit = { tier = tier_kingdom } + scope:bestowed_title_holder = { + add_opinion = { + modifier = received_title_kingdom + target = scope:bestowing_cleric + opinion = 25 + } + } + } + else_if = { + limit = { tier = tier_duchy } + scope:bestowed_title_holder = { + add_opinion = { + modifier = received_title_duchy + target = scope:bestowing_cleric + opinion = 15 + } + } + } + } + if = { + limit = { + NOT = { government_has_flag = government_is_theocracy } + top_participant_group:the_christian_church ?= { + OR = { + participant_group_type = christian_clerical_main_power_rulers + participant_group_type = christian_regular_main_power_rulers + } + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_hof_bestowed_title + } + scope:target.tier >= tier_kingdom + } + if = { + limit = { + exists = scope:target + scope:target.tier >= tier_empire + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_hof_bestowed_title_major + } + } + else = { + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_hof_bestowed_title + } + } + } + else_if = { + limit = { + government_has_flag = government_is_theocracy + top_participant_group:the_christian_church ?= { + OR = { + participant_group_type = christian_clerical_main_power_rulers + participant_group_type = christian_regular_main_power_rulers + } + } + situation:the_christian_church ?= { + situation_top_has_catalyst = catalyst_hof_bestowed_title_clergy + } + } + if = { + limit = { + exists = scope:target + scope:target.tier >= tier_empire + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_hof_bestowed_title_clergy_major + } + } + else_if = { + limit = { + exists = scope:target + scope:target.tier >= tier_kingdom + } + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_hof_bestowed_title_clergy + } + } + else = { + situation:the_christian_church = { + trigger_situation_catalyst = catalyst_hof_bestowed_title_clergy_minor + } + } + } + scope:bestowing_cleric = { save_scope_as = cleric } + if = { + limit = { + scope:bestowing_cleric = { + is_ai = no + } + } + ecclesiastical_title_bestowing_clerical_hesitation_effect = yes + } + else = { + hidden_effect = { + ecclesiastical_title_bestowing_clerical_hesitation_effect = yes + } + } +} +# The petition counterpart to bestow_title_effect: the clergy proclaim the unheld title and crown the petitioner. Runs in the petitioner's scope. +request_unformed_title_effect = { + custom_tooltip = request_unformed_title_gain_tt + if = { + limit = { + scope:donate_faith ?= yes + } + pay_short_term_gold = { + target = scope:recipient + gold = major_gold_value + } + } + if = { + limit = { + scope:use_hook ?= yes + has_usable_hook = scope:recipient + } + use_hook = scope:recipient + } + if = { + limit = { + scope:offer_hook ?= yes + } + scope:recipient = { + add_hook = { + type = favor_hook + target = scope:puppet_or_actor + } + } + } + pam_offer_pilgrimage_effect = { + ACTOR = scope:puppet_or_actor + CLERIC = scope:recipient + } + + scope:puppet_or_actor = { save_scope_as = bestowed_title_holder } + scope:recipient = { save_scope_as = bestowing_cleric } + bestow_title_shared_effect = yes + + #The clergy publicly stand behind the new crown, and their flock is expected to respect it + if = { + limit = { + is_ai = yes + } + add_character_modifier = { + modifier = consecrated_king_modifier + desc = consecrated_king_ai_behavior_large_tt + years = 20 + } + custom_tooltip = consecrated_king_ai_behavior_large_tt + } + else = { + add_character_modifier = { + modifier = consecrated_king_modifier_small + years = 20 + } + } + if = { + limit = { + scope:promise_holy_war ?= yes + } + faith = { save_scope_as = promised_holy_war_faith } + custom_tooltip = { + text = bonus_holy_war_tt + add_character_flag = { + flag = bonus_major_holy_war + years = 5 + } + } + custom_tooltip = request_unformed_title_holy_war_deadline_tt + #The clergy come looking for results; pam_interactions_events.0098 judges the vow + trigger_event = { + id = pam_interactions_events.0098 + years = 5 + } + } +} + +# Runs in the scope of the ruler being judged; the cleric weighing the act must be saved as scope:cleric by the caller. +ecclesiastical_title_bestowing_clerical_hesitation_effect = { + save_scope_as = only_consideration + if = { + limit = { + clerical_hesitation_claim_interaction_value >= 9 + } + scope:cleric = { + if = { + limit = { + exists = scope:target + } + change_spiritual_fulfillment = { + value = major_spiritual_fulfillment_loss + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + else = { + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + } + custom_tooltip = clerical_hesitation_high_bestowing_tt + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 6 + } + scope:cleric = { + if = { + limit = { + exists = scope:target + } + change_spiritual_fulfillment = { + value = medium_spiritual_fulfillment_loss + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + else = { + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + } + custom_tooltip = clerical_hesitation_high_bestowing_tt + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 3 + } + scope:cleric = { + if = { + limit = { + exists = scope:target + } + change_spiritual_fulfillment = { + value = minor_spiritual_fulfillment_loss + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + else = { + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + } + custom_tooltip = clerical_hesitation_high_bestowing_tt + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= 1 + } + scope:cleric = { + if = { + limit = { + exists = scope:target + } + change_spiritual_fulfillment = { + value = miniscule_spiritual_fulfillment_loss + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + else = { + change_spiritual_fulfillment = minor_spiritual_fulfillment_loss + } + custom_tooltip = clerical_hesitation_high_bestowing_tt + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value < 1 + clerical_hesitation_claim_interaction_value >= -2 + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -3 + } + scope:cleric = { + if = { + limit = { + exists = scope:target + } + change_spiritual_fulfillment = { + value = miniscule_spiritual_fulfillment_value + divide = 2 + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + else = { + change_spiritual_fulfillment = miniscule_spiritual_fulfillment_value + } + custom_tooltip = clerical_hesitation_low_bestowing_tt + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -5 + } + scope:cleric = { + if = { + limit = { + exists = scope:target + } + change_spiritual_fulfillment = { + value = miniscule_spiritual_fulfillment_value + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + else = { + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } + custom_tooltip = clerical_hesitation_low_bestowing_tt + } + } + else_if = { + limit = { + clerical_hesitation_claim_interaction_value >= -8 + } + scope:cleric = { + if = { + limit = { + exists = scope:target + } + change_spiritual_fulfillment = { + value = minor_spiritual_fulfillment_value + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + else = { + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + } + custom_tooltip = clerical_hesitation_low_bestowing_tt + } + } + else = { + scope:cleric = { + if = { + limit = { + exists = scope:target + } + change_spiritual_fulfillment = { + value = medium_spiritual_fulfillment_value + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + else = { + change_spiritual_fulfillment = major_spiritual_fulfillment_value + } + custom_tooltip = clerical_hesitation_low_bestowing_tt + } + } +} + +# Never pair with a firing stress_and_fulfillment_impact on the same option +# Punishing/executing a proven witch +pam_witch_justice_fulfillment_effect = { + if = { + limit = { rite = { rite_has_parameter = witchcraft_illegal } } + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + } + else_if = { + limit = { rite = { rite_has_parameter = witchcraft_accepted } } + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + } + # witchcraft_shunned: no SF either way +} + +# Knowingly sparing/releasing a proven witch. +pam_witch_leniency_fulfillment_effect = { + if = { + limit = { rite = { rite_has_parameter = witchcraft_illegal } } + change_spiritual_fulfillment = medium_spiritual_fulfillment_loss + } + else_if = { + limit = { rite = { rite_has_parameter = witchcraft_accepted } } + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } +} + +# Recruiting/protecting/allying with a witch. +pam_witch_embrace_fulfillment_effect = { + if = { + limit = { rite = { rite_has_parameter = witchcraft_illegal } } + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + } + else_if = { + limit = { rite = { rite_has_doctrine = doctrine_witchcraft_virtuous } } + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + } + else_if = { + limit = { rite = { rite_has_parameter = witchcraft_accepted } } + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } +} + +add_clerical_region_with_non_christian_capital_effect = { + $REGION_TITLE$ ?= { + if = { + limit = { + holder.religion ?= religion:christianity_religion + NOT = { title_province.religion ?= religion:christianity_religion } + } + scope:core_region = { add_clerical_realm_to_sub_region = prev } + } + } +} + +ecclesiastical_de_jure_shifting_effect = { + custom_tooltip = gain_de_jure_target_title_tt + if = { + limit = { + scope:promise_domination ?= yes + } + if = { + limit = { + has_legitimacy = yes + } + custom_tooltip = domination_promise_tt + } + else = { + custom_tooltip = domination_promise_no_legitimacy_tt + } + trigger_event = { + id = pam_interactions_events.0093 + years = 5 + } + } + if = { + limit = { + scope:donate_faith ?= yes + } + pay_short_term_gold = { + target = $CLERIC$ + gold = major_gold_value + } + } + if = { + limit = { + scope:use_hook ?= yes + has_usable_hook = $CLERIC$ + } + use_hook = $CLERIC$ + } + pam_offer_pilgrimage_effect = { + ACTOR = $DE_JURE_MASTER$ + CLERIC = $CLERIC$ + } + if = { + limit = { + scope:promise_conversion ?= yes + } + remove_treasury_or_gold = { + value = { + value = $DE_JURE_MASTER$.miniscule_gold_value + if = { + limit = { + exists = scope:target + } + scope:target = { + every_de_jure_county = { + limit = { + OR = { + NOT = { + faith = $DE_JURE_MASTER$.faith + } + trigger_if = { + limit = { + $DE_JURE_MASTER$.rite = $CLERIC$.rite + } + AND = { + NOT = { + rite = $DE_JURE_MASTER$.rite + } + rite = { + "divergence(scope:de_jure_master.rite)" >= medium_rite_divergence_value + } + } + } + } + } + add = $DE_JURE_MASTER$.miniscule_gold_value + } + } + } + divide = 2 + } + } + add_piety_experience = { + value = { + value = $DE_JURE_MASTER$.miniscule_piety_gain + if = { + limit = { + exists = scope:target + } + scope:target = { + every_de_jure_county = { + limit = { + OR = { + NOT = { + faith = $DE_JURE_MASTER$.faith + } + trigger_if = { + limit = { + $DE_JURE_MASTER$.rite = $CLERIC$.rite + } + AND = { + NOT = { + rite = $DE_JURE_MASTER$.rite + } + rite = { + "divergence(scope:de_jure_master.rite)" >= medium_rite_divergence_value + } + } + } + } + } + add = $DE_JURE_MASTER$.miniscule_piety_gain + } + } + } + divide = 2 + } + } + scope:target = { + if = { + limit = { + $DE_JURE_MASTER$.rite = $CLERIC$.rite + scope:target ?= { + any_de_jure_county = { + faith = $DE_JURE_MASTER$.faith + NOR = { + rite = $DE_JURE_MASTER$.rite + holder = { + is_ai = no + NOR = { + this = $DE_JURE_MASTER$ + this = $CLERIC$ + } + } + } + rite = { + "divergence(scope:de_jure_master.rite)" >= medium_rite_divergence_value + # Freshly founded rites get a grace period before missionaries convert their counties back + NOT = { has_variable = pam_rite_grace_period } + } + } + } + } + every_de_jure_county = { + custom = custom.every_non_recipient_rite_county_in_target + limit = { + faith = $DE_JURE_MASTER$.faith + NOR = { + rite = $DE_JURE_MASTER$.rite + holder = { + is_ai = no + NOR = { + this = $DE_JURE_MASTER$ + this = $CLERIC$ + } + } + } + rite = { + "divergence(scope:de_jure_master.rite)" >= medium_rite_divergence_value + # Freshly founded rites get a grace period before missionaries convert their counties back + NOT = { has_variable = pam_rite_grace_period } + } + } + custom_tooltip = dispatch_missionaries_random_chance_of_counties_converting_rite_tt + hidden_effect = { + random = { + chance = 20 + set_county_rite = $DE_JURE_MASTER$.rite + } + } + } + } + if = { + limit = { + scope:target ?= { + any_de_jure_county = { + NOR = { + faith = $DE_JURE_MASTER$.faith + holder = { + is_ai = no + NOR = { + this = $DE_JURE_MASTER$ + this = $CLERIC$ + } + } + } + } + } + } + every_de_jure_county = { + custom = custom.every_non_actor_faith_county_in_target + limit = { + NOR = { + faith = $DE_JURE_MASTER$.faith + holder = { + is_ai = no + NOR = { + this = $DE_JURE_MASTER$ + this = $CLERIC$ + } + } + } + } + custom_tooltip = dispatch_missionaries_random_chance_of_counties_converting_faith_tt + hidden_effect = { + random = { + chance = 10 + set_county_faith = $DE_JURE_MASTER$.faith + } + } + } + } + } + } + if = { + limit = { + scope:offer_hook ?= yes + } + $CLERIC$ = { + add_hook = { + type = favor_hook + target = $DE_JURE_MASTER$ + } + } + } + + scope:target = { + hidden_effect = { set_de_jure_liege_title = $DE_JURE_MASTER$.primary_title } + if = { + limit = { + scope:recipient = $CLERIC$ + } + every_de_jure_county = { + custom = custom.every_non_actor_faith_county_controlled_in_target + limit = { + NOT = { faith = $DE_JURE_MASTER$.faith } + holder = { + target_is_same_character_or_above = $DE_JURE_MASTER$ + } + } + change_county_control = extreme_county_control_loss + } + } + else = { + every_de_jure_county = { + custom = custom.every_non_recipient_faith_county_controlled_in_target + limit = { + NOT = { faith = $DE_JURE_MASTER$.faith } + holder = { + target_is_same_character_or_above = $DE_JURE_MASTER$ + } + } + change_county_control = extreme_county_control_loss + } + } + if = { + limit = { + scope:recipient = $CLERIC$ + } + every_de_jure_county = { + custom = custom.every_non_recipient_rite_county_controlled_in_target + limit = { + faith = $DE_JURE_MASTER$.faith + NOT = { + rite = $CLERIC$.rite + } + holder = { + target_is_same_character_or_above = $DE_JURE_MASTER$ + } + } + change_county_control = medium_county_control_loss + } + } + else = { + every_de_jure_county = { + custom = custom.every_non_actor_rite_county_controlled_in_target + limit = { + faith = $DE_JURE_MASTER$.faith + NOT = { + rite = $CLERIC$.rite + } + holder = { + target_is_same_character_or_above = $DE_JURE_MASTER$ + } + } + change_county_control = medium_county_control_loss + } + } + } + scope:puppet_or_actor ?= { + if = { + limit = { + has_legitimacy = yes + exists = scope:target + } + add_legitimacy = { + value = medium_legitimacy_loss + multiply = { + value = scope:target.tier + subtract = 2 + } + } + } + } +} + +pam_cardinal_vacancy_on_death_effect = { + if = { + limit = { + has_pam_dlc_trigger = yes + OR = { + exists = clerical_elector_title + has_character_flag = cardinal_flag + } + OR = { + exists = faith.religious_head + exists = title:k_papal_state.holder + } + faith = { + has_doctrine_parameter = has_clerical_electors + any_clerical_elector_title = { count < 10 } + } + } + if = { + limit = { exists = faith.religious_head } + faith.religious_head = { save_scope_as = head_of_faith } + } + else = { + title:k_papal_state.holder = { save_scope_as = head_of_faith } + } + if = { + limit = { + scope:head_of_faith = { is_ai = yes } + } + faith = { + ordered_clerical_region_title = { + limit = { + holder ?= { + is_alive = yes + is_adult = yes + is_incapable = no + NOT = { has_trait = excommunicated } + NOT = { exists = clerical_elector_title } + this != scope:head_of_faith + pam_can_hold_cardinalate_trigger = yes + pam_pope_is_head_of_faith_or_rite_trigger = yes + } + } + order_by = holder.piety_level + max = 1 + check_range_bounds = no + holder = { + save_scope_as = cardinal_candidate + trigger_event = { + id = pam_clergy_events.0040 + days = 3 + } + } + } + } + } + else = { + faith = { + ordered_clerical_region_title = { + limit = { + holder ?= { + is_ai = yes + is_alive = yes + is_adult = yes + is_incapable = no + NOT = { has_trait = excommunicated } + NOT = { exists = clerical_elector_title } + this != scope:head_of_faith + pam_can_hold_cardinalate_trigger = yes + pam_pope_is_head_of_faith_or_rite_trigger = yes + } + } + order_by = holder.piety_level + max = 1 + check_range_bounds = no + holder = { + save_scope_as = cardinal_candidate + } + } + } + if = { + limit = { + exists = scope:cardinal_candidate + } + scope:head_of_faith = { + trigger_event = { + id = pam_clergy_events.0041 + days = 3 + } + } + } + } + } +} +demand_church_succession_side_effects = { + primary_title = { + every_title_heir = { + limit = { + NOR = { + this = scope:actor + this = scope:puppet_or_actor + } + prev = { + place_in_line_of_succession = { + target = prev + value <= 3 + } + } + } + add_opinion = { + target = scope:puppet_or_actor + modifier = meddling_church_opinion + } + } + } +} +# A Realm Priest Puppet who has grown into a titled cleric belongs in the Clerical Ruler Puppet slot, +# which also frees the Realm Priest slot for whoever takes over the council seat. +# ROOT = the puppet, $PUPPETEER$ = the ruler holding them. +# No-op if the target slot is taken, or if they still hold the court chaplain seat. +pam_make_clerical_ruler_puppet_effect = { + # Both scopes are saved up front because clear_puppet_status severs the puppeteer link + save_temporary_scope_as = pam_clerical_ruler_puppet + $PUPPETEER$ = { save_temporary_scope_as = pam_clerical_puppeteer } + if = { + limit = { + scope:pam_clerical_puppeteer = { + NOR = { + exists = puppet:external_theological_agent_puppet + cp:councillor_court_chaplain ?= scope:pam_clerical_ruler_puppet + } + } + } + # Silent: the slot they move into is what the player is told about, not the one they leave + hidden_effect = { clear_puppet_status = yes } + scope:pam_clerical_puppeteer = { + send_interface_toast = { + type = event_toast_effect_good + title = make_external_clerical_puppet_on_action_notification + left_icon = scope:pam_clerical_puppeteer + right_icon = scope:pam_clerical_ruler_puppet + set_puppet = { + target = scope:pam_clerical_ruler_puppet + type = external_theological_agent_puppet + } + } + } + } +} + +pam_generic_set_puppet_interaction_side_effects = { + if = { + limit = { scope:hook ?= yes } + use_hook = scope:recipient + } + if = { + limit = { + scope:skill_support ?= yes + } + scope:recipient = { + if = { + limit = { + scope:actor = { + highest_skill = diplomacy + } + } + add_character_modifier = { + modifier = skilled_puppeteer_modifier_diplomacy + desc = skilled_puppeteer_behavior_tt + } + } + else_if = { + limit = { + scope:actor = { + highest_skill = martial + } + } + add_character_modifier = { + modifier = skilled_puppeteer_modifier_martial + desc = skilled_puppeteer_behavior_tt + } + } + else_if = { + limit = { + scope:actor = { + highest_skill = stewardship + } + } + add_character_modifier = { + modifier = skilled_puppeteer_modifier_stewardship + desc = skilled_puppeteer_behavior_tt + } + } + else_if = { + limit = { + scope:actor = { + highest_skill = intrigue + } + } + add_character_modifier = { + modifier = skilled_puppeteer_modifier_intrigue + desc = skilled_puppeteer_behavior_tt + } + } + else_if = { + limit = { + scope:actor = { + highest_skill = learning + } + } + add_character_modifier = { + modifier = skilled_puppeteer_modifier_learning + desc = skilled_puppeteer_behavior_tt + } + } + else = { + add_character_modifier = { + modifier = skilled_puppeteer_modifier_general + desc = skilled_puppeteer_behavior_tt + } + } + custom_tooltip = skilled_puppeteer_behavior_tt + } + } + if = { + limit = { + scope:piety_support ?= yes + } + scope:recipient = { + if = { + limit = { is_playable_character = yes } # Only playable characters have spiritual fulfillment + change_spiritual_fulfillment = medium_spiritual_fulfillment_value + } + if = { + limit = { + is_clergy = yes + } + add_character_modifier = { + modifier = spiritual_puppeteer_modifier_cleric + desc = spiritual_puppeteer_behavior_tt + } + } + else = { + add_character_modifier = { + modifier = spiritual_puppeteer_modifier_secular + desc = spiritual_puppeteer_behavior_tt + } + } + custom_tooltip = spiritual_puppeteer_behavior_tt + } + } + if = { + limit = { + scope:dread_support ?= yes + } + scope:recipient = { + if = { + limit = { + OR = { + has_trait = compassionate + has_trait = forgiving + has_trait = generous + has_trait = just + } + } + add_stress = medium_stress_gain + } + add_character_modifier = { + modifier = dreadful_puppeteer_modifier + desc = dreadful_puppeteer_behavior_tt + } + custom_tooltip = dreadful_puppeteer_behavior_tt + } + } + if = { + limit = { + scope:friendly_support ?= yes + } + scope:recipient = { + if = { + limit = { + scope:actor = { + is_ai = no + } + OR = { + has_trait = trusting + has_trait = compassionate + has_trait = generous + has_trait = forgiving + has_trait = just + has_trait = humble + } + } + add_trait = loyal + } + else = { + random = { + chance = { + value = 25 + if = { + limit = { + OR = { + has_trait = trusting + has_trait = compassionate + has_trait = generous + has_trait = forgiving + has_trait = just + has_trait = humble + } + } + add = 25 + } + if = { + limit = { + scope:actor = { + is_ai = no + } + } + add = 25 + } + } + add_trait = loyal + } + } + add_character_modifier = { + modifier = beloved_puppeteer_modifier + desc = beloved_puppeteer_behavior_tt + } + custom_tooltip = beloved_puppeteer_behavior_tt + } + stress_impact = { + sadistic = medium_stress_impact_gain + arbitrary = medium_stress_impact_gain + } + } + if = { + limit = { + scope:lunacy_support ?= yes + } + scope:recipient = { + if = { + limit = { + is_adult = yes + } + add_stress = massive_stress_gain + change_spiritual_fulfillment = massive_spiritual_fulfillment_loss + } + else = { + add_stress = major_stress_gain + change_spiritual_fulfillment = major_spiritual_fulfillment_loss + } + add_character_modifier = { + modifier = deranging_puppeteer_modifier + desc = deranging_puppeteer_behavior_tt + } + custom_tooltip = deranging_puppeteer_behavior_tt + } + } + if = { + limit = { + OR = { + scope:lunacy_support ?= yes + scope:dread_support ?= yes + } + } + stress_impact = { + compassionate = major_stress_impact_gain + just = major_stress_impact_gain + humble = major_stress_impact_gain + } + } + if = { + limit = { + scope:friendly_support ?= yes + } + stress_impact = { + compassionate = minor_stress_impact_gain + trusting = minor_stress_impact_gain + humble = minor_stress_impact_gain + generous = minor_stress_impact_gain + forgiving = minor_stress_impact_gain + honest = minor_stress_impact_gain + just = minor_stress_impact_gain + } + } + if = { + limit = { + OR = { + scope:skill_support ?= yes + scope:piety_support ?= yes + scope:dread_support ?= yes + scope:friendly_support ?= yes + scope:lunacy_support ?= yes + } + } + scope:recipient = { + custom_tooltip = modifier_removed_when_puppeting_ends_tt + } + } + #Tracking variable that makes it easier to re-puppet former puppets + scope:recipient = { + add_to_variable_list = { + name = puppeteers + target = scope:actor + } + } +} +remove_puppet_modifiers_effect = { + if = { + limit = { + OR = { + has_character_modifier = skilled_puppeteer_modifier_diplomacy + has_character_modifier = skilled_puppeteer_modifier_martial + has_character_modifier = skilled_puppeteer_modifier_stewardship + has_character_modifier = skilled_puppeteer_modifier_intrigue + has_character_modifier = skilled_puppeteer_modifier_learning + has_character_modifier = skilled_puppeteer_modifier_general + has_character_modifier = spiritual_puppeteer_modifier_cleric + has_character_modifier = spiritual_puppeteer_modifier_secular + has_character_modifier = dreadful_puppeteer_modifier + has_character_modifier = beloved_puppeteer_modifier + has_character_modifier = deranging_puppeteer_modifier + } + } + send_interface_toast = { + type = event_toast_effect_neutral + title = puppet_modifier_removal.t + if = { + limit = { + has_character_modifier = skilled_puppeteer_modifier_diplomacy + } + remove_character_modifier = skilled_puppeteer_modifier_diplomacy + } + if = { + limit = { + has_character_modifier = skilled_puppeteer_modifier_martial + } + remove_character_modifier = skilled_puppeteer_modifier_martial + } + if = { + limit = { + has_character_modifier = skilled_puppeteer_modifier_stewardship + } + remove_character_modifier = skilled_puppeteer_modifier_stewardship + } + if = { + limit = { + has_character_modifier = skilled_puppeteer_modifier_intrigue + } + remove_character_modifier = skilled_puppeteer_modifier_intrigue + } + if = { + limit = { + has_character_modifier = skilled_puppeteer_modifier_learning + } + remove_character_modifier = skilled_puppeteer_modifier_learning + } + if = { + limit = { + has_character_modifier = skilled_puppeteer_modifier_general + } + remove_character_modifier = skilled_puppeteer_modifier_general + } + if = { + limit = { + has_character_modifier = spiritual_puppeteer_modifier_cleric + } + remove_character_modifier = spiritual_puppeteer_modifier_cleric + } + if = { + limit = { + has_character_modifier = spiritual_puppeteer_modifier_secular + } + remove_character_modifier = spiritual_puppeteer_modifier_secular + } + if = { + limit = { + has_character_modifier = dreadful_puppeteer_modifier + } + remove_character_modifier = dreadful_puppeteer_modifier + } + if = { + limit = { + has_character_modifier = beloved_puppeteer_modifier + } + remove_character_modifier = beloved_puppeteer_modifier + } + if = { + limit = { + has_character_modifier = deranging_puppeteer_modifier + } + remove_character_modifier = deranging_puppeteer_modifier + } + } + } +} +gnostic_tenet_learning_effect = { + if = { + limit = { + has_personal_tenet_flag = gnosticism_other_tenets + NAND = { + knows_tenet = tenet_astrology + knows_tenet = tenet_inner_journey + knows_tenet = tenet_esotericism + knows_tenet = tenet_miaphysitism + knows_tenet = tenet_asceticism + knows_tenet = tenet_vows_of_poverty + knows_tenet = tenet_pacifism + knows_tenet = tenet_mortification_of_the_flesh + knows_tenet = tenet_aniconism + knows_tenet = tenet_natural_primitivism + knows_tenet = tenet_false_conversion_sanction + knows_tenet = tenet_consolamentum + knows_tenet = tenet_scholasticism + knows_tenet = tenet_pursuit_of_knowledge + knows_tenet = tenet_alexandrian_catechism + knows_tenet = tenet_mendicant_preachers + knows_tenet = tenet_reincarnation + } + } + random = { + chance = { + value = 10 + if = { + limit = { + has_trait_xp = { + trait = lifestyle_scholar + value >= 60 + } + } + add = 10 + } + if = { + limit = { + has_trait_xp = { + trait = lifestyle_scholar + value >= 80 + } + } + add = 15 + } + if = { + limit = { + has_trait_xp = { + trait = lifestyle_scholar + value >= 100 + } + } + add = 15 + } + } + random_list = { + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_astrology + } + } + tenet:tenet_astrology = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_inner_journey + } + } + tenet:tenet_inner_journey = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_esotericism + } + } + tenet:tenet_esotericism = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_miaphysitism + } + } + tenet:tenet_miaphysitism = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_asceticism + } + } + tenet:tenet_asceticism = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_vows_of_poverty + } + } + tenet:tenet_vows_of_poverty = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_pacifism + } + } + tenet:tenet_pacifism = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_mortification_of_the_flesh + } + } + tenet:tenet_mortification_of_the_flesh = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_aniconism + } + } + tenet:tenet_aniconism = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_natural_primitivism + } + } + tenet:tenet_natural_primitivism = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_false_conversion_sanction + } + } + tenet:tenet_false_conversion_sanction = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_consolamentum + } + } + tenet:tenet_consolamentum = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_scholasticism + } + } + tenet:tenet_scholasticism = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_pursuit_of_knowledge + } + } + tenet:tenet_pursuit_of_knowledge = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_alexandrian_catechism + } + } + tenet:tenet_alexandrian_catechism = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_mendicant_preachers + } + } + tenet:tenet_mendicant_preachers = { save_scope_as = gnostic_tenet } + } + 1 = { + trigger = { + NOT = { + knows_tenet = tenet_reincarnation + } + } + tenet:tenet_reincarnation = { save_scope_as = gnostic_tenet } + } + } + send_interface_message = { + type = msg_passive_learned_tenet_special + desc = gnostic_tenet_learning.t + left_icon = root + right_icon = scope:gnostic_tenet + + hidden_effect = { add_known_tenet = scope:gnostic_tenet } + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + } + } + } +} + +# Character scope. Runs from yearly_playable_pulse +# The modifier stacks, so remove-all first +pam_harmonious_society_five_bonds_effect = { + remove_all_character_modifier_instances = tenet_harmonious_society_five_bonds_modifier + + set_local_variable = { + name = five_bonds_tally + value = pam_five_bonds_tally_value + } + + set_local_variable = { + name = five_bonds_change + value = local_var:five_bonds_tally + } + if = { + limit = { has_variable = pam_five_bonds_tally_var } + change_local_variable = { + name = five_bonds_change + subtract = var:pam_five_bonds_tally_var + } + } + + # The pulse runs every year; only say something when the tally has actually moved. + if = { + limit = { local_var:five_bonds_change > 0 } + send_interface_toast = { + type = event_toast_effect_good + title = pam_harmonious_society_five_bonds_toast + desc = pam_harmonious_society_five_bonds_toast_desc + left_icon = root + pam_harmonious_society_apply_five_bonds_effect = yes + } + } + else_if = { + limit = { local_var:five_bonds_change < 0 } + send_interface_toast = { + type = event_toast_effect_bad + title = pam_harmonious_society_five_bonds_toast + desc = pam_harmonious_society_five_bonds_toast_desc + left_icon = root + pam_harmonious_society_apply_five_bonds_effect = yes + } + } + else = { + hidden_effect = { + pam_harmonious_society_apply_five_bonds_effect = yes + } + } + + set_variable = { + name = pam_five_bonds_tally_var + value = local_var:five_bonds_tally + } +} + +# Character scope. One stack for each bond kept, named individually so the toast reads as a tally. +pam_harmonious_society_apply_five_bonds_effect = { + if = { + limit = { pam_five_bonds_ruler_subject_trigger = yes } + custom_tooltip = pam_five_bonds_ruler_subject_tt + add_character_modifier = tenet_harmonious_society_five_bonds_modifier + } + if = { + limit = { pam_five_bonds_parent_child_trigger = yes } + custom_tooltip = pam_five_bonds_parent_child_tt + add_character_modifier = tenet_harmonious_society_five_bonds_modifier + } + if = { + limit = { pam_five_bonds_spouse_trigger = yes } + custom_tooltip = pam_five_bonds_spouse_tt + add_character_modifier = tenet_harmonious_society_five_bonds_modifier + } + if = { + limit = { pam_five_bonds_sibling_trigger = yes } + custom_tooltip = pam_five_bonds_sibling_tt + add_character_modifier = tenet_harmonious_society_five_bonds_modifier + } + if = { + limit = { pam_five_bonds_friend_trigger = yes } + custom_tooltip = pam_five_bonds_friend_tt + add_character_modifier = tenet_harmonious_society_five_bonds_modifier + } +} + +# One stack of $MODIFIER$ per trait the rite counts as a sin +pam_add_modifier_per_sin_trait_effect = { + remove_all_character_modifier_instances = $MODIFIER$ + + every_character_trait = { + limit = { + root.rite = { trait_is_sin_rite = prev } + } + root = { + add_character_modifier = $MODIFIER$ + } + } +} + +pam_tenet_purgatory_sin_penalty_effect = { + pam_add_modifier_per_sin_trait_effect = { MODIFIER = tenet_purgatory_sin_penalty_modifier } +} + +pam_tenet_original_sin_insight_effect = { + pam_add_modifier_per_sin_trait_effect = { MODIFIER = tenet_original_sin_sinners_insight_modifier } +} + +# New lover or soulmate; one payout a year +pam_tenet_polyamory_new_beloved_effect = { + if = { + limit = { + has_personal_tenet_flag = tenet_polyamory_new_beloved + NOT = { has_character_flag = pam_polyamory_new_beloved_cooldown } + } + send_interface_toast = { + type = event_toast_effect_good + title = tenet_polyamory_new_beloved_toast + left_icon = root + change_spiritual_fulfillment = minor_spiritual_fulfillment_value + add_stress = medium_stress_loss + add_character_modifier = { + modifier = tenet_polyamory_new_beloved_modifier + years = 5 + } + } + add_character_flag = { + flag = pam_polyamory_new_beloved_cooldown + days = 365 + } + } +} + +pam_tenet_apostolic_succession_episcopate_effect = { + remove_character_modifier = tenet_apostolic_succession_episcopate_modifier + + if = { + limit = { + is_valid_for_legitimacy_change = yes + pam_apostolic_succession_bishop_count_value > 0 + } + add_character_modifier = tenet_apostolic_succession_episcopate_modifier + } +} + +pam_tenet_divine_liturgy_choirs_effect = { + remove_character_modifier = tenet_divine_liturgy_choirs_modifier + + if = { + limit = { + pam_divine_liturgy_temple_count_value > 0 + } + add_character_modifier = tenet_divine_liturgy_choirs_modifier + } +} + +pam_tenet_divine_liturgy_officiant_effect = { + remove_character_modifier = tenet_divine_liturgy_officiant_modifier + + if = { + limit = { + pam_divine_liturgy_chaplain_learning_value > 0 + } + add_character_modifier = tenet_divine_liturgy_officiant_modifier + } + + # Timed past yearly retally so a lapsed chaplain ages out + if = { + limit = { + has_personal_tenet_flag = tenet_divine_liturgy_schola_cantorum + cp:councillor_court_chaplain ?= { faith = root.faith } + } + cp:councillor_court_chaplain = { + add_character_modifier = { + modifier = tenet_divine_liturgy_schola_cantorum_modifier + months = 13 + } + } + } +} + +############################################### +# Holy Myron + +# OWNER - character receiving the ampulla (artifact is created in their scope) +# CREATOR - the cleric who gathered the balsams and consecrated the oil +# RARITY - common | masterwork | famed | illustrious +pam_create_holy_myron_artifact_effect = { + get_artifact_quality_effect = yes + get_artifact_wealth_effect = yes + + $OWNER$ = { + create_artifact = { + name = pam_holy_myron_artifact_name + description = pam_holy_myron_artifact_desc_$RARITY$ + creator = $CREATOR$ + visuals = flask + type = miscellaneous + template = pam_holy_myron_template + rarity = $RARITY$ + modifier = artifact_placeholder_modifier + decaying = no + save_scope_as = newly_created_artifact + wealth = scope:wealth + quality = scope:quality + } + } + scope:newly_created_artifact = { + save_scope_as = pam_myron_vessel + if = { + limit = { rarity = common } + set_variable = { + name = pam_holy_myron_charges + value = 1 + } + add_artifact_modifier = pam_holy_myron_vessel_modifier + } + else_if = { + limit = { rarity = masterwork } + set_variable = { + name = pam_holy_myron_charges + value = 2 + } + add_artifact_modifier = pam_holy_myron_vessel_modifier + } + else_if = { + limit = { rarity = famed } + set_variable = { + name = pam_holy_myron_charges + value = 3 + } + add_artifact_modifier = pam_holy_myron_vessel_potent_modifier + } + else = { + set_variable = { + name = pam_holy_myron_charges + value = 4 + } + add_artifact_modifier = pam_holy_myron_vessel_potent_modifier + } + # We set the description again once the charge variable exists, reading it through scope:pam_myron_vessel + set_artifact_description = pam_holy_myron_artifact_desc_charged_$RARITY$ + remove_artifact_modifier = artifact_placeholder_modifier + } +} + +# Character scope: saves the owned ampulla as scope:pam_holy_myron_artifact. +pam_save_holy_myron_artifact_effect = { + random_character_artifact = { + limit = { pam_is_holy_myron_artifact_trigger = yes } + save_scope_as = pam_holy_myron_artifact + } +} + +# $ARTIFACT$ = the ampulla +# trigger_event with no delay runs after this script, so destroy (0002) never leaves a live empty vessel +pam_holy_myron_consume_charge_effect = { + if = { + limit = { exists = $ARTIFACT$ } + $ARTIFACT$ = { + change_variable = { + name = pam_holy_myron_charges + subtract = 1 + } + } + if = { + limit = { + $ARTIFACT$ = { var:pam_holy_myron_charges <= 0 } + } + $ARTIFACT$ = { save_scope_as = pam_holy_myron_spent_vessel } + $ARTIFACT$.artifact_owner ?= { + trigger_event = pam_holy_myron.0002 + } + } + else = { + $ARTIFACT$ = { + save_scope_as = pam_myron_vessel + if = { + limit = { rarity = masterwork } + set_artifact_description = pam_holy_myron_artifact_desc_charged_masterwork + } + else_if = { + limit = { rarity = famed } + set_artifact_description = pam_holy_myron_artifact_desc_charged_famed + } + else_if = { + limit = { rarity = illustrious } + set_artifact_description = pam_holy_myron_artifact_desc_charged_illustrious + } + else = { + set_artifact_description = pam_holy_myron_artifact_desc_charged_common + } + } + } + } +} + +# Character scope on the owner, run alongside pam_holy_myron_consume_charge_effect at every spend site +pam_holy_myron_spend_warning_effect = { + if = { + limit = { + any_character_artifact = { + pam_is_holy_myron_artifact_trigger = yes + trigger_if = { + limit = { has_variable = pam_holy_myron_charges } + var:pam_holy_myron_charges <= 1 + } + trigger_else = { + always = no + } + } + } + custom_tooltip = pam_holy_myron_spend_last_tt + } + else = { + custom_tooltip = pam_holy_myron_spend_tt + } +} + +# $PARENT$ is the devoted parent, and the child is sealed once by whichever parent we reach first +pam_holy_myron_chrismation_effect = { + if = { + limit = { + scope:child = { + is_alive = yes + NOT = { has_variable = pam_holy_myron_chrismated } + } + } + # Twins are one ceremony, and later paths cover the sibling through scope:pam_myron_twin + scope:child = { + set_variable = pam_holy_myron_chrismated + if = { + limit = { has_trait = twin } + random_sibling = { + limit = { + is_twin_of = scope:child + is_alive = yes + NOT = { has_variable = pam_holy_myron_chrismated } + } + save_scope_as = pam_myron_twin + } + } + } + scope:pam_myron_twin ?= { + set_variable = pam_holy_myron_chrismated + } + if = { + limit = { + $PARENT$ = { + pam_has_usable_holy_myron_trigger = yes + is_available = yes + exists = cp:councillor_court_chaplain + } + } + $PARENT$ = { + trigger_event = { + id = pam_holy_myron.0300 + days = 3 + } + } + } + else = { + $PARENT$ = { + send_interface_toast = { + type = event_generic_good + title = pam_holy_myron_chrismation_toast + left_icon = scope:child + right_icon = $PARENT$ + scope:child = { + if = { + limit = { + NOR = { + has_character_modifier = pam_chrismated_child_modifier + has_character_modifier = pam_myron_chrismated_child_modifier + } + } + add_character_modifier = { + modifier = pam_chrismated_child_modifier + years = 16 + } + } + } + scope:pam_myron_twin ?= { + if = { + limit = { + is_alive = yes + NOR = { + has_character_modifier = pam_chrismated_child_modifier + has_character_modifier = pam_myron_chrismated_child_modifier + } + } + add_character_modifier = { + modifier = pam_chrismated_child_modifier + years = 16 + } + } + } + } + } + } + } +} + +# Chaplain scope: clears all Holy Myron journey bookkeeping (journey end, death, or abort). +pam_holy_myron_journey_cleanup_effect = { + var:pam_holy_myron_liege ?= { + remove_variable = pam_holy_myron_journey_active + } + remove_variable = pam_holy_myron_journey_tier + remove_variable = pam_holy_myron_legs + remove_variable = pam_holy_myron_expected_legs + remove_variable = pam_holy_myron_robbed + remove_variable = pam_holy_myron_ransom_fired + remove_variable = pam_holy_myron_fever_fired + remove_variable = pam_holy_myron_liege + remove_character_modifier = pam_holy_myron_pilgrim_modifier +} + +# Artifact scope: rarity-scaled Religious Study phase-speed modifier for devotional books +add_scaled_artifact_modifier_study_scripture_scheme_phase_duration_add_effect = { + if = { + limit = { rarity = common } + add_artifact_modifier = artifact_study_scripture_scheme_phase_duration_add_1_modifier + } + else_if = { + limit = { rarity = masterwork } + add_artifact_modifier = artifact_study_scripture_scheme_phase_duration_add_2_modifier + } + else_if = { + limit = { rarity = famed } + add_artifact_modifier = artifact_study_scripture_scheme_phase_duration_add_3_modifier + } + else_if = { + limit = { rarity = illustrious } + add_artifact_modifier = artifact_study_scripture_scheme_phase_duration_add_4_modifier + } +} + +pam_evangelize_personal_tenet_effect = { + scope:recipient = { + pam_replace_personal_tenet_effect = { TENET = scope:pam_evangelize_tenet } + } + if = { + limit = { + scope:hook = yes + has_usable_hook = scope:recipient + } + use_hook = scope:recipient + } + change_spiritual_fulfillment = miniscule_spiritual_fulfillment_value + pam_tenet_popularity_on_evangelized_tenet_effect = { + TENET = scope:pam_evangelize_tenet + CHANGE = scope:recipient.pam_evangelize_tenet_popularity_gain + } + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:pam_evangelize_tenet + status = prohibited + } + } + } + every_secret = { + type = secret_forbidden_personal_tenet + limit = { NOT = { is_known_by = scope:recipient } } + reveal_to = scope:recipient + } + show_as_tooltip = { + scope:recipient = { + add_secret = { type = secret_forbidden_personal_tenet } + every_secret = { + type = secret_forbidden_personal_tenet + reveal_to = scope:actor + } + } + } + scope:recipient = { + set_variable = { + name = tenet_evangelized_by + value = scope:actor + days = 1 + } + } + } +} + +pam_evangelize_personal_tenet_decline_effect = { + change_spiritual_fulfillment = miniscule_spiritual_fulfillment_loss + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:pam_evangelize_tenet + status = prohibited + } + } + } + every_secret = { + type = secret_forbidden_personal_tenet + limit = { NOT = { is_known_by = scope:recipient } } + reveal_to = scope:recipient + } + } +} + +pam_reform_order_effect = { + pam_save_selected_interaction_tenet_effect = yes + + scope:actor.rite = { save_scope_as = pam_reform_order_rite } + scope:recipient = { + holy_order = { + save_scope_as = pam_reform_order + title = { save_scope_as = pam_reform_order_title } + if = { + limit = { exists = scope:pam_selected_interaction_tenet } + custom_tooltip = { # Order adopts the tenet + text = pam_reform_order_adopt_tenet_tt + hidden_effect = { + scope:pam_reform_order = { set_order_tenet = scope:pam_selected_interaction_tenet } + } + } + } + if = { # Order adopts rite + limit = { + NOT = { order_rite = scope:pam_reform_order_rite } + } + custom_tooltip = { + text = pam_reform_order_adopt_rite_tt + hidden_effect = { + scope:pam_reform_order = { + set_order_rite = scope:pam_reform_order_rite + } + } + } + } + } + if = { # Adopt the PT + limit = { exists = scope:pam_selected_interaction_tenet } + if = { + limit = { + NOT = { has_personal_tenet = scope:pam_selected_interaction_tenet } + } + pam_replace_personal_tenet_effect = { TENET = scope:pam_selected_interaction_tenet } + } + custom_tooltip = { + text = pam_reform_order_courtiers_adopt_tenet_tt + every_courtier = { + limit = { + OR = { + pam_is_monastic_order_member_trigger = yes + pam_is_military_order_member_trigger = yes + } + NOT = { has_personal_tenet = scope:pam_selected_interaction_tenet } + } + pam_replace_personal_tenet_effect = { TENET = scope:pam_selected_interaction_tenet } + } + } + } + if = { # Adopt the rite + limit = { exists = scope:pam_reform_order_rite } + if = { + limit = { + NOT = { rite = scope:pam_reform_order_rite } + } + set_character_rite = scope:pam_reform_order_rite + } + custom_tooltip = { + text = pam_reform_order_courtiers_adopt_rite_tt + every_courtier = { + limit = { + OR = { + pam_is_monastic_order_member_trigger = yes + pam_is_military_order_member_trigger = yes + } + NOT = { rite = scope:pam_reform_order_rite } + } + set_character_rite = scope:pam_reform_order_rite + } + } + } + } + + hidden_effect = { + scope:actor = { + send_interface_toast = { + type = event_toast_effect_good + title = pam_reform_order_interaction_toast + right_icon = scope:recipient + custom_tooltip = pam_reform_order_interaction_toast_tt + } + } + } +} + diff --git a/history/characters/NEOW_byzantine_emperors.txt b/history/characters/NEOW_byzantine_emperors.txt index 1696684be..609d91fb4 100644 --- a/history/characters/NEOW_byzantine_emperors.txt +++ b/history/characters/NEOW_byzantine_emperors.txt @@ -34,7 +34,7 @@ CONSECRATION_PROVINCE = province:496 # Constantinople - Church of the Holy Apostles (matches vanilla Constantine) PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -238,7 +238,7 @@ byz_theodosius_i = { CONSECRATION_PROVINCE = province:496 # Constantinople - Church of the Holy Apostles PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -348,7 +348,7 @@ byz_marcian = { CONSECRATION_PROVINCE = province:496 # Constantinople - Church of the Holy Apostles PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -582,7 +582,7 @@ byz_justinian_i = { CONSECRATION_PROVINCE = province:496 # Constantinople - Church of the Holy Apostles PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2464,7 +2464,7 @@ byz_john_iii = { CONSECRATION_PROVINCE = province:745 # Smyrna - nearest base-game province to Magnesia/Sosandra PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2817,7 +2817,7 @@ byz_helena_dragas = { # St Helena Dragaš, Empress Helena; monastic name Hypomon CONSECRATION_PROVINCE = province:496 # Constantinople - Pantokrator monastery area PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2983,28 +2983,8 @@ byz_constantine_xi = { name="Konstant_i_act_nos" } 1453.5.29 = { - death = { death_reason = death_taken_by_god } - - effect_even_if_dead = { - pam_canonize_saint_effect = { - CANONIZER = root - CANDIDATE = root - CONSECRATION_PROVINCE = province:496 # Constantinople - death site; exact grave is unknown - PRESET = yes - } - religion:christianity_religion = { - every_faith = { - limit = { - main_rite = { - is_rite_enabled = yes - NOT = { rite_has_doctrine = special_doctrine_is_western_christian_faith } - } - NOT = { has_saint_character = root } - } - add_saint = { character = root } - } - } - } + death = { + death_reason = death_taken_by_god } } diff --git a/history/characters/NEOW_e_greece.txt b/history/characters/NEOW_e_greece.txt index 4fc2f2ba4..7e5aea189 100644 --- a/history/characters/NEOW_e_greece.txt +++ b/history/characters/NEOW_e_greece.txt @@ -1190,6 +1190,48 @@ albania0005 = { #Kastriota death = yes } } +cyprus0001_bishop = { + name = "Varn_a_act_vas" + dynasty = kinyraou_dynasty + rite = byzantine_rite + culture = NEOW_cypriot + father = cyprus0020 + dna = dna_cypriot + trait = education_learning_3 + trait = zealous + trait = devoted + trait = brave + trait = humble + trait = stubborn + sexuality = asexual + prowess = 5 + diplomacy = 5 + stewardship = 3 + intrigue = 1 + learning = 10 + martial = 1 + portrait_override={ + portrait_modifier_overrides={ + custom_beards=male_beard_western_06 + custom_hair=m_hair_fp3_iranian_03 + } + } + 2519.1.1 = { + birth = yes + } + 2536.12.1 = { + effect = { set_relation_friend = character:cyprus0020 } + } + 2536.12.1 = { + effect = { set_relation_friend = character:cyprus0001 } + } + 2554.12.1 = { + effect = { set_relation_friend = character:cyprus0003 } + } + 2600.1.1 = { + death = yes + } +} cyprus0001 = { # Kinýras named for a cypriot greek thing name = "Kinýras" @@ -1442,7 +1484,7 @@ cyprus0007 = { # We IZ kangz CONSECRATION_PROVINCE = province:5681 # Nicosia PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2246,8 +2288,6 @@ protos_constantine = { death = { death_reason = death_crucified killer = greece0061 - } - effect_even_if_dead = { pam_canonize_saint_effect = { CANONIZER = root @@ -2255,7 +2295,7 @@ protos_constantine = { CONSECRATION_PROVINCE = province:3776 # Ierissos / Mount Athos PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { diff --git a/history/characters/NEOW_e_nistrenia.txt b/history/characters/NEOW_e_nistrenia.txt index 4024b3023..f546d1219 100644 --- a/history/characters/NEOW_e_nistrenia.txt +++ b/history/characters/NEOW_e_nistrenia.txt @@ -1342,7 +1342,7 @@ nistria1000 = { #The Founder of the Empire, Saint and suspiciously of Hungarian CONSECRATION_PROVINCE = province:5018 # Chisinau - Moldavian/Nistrian capital-region shrine PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { diff --git a/history/characters/NEOW_ecumenical_patriarchs.txt b/history/characters/NEOW_ecumenical_patriarchs.txt index cd43dcbdc..0f424290f 100644 --- a/history/characters/NEOW_ecumenical_patriarchs.txt +++ b/history/characters/NEOW_ecumenical_patriarchs.txt @@ -34,7 +34,7 @@ CONSECRATION_PROVINCE = province:476 # Patras - traditional tomb of St Andrew PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -78,7 +78,7 @@ stachys_the_apostle = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -121,7 +121,7 @@ onesimus_of_byzantium = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -600,7 +600,7 @@ castinus_of_byzantium = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -784,7 +784,7 @@ metrophanes_i_of_byzantium = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -832,7 +832,7 @@ alexander_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -881,7 +881,7 @@ paul_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1098,7 +1098,7 @@ gregory_of_nazianzus = { CONSECRATION_PROVINCE = province:5631 # Nazianzus PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1146,7 +1146,7 @@ nectarius_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1199,7 +1199,7 @@ john_chrysostom = { CONSECRATION_PROVINCE = province:496 # Constantinople - relics translated to the Church of the Holy Apostles PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1246,7 +1246,7 @@ arsacius_of_tarsus = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1293,7 +1293,7 @@ atticus_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1340,7 +1340,7 @@ sisinnius_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1415,7 +1415,7 @@ maximianus_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1462,7 +1462,7 @@ proclus_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1510,7 +1510,7 @@ flavian_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1557,7 +1557,7 @@ anatolius_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1605,7 +1605,7 @@ gennadius_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1736,7 +1736,7 @@ macedonius_ii_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1813,7 +1813,7 @@ john_ii_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1916,7 +1916,7 @@ menas_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -1964,7 +1964,7 @@ eutychius_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2012,7 +2012,7 @@ john_scholasticus = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2062,7 +2062,7 @@ john_iv_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2109,7 +2109,7 @@ cyriacus_ii_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2156,7 +2156,7 @@ thomas_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2368,7 +2368,7 @@ constantine_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2442,7 +2442,7 @@ george_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2517,7 +2517,7 @@ callinicus_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2619,7 +2619,7 @@ germanus_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2753,7 +2753,7 @@ paul_iv_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2800,7 +2800,7 @@ tarasios_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2847,7 +2847,7 @@ nikephoros_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -2983,7 +2983,7 @@ methodius_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3033,7 +3033,7 @@ ignatios_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3085,7 +3085,7 @@ photios_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3134,7 +3134,7 @@ stephen_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3182,7 +3182,7 @@ antony_ii_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3230,7 +3230,7 @@ nicholas_mystikos = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3279,7 +3279,7 @@ euthymius_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3326,7 +3326,7 @@ stephen_ii_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3373,7 +3373,7 @@ tryphon_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3530,7 +3530,7 @@ nicholas_ii_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3632,7 +3632,7 @@ eustathius_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3736,7 +3736,7 @@ portrait_override={ CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3784,7 +3784,7 @@ john_viii_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3832,7 +3832,7 @@ cosmas_i_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -3994,7 +3994,7 @@ michael_ii_of_constantinople = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -4658,7 +4658,7 @@ ecpat_133_arsenius = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -4764,7 +4764,7 @@ ecpat_136_joseph_i = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -4871,7 +4871,7 @@ ecpat_139_athanasius_i = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -5119,7 +5119,7 @@ ecpat_147_callistus_i = { CONSECRATION_PROVINCE = province:3771 # Serres - place of death and burial tradition PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -5283,7 +5283,7 @@ ecpat_152_callistus_ii = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -5512,7 +5512,7 @@ ecpat_159_gennadius_ii = { CONSECRATION_PROVINCE = province:3771 # Serres - Monastery of St John the Baptist PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -5703,7 +5703,7 @@ ecpat_165_dionysius_i = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -5780,7 +5780,7 @@ ecpat_167_maximus_iii = { CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -5829,7 +5829,7 @@ ecpat_168_nephon_ii = { CONSECRATION_PROVINCE = province:3776 # Ierissos / Mount Athos - Dionysiou Monastery PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -5990,7 +5990,7 @@ custom_clothes=male_clothes_religious_orthodox_head_01_common CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -6406,7 +6406,7 @@ custom_clothes=male_clothes_religious_orthodox_head_01_common CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -6767,7 +6767,7 @@ custom_clothes=male_clothes_religious_orthodox_head_01_common CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -7768,7 +7768,7 @@ custom_clothes=male_clothes_religious_orthodox_head_01_common CONSECRATION_PROVINCE = province:482 # Athens - present shrine/relics at the Metropolitan Cathedral PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -7873,7 +7873,7 @@ custom_clothes=male_clothes_religious_orthodox_head_01_common CONSECRATION_PROVINCE = province:494 # Adrianopolis - martyrdom/burial region PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { @@ -8826,7 +8826,7 @@ orthodoxpeps0001 = { #him pre-event man cool dude #my pope CONSECRATION_PROVINCE = province:496 # Constantinople - patriarchal shrine/burial location PRESET = yes } - religion:christianity_religion = { + religion:eastern_orthodox_religion = { every_faith = { limit = { main_rite = { diff --git a/history/titles/ce3/00_ecclesiastical_titles.txt b/history/titles/ce3/00_ecclesiastical_titles.txt new file mode 100644 index 000000000..5c9aaf7c0 --- /dev/null +++ b/history/titles/ce3/00_ecclesiastical_titles.txt @@ -0,0 +1,4477 @@ +# Cardinal Titles + +# 867 +d_cd_ostia = { # Ostia (later also Velletri) + 1058.1.1 = { + government = ecclesiastical_government + holder = ce3_cardinal_peter_damian # Pietro, Cardinal-Bishop of Ostia + effect = { + set_variable = { + name = named_after + value = title:b_ostia + } + } + } + 1059.1.24 = { + effect = { + set_title_name = "d_cd_ostia_velletri" + } + } + 1159.1.1 = { + holder = 71811 # Ubaldo, Cardinal-Bishop of Ostia e Velletri, later Pope Lucius III + } +} + +d_cd_porto = { # Porto (Santa Rufina) + 1061.1.1 = { + holder = ce3_cardinal_mainard_of_silva_candida # Mainard, Bishop cardinalis of Porto (most plausible) + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + #1099.1.1 = { + # holder = et_jerusalem_1066_17 # Maurizio + #} + + 1102.1.1 = { + effect = { + set_title_name = "d_cd_porto_santa_rufina" + } + } + 1178.1.18 = { + holder = ce3_cardinal_teodino_degli_atti # Teodino, Bishop cardinalis of Porto (most plausible) + } +} + +d_cd_velletri = { # Velletri + 1050.1.1 = { + holder = 7939 # Giovanni Mincius, Cardinal-Bishop of Velletri + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_velletri + } + } + } + 1059.1.24 = { + holder = 0 # Later date error prevention + effect = { + set_variable = suppressed_cardinalate # combined with Ostia + } + } +} + +d_cd_frascati = { # Frascati + 1065.1.1 = { + holder = ce3_cardinal_giovanni_of_frascati # Giovanni, Cardinal-Bishop of Frascati + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1178.10.1 = { # actually 1178.12.1 + holder = ce3_cardinal_pietro_da_pavia # Pietro, Cardinal-Bishop of Frascati + } +} + +d_cd_albano = { # Albano + 1049.1.1 = { + holder = ce3_cardinal_bonifazio_of_albano # Bonifazio, Cardinal-Bishop of Albano + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1054.7.16 = { + effect = { + add_clerical_elector = faith:catholic + } + } + 1159.2.1 = { + holder = ce3_cardinal_gualtiero_of_albano # Gualtiero, Cardinal-Bishop of Albano + } +} + +d_cd_palestrina = { # Palestrina + 1065.12.5 = { + holder = ce3_cardinal_loperto_of_palestrina # Loperto, Cardinal-Bishop of Palestrina + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:c_roma + } + } + } + 1178.1.17 = { + holder = ce3_cardinal_bernardo_of_palestrina # Giovanni Conti, Cardinal-Bishop of Palestrina + } +} + +d_cd_sabina = { # Sabina (Viscovio/Poggio Mirteto) + 1062.1.1 = { + holder = ce3_cardinal_ubaldo_of_sabina # Ubaldo, Cardinal-Bishop of Sabina + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1163.1.1 = { + holder = 7557 # Konrad, Cardinal-Priest of S. Marcello, celebrated in Sens + liege = e_hre + } +} + +d_cd_san_ciriaco = { # San Ciriaco (alle Terme Diocleziane) + 1066.1.1 = { + holder = ce3_cardinal_giovanni_of_san_ciriaco # Giovanni, Cardinal-Priest of San Ciriaco + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1171.1.1 = { + holder = et_benevento_1178_1 # Lombardo, Cardinal-Priest of San Ciriaco, Archbishop of Benevento + } +} + +d_cd_san_lorenzo = { # San Lorenzo (in Lucina) + 1049.1.1 = { + holder = ce3_cardinal_leone_ii_of_san_lorenzo # Leone, Presbyter cardinalis of San Lorenzo in Lucina (most plausible) + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1158.1.1 = { + holder = 71812 # Alberto, Cardinal-Priest of San Lorenzo in Lucina (most plausible), later Pope Gregory VIII + } + 1182.8.1 = { + holder = 223754 # Uberto, Cardinal-Priest of San Lorenzo in Lucina (most plausible), later Pope Urban III + } +} + +d_cd_santa_cecilia = { # Santa Cecilia (in Trastevere) + 1059.1.1 = { + holder = 2012 # Dauferio, Cardinal-Priest of S. Cecilia, later Pope Victor III + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1178.3.1 = { + holder = ce3_cardinal_cinzio_papareschi # Cinzio, Cardinal-Priest of S. Cecilia, Nephew of Pope Innocent II + } +} + +d_cd_santa_balbina = { # Santa Balbina (all'Aventino) + 1178.1.1 = { + holder = 0 + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_san_pietro = { # San Pietro (in Vincoli) + 1176.1.1 = { + holder = ce3_cardinal_eguillino_of_san_pietro # Eguillino, Cardinal-Priest of S. Pietro in Vincoli + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_santa_anastasia = { # Sant'Anastasia (al Palatino) + 1063.1.1 = { + holder = ce3_cardinal_penno_of_santa_anastasia # Penno, Cardinal-Priest of Sant'Anastasia + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1158.3.1 = { + holder = ce3_cardinal_giovanni_pizzuti # Giovanni Pizutti, Cardinal-Priest of Sant'Anastasia + } +} + +d_cd_damaso = { # Damaso (San Lorenzo) + 1065.1.1 = { + holder = ce3_cardinal_leone_ii_of_damaso # Leone, Cardinal-Priest of San Lorenzo in Damaso + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1165.1.1 = { + holder = ce3_cardinal_pietro_di_miso # Pietro, Cardinal-Priest of San Lorenzo in Damaso + } +} + +d_cd_santa_rufina = { # Santa Rufina (Silva Candida) + 1049.1.1 = { + holder = ce3_cardinal_mainardo_of_pomposa # Mainardo di Pomposa, Cardinal-Bishop of S. Rufina (Silva Candida) + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1074.1.1 = { + holder = 0 # Later date error prevention + } + 1102.1.1 = { + effect = { + set_variable = suppressed_cardinalate # combined with Porto + } + } +} + +# 1066 +d_cd_santa_sabina = { # Santa Sabina (all'Aventino) + 1058.1.1 = { + holder = ce3_cardinal_bruno_of_st_sabina # Bruno, Cardinal Arch-Priest of S. Sabina + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1163.1.1 = { + holder = ce3_cardinal_pietro_of_santa_sabina # Pietro, Cardinal-Priest of S. Sabina + } +} + +d_cd_santa_maria = { # Santa Maria (in Domnica) + 1059.1.1 = { + holder = 2010 # Ildebrando, Santa Maria in Domnica + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_terracina + } + } + } + 1165.12.15 = { + holder = ce3_cardinal_pietro_de_bono # Pietro, Cardinal-Deacon of S. Maria in Aquiro + } +} + +d_cd_santa_prassede = { # Santa Prassede (all'Esquilino) + 1062.1.1 = { + holder = ce3_cardinal_adimaro_of_capua # Adimaro, Cardinal-Priest of S. Prassede + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_segni + } + } + } + 1173.9.1 = { + holder = ce3_cardinal_william_of_santa_prassede # William, Cardinal-Priest of S. Prassede + } +} + +d_cd_santi_cosma_e_damiano = { # Santi Cosma e Damiano + 1062.1.1 = { + holder = ce3_cardinal_anselmo_da_baggio # Anselmo, Nephew of Pope Alexander II, Bishop of Lucca, unspecified Cardinalate + government = ecclesiastical_government + liege = e_hre + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1178.3.1 = { + holder = ce3_cardinal_graziano_of_ss_cosma_damiano # Graziano, Cardinal-Deacon of Ss. Cosma e Damiano + } +} + +d_cd_san_clemente = { # San Clemente (al Laterano) + 1049.1.1 = { + holder = ce3_cardinal_hughes_blancus # Hughes, Cardinal-Priest of S. Clemente + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1170.1.1 = { + holder = ce3_cardinal_vernavero_of_san_clemente # Vernavero, Cardinal-Priest of S. Clemente + } +} + +d_cd_trastevere = { # Trastevere (Santa Maria) + 1061.1.1 = { + holder = ce3_cardinal_giovanni_minuzzo # Giovanni Minuzzo, Cardinal-Priest of S. Maria in Trastevere + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1178.1.1 = { + holder = 0 + } +} + +d_cd_santi_silvestro_e_martino = { # Santi Silvestro e Martino + 1066.1.1 = { + holder = ce3_cardinal_guido_of_santi_silvestro_e_martino # Guido, Cardinal-Priest of Santi Silvestro e Martino + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } + 1178.1.1 = { # 1189.5.1 + holder = ce3_cardinal_alessandro_of_santi_silvestro_e_martino # Alessandro, Cardinal-Priest of Santi Silvestro e Martino + } +} + +# 1178 +d_cd_santi_nereo_ed_achilleo = { # Santi Nereo ed Achilleo + 1150.1.1 = { + holder = ce3_cardinal_errico_moricotti # Errico, Cardinal-Priest of Ss. Nereo ed Achilleo + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_ascoli_piceno + } + } + } +} + +d_cd_san_eustachio = { # Sant'Eustachio (in Campo Marzio) + 1163.1.1 = { + holder = ce3_cardinal_ugo_ricasoli # Ugo Ricasoli, Cardinal-Deacon of S. Eustachio + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_santa_maria_nuova = { # Santa Maria Nuova + 1155.12.1 = { + holder = ce3_cardinal_matteo_of_santa_maria_nuova # Matteo, Cardinal-Deacon of S. Maria Nuova + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_civitavecchia + } + } + } +} + +d_cd_san_teodoro = { # San Teodoro (al Palatino) + 1155.12.1 = { + holder = ce3_cardinal_ardicio_rivoltella # Ardicio, Cardinal-Deacon of S. Teodoro + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_san_adriano = { # Sant'Adriano (al Foro) + 1178.9.22 = { + holder = ce3_cardinal_rainier_of_sant_adriano # Rainier, Cardinal-Priest of S. Adriano + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_atri + } + } + } +} + +d_cd_san_marcello = { # San Marcello (al Corso) + 1178.1.1 = { # (1178.12.1) + holder = ce3_cardinal_mathieu_of_anjou # Mathieu d'Anjou + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_san_vitale = { # San Vitale (Valeria, Gervasio, e Protasio) + 867.1.1 = { + holder = ce3_cardinal_hadrian_of_san_vitale + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_imola + } + } + } + 1066.1.1 = { + holder = 0 + } + 1166.1.1 = { + holder = ce3_cardinal_theodinus_di_arrone # Cardinal-Priest of S. Vitale + } +} + +d_cd_san_angelo = { # Sant'Angelo (in Pescheria) + 1071.1.1 = { + holder = ce3_cardinal_ugo_pierleoni # Cardinal-Deacon of S. Angelo in Pescheria, Grand-nephew of Antipope Anacletus II + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_ariano + } + } + } +} + +d_cd_santa_croce = { # Santa Croce (in Gerusalemme) + 1178.9.22 = { + holder = ce3_cardinal_ardoino_of_st_croce # Ardoino, Cardinal-Priest of S. Croce in Gerusalemme + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_portico_octaviae = { # Portico Octaviae (Santa Maria) + 1071.1.1 = { + holder = ce3_cardinal_laborante_of_st_maria # Cardinal-Deacon of S. Maria in Portico Octaviae + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_paterno + } + } + } +} + +d_cd_san_crisogono = { # San Crisogono (in Trastevere) + 1066.1.1 = { + holder = ce3_cardinal_gregorio_of_san_crisogono # Gregorio, Cardinal-Priest of S. Crisogono + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_palo + } + } + } + 1173.9.1 = { + holder = ce3_cardinal_pietro_of_st_crisogono # Pietro, Cardinal-Priest of S. Crisogono + } +} + +d_cd_san_giorgio = { # San Giorgio (in Velabro) + 1173.9.1 = { + holder = ce3_cardinal_raniero_of_st_giorgio # Cardinal-Deacon of S. Giorgio in Velabro + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_gubbio + } + } + } +} + +d_cd_cosmedin = { # Cosmedin (Santa Maria) + 1144.1.1 = { + holder = 70841 # Giacinto, Cardinal-Priest of Santa Maria, later Pope Caelestinus + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_san_stefano = { # Santo Stefano (Monte Celio) + 1175.3.7 = { + holder = ce3_cardinal_vibiano_of_santo_stefano # Vibiano, Cardinal-Priest of Santo Stefano (Monte Celio) + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_san_marco = { # San Marco (Evangelista al Campidoglio) + 1167.1.1 = { + holder = ce3_cardinal_giovanni_of_san_marco # Giovanni Conti, Cardinal-Priest of San Marco + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:c_roma + } + } + } +} + +d_cd_santi_apostoli = { # Santi Dodici Apostoli + 1157.1.1 = { + holder = ce3_cardinal_ildebrando_grassi # Ildebrando, Cardinal-Deacon of S. XII Apostoli, former bishop of Modena from 1148 to 1156 + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_santa_pudenziana = { # Santa Pudenziana (al Viminale) + 1165.1.1 = { + holder = ce3_cardinal_boso_breakspear # Boso Breakspear, Cardinal-Deacon of Ss. Cosma e Damiano, nephew of Pope Adrian IV? + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_san_eusebio = { # Sant'Eusebio (all'Esquilino) + 1165.12.15 = { + holder = ce3_cardinal_raniero_of_san_eusebio # Raniero, Cardinal-Priest of S. Eusebio + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_santi_sergio_e_bacco = { # Santi Sergio e Bacco + 1178.9.22 = { + holder = ce3_cardinal_paolo_of_santi_sergio_e_bacco # Paolo, Cardinal-Deacon of Ss. Sergio e Bacco + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +d_cd_san_nicola = { # San Nicola (in Carcere) + 1178.9.22 = { + holder = ce3_cardinal_bernardo_of_san_nicola # Cardinal-Deacon of S. Nicola in Carcere + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_paterno + } + } + } +} + +d_cd_santa_prisca = { # Santa Prisca + 1159.2.1 = { + holder = ce3_cardinal_uberto_of_santa_prisca # Uberto, Cardinal-Priest of S. Prisca + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_paterno + } + } + } +} + +d_cd_santi_giovanni_e_paolo = { # Santi Giovanni e Paolo + 1150.1.1 = { + holder = ce3_cardinal_giovanni_conti # Giovanni, Cardinal-Priest of Santi Giovanni e Paolo + government = ecclesiastical_government + effect = { + set_variable = { + name = named_after + value = title:b_roma + } + } + } +} + +### Ecclesiastical Titles + +# Hispania + +d_et_toledo = { # Toledo + 325.1.1 = { + liege = k_castille + holder = et_toledo_867_18 # Patruino + government = ecclesiastical_government + clerical_region = et_867_toledo_region + } + 385.1.1 = { holder = et_toledo_867_17 } # Audencio + 395.1.1 = { holder = et_toledo_867_16 } # Asturian + 523.1.1 = { holder = et_toledo_867_15 } # Montano + 603.1.1 = { holder = et_toledo_867_14 } # Aurasio + 615.1.1 = { holder = et_toledo_867_13 } # Eladio + 633.1.1 = { holder = et_toledo_867_12 } # Justo + 636.1.1 = { holder = et_toledo_867_11 } # Eugene + 646.1.1 = { holder = et_toledo_867_10 } # Eugene + 657.12.1 = { holder = et_toledo_867_9 } # Ildefonso + 667.2.1 = { holder = et_toledo_867_8 } # Quirico + 680.1.1 = { holder = et_toledo_867_7 } # Julián + 690.1.1 = { holder = et_toledo_867_6 } # Sisbert + 693.5.2 = { holder = et_toledo_867_5 } # Félix + 700.1.1 = { holder = et_toledo_867_4 } # Gunderic + 711.1.1 = { holder = et_toledo_867_3 } # Sindered + 774.1.1 = { holder = et_toledo_867_2 } # Cixila + 783.1.1 = { holder = et_toledo_867_1 } # Ellipando + 808.1.1 = { holder = et_toledo_867_0 } # Bonito + # 1066 + 892.1.1 = { holder = et_toledo_1066_3 } # Juan + 962.1.1 = { holder = et_toledo_1066_2 } # Ubayd-Allah + 1058.1.1 = { holder = toledo_archbishop_3 } # Pascual + # 1178 + 1086.1.1 = { holder = toledo_archbishop_2 } # Bernardo + 1124.1.1 = { holder = toledo_archbishop_4 } # Raimundo + 1152.1.1 = { holder = toledo_archbishop_1 } # Juan + 1167.1.1 = { holder = cerebruno_1 } # Cerebruno + 1178.1.1 = { clerical_region = et_1178_toledo_region } +} + +d_et_santiago = { # Santiago + 1120.2.27 = { + liege = k_leon + holder = 232021 # Diego + government = ecclesiastical_government + } + 1140.1.1 = { holder = 458004 } # Berenguel + 1142.1.1 = { holder = 210510 } # Pedro + 1149.1.1 = { holder = 72939 } # Bernardo + 1152.1.1 = { holder = 72940 } # Pelayo + 1156.1.1 = { holder = 72941 } # Martín + 1167.1.1 = { holder = 72942 } # Pedro + 1173.1.1 = { holder = 208520 } # Pedro + 1178.1.1 = { + government = ecclesiastical_government + clerical_region = et_1178_santiago_region + } +} + +d_et_tarragona = { # Tarragona + 470.1.1 = { + holder = et_tarragona_867_12 # Joan + government = ecclesiastical_government + clerical_region = et_867_tarragona_region + } + 520.1.1 = { holder = et_tarragona_867_11 } # Sergi + 560.1.1 = { holder = et_tarragona_867_10 } # Tranquilli + 589.1.1 = { holder = et_tarragona_867_9 } # Artemio + 599.1.1 = { holder = et_tarragona_867_8 } # Asiatic + 610.1.1 = { holder = et_tarragona_867_7 } # Eusebio + 632.1.1 = { holder = et_tarragona_867_6 } # Audax + 633.1.1 = { holder = et_tarragona_867_5 } # Selva + 637.1.1 = { holder = et_tarragona_867_4 } # Protasio + 645.1.1 = { holder = et_tarragona_867_3 } # Faluax + 668.1.1 = { holder = et_tarragona_867_2 } # Cebrian + 693.1.1 = { holder = et_tarragona_867_1 } # Vera + 694.1.1 = { holder = 0 } + # 1066 + 927.1.1 = { + holder = et_tarragona_1066_3 # Aimeric + } + 958.1.1 = { holder = et_tarragona_1066_5 } # Cesareo + 970.1.1 = { holder = et_tarragona_1066_4 } # Ató + 971.1.1 = { holder = et_tarragona_1066_3 } # Aimeric + 977.1.1 = { holder = et_tarragona_1066_2 } # Ermengol + 1019.1.1 = { holder = et_tarragona_1066_1 } # Guifred + # 1178 + 1079.1.1 = { holder = et_tarragona_1178_8 } # Dalmau + 1090.1.1 = { holder = et_tarragona_1178_7 } # Sunifred + 1117.1.1 = { holder = et_tarragona_1178_6 } # Oleguer + 1136.1.1 = { liege = k_aragon } + 1139.1.1 = { holder = et_tarragona_1178_5 } # Gregori + 1146.1.1 = { holder = et_tarragona_1178_4 } # Bernat + 1163.1.1 = { holder = et_tarragona_1178_3 } # Hug + 1171.1.1 = { holder = et_tarragona_1178_2 } # Guillem + 1174.1.1 = { holder = 210550 } # Berenguer +} + +d_et_sevilla = { # Sevilla + 522.1.1 = { + holder = et_sevilla_867_10 # Laureano + government = ecclesiastical_government + clerical_region = et_867_sevilla_region + } + 579.1.1 = { holder = et_sevilla_867_9 } # Leandro + 600.1.1 = { holder = et_sevilla_867_8 } # Isidoro + 636.5.12 = { holder = et_sevilla_867_7 } # Honorato + 641.1.1 = { holder = et_sevilla_867_6 } # Antonio + 656.1.1 = { holder = et_sevilla_867_5 } # Fugitivo + 682.1.1 = { holder = et_sevilla_867_4 } # Floresindo + 688.1.1 = { holder = et_sevilla_867_3 } # Felix + 710.1.1 = { holder = et_sevilla_867_2 } # Oppas + 850.1.1 = { holder = et_sevilla_867_1 } # Recafredo + 860.1.1 = { holder = 0 } +} + +d_et_braga = { # Braga + 440.1.1 = { + holder = et_braga_867_37 # Balconio + government = ecclesiastical_government + clerical_region = et_867_braga_region + } + 456.1.1 = { holder = et_braga_867_36 } # Valerio + 494.1.1 = { holder = et_braga_867_35 } # Idacio + 518.1.1 = { holder = et_braga_867_34 } # Apolinario + 524.1.1 = { holder = et_braga_867_33 } # Castino + 525.1.1 = { holder = et_braga_867_32 } # Valerio + 527.1.1 = { holder = et_braga_867_31 } # Ausberto + 537.1.1 = { holder = et_braga_867_30 } # Juliao + 538.1.1 = { holder = et_braga_867_29 } # Profuturo + 550.1.1 = { holder = et_braga_867_28 } # Eleuterio + 561.1.1 = { holder = et_braga_867_27 } # Lucrecio + 562.1.1 = { holder = et_braga_867_26 } # Martinho + 580.1.1 = { holder = et_braga_867_25 } # Pantardo + 589.1.1 = { holder = et_braga_867_24 } # Benigno + 612.1.1 = { holder = et_braga_867_23 } # Tolobeu + 633.1.1 = { holder = et_braga_867_22 } # Juliao + 653.1.1 = { holder = et_braga_867_21 } # Potamio + 656.1.1 = { holder = et_braga_867_20 } # Frutuoso + 660.1.1 = { holder = et_braga_867_19 } # Manucino + 661.1.1 = { holder = et_braga_867_18 } # Pancracio + 675.1.1 = { holder = et_braga_867_17 } # Leodegisio + 678.1.1 = { holder = et_braga_867_16 } # Liuva + 681.1.1 = { holder = et_braga_867_15 } # Quirico + 687.1.1 = { holder = et_braga_867_14 } # Faustino + 693.1.1 = { holder = et_braga_867_13 } # Felix + 734.1.1 = { holder = et_braga_867_12 } # Vitor + 736.1.1 = { holder = et_braga_867_11 } # Eronio + 737.1.1 = { holder = et_braga_867_10 } # Hermenegildo + 738.1.1 = { holder = et_braga_867_9 } # Tiago + 740.1.1 = { holder = et_braga_867_8 } # Odoario + 780.1.1 = { holder = et_braga_867_7 } # Ascarico + 821.1.1 = { holder = et_braga_867_6 } # Argimundo + 832.1.1 = { holder = et_braga_867_5 } # Nostiano + 832.1.2 = { holder = et_braga_867_4 } # Ataulfo + 840.1.1 = { holder = et_braga_867_3 } # Ferdizendo + 842.1.1 = { holder = et_braga_867_2 } # Dulcidio + 850.1.1 = { holder = et_braga_867_1 } # Gladila + 867.1.1 = { holder = et_braga_867_0 } # Gomado + # 1066 + 875.1.1 = { holder = et_braga_1066_15 } # Flaviano + 881.1.1 = { holder = et_braga_1066_14 } # Flaiano + 889.1.1 = { holder = et_braga_1066_13 } # Argimiro + 910.1.1 = { holder = et_braga_1066_12 } # Teodomiro + 924.1.1 = { holder = et_braga_1066_11 } # Hero + 930.1.1 = { holder = et_braga_1066_10 } # Silvatano + 942.1.1 = { holder = et_braga_1066_9 } # Gundisalvo + 951.1.1 = { holder = et_braga_1066_8 } # Hermenegildo + 986.1.1 = { holder = et_braga_1066_7 } # Pelágio + 1003.1.1 = { holder = et_braga_1066_6 } # Diogo + 1004.1.1 = { holder = et_braga_1066_5 } # Flaviano + 1017.1.2 = { holder = et_braga_1066_4 } # Pedro + 1058.1.1 = { holder = et_braga_1066_3 } # Maurelo + 1060.1.1 = { holder = et_braga_1066_2 } # Sigefredo + 1060.6.1 = { holder = et_braga_1066_1 } # Vistrário + # 1178 + 1071.1.1 = { holder = et_braga_1178_6 } # Pedro + 1095.7.3 = { holder = et_braga_1178_5 } # Geraldo + 1111.2.5 = { holder = et_braga_1178_4 } # Mauricio + 1118.1.1 = { holder = et_braga_1178_3 } # Paio + 1138.1.1 = { holder = et_braga_1178_2 } # João + 1175.12.1 = { holder = et_braga_1178_1 } # Godinho + 1178.1.1 = { clerical_region = et_1178_braga_region } +} + +d_et_merida = { # Merida + 408.1.1 = { + holder = et_merida_867_13 # Gregorio + government = ecclesiastical_government + clerical_region = et_867_merida_region + } + 445.1.1 = { holder = et_merida_867_12 } # Antonino + 483.1.1 = { holder = et_merida_867_11 } # Zenone + 530.1.1 = { holder = et_merida_867_10 } # Paolo + 560.1.1 = { holder = et_merida_867_9 } # Fedele + 573.1.1 = { holder = et_merida_867_8 } # Masona + 610.1.1 = { holder = et_merida_867_7 } # Innocenzo + 633.1.1 = { holder = et_merida_867_6 } # Stefano + 638.1.1 = { holder = et_merida_867_5 } # Oronzo + 666.1.1 = { holder = et_merida_867_4 } # Proficio + 672.1.1 = { holder = et_merida_867_3 } # Festo + 688.1.1 = { holder = et_merida_867_2 } # Massimo + 839.1.1 = { holder = et_merida_867_1 } # Arnulfo + 862.1.1 = { holder = 0 } + 904.1.1 = { holder = et_merida_1066_3 } # Thedocutus + 932.1.1 = { holder = et_merida_1066_2 } # Julio + 1000.1.1 = { holder = et_merida_1066_1 } # Daniel + 1010.1.1 = { holder = 0 } + 1177.1.1 = { clerical_region = none } # Integrated to Santiago for 1178 +} + +d_et_tingitana = { # Tingitana + 867.1.1 = { + government = ecclesiastical_government + clerical_region = et_867_tingitana_region + } +} + +# Britain + +d_et_york = { # York + 735.11.19 = { + holder = et_york_867_7 # Ecgbert + government = ecclesiastical_government + clerical_region = et_867_york_region + } + 761.11.8 = { holder = et_york_867_6 } # Æthelbert + 765.8.10 = { holder = et_york_867_5 } # Eanbald + 792.1.1 = { holder = et_york_867_4 } # Eanbald + 808.1.1 = { holder = et_york_867_3 } # Wulfsige + 837.1.1 = { holder = et_york_867_2 } # Wigmund + 854.1.1 = { holder = et_york_867_1 } # Wulfhere + # 1066 + 900.1.1 = { holder = et_york_1066_11 } # Æthelbald + 916.1.1 = { holder = et_york_1066_10 } # Hrotheweard + 931.1.1 = { holder = et_york_1066_9 } # Wulfstan + 958.1.1 = { holder = et_york_1066_8 } # Oskytel + 971.1.1 = { holder = et_york_1066_7 } # Edwald + 972.1.1 = { holder = et_york_1066_6 } # Oswald + 995.1.1 = { holder = et_york_1066_5 } # Ealdwulf + 1002.1.1 = { holder = et_york_1066_4 } # Wulfstan + 1023.1.1 = { holder = et_york_1066_3 } # Ælfric Puttoc + 1051.1.1 = { holder = et_york_1066_2 } # Cynesige + 1061.1.1 = { holder = et_york_1066_1 } # Ealdred + # 1178 + 1070.5.23 = { holder = et_york_1178_7 } # Thomas + 1100.12.1 = { holder = et_york_1178_6 } # Gerard + 1114.1.1 = { holder = et_york_1178_5 } # Thurstan + 1141.1.1 = { holder = et_york_1178_4 } # William + 1147.1.1 = { holder = et_york_1178_3 } # Henry + 1153.12.20 = { holder = et_york_1178_2 } # William + 1154.1.1 = { + holder = et_york_1178_1 # Roger + clerical_region = et_1178_york_region + } +} + +d_et_canterbury = { # Canterbury + 597.1.1 = { + holder = 180660 # Augustine + government = ecclesiastical_government + clerical_region = et_867_canterbury_region + } + 604.5.25 = { holder = 180661 } # Laurence + 619.2.2 = { holder = 180662 } # Mellitus + 624.4.24 = { holder = 180663 } # Justus + 629.11.10 = { holder = 180664 } # Honorius + 653.9.30 = { holder = 180665 } # Deusdedit + 664.7.14 = { holder = 180666 } # Theodore + 690.9.19 = { holder = 180667 } # Berhtwald + 731.1.13 = { holder = 180668 } # Tatwine + 734.7.30 = { holder = 180669 } # Nothhelm + 739.10.17 = { holder = 180670 } # Cuthbert + 760.10.26 = { holder = 180671 } # Bregowine + 765.8.1 = { holder = 180672 } # Jaenbert + 792.8.12 = { holder = 180673 } # Aethelhard + 805.5.12 = { holder = 180674 } # Wulfred + 832.3.24 = { holder = 180675 } # Ceolnoth + 870.2.4 = { holder = 180676 } # Aethelred + 888.6.30 = { holder = 180677 } # Plegmund + 923.8.2 = { holder = 180678 } # Athelm + 926.1.8 = { holder = 180679 } # Wulfhelm + 941.2.12 = { holder = 180680 } # Oda + 958.6.2 = { holder = 180681 } # Aelfsige + 959.1.1 = { holder = 180682 } # Byrhthelm + 973.5.15 = { holder = 180683 } # Dunstan + 988.5.19 = { holder = 180684 } # Aethelgar + 990.2.13 = { holder = 180685 } # Sigeric + 994.10.28 = { holder = 180686 } # Aelfric + 1005.11.16 = { holder = 180687 } # Aelfheath + 1012.4.19 = { holder = 180688 } # Lyfing + 1020.6.12 = { holder = 168608 } # Aethelnoth of Wessex + 1038.10.30 = { holder = 180690 } # Eadsige + 1050.10.29 = { holder = 180691 } # Robert of Jumièges + 1052.9.1 = { + holder = 5604 # Stigand + liege = k_england + } + 1070.4.11 = { holder = 5606 } + 1089.5.24 = { holder = 5608 } + 1109.4.21 = { holder = 161329 } + 1122.10.2 = { holder = 161330 } + 1136.11.21 = { holder = 161331 } + 1161.4.18 = { holder = 161332 } # Thomas Becket + 1170.12.29 = { + holder = 161333 + liege = k_england + } + 1184.2.16 = { holder = 161334 } + 1190.11.19 = { holder = 232680 } + 1205.7.13 = { holder = 161335 } + 1228.7.9 = { holder = 161336 } + 1231.8.3 = { holder = 161337 } + 1240.11.16 = { holder = 70912 } # Boniface of Savoy + 1270.7.14 = { holder = 161338 } + 1279.9.11 = { holder = 161339 } + 1292.12.8 = { holder = 161340 } + 1313.5.11 = { holder = 161341 } + 1327.11.16 = { holder = 161342 } + 1333.10.12 = { holder = 161343 } # John de Stratford +} + +d_et_dublin = { # Dublin + 1152.1.1 = { + holder = et_dublin_1178_2 # Gregory + government = ecclesiastical_government + clerical_region = et_1178_dublin_region + } + 1162.1.1 = { holder = et_dublin_1178_1 } # Laurence +} + +d_et_cashel = { # Cashel + 1152.1.1 = { + holder = et_cashel_1178_2 # Domnall Ua Lonngargáin + government = ecclesiastical_government + clerical_region = et_1178_cashel_region + } + 1172.1.1 = { holder = et_cashel_1178_1 } # Domnall Ua hUallacháin +} + +d_et_armagh = { # Armagh + 1152.1.1 = { + holder = et_armagh_1178_3 # Meic Liac + government = ecclesiastical_government + clerical_region = et_1178_armagh_region + } + 1174.1.1 = { holder = et_armagh_1178_2 } # Conchobar + 1175.1.1 = { holder = et_armagh_1178_1 } # Gilla +} + +d_et_tuam = { # Tuam + 1152.1.1 = { + holder = et_tuam_1178_2 # Áed + government = ecclesiastical_government + clerical_region = et_1178_tuam_region + } + 1161.1.1 = { holder = et_tuam_1178_1 } # Cadla +} + +# Gaul +d_et_rouen = { # Rouen + 488.1.1 = { + holder = et_rouen_867_23 # Godard + government = ecclesiastical_government + clerical_region = et_867_rouen_region + } + 525.1.1 = { holder = et_rouen_867_22 } # Filleul + 542.1.1 = { holder = et_rouen_867_21 } # Evod + 550.1.1 = { holder = et_rouen_867_20 } # Pretextat + 589.1.1 = { holder = et_rouen_867_19 } # Melantius + 602.1.1 = { holder = et_rouen_867_18 } # Hydulphe + 631.1.1 = { holder = et_rouen_867_17 } # Romain + 639.1.1 = { holder = et_rouen_867_16 } # Audoin + 689.1.1 = { holder = et_rouen_867_15 } # Ansbert + 695.1.1 = { holder = et_rouen_867_14 } # Grippo + 719.1.1 = { holder = et_rouen_867_13 } # Roland + 732.1.1 = { holder = et_rouen_867_12 } # Hugh + 740.1.1 = { holder = et_rouen_867_11 } # Robert + 744.1.1 = { holder = et_rouen_867_10 } # Grimo + 748.1.1 = { holder = et_rouen_867_9 } # Ragenfred + 753.1.1 = { holder = et_rouen_867_8 } # Remi + 762.1.1 = { holder = et_rouen_867_7 } # Hugh + 769.1.1 = { holder = et_rouen_867_6 } # Meinhard + 800.1.1 = { holder = et_rouen_867_5 } # Gilbert + 828.1.1 = { holder = et_rouen_867_4 } # Ragnoard + 836.1.1 = { holder = et_rouen_867_3 } # Gombaud + 849.1.1 = { holder = et_rouen_867_2 } # Paul + 855.1.1 = { holder = et_rouen_867_1 } # Wenilo + # 1066 + 869.1.1 = { holder = et_rouen_1066_10 } # Adalard + 872.1.1 = { holder = et_rouen_1066_9 } # Riculf + 876.1.1 = { holder = et_rouen_1066_8 } # Jean + 888.1.1 = { holder = et_rouen_1066_7 } # Léon + 889.1.1 = { holder = et_rouen_1066_6 } # Gui + 911.1.1 = { holder = et_rouen_1066_5 } # Francon + 919.1.1 = { holder = et_rouen_1066_4 } # Gonthard + 942.1.1 = { holder = et_rouen_1066_3 } # Hugues + 990.1.1 = { holder = et_rouen_1066_2 } # Roberto + 1055.1.1 = { holder = et_rouen_1066_1 } # Maurille + # 1178 + 1183.11.26 = { holder = et_rouen_1178_5 } # Jean + 1110.2.9 = { holder = et_rouen_1178_4 } # Guillaume + 1128.11.28 = { holder = et_rouen_1178_3 } # Geoffrey + 1164.11.11 = { holder = et_rouen_1178_2 } # Hugues + 1165.1.1 = { holder = et_rouen_1178_1 } # Rotrou +} + +d_et_reims = { # Reims + 400.1.1 = { + liege = k_france + holder = et_reims_867_23 # Nicaise + government = ecclesiastical_government + clerical_region = et_867_reims_region + } + 407.1.1 = { holder = et_reims_867_22 } # Baruche + 420.1.1 = { holder = et_reims_867_21 } # Barnabas + 440.1.1 = { holder = et_reims_867_20 } # Bennage + 459.1.1 = { holder = et_reims_867_19 } # Remi + 533.1.1 = { holder = et_reims_867_18 } # Romain + 535.1.1 = { holder = et_reims_867_17 } # Flavius + 549.1.1 = { holder = et_reims_867_16 } # Mappinus + 550.1.1 = { holder = et_reims_867_15 } # Egidius + 590.1.1 = { holder = et_reims_867_14 } # Romulphe + 593.1.1 = { holder = et_reims_867_13 } # Sonnace + 631.1.1 = { holder = et_reims_867_12 } # Leudegisil + 641.1.1 = { holder = et_reims_867_11 } # Anglebert + 646.1.1 = { holder = et_reims_867_10 } # Lando + 649.1.1 = { holder = et_reims_867_9 } # Nivard + 673.1.1 = { holder = et_reims_867_8 } # Rieul + 695.1.1 = { holder = et_reims_867_7 } # Rigobert + 717.1.1 = { holder = et_reims_867_6 } # Milo + 744.1.1 = { holder = et_reims_867_5 } # Abel + 748.1.1 = { holder = 91506 } # Tilpin + 812.1.1 = { holder = et_reims_867_3 } # Wulfar + 817.1.1 = { holder = et_reims_867_2 } # Ebbo + 840.1.1 = { holder = et_reims_867_2 } # Ebbo (2nd term after vacancy) + 845.4.1 = { holder = 163049 } # Hincmar + # 1066 + 883.3.7 = { holder = 167927 } # Folco + 900.7.6 = { holder = et_reims_1066_11 } # Erveo + 922.1.1 = { holder = et_reims_1066_10 } # Seulfo + 931.1.1 = { holder = 144976 } # Artaldo + 962.4.1 = { holder = et_reims_1066_8 } # Odelrico + 969.1.1 = { holder = 165026 } # Adalbero + 989.1.23 = { holder = 144978 } # Arnulf + 991.1.1 = { holder = 7824 } # Gerberto + 998.4.1 = { holder = 144978 } # Arnulf + 1021.1.1 = { holder = et_reims_1066_3 } # Ebles + 1033.7.1 = { holder = et_reims_1066_2 } # Guy + 1055.10.15 = { holder = 91173 } # Gervais + # 1178 + 1070.7.4 = { holder = 20132 } # Manassès I + 1081.12.27 = { holder = 91174 } # Renauld I + 1096.1.1 = { holder = 91175 } # Manassès II + 1106.9.17 = { holder = 232013 } # Gervais + 1107.5.23 = { holder = 91176 } # Raoul + 1124.1.1 = { holder = 91177 } # Raymond + 1138.1.1 = { holder = 91178 } # Samson + 1161.1.1 = { holder = 91033 } # Henri + 1176.1.1 = { holder = 91160 } # Guillaume +} + +d_et_sens = { # Sens + 346.1.1 = { + holder = et_sens_867_29 # Savinien + government = ecclesiastical_government + clerical_region = et_867_sens_region + } + 356.1.1 = { holder = et_sens_867_28 } # Ursicin + 487.1.1 = { holder = et_sens_867_27 } # Héracle + 515.1.1 = { holder = et_sens_867_26 } # Paul + 533.1.1 = { holder = et_sens_867_25 } # Leo + 549.1.1 = { holder = et_sens_867_24 } # Constitut + 579.1.1 = { holder = et_sens_867_23 } # Arthème + 614.1.1 = { holder = et_sens_867_22 } # Loup + 632.1.1 = { holder = et_sens_867_21 } # Hidegaire + 639.1.1 = { holder = et_sens_867_20 } # Richer + 642.1.1 = { holder = et_sens_867_19 } # Gondelbert + 650.1.1 = { holder = et_sens_867_18 } # Armentaire + 654.1.1 = { holder = et_sens_867_17 } # Arnoul + 660.1.1 = { holder = et_sens_867_16 } # Emmon + 669.1.1 = { holder = et_sens_867_15 } # Amé + 673.1.1 = { holder = et_sens_867_14 } # Gombert + 680.1.1 = { holder = et_sens_867_13 } # Lambert + 683.1.1 = { holder = et_sens_867_12 } # Wulfram + 697.1.1 = { holder = et_sens_867_11 } # Géry + 711.1.1 = { holder = et_sens_867_10 } # Ebbo + 744.1.1 = { holder = et_sens_867_9 } # Honulphe + 757.1.1 = { holder = et_sens_867_8 } # Loup + 769.1.1 = { holder = et_sens_867_7 } # Wilchar + 797.1.1 = { holder = et_sens_867_6 } # Bérard + 802.1.1 = { holder = et_sens_867_5 } # Magnus + 822.1.1 = { holder = et_sens_867_4 } # Jeremias + 829.1.1 = { holder = et_sens_867_3 } # Alderic + 837.1.1 = { holder = et_sens_867_2 } # Wenilo + 865.1.1 = { holder = et_sens_867_1 } # Eigil + # 1066 + 871.6.27 = { holder = et_sens_1066_15 } # Anségise + 884.1.1 = { holder = et_sens_1066_14 } # Evrard + 887.1.1 = { holder = et_sens_1066_13 } # Gauthier + 924.1.1 = { holder = et_sens_1066_12 } # Gauthier + 927.1.1 = { holder = et_sens_1066_11 } # Audald + 932.1.1 = { holder = et_sens_1066_10 } # Guillaume + 938.1.1 = { holder = et_sens_1066_9 } # Gerlair + 954.9.12 = { holder = et_sens_1066_8 } # Hildeman + 959.1.1 = { holder = et_sens_1066_7 } # Archambaud + 967.1.1 = { holder = et_sens_1066_6 } # Anastase + 977.6.10 = { holder = et_sens_1066_5 } # Sevin + 1000.1.1 = { holder = et_sens_1066_4 } # Léotheric + 1032.10.18 = { holder = et_sens_1066_3 } # Gelduin + 1049.11.1 = { holder = et_sens_1066_2 } # Mainard + 1062.4.1 = { holder = et_sens_1066_1 } # Richer + # 1178 + 1097.3.1 = { holder = et_sens_1178_5 } # Daimbert + 1123.1.1 = { holder = et_sens_1178_4 } # Henri + 1142.1.1 = { holder = et_sens_1178_3 } # Hugues + 1168.12.22 = { holder = 91160 } # Guillaume + 1176.1.1 = { holder = et_sens_1178_1 } # Guy +} + +d_et_tours = { # Tours + 442.1.1 = { + holder = et_tours_867_36 # Eustoche + government = ecclesiastical_government + clerical_region = et_867_tours_region + } + 458.1.1 = { holder = et_tours_867_35 } # Perpet + 489.1.1 = { holder = et_tours_867_34 } # Volusien + 496.1.1 = { holder = et_tours_867_33 } # Vére + 546.1.1 = { holder = et_tours_867_32 } # Baud + 552.1.1 = { holder = et_tours_867_31 } # Gonthaire + 556.1.1 = { holder = et_tours_867_30 } # Euphore + 573.1.1 = { holder = et_tours_867_29 } # Gregoire + 602.1.1 = { holder = et_tours_867_28 } # Lupare + 614.1.1 = { holder = et_tours_867_27 } # Agiric + 617.1.1 = { holder = et_tours_867_26 } # Ginaldus + 619.1.1 = { holder = et_tours_867_25 } # Sigilaicus + 622.1.1 = { holder = et_tours_867_24 } # Leobald + 625.1.1 = { holder = et_tours_867_23 } # Médegaud + 638.1.1 = { holder = et_tours_867_22 } # Latinus + 650.1.1 = { holder = et_tours_867_21 } # Carégisile + 652.1.1 = { holder = et_tours_867_20 } # Rigobert + 654.1.1 = { holder = et_tours_867_19 } # Papolene + 660.1.1 = { holder = et_tours_867_18 } # Chrotbert + 695.1.1 = { holder = et_tours_867_17 } # Pelagius + 700.1.1 = { holder = et_tours_867_16 } # Evartius + 709.1.1 = { holder = et_tours_867_15 } # Ibbon + 724.1.1 = { holder = et_tours_867_14 } # Gontran + 732.1.1 = { holder = et_tours_867_13 } # Didon + 733.1.1 = { holder = et_tours_867_12 } # Rimbert + 752.1.1 = { holder = et_tours_867_11 } # Aubert + 754.1.1 = { holder = et_tours_867_10 } # Ostald + 760.1.1 = { holder = et_tours_867_9 } # Gravien + 765.1.1 = { holder = et_tours_867_8 } # Eusebe + 771.1.1 = { holder = et_tours_867_7 } # Herling + 792.1.1 = { holder = et_tours_867_6 } # Joseph + 815.1.1 = { holder = et_tours_867_5 } # Landran + 836.1.1 = { holder = et_tours_867_4 } # Ursmarus + 846.1.1 = { holder = et_tours_867_3 } # Landran + 852.1.1 = { holder = et_tours_867_2 } # Amaury + 856.1.1 = { holder = et_tours_867_1 } # Hérard + # 1066 + 872.1.1 = { holder = et_tours_1066_12 } # Actard + 875.1.1 = { holder = et_tours_1066_11 } # Adalard + 890.1.1 = { holder = et_tours_1066_10 } # Herbernes + 916.1.1 = { holder = et_tours_1066_9 } # Robert + 932.1.1 = { holder = et_tours_1066_8 } # Theotolo + 946.1.1 = { holder = et_tours_1066_7 } # Joseph + 957.1.1 = { holder = et_tours_1066_6 } # Frotaire + 960.1.1 = { holder = et_tours_1066_5 } # Hardouin + 981.1.1 = { holder = et_tours_1066_4 } # Archambault + 1008.1.1 = { holder = et_tours_1066_3 } # Hugues + 1023.1.1 = { holder = et_tours_1066_2 } # Arnoul + 1053.1.1 = { holder = et_tours_1066_1 } # Barthelemy + # 1178 + 1072.1.1 = { holder = et_tours_1178_8 } # Raoul + 1087.1.1 = { holder = et_tours_1178_7 } # Raoul + 1118.1.1 = { holder = et_tours_1178_6 } # Gilbert + 1125.1.1 = { holder = et_tours_1178_5 } # Hildebert + 1133.1.1 = { holder = et_tours_1178_4 } # Hugues + 1147.1.1 = { holder = et_tours_1178_3 } # Engebault + 1157.1.1 = { holder = et_tours_1178_2 } # Joscion + 1174.1.1 = { holder = et_tours_1178_1 } # Barthelemy +} + +d_et_bourges = { # Bourges + 251.1.1 = { + holder = et_bourges_867_16 # Ursin + government = ecclesiastical_government + clerical_region = et_867_bourges_region + } + 280.1.1 = { holder = et_bourges_867_15 } # Sénitien + 296.1.1 = { holder = et_bourges_867_14 } # Oethère + 330.1.1 = { holder = et_bourges_867_13 } # Marcel + 337.1.1 = { holder = et_bourges_867_12 } # Viator + 549.1.1 = { holder = et_bourges_867_11 } # Didier + 584.1.1 = { holder = et_bourges_867_10 } # Sulpice + 591.1.1 = { holder = et_bourges_867_9 } # Eustase + 591.1.1 = { holder = et_bourges_867_8 } # Apollinaris + 612.1.1 = { holder = et_bourges_867_7 } # Austrégésile + 627.1.1 = { holder = et_bourges_867_6 } # Sulpice + 788.1.1 = { holder = et_bourges_867_5 } # Ermembert + 810.1.1 = { holder = et_bourges_867_4 } # Ebroin + 829.1.1 = { holder = et_bourges_867_3 } # Août + 839.1.1 = { holder = et_bourges_867_2 } # Rodulf + 866.1.1 = { holder = et_bourges_867_1 } # Wulfad + # 1066 + 876.10.28 = { holder = et_bourges_1066_10 } # Frotaire + 890.1.1 = { holder = et_bourges_1066_9 } # Adace + 900.1.1 = { holder = et_bourges_1066_8 } # Madalbert + 910.1.1 = { holder = et_bourges_1066_7 } # Géronce + 948.1.1 = { holder = et_bourges_1066_6 } # Laune + 955.1.1 = { holder = et_bourges_1066_5 } # Richard + 969.1.1 = { holder = et_bourges_1066_4 } # Hugues + 987.1.1 = { holder = et_bourges_1066_3 } # Dagbert + 1013.1.1 = { holder = et_bourges_1066_2 } # Gauzlin + 1030.1.1 = { holder = 40168 } # Aymon + # 1178 + 1071.1.1 = { holder = et_bourges_1178_8 } # Richard + 1092.1.1 = { holder = et_bourges_1178_7 } # Audebert + 1097.1.1 = { holder = et_bourges_1178_6 } # Leger + 1120.1.1 = { holder = et_bourges_1178_5 } # Vulgrin + 1137.1.1 = { holder = et_bourges_1178_4 } # Alberic + 1141.1.1 = { holder = et_bourges_1178_3 } # Pierre + 1171.1.1 = { holder = et_bourges_1178_2 } # Étienne + 1174.1.1 = { holder = et_bourges_1178_1 } # Guarin +} + +d_et_bordeaux = { # Bordeaux + 314.1.1 = { + holder = et_bordeaux_867_11 # Orientalis + government = ecclesiastical_government + clerical_region = et_867_bordeaux_region + } + 380.1.1 = { holder = et_bordeaux_867_10 } # Delphin + 404.1.1 = { holder = et_bordeaux_867_8 } # Amand + 410.1.1 = { holder = et_bordeaux_867_9 } # Seurin + 420.1.1 = { holder = et_bordeaux_867_8 } # Amand + 520.1.1 = { holder = et_bordeaux_867_7 } # Léonce + 542.1.1 = { holder = et_bordeaux_867_6 } # Léonce + 566.1.1 = { holder = et_bordeaux_867_5 } # Bertram + 589.1.1 = { holder = et_bordeaux_867_4 } # Gundigisil + 814.1.1 = { holder = et_bordeaux_867_3 } # Sicaire + 829.1.1 = { holder = et_bordeaux_867_2 } # Adelelme + 860.1.1 = { holder = et_bordeaux_867_1 } # Frothar + # 1066 + 940.1.1 = { holder = et_bordeaux_1066_9 } # Adalberto + 989.1.1 = { holder = et_bordeaux_1066_8 } # Gombaud + 1000.1.1 = { holder = et_bordeaux_1066_7 } # Séguin + 1016.1.1 = { holder = et_bordeaux_1066_6 } # Arnaud + 1022.1.1 = { holder = et_bordeaux_1066_5 } # Islon + 1027.1.1 = { holder = et_bordeaux_1066_4 } # Geoffroi + 1047.1.1 = { holder = et_bordeaux_1066_3 } # Archambaud + 1059.1.1 = { holder = et_bordeaux_1066_2 } # Andron + 1059.2.1 = { holder = et_bordeaux_1066_1 } # Joscelin + # 1178 + 1088.1.1 = { holder = et_bordeaux_1178_8 } # Amat + 1103.1.1 = { holder = et_bordeaux_1178_7 } # Arnaud + 1131.1.1 = { holder = et_bordeaux_1178_6 } # Gérard + 1135.1.1 = { holder = et_bordeaux_1178_5 } # Geoffroi + 1158.1.1 = { holder = et_bordeaux_1178_4 } # Raimond + 1160.1.1 = { holder = et_bordeaux_1178_3 } # Hardouin + 1162.8.1 = { holder = et_bordeaux_1178_2 } # Bertrand + 1174.1.1 = { holder = et_bordeaux_1178_1 } # Guillaume +} + +d_et_lyon = { # Lyon + 374.1.1 = { + holder = et_lyon_867_27 # Just + government = ecclesiastical_government + clerical_region = et_867_lyon_region + } + 390.1.1 = { holder = et_lyon_867_26 } # Albin + 397.1.1 = { holder = et_lyon_867_25 } # Martin + 400.1.1 = { holder = et_lyon_867_24 } # Antioche + 410.1.1 = { holder = et_lyon_867_23 } # Élpide + 422.1.1 = { holder = et_lyon_867_22 } # Sicaire + 432.1.1 = { holder = et_lyon_867_21 } # Eucher + 451.1.1 = { holder = et_lyon_867_20 } # Patiens + 491.1.1 = { holder = et_lyon_867_19 } # Lupicin + 494.1.1 = { holder = et_lyon_867_18 } # Rustique + 501.1.1 = { holder = et_lyon_867_17 } # Etienne + 514.1.1 = { holder = et_lyon_867_16 } # Viventiole + 538.1.1 = { holder = et_lyon_867_15 } # Loup + 549.1.1 = { holder = et_lyon_867_14 } # Sacerdos + 552.1.1 = { holder = et_lyon_867_13 } # Nizier + 573.1.1 = { holder = et_lyon_867_12 } # Prisque + 589.1.1 = { holder = et_lyon_867_11 } # Ethère + 602.1.1 = { holder = et_lyon_867_10 } # Arige + 626.1.1 = { holder = et_lyon_867_9 } # Tétrice + 637.1.1 = { holder = et_lyon_867_8 } # Canderic + 654.1.1 = { holder = et_lyon_867_7 } # Annemund + 664.1.1 = { holder = et_lyon_867_6 } # Genès + 678.1.1 = { holder = et_lyon_867_5 } # Lambert + 798.1.1 = { holder = et_lyon_867_4 } # Leidrad + 814.1.1 = { holder = et_lyon_867_3 } # Agobard + 840.1.1 = { holder = et_lyon_867_2 } # Amulo + 852.1.1 = { holder = et_lyon_867_1 } # Rémi + # 1066 + 875.1.1 = { holder = et_lyon_1066_15 } # Aurélien + 895.1.1 = { holder = et_lyon_1066_14 } # Alwala + 906.1.1 = { holder = et_lyon_1066_13 } # Bernard + 906.2.1 = { holder = et_lyon_1066_12 } # Austère + 916.1.1 = { holder = et_lyon_1066_11 } # Remi + 922.1.1 = { holder = et_lyon_1066_10 } # Anscheric + 928.1.1 = { holder = et_lyon_1066_9 } # Guy + 949.1.1 = { holder = et_lyon_1066_8 } # Burchard + 963.1.1 = { holder = et_lyon_1066_7 } # Amblard + 978.1.1 = { holder = et_lyon_1066_6 } # Burchard + 1041.1.1 = { holder = et_lyon_1066_5 } # Odolric + 1046.1.1 = { holder = et_lyon_1066_4 } # Halinard + 1052.1.1 = { holder = et_lyon_1066_3 } # Philippe + 1054.1.1 = { holder = et_lyon_1066_2 } # Geoffroy + 1065.1.1 = { holder = et_lyon_1066_1 } # Humbert + # 1178 + 1077.1.1 = { holder = et_lyon_1178_12 } # Jubin + 1083.1.1 = { holder = et_lyon_1178_11 } # Hugues + 1110.1.1 = { holder = et_lyon_1178_10 } # Gaucerand + 1118.1.1 = { holder = et_lyon_1178_9 } # Humbaud + 1128.1.1 = { holder = et_lyon_1178_8 } # Renaud + 1131.1.1 = { holder = et_lyon_1178_7 } # Pierre + 1139.1.1 = { holder = et_lyon_1178_6 } # Foulque + 1142.1.1 = { holder = et_lyon_1178_5 } # Amédée + 1148.1.1 = { holder = et_lyon_1178_4 } # Humbert + 1153.1.1 = { holder = et_lyon_1178_3 } # Héraclée + 1163.1.1 = { holder = et_lyon_1178_2 } # Dreux + 1165.1.1 = { holder = et_lyon_1178_1 } # Guichard +} + +d_et_tarentaise = { # Tarentaise + 426.1.1 = { + holder = et_tarentaise_867_10 # Jacques + government = ecclesiastical_government + clerical_region = et_867_tarentaise_region + } + 429.1.1 = { holder = et_tarentaise_867_9 } # Marcel + 460.1.1 = { holder = et_tarentaise_867_8 } # Thomas + 517.1.1 = { holder = et_tarentaise_867_7 } # Sanctius + 580.1.1 = { holder = et_tarentaise_867_6 } # Marcien + 650.1.1 = { holder = et_tarentaise_867_5 } # Baudoméris + 775.1.1 = { holder = et_tarentaise_867_4 } # Possessor + 824.1.1 = { holder = et_tarentaise_867_3 } # Andréas + 840.1.1 = { holder = et_tarentaise_867_2 } # Audax + 858.1.1 = { holder = et_tarentaise_867_1 } # Teutrand + # 1066 + 900.1.1 = { holder = et_tarentaise_1066_8 } # Anizo + 994.1.1 = { holder = et_tarentaise_1066_7 } # Anizo + 996.1.1 = { holder = et_tarentaise_1066_6 } # Aymon + 1000.1.1 = { holder = et_tarentaise_1066_5 } # Cuno + 1006.1.1 = { holder = et_tarentaise_1066_4 } # Baldoph + 1020.1.1 = { holder = et_tarentaise_1066_3 } # Luzo + 1025.1.1 = { holder = et_tarentaise_1066_2 } # Aymon + 1058.1.1 = { holder = et_tarentaise_1066_1 } # Ebbon + # 1178 + 1077.1.1 = { holder = et_tarentaise_1178_7 } # Annuzio + 1082.1.1 = { holder = et_tarentaise_1178_6 } # Héraclée + 1090.1.1 = { holder = et_tarentaise_1178_5 } # Bozon + 1124.1.1 = { holder = et_tarentaise_1178_4 } # Pierre + 1140.1.1 = { holder = et_tarentaise_1178_3 } # Isdrael + 1142.1.1 = { holder = et_tarentaise_1178_2 } # Pierre + 1178.1.1 = { holder = et_tarentaise_1178_1 } # Aymon +} + +d_et_vienne = { # Vienne + 449.1.1 = { + holder = et_vienne_867_23 # Nicétas + government = ecclesiastical_government + clerical_region = et_867_vienne_region + } + 463.1.1 = { holder = et_vienne_867_22 } # Mamert + 490.1.1 = { holder = et_vienne_867_21 } # Avit + 520.1.1 = { holder = et_vienne_867_20 } # Julian + 534.1.1 = { holder = et_vienne_867_19 } # Domnin + 540.1.1 = { holder = et_vienne_867_18 } # Pantagathe + 549.1.1 = { holder = et_vienne_867_17 } # Isice + 555.1.1 = { holder = et_vienne_867_16 } # Namat + 596.1.1 = { holder = et_vienne_867_15 } # Didier + 620.1.1 = { holder = et_vienne_867_14 } # Éthère + 625.1.1 = { holder = et_vienne_867_13 } # Clarent + 625.1.1 = { holder = et_vienne_867_12 } # Syndulphe + 680.1.1 = { holder = et_vienne_867_11 } # Georges + 700.1.1 = { holder = et_vienne_867_10 } # Éoalde + 718.1.1 = { holder = et_vienne_867_9 } # Bobolin + 719.1.1 = { holder = et_vienne_867_8 } # Austrebert + 742.1.1 = { holder = et_vienne_867_7 } # Wilchar + 767.1.1 = { holder = et_vienne_867_6 } # Bertéric + 790.1.1 = { holder = et_vienne_867_5 } # Ursio + 797.1.1 = { holder = et_vienne_867_4 } # Wulfar + 810.1.1 = { holder = et_vienne_867_3 } # Bernard + 841.1.1 = { holder = et_vienne_867_2 } # Agilmar + 860.1.1 = { holder = et_vienne_867_1 } # Ado + # 1066 + 878.1.1 = { holder = et_vienne_1066_8 } # Ottramne + 886.1.1 = { holder = et_vienne_1066_7 } # Bernoin + 899.1.1 = { holder = et_vienne_1066_6 } # Raginfred + 908.1.1 = { holder = et_vienne_1066_5 } # Alexander + 927.1.1 = { holder = et_vienne_1066_4 } # Sobon + 957.1.1 = { holder = et_vienne_1066_3 } # Teobaldo + 1011.1.1 = { holder = et_vienne_1066_2 } # Burchard + 1030.1.1 = { holder = et_vienne_1066_1 } # Léger + # 1178 + 1070.1.1 = { holder = et_vienne_1178_11 } # Armand + 1077.1.1 = { holder = et_vienne_1178_10 } # Warmond + 1082.1.1 = { holder = et_vienne_1178_9 } # Gontard + 1088.1.1 = { holder = et_vienne_1178_8 } # Guido + 1121.1.1 = { holder = et_vienne_1178_7 } # Pierre + 1129.1.1 = { holder = et_vienne_1178_6 } # Étienne + 1146.1.1 = { holder = et_vienne_1178_5 } # Humbert + 1148.1.1 = { holder = et_vienne_1178_4 } # Hugues + 1155.1.1 = { holder = et_vienne_1178_3 } # Étienne + 1163.1.1 = { holder = et_vienne_1178_2 } # Guillaume + 1173.1.1 = { holder = et_vienne_1178_1 } # Robert +} + +d_et_eauze = { # Eauze + 300.1.1 = { + holder = et_eauze_867_7 # Mammertin + government = ecclesiastical_government + clerical_region = et_867_eauze_region + } + 585.1.1 = { holder = et_eauze_867_6 } # Désidère + 614.1.1 = { holder = et_eauze_867_5 } # Leodomundus + 626.1.1 = { holder = et_eauze_867_4 } # Palladius + 627.1.1 = { holder = et_eauze_867_3 } # Senoc + 675.1.1 = { holder = et_eauze_867_2 } # Scupilio + 867.1.1 = { holder = et_eauze_867_1 } # Ayrard + 879.1.1 = { + holder = 0 + clerical_region = none + } +} + +d_et_auch = { # Auch, replacees Eauze in 1066 + 879.1.1 = { + holder = et_auch_1066_6 # Ayrard + government = ecclesiastical_government + clerical_region = et_1066_auch_region + } + 980.1.1 = { holder = et_auch_1066_5 } # Garsias + 988.1.1 = { holder = et_auch_1066_4 } # Odo + 1025.1.1 = { holder = et_auch_1066_3 } # Garsias + 1036.1.1 = { holder = et_auch_1066_2 } # Raymond + 1042.1.1 = { holder = et_auch_1066_1 } # Austinde + # 1178 + 1068.1.1 = { holder = et_auch_1178_5 } # Guillaume + 1096.1.1 = { holder = et_auch_1178_4 } # Raymond + 1118.1.1 = { holder = et_auch_1178_3 } # Bernard + 1126.1.1 = { holder = et_auch_1178_2 } # Guillaume + 1170.1.1 = { holder = et_auch_1178_1 } # Gérault +} + +d_et_narbonne = { # Narbonne + 427.1.1 = { + holder = et_narbonne_867_15 # Rusticus + government = ecclesiastical_government + clerical_region = et_867_narbonne_region + } + 462.1.1 = { holder = et_narbonne_867_14 } # Hermes + 506.1.1 = { holder = et_narbonne_867_13 } # Caprarius + 560.1.1 = { holder = et_narbonne_867_12 } # Aquilin + 580.1.1 = { holder = et_narbonne_867_11 } # Athaloc + 589.1.1 = { holder = et_narbonne_867_10 } # Mégace + 610.1.1 = { holder = et_narbonne_867_9 } # Sergius + 633.1.1 = { holder = et_narbonne_867_8 } # Selva + 672.1.1 = { holder = et_narbonne_867_7 } # Argebaud + 683.1.1 = { holder = et_narbonne_867_6 } # Sunifred + 769.1.1 = { holder = et_narbonne_867_5 } # Daniel + 798.1.1 = { holder = et_narbonne_867_4 } # Nimfridius + 827.1.1 = { holder = et_narbonne_867_3 } # Barthélemy + 842.1.1 = { holder = et_narbonne_867_2 } # Berarius + 850.1.1 = { holder = et_narbonne_867_1 } # Frédold + # 1066 + 885.1.1 = { holder = et_narbonne_1066_6 } # Théodard + 893.1.1 = { holder = et_narbonne_1066_5 } # Arnuste + 914.1.1 = { holder = et_narbonne_1066_4 } # Agio + 926.1.1 = { holder = et_narbonne_1066_3 } # Aimery + 977.1.1 = { holder = et_narbonne_1066_2 } # Ermengaud + 1019.10.6 = { holder = 70169 } # Guifred + # 1178 + 1079.1.1 = { holder = et_narbonne_1178_8 } # Pierre + 1081.1.1 = { holder = et_narbonne_1178_7 } # Dalmas + 1096.1.1 = { holder = et_narbonne_1178_6 } # Bertrand + 1106.11.5 = { holder = et_narbonne_1178_5 } # Richard + 1121.5.17 = { holder = et_narbonne_1178_4 } # Arnaud + 1150.1.1 = { holder = et_narbonne_1178_3 } # Pierre + 1156.1.1 = { holder = et_narbonne_1178_2 } # Bérenger + 1162.4.1 = { holder = et_narbonne_1178_1 } # Pons +} + +d_et_besancon = { # Besançon + 627.1.1 = { + holder = et_besancon_867_7 # Donat + government = ecclesiastical_government + clerical_region = et_867_besancon_region + } + 680.1.1 = { holder = et_besancon_867_6 } # Gervase + 685.1.1 = { holder = et_besancon_867_5 } # Claude + 757.1.1 = { holder = et_besancon_867_4 } # Gervais + 811.1.1 = { holder = et_besancon_867_3 } # Bernoin + 838.1.1 = { holder = et_besancon_867_2 } # Amalwin + 843.1.1 = { holder = et_besancon_867_1 } # Arduic + # 1066 + 872.1.1 = { holder = et_besancon_1066_10 } # Thierry + 895.1.1 = { holder = et_besancon_1066_9 } # Berengarius + 915.1.1 = { holder = et_besancon_1066_8 } # Aymin + 927.1.1 = { holder = et_besancon_1066_7 } # Gontier + 944.1.1 = { holder = et_besancon_1066_6 } # Gottfried + 983.1.1 = { holder = et_besancon_1066_5 } # Guichard + 993.1.1 = { holder = et_besancon_1066_4 } # Leutald + 1002.1.1 = { holder = et_besancon_1066_3 } # Hektor + 1016.1.1 = { holder = et_besancon_1066_2 } # Gauthier + 1031.1.1 = { holder = et_besancon_1066_1 } # Hugues + # 1178 + 1085.1.1 = { holder = et_besancon_1178_9 } # Hugues + 1102.1.1 = { holder = et_besancon_1178_8 } # Ponce + 1108.1.1 = { holder = et_besancon_1178_7 } # Hugues + 1109.1.1 = { holder = et_besancon_1178_6 } # Guillaume + 1117.1.1 = { holder = et_besancon_1178_5 } # Anseric + 1134.1.1 = { holder = et_besancon_1178_4 } # Humbert + 1162.1.1 = { holder = et_besancon_1178_3 } # Gauthier + 1163.1.1 = { holder = et_besancon_1178_2 } # Herbert + 1171.1.1 = { holder = et_besancon_1178_1 } # Eberard +} + +d_et_arles = { # Arles + 412.1.1 = { + holder = et_arles_867_14 # Patrocle + government = ecclesiastical_government + clerical_region = et_867_arles_region + } + 426.1.1 = { holder = et_arles_867_13 } # Hellade + 427.1.1 = { holder = et_arles_867_12 } # Honorat + 430.1.1 = { holder = et_arles_867_11 } # Hilaire + 503.1.1 = { holder = et_arles_867_10 } # Césaire + 542.1.1 = { holder = et_arles_867_9 } # Auxianus + 546.1.1 = { holder = et_arles_867_8 } # Aurélien + 588.1.1 = { holder = et_arles_867_7 } # Virgile + 613.1.1 = { holder = et_arles_867_6 } # Florien + 632.1.1 = { holder = et_arles_867_5 } # Theodose + 659.1.1 = { holder = et_arles_867_4 } # Jean + 811.1.1 = { holder = et_arles_867_3 } # Jean + 824.1.1 = { holder = et_arles_867_2 } # Notho + 852.1.1 = { holder = et_arles_867_1 } # Rotland + # 1066 + 871.1.1 = { holder = et_arles_1066_6 } # Rostang + 920.1.1 = { holder = et_arles_1066_5 } # Manasses + 963.1.1 = { holder = et_arles_1066_4 } # Ithier + 980.1.1 = { holder = et_arles_1066_3 } # Anno + 1005.1.1 = { holder = et_arles_1066_2 } # Pons + 1030.5.1 = { holder = et_arles_1066_1 } # Raimbaud + # 1178 + 1070.1.1 = { holder = et_arles_1178_7 } # Aicard + 1080.1.1 = { holder = et_arles_1178_6 } # Gibelin + 1115.1.1 = { holder = et_arles_1178_5 } # Atton + 1129.8.1 = { holder = et_arles_1178_4 } # Bernard + 1138.1.1 = { holder = et_arles_1178_3 } # Guillaume + 1142.1.1 = { holder = et_arles_1178_2 } # Raimond + 1163.1.1 = { holder = et_arles_1178_1 } # Raimon +} + +d_et_aix = { # Aix + 524.1.1 = { + holder = et_aix_867_8 # Maxime + government = ecclesiastical_government + clerical_region = et_867_aix_region + } + 549.1.1 = { holder = et_aix_867_7 } # Avole + 566.1.1 = { holder = et_aix_867_6 } # Francon + 581.1.1 = { holder = et_aix_867_5 } # Pientius + 596.1.1 = { holder = et_aix_867_4 } # Protais + 794.1.1 = { holder = et_aix_867_3 } # Ignotus + 828.1.1 = { holder = et_aix_867_2 } # Benoît + 867.1.1 = { holder = et_aix_867_1 } # Honorat + # 1066 + 878.1.1 = { holder = et_aix_1066_10 } # Robert + 887.1.1 = { holder = et_aix_1066_9 } # Matfrid + 928.1.1 = { holder = et_aix_1066_8 } # Odolric + 949.1.1 = { holder = et_aix_1066_7 } # Israel + 966.1.1 = { holder = et_aix_1066_6 } # Silvestre + 991.1.1 = { holder = et_aix_1066_5 } # Amalric + 1019.1.1 = { holder = et_aix_1066_4 } # Pons + 1032.1.1 = { holder = et_aix_1066_3 } # Pierre + 1050.1.1 = { holder = et_aix_1066_2 } # Pons + 1056.1.1 = { holder = et_aix_1066_1 } # Rostan + # 1178 + 1082.1.1 = { holder = et_aix_1178_7 } # Pierre + 1101.1.1 = { holder = et_aix_1178_6 } # Pierre + 1115.1.1 = { holder = et_aix_1178_5 } # Fouques + 1132.1.1 = { holder = et_aix_1178_4 } # Pons + 1162.1.1 = { holder = et_aix_1178_3 } # Pierre + 1165.1.1 = { holder = et_aix_1178_2 } # Hugues + 1178.1.1 = { holder = et_aix_1178_1 } # Bertrand +} + +d_et_embrun = { # Embrun + 794.1.1 = { + holder = et_embrun_867_3 # Bernardus + government = ecclesiastical_government + clerical_region = et_867_embrun_region + } + 829.1.1 = { holder = et_embrun_867_2 } # Agéric + 853.1.1 = { holder = et_embrun_867_1 } # Aribert + # 1066 + 876.1.1 = { holder = et_embrun_1066_17 } # Bermond + 878.1.1 = { holder = et_embrun_1066_16 } # Aribert + 886.1.1 = { holder = et_embrun_1066_15 } # Ermold + 890.1.1 = { holder = et_embrun_1066_14 } # Arnaud + 900.1.1 = { holder = et_embrun_1066_13 } # Benoît + 920.1.1 = { holder = et_embrun_1066_12 } # Libéral + 943.1.1 = { holder = et_embrun_1066_11 } # Boso + 970.1.1 = { holder = et_embrun_1066_10 } # Amédée + 992.1.1 = { holder = et_embrun_1066_9 } # Ponce + 1007.1.1 = { holder = et_embrun_1066_8 } # Ismidias + 1016.1.1 = { holder = et_embrun_1066_7 } # Radon + 1033.1.1 = { holder = et_embrun_1066_6 } # Hismidon + 1048.1.1 = { holder = et_embrun_1066_5 } # Vivemne + 1050.1.1 = { holder = et_embrun_1066_4 } # Guinervinaire + 1054.1.1 = { holder = et_embrun_1066_3 } # Hugues + 1055.1.1 = { holder = et_embrun_1066_2 } # Viminien + 1066.1.1 = { holder = et_embrun_1066_1 } # Guillaume + # 1178.1.1 + 1077.1.1 = { holder = et_embrun_1178_7 } # Pierre + 1080.1.1 = { holder = et_embrun_1178_6 } # Lantelme + 1105.1.1 = { holder = et_embrun_1178_5 } # Benoît + 1120.1.1 = { holder = et_embrun_1178_4 } # Guillaume + 1135.1.1 = { holder = et_embrun_1178_3 } # Guillaume + 1170.1.9 = { holder = et_embrun_1178_2 } # Raimond + 1177.1.1 = { holder = et_embrun_1178_1 } # Pierre +} + +# Italy +d_et_milano = { # Milano + 374.1.1 = { + holder = saint_0007 # Ambrose + government = ecclesiastical_government + clerical_region = et_867_milano_region + } + 397.1.1 = { holder = et_milano_867_43 } # Simplician + 400.1.1 = { holder = et_milano_867_42 } # Venerius + 408.1.1 = { holder = et_milano_867_41 } # Marolus + 423.1.1 = { holder = et_milano_867_40 } # Martinianus + 436.1.1 = { holder = et_milano_867_39 } # Glycerius + 438.1.1 = { holder = et_milano_867_38 } # Lazarus + 449.1.1 = { holder = et_milano_867_37 } # Eusebius + 462.1.1 = { holder = et_milano_867_36 } # Gerontius + 465.1.1 = { holder = et_milano_867_35 } # Benignus + 472.1.1 = { holder = et_milano_867_34 } # Senator + 475.1.1 = { holder = et_milano_867_33 } # Theodorus I + 490.1.1 = { holder = et_milano_867_32 } # Lawrence I + 512.1.1 = { holder = et_milano_867_31 } # Eustorgius II + 518.1.1 = { holder = et_milano_867_30 } # Magnus + 530.1.1 = { holder = et_milano_867_29 } # Dacius + 552.1.1 = { holder = et_milano_867_28 } # Vitale + 556.1.1 = { holder = et_milano_867_27 } # Ausanus + 560.1.1 = { holder = et_milano_867_26 } # Honoratus + 571.1.1 = { holder = et_milano_867_25 } # Frontone + 573.1.1 = { holder = et_milano_867_24 } # Lawrence II + 593.1.1 = { holder = et_milano_867_23 } # Constantius + 601.1.1 = { holder = et_milano_867_22 } # Deodatus + 629.1.1 = { holder = et_milano_867_21 } # Asterius + 639.1.1 = { holder = et_milano_867_20 } # Forte + 641.1.1 = { holder = et_milano_867_19 } # John the Good + 669.1.1 = { holder = et_milano_867_18 } # Antoninus + 671.1.1 = { holder = et_milano_867_17 } # Maurilius + 671.1.2 = { holder = et_milano_867_16 } # Ampelius + 676.1.1 = { holder = et_milano_867_15 } # Mansuetus + 685.1.1 = { holder = et_milano_867_14 } # Benedict + 732.1.1 = { holder = et_milano_867_13 } # Theodorus II + 746.1.1 = { holder = et_milano_867_12 } # Natalis + 747.1.1 = { holder = et_milano_867_11 } # Arifred + 748.1.1 = { holder = et_milano_867_10 } # Stabile + 751.1.1 = { holder = et_milano_867_9 } # Leto + 755.1.1 = { holder = et_milano_867_8 } # Tomaso + 783.1.1 = { holder = et_milano_867_7 } # Pietro + 803.1.1 = { holder = et_milano_867_6 } # Odelperto + 813.1.1 = { holder = et_milano_867_5 } # Anselmo I + 818.1.1 = { holder = et_milano_867_4 } # Bono + 822.1.1 = { holder = et_milano_867_3 } # Angilberto I + 824.1.1 = { holder = et_milano_867_2 } # Angilberto II Pusterla + 860.1.1 = { holder = et_milano_867_1 } # Tadone + # 1066 + 868.1.1 = { holder = et_milano_1066_18 } # Ansperto + 882.1.1 = { holder = et_milano_1066_17 } # Anselmo II + 896.1.1 = { holder = et_milano_1066_16 } # Landolfo I + 899.1.1 = { holder = et_milano_1066_15 } # Andrea + 906.1.1 = { holder = et_milano_1066_14 } # Aicone + 918.1.1 = { holder = et_milano_1066_13 } # Garimberto + 921.1.1 = { holder = et_milano_1066_12 } # Lamperto + 931.1.1 = { holder = et_milano_1066_11 } # Ilduino + 936.1.1 = { holder = et_milano_1066_10 } # Arderico + 948.10.15 = { holder = et_milano_1066_9 } # Manasse + 948.12.1 = { holder = et_milano_1066_8 } # Adelmano + 953.1.1 = { holder = et_milano_1066_7 } # Valperto + 970.1.1 = { holder = et_milano_1066_6 } # Arnolfo I + 974.7.27 = { holder = et_milano_1066_5 } # Gotofredo + 979.12.23 = { holder = et_milano_1066_4 } # Landolfo II + 998.5.19 = { holder = cisalpine0658 } # Arnolfo II + 1018.3.16 = { holder = et_milano_1066_2 } # Ariberto + 1045.1.1 = { holder = et_milano_1066_1 } # Guido + # 1178 + 1071.8.23 = { holder = et_milano_1178_13 } # Attone + 1075.1.1 = { holder = et_milano_1178_12 } # Tebaldo + 1086.7.1 = { holder = et_milano_1178_11 } # Anselmo + 1093.12.6 = { holder = et_milano_1178_10 } # Arnolfo + 1097.11.3 = { holder = et_milano_1178_9 } # Anselmo + 1102.1.1 = { holder = et_milano_1178_8 } # Pietro + 1112.1.1 = { holder = et_milano_1178_7 } # Giordano + 1120.11.17 = { holder = et_milano_1178_6 } # Olrico + 1126.6.30 = { holder = et_milano_1178_5 } # Anselmo + 1135.8.2 = { holder = et_milano_1178_4 } # Robaldo + 1146.1.18 = { holder = et_milano_1178_3 } # Umberto + 1166.1.1 = { holder = et_milano_1178_2 } # Galdino + 1176.7.2 = { holder = et_milano_1178_1 } # Algisio + 1178.1.1 = { clerical_region = et_1178_milano_region } +} + +d_et_genoa = { # Genoa + 1133.3.20 = { + holder = et_genoa_1178_2 # Siro + government = ecclesiastical_government + clerical_region = et_1178_genoa_region + } + 1163.10.1 = { holder = et_genoa_1178_1 } # Ugone +} + +d_et_cagliari = { # Cagliari + 484.1.1 = { + holder = et_cagliari_867_9 # Lucifero + government = ecclesiastical_government + clerical_region = et_867_cagliari_region + } + 517.1.1 = { holder = et_cagliari_867_8 } # Gianuario + 591.1.1 = { holder = et_cagliari_867_7 } # Gianuario + 649.1.1 = { holder = et_cagliari_867_6 } # Guistino + 680.1.1 = { holder = et_cagliari_867_5 } # Citonato + 692.1.1 = { holder = et_cagliari_867_4 } # Anonimo + 787.1.1 = { holder = et_cagliari_867_3 } # Tomaso + 847.1.1 = { holder = et_cagliari_867_2 } # Giovanni + 855.1.1 = { holder = et_cagliari_867_1 } # Arsenio + # 1066 + 964.1.1 = { holder = et_cagliari_1066_3 } # Citonato + 1017.1.1 = { holder = et_cagliari_1066_2 } # Umberto + 1066.1.1 = { + holder = et_cagliari_1066_1 # Alfredo + clerical_region = et_1066_cagliari_region + } + # 1178 + 1073.1.1 = { holder = et_cagliari_1178_9 } # Giacomo + 1089.1.1 = { holder = et_cagliari_1178_8 } # Lamberto + 1089.1.2 = { holder = et_cagliari_1178_7 } # Ugo + 1090.1.1 = { holder = et_cagliari_1178_6 } # Benedetto + 1112.1.1 = { holder = et_cagliari_1178_5 } # Gualfredo + 1118.1.1 = { holder = et_cagliari_1178_4 } # Guglielmo + 1126.1.1 = { holder = et_cagliari_1178_3 } # Pietro + 1141.1.1 = { holder = et_cagliari_1178_2 } # Costantino + 1163.1.1 = { holder = et_cagliari_1178_1 } # Bonato + 1178.1.1 = { clerical_region = et_1178_cagliari_region } +} + +d_et_torres = { # Torres + 1073.1.1 = { + holder = et_torres_1178_8 # Costantino + government = ecclesiastical_government + clerical_region = et_1178_torres_region + } + 1120.1.1 = { holder = et_torres_1178_7 } # Vitale + 1127.1.1 = { holder = et_torres_1178_6 } # Costantino + 1133.1.1 = { holder = et_torres_1178_5 } # Attone + 1134.1.1 = { holder = et_torres_1178_4 } # Pietro + 1139.1.1 = { holder = et_torres_1178_3 } # Attone + 1153.1.1 = { holder = et_torres_1178_2 } # Pietro + 1170.1.1 = { holder = et_torres_1178_1 } # Alberto +} + +d_et_oristano = { # Oristano + 1178.1.1 = { + government = ecclesiastical_government + clerical_region = et_1178_oristano_region + } +} + +d_et_reggio_calabria = { # Reggio Calabria + 590.1.1 = { + holder = et_reggio_867_8 # Lucio + government = ecclesiastical_government + clerical_region = et_867_reggio_calabria_region + } + 590.1.2 = { holder = et_reggio_867_7 } # Bonifacio + 604.1.1 = { holder = et_reggio_867_6 } # Cristoforo + 646.1.1 = { holder = et_reggio_867_5 } # Giovanni + 679.1.1 = { holder = et_reggio_867_4 } # Giovanni + 787.1.1 = { holder = et_reggio_867_3 } # Costantino + 800.1.1 = { holder = et_reggio_867_2 } # Ipazio + 821.1.1 = { holder = et_reggio_867_1 } # Giovanni + 840.1.1 = { holder = 0 } + # 1066 + 976.1.1 = { holder = et_reggio_1066_9 } # Teofilatto + 982.1.1 = { holder = et_reggio_1066_8 } # Eusebio + 1001.1.1 = { holder = et_reggio_1066_7 } # Anonimo + 1004.1.1 = { holder = et_reggio_1066_6 } # Nicomede + 1013.1.1 = { holder = et_reggio_1066_5 } # Leone + 1030.1.1 = { holder = et_reggio_1066_4 } # Nicola + 1044.1.1 = { holder = et_reggio_1066_3 } # Stefano + 1052.1.1 = { holder = et_reggio_1066_2 } # Giovanni + 1059.1.1 = { holder = et_reggio_1066_1 } # Basilio + 1066.1.1 = { clerical_region = et_1066_reggio_calabria_region } + # 1178 + 1078.1.1 = { holder = et_reggio_1178_10 } # Arnolfo + 1082.1.1 = { holder = et_reggio_1178_9 } # Guglielmo + 1090.1.1 = { holder = et_reggio_1178_8 } # Bruno + 1092.1.1 = { holder = et_reggio_1178_7 } # Rangier + 1111.1.1 = { holder = et_reggio_1178_6 } # Henricus + 1118.1.1 = { holder = et_reggio_1178_5 } # Rodolfo + 1122.1.1 = { holder = et_reggio_1178_4 } # Bernardo + 1124.1.1 = { holder = et_reggio_1178_3 } # Guglielmo + 1146.1.1 = { holder = et_reggio_1178_2 } # Ruggero + 1170.1.1 = { holder = et_reggio_1178_1 } # Tommaso + 1178.1.1 = { clerical_region = et_1178_reggio_calabria_region } +} + +d_et_cosenza = { # Cosenza + 1177.1.1 = { + holder = et_cosenza_1178_1 # Ruffus + government = ecclesiastical_government + clerical_region = et_1178_cosenza_region + } +} + +d_et_messina = { # Messina + 1166.1.1 = { + holder = et_cosenza_1178_1 # Nicolò + government = ecclesiastical_government + clerical_region = et_1178_messina_region + } +} + +d_et_palermo = { # Palermo + 1065.1.1 = { + holder = et_palermo_1066_1 # Nicodemo + government = ecclesiastical_government + clerical_region = et_1066_palermo_region + } + # 1178 + 1083.1.1 = { holder = et_palermo_1178_8 } # Algherio + 1111.1.1 = { holder = et_palermo_1178_7 } # Gualtiero + 1123.1.1 = { holder = et_palermo_1178_6 } # Pietro + 1141.1.1 = { holder = et_palermo_1178_5 } # Ugo + 1150.1.1 = { holder = et_palermo_1178_4 } # Ugo + 1156.1.1 = { clerical_region = et_1178_palermo_region } + 1161.1.1 = { holder = et_palermo_1178_3 } # Romualdo + 1167.1.1 = { holder = et_palermo_1178_2 } # Stefan + 1169.2.1 = { holder = et_palermo_1178_1 } # Gualtiero +} + +d_et_santa_severina = { # Santa Severina + 895.1.1 = { + holder = et_santa_severina_1066_6 # Giovanni + government = ecclesiastical_government + clerical_region = et_1066_santa_severina_region + } + 970.1.1 = { holder = et_santa_severina_1066_5 } # Stefano + 980.1.1 = { holder = et_santa_severina_1066_4 } # Blattone + 997.1.1 = { holder = et_santa_severina_1066_3 } # Basilio + 1032.1.1 = { holder = et_santa_severina_1066_2 } # Giovanni + 1036.1.1 = { holder = et_santa_severina_1066_1 } # Ambrogio + # 1178 + 1089.1.1 = { holder = et_santa_severina_1178_7 } # Stefano + 1099.1.1 = { holder = et_santa_severina_1178_6 } # Costantino + 1115.1.1 = { holder = et_santa_severina_1178_5 } # Severo + 1118.1.1 = { holder = et_santa_severina_1178_4 } # Gregorio + 1130.1.1 = { holder = et_santa_severina_1178_3 } # Giovanni + 1132.1.1 = { holder = et_santa_severina_1178_2 } # Romano + 1178.1.1 = { holder = et_santa_severina_1178_1 } # Andrea +} + +d_et_ravenna = { # Ravenna + 430.1.1 = { + holder = et_ravenna_867_26 # John + government = ecclesiastical_government + clerical_region = et_867_ravenna_region + } + 477.1.1 = { holder = et_ravenna_867_25 } # John II + 546.1.1 = { holder = et_ravenna_867_24 } # Maximianus + 556.1.1 = { holder = et_ravenna_867_23 } # Agnellus + 569.1.1 = { holder = et_ravenna_867_22 } # Peter III the Elder + 578.1.1 = { holder = et_ravenna_867_21 } # John III + 595.1.1 = { holder = et_ravenna_867_20 } # Mariniano + 607.1.1 = { holder = et_ravenna_867_19 } # John IV + 625.1.1 = { holder = et_ravenna_867_18 } # John V + 631.1.1 = { holder = et_ravenna_867_17 } # Bonus + 644.1.1 = { holder = et_ravenna_867_16 } # Maurus + 671.1.1 = { holder = et_ravenna_867_15 } # Reparatus + 677.1.1 = { holder = et_ravenna_867_14 } # Theodorus + 692.1.1 = { holder = et_ravenna_867_13 } # Damian + 709.1.1 = { holder = et_ravenna_867_12 } # Felix + 726.1.1 = { holder = et_ravenna_867_11 } # John VI + 744.1.1 = { holder = et_ravenna_867_10 } # Sergius + 770.1.1 = { holder = et_ravenna_867_9 } # Leo I + 777.1.1 = { holder = et_ravenna_867_8 } # John VII + 785.1.1 = { holder = et_ravenna_867_7 } # Gratiosus + 789.1.1 = { holder = et_ravenna_867_6 } # Valerius + 810.1.1 = { holder = et_ravenna_867_5 } # Martin + 818.1.1 = { holder = et_ravenna_867_4 } # Petronax + 837.1.1 = { holder = et_ravenna_867_3 } # George + 847.1.1 = { holder = et_ravenna_867_2 } # Deusdedit + 850.1.1 = { holder = et_ravenna_867_1 } # John VIII + # 1066 + 878.1.1 = { holder = et_ravenna_1066_18 } # Romano + 889.1.1 = { holder = et_ravenna_1066_17 } # Deusdedit + 898.1.1 = { holder = et_ravenna_1066_16 } # John IX + 905.1.1 = { holder = 7837 } # Pope John X + 914.3.1 = { holder = et_ravenna_1066_14 } # Constantine + 927.1.1 = { holder = et_ravenna_1066_13 } # Peter IV + 971.1.1 = { holder = et_ravenna_1066_12 } # Onestus + 983.1.1 = { holder = et_ravenna_1066_11 } # Giovanni + 998.1.1 = { holder = 7824 } # Gerbert (Pope Silvester II) + 999.2.18 = { holder = et_ravenna_1066_9 } # Leo II + 1001.1.1 = { holder = et_ravenna_1066_8 } # Federico + 1004.1.1 = { holder = et_ravenna_1066_7 } # Ethelbert + 1014.1.1 = { holder = et_ravenna_1066_6 } # Arnoldo + 1019.1.1 = { holder = et_ravenna_1066_5 } # Eriberto + 1027.1.1 = { holder = et_ravenna_1066_4 } # Gebeardo + 1044.1.1 = { holder = et_ravenna_1066_3 } # Witgero + 1046.1.1 = { holder = et_ravenna_1066_2 } # Hunfredus + 1051.1.1 = { + liege = e_hre + holder = 7740 # Enrico + } + # 1178 + 1072.1.1 = { holder = 73529 } # Riccardo + 1119.1.1 = { holder = 73534 } # Gualtiero + 1144.1.1 = { holder = 73535 } # Mosè + 1155.1.1 = { holder = 73537 } # Anselmo + 1159.1.1 = { holder = 73538 } # Guido + 1169.1.1 = { holder = 73539 } # Gerardo +} + +d_et_roma = { # Roma + 30.1.1 = { + holder = 145292 + government = ecclesiastical_government + clerical_region = et_867_roma_region + } + 64.10.13 = { + holder = 145291 + } + 79.1.1 = { + holder = 7615 + } + 92.1.1 = { + holder = 7614 + } + 99.1.1 = { + holder = 7613 + } + 107.1.1 = { + holder = 7612 + } + 115.1.1 = { + holder = 7611 + } + 125.1.1 = { + holder = 7610 + } + 137.1.1 = { + holder = 7609 + } + 140.1.1 = { + holder = 7608 + } + 154.1.1 = { + holder = 7607 + } + 167.4.20 = { + holder = 7606 + } + 174.1.1 = { + holder = 7605 + } + 189.1.1 = { + holder = 7604 + } + 199.1.1 = { + holder = 7603 + } + 217.12.20 = { + holder = 7602 + } + 222.10.14 = { + holder = 7601 + } + 230.1.1 = { + holder = 7600 + } + 235.9.29 = { + holder = 7799 + } + 236.1.3 = { + holder = 7798 + } + 250.1.20 = { + holder = 7797 + } + 253.6.1 = { + holder = 7796 + } + 254.3.5 = { + holder = 7795 + } + 257.8.2 = { + holder = 7794 + } + 258.8.6 = { + holder = 7793 + } + 268.12.26 = { + holder = 7792 + } + 274.12.30 = { + holder = 7791 + } + 283.7.12 = { + holder = 7790 + } + 296.4.22 = { + holder = 7789 + } + 304.4.1 = { + holder = 7787 + } + 309.1.16 = { + holder = 7786 + } + 310.8.17 = { + holder = 7785 + } + 314.1.10 = { + holder = 7784 + } + 335.12.31 = { + holder = 7783 + } + 336.10.7 = { + holder = 7782 + } + 352.4.12 = { + holder = 7781 + } + 366.9.24 = { + holder = 7780 + } + 384.12.11 = { + holder = 7779 + } + 399.11.26 = { + holder = 7778 + } + 401.11.27 = { + holder = 7777 + } + 417.3.12 = { + holder = 7776 + } + 418.12.26 = { + holder = 7775 + } + 422.9.4 = { + holder = 7774 + } + 432.4.6 = { + holder = 7773 + } + 440.8.18 = { + holder = 7772 + } + 461.11.10 = { + holder = 7771 + } + 468.2.28 = { + holder = 7770 + } + 483.3.10 = { + holder = 7769 + } + 492.1.1 = { + holder = 7768 + } + 496.11.21 = { + holder = 7767 + } + 498.11.19 = { + holder = 7766 + } + 514.7.19 = { + holder = 7765 + } + 523.8.6 = { + holder = 7763 + } + 526.5.18 = { + holder = 7762 + } + 530.1.1 = { + holder = 7761 + } + 532.1.1 = { + holder = 7760 + } + 535.5.13 = { + holder = 7759 + } + 536.6.8 = { + holder = 7764 + } + 537.3.29 = { + holder = 7900 + } + 555.6.7 = { + holder = 7899 + } + 561.3.4 = { + holder = 7898 + } + 574.7.13 = { + holder = 7897 + } + 579.7.20 = { + holder = 7896 + } + 590.1.1 = { + holder = 7893 + } + 604.3.15 = { + holder = 7892 + } + 606.2.22 = { + holder = 7891 + } + 607.11.12 = { + holder = 7890 + } + 615.5.25 = { + holder = 7889 + } + 618.11.8 = { + holder = 7888 + } + 625.10.25 = { + holder = 7887 + } + 638.10.12 = { + holder = 7886 + } + 640.8.2 = { + holder = 7885 + } + 642.10.12 = { + holder = 7884 + } + 649.5.14 = { + holder = 7883 + } + 653.7.17 = { + holder = 7882 + } + 657.6.1 = { + holder = 7881 + } + 672.1.27 = { + holder = 7880 + } + 676.6.17 = { + holder = 7879 + } + 678.4.11 = { + holder = 7878 + } + 681.1.10 = { + holder = 7877 + } + 683.7.3 = { + holder = 7876 + } + 685.5.8 = { + holder = 7875 + } + 686.8.2 = { + holder = 7874 + } + 687.9.21 = { + holder = 7873 + } + 701.9.8 = { + holder = 7872 + } + 705.1.11 = { + holder = 7871 + } + 707.10.18 = { + holder = 7870 + } + 708.2.4 = { + holder = 7869 + } + 715.4.9 = { + holder = 7868 + } + 731.2.11 = { + holder = 7867 + } + 741.11.28 = { + holder = 7866 + } + 752.3.22 = { + holder = 7895 + } + 757.4.29 = { + holder = 7865 + } + 767.6.28 = { + holder = 7864 + } + 772.1.24 = { + holder = 7863 + } + 795.12.25 = { + holder = 7862 + } + 816.6.12 = { + holder = 7861 + } + 817.1.24 = { + holder = 7860 + } + 824.2.11 = { + holder = 7859 + } + 827.8.27 = { + holder = 7858 + } + 827.9.16 = { + holder = 7857 + } + 844.1.11 = { + holder = 7856 + } + 847.1.24 = { + holder = 7855 + } + 855.7.17 = { + holder = 7854 + } + 858.4.17 = { + holder = 7853 # Nicolaus + } + 867.11.13 = { + holder = 7852 + } + 872.12.14 = { + holder = 7851 + } + 882.12.16 = { + holder = 7850 + } + 884.5.15 = { + holder = 7849 + } + 885.9.1 = { + holder = 7848 + } + 891.9.14 = { + holder = 7847 + } + 896.4.4 = { + holder = 7846 + } + 896.5.1 = { + holder = 7845 + } + 897.8.1 = { + holder = 7844 + } + 897.11.1 = { + holder = 7843 + } + 897.12.1 = { + holder = 7842 + } + 900.1.1 = { + holder = 7841 + } + 903.7.1 = { + holder = 7840 + } + 903.9.1 = { + holder = 7916 + } + 911.4.14 = { + holder = 7839 + } + 913.7.1 = { + holder = 7838 + } + 914.3.1 = { + holder = 7837 + } + 928.5.1 = { + holder = 7836 + } + 929.1.1 = { + holder = 7835 + } + 931.3.15 = { + holder = 7917 + } + 935.12.20 = { + holder = 7834 + } + 939.7.13 = { + holder = 7833 + } + 942.10.1 = { + holder = 7832 + } + 946.5.1 = { + holder = 7831 + } + 955.12.16 = { + holder = 7931 + } + 964.5.14 = { + holder = 7830 + } + 964.6.23 = { + holder = 7829 + } + 965.3.1 = { + holder = 7828 + } + 972.9.6 = { + holder = 7827 + } + 974.7.1 = { + holder = 7930 + } + 983.7.10 = { + holder = 7826 + } + 984.8.20 = { + holder = 7825 + } + 996.5.3 = { + holder = 1318 + } + 999.2.18 = { + holder = 7824 + } + 1003.5.12 = { + holder = 7823 + } + 1003.12.6 = { + holder = 7822 + } + 1009.7.1 = { + holder = 7821 + } + 1012.5.12 = { + holder = 7933 + } + 1024.8.9 = { + holder = 7934 + } + 1032.10.1 = { + holder = 7937 + } + 1045.1.20 = { + holder = 7820 + } + 1045.3.10 = { + holder = 7937 + } + 1045.5.1 = { + holder = 7819 + } + 1046.12.20 = { + holder = 7818 + } + 1047.10.9 = { + holder = 7937 + } + 1048.7.17 = { + holder = 7817 + } + 1048.8.9 = { + holder = 1338 + } + 1054.4.19 = { + holder = 7894 + } + 1057.8.3 = { + holder = 11034 + } + 1058.3.29 = { + holder = 7940 + } + 1061.7.27 = { + holder = 2008 + } + 1066.1.1 = { clerical_region = et_1066_roma_region } + 1073.4.21 = { + holder = 2010 + } + 1085.5.25 = { + holder = 2012 + } + 1087.9.16 = { + holder = 2013 + } + 1095.1.1 = { + } + 1099.1.1 = { + } + 1099.7.29 = { + holder = 2014 + } + 1118.1.21 = { + holder = 2017 + } + 1119.1.28 = { + holder = 294 + } + 1124.12.13 = { + holder = 2021 + } + 1130.2.13 = { + holder = 71800 + } + 1143.9.24 = { + holder = 71805 + } + 1144.3.8 = { + holder = 71806 + } + 1145.2.15 = { + holder = 71807 + } + 1153.7.8 = { + holder = 71808 + } + 1154.12.3 = { + holder = 71809 + } + 1159.9.1 = { + holder = 71810 + } + 1178.1.1 = { clerical_region = et_1178_roma_region } + 1181.8.30 = { + holder = 71811 + } + 1185.5.25 = { + holder = 223754 + } + 1187.10.20 = { + holder = 71812 + } + 1187.12.17 = { + holder = 71813 + } + 1191.3.20 = { + holder = 70841 + } + 1198.1.8 = { + holder = 71814 + } + 1216.7.16 = { + holder = 71820 + } + 1227.3.18 = { + holder = 71821 + } + 1241.8.22 = { + holder = 71822 + } + 1241.11.10 = { + holder = 71823 + } + 1254.12.7 = { + holder = 71824 + } + 1261.5.25 = { + holder = 71825 + } + 1264.10.2 = { + holder = 71826 + } + 1268.11.29 = { + holder = 70785 + } + 1276.1.10 = { + holder = 71827 + } + 1276.6.22 = { + holder = 71829 + } + 1276.8.18 = { + holder = 71830 + } + 1277.5.20 = { + holder = 70851 + } + 1280.8.22 = { + holder = 71831 + } + 1285.3.28 = { + holder = 71832 + } + 1287.4.3 = { + holder = 71833 + } + 1292.4.4 = { + holder = 71834 + } + 1294.12.13 = { + holder = 71835 + } + 1303.10.11 = { + holder = 71836 + } + 1304.7.7 = { + holder = 71837 + } + 1314.4.20 = { + holder = 71838 + } + 1334.12.20 = { + holder = 478501 + } +} + +d_et_pisa = { # Pisa + 1092.4.21 = { + holder = et_pisa_1178_8 # Dagoberto + government = ecclesiastical_government + clerical_region = et_1178_pisa_region + } + 1104.12.1 = { holder = et_pisa_1178_7 } # Pietro + 1119.1.1 = { holder = et_pisa_1178_6 } # Azzone + 1123.3.24 = { holder = et_pisa_1178_5 } # Rogerio + 1132.1.1 = { holder = et_pisa_1178_4 } # Uberto + 1137.1.1 = { holder = et_pisa_1178_3 } # Balduino + 1146.5.29 = { holder = et_pisa_1178_2 } # Villano + 1176.4.1 = { holder = et_pisa_1178_1 } # Ubaldo +} + +d_et_capua = { # Capua + 966.1.1 = { + holder = et_capua_1066_9 # Giovanni + government = ecclesiastical_government + clerical_region = et_1066_capua_region + } + 974.1.1 = { holder = et_capua_1066_8 } # Leone + 978.1.1 = { holder = et_capua_1066_7 } # Gerberto + 981.1.1 = { holder = et_capua_1066_6 } # Atenolfo + 993.1.1 = { holder = et_capua_1066_5 } # Aione + 993.2.1 = { holder = et_capua_1066_4 } # Isembardo + 1007.1.1 = { holder = et_capua_1066_3 } # Pandolfo + 1022.1.1 = { holder = et_capua_1066_2 } # Atenolfo + 1066.1.1 = { holder = et_capua_1066_1 } # Ildebrando + # 1178 + 1078.1.1 = { holder = et_capua_1178_9 } # Erveo + 1088.1.1 = { holder = et_capua_1178_8 } # Roberto + 1098.1.1 = { holder = et_capua_1178_7 } # Senne + 1118.1.1 = { holder = et_capua_1178_6 } # Ottone + 1129.1.1 = { holder = et_capua_1178_5 } # Filippo + 1129.1.1 = { holder = et_capua_1178_4 } # Ugone + 1135.1.1 = { holder = et_capua_1178_3 } # Gugliemo + 1137.1.1 = { holder = et_capua_1178_2 } # Goffredo + 1157.1.1 = { holder = et_capua_1178_1 } # Alfano +} + +d_et_napoli = { # Napoli + 1005.1.1 = { + holder = et_napoli_1066_5 # Sergio + government = ecclesiastical_government + clerical_region = et_1066_napoli_region + } + 1033.1.1 = { holder = et_napoli_1066_4 } # Giovanni + 1045.1.1 = { holder = et_napoli_1066_3 } # Vittore + 1059.1.1 = { holder = et_napoli_1066_2 } # Sergio + 1065.1.1 = { holder = et_napoli_1066_1 } # Giovanni + # 1178 + 1094.1.1 = { holder = et_napoli_1178_4 } # Pietro + 1116.1.1 = { holder = et_napoli_1178_3 } # Gregorio + 1118.1.1 = { holder = et_napoli_1178_2 } # Marino + 1168.1.1 = { holder = et_napoli_1178_1 } # Sergio +} + +d_et_salerno = { # Salerno + 983.1.1 = { + holder = et_salerno_1066_9 # Amato + government = ecclesiastical_government + clerical_region = et_1066_salerno_region + } + 993.1.1 = { holder = et_salerno_1066_8 } # Dauferio + 994.1.1 = { holder = et_salerno_1066_7 } # Grimoaldo + 1012.1.1 = { holder = et_salerno_1066_6 } # Michele + 1016.1.1 = { holder = et_salerno_1066_5 } # Benedetto + 1019.12.27 = { holder = et_salerno_1066_4 } # Amato + 1032.3.1 = { holder = et_salerno_1066_3 } # Amato + 1047.2.18 = { holder = et_salerno_1066_2 } # Giovanni + 1058.3.15 = { holder = et_salerno_1066_1 } # Alfano + # 1178 + 1085.1.1 = { holder = et_salerno_1178_4 } # Alfano + 1121.9.15 = { holder = et_salerno_1178_3 } # Romualdo + 1130.12.25 = { liege = k_sicily } + 1137.1.1 = { holder = et_salerno_1178_2 } # Guglielmo + 1153.1.1 = { holder = guarna_8 } # Romualdo +} + +d_et_benevento = { # Benevento + 969.5.26 = { + holder = et_benevento_1066_6 # Landolfo + government = ecclesiastical_government + clerical_region = et_1066_benevento_region + } + 983.1.1 = { holder = et_benevento_1066_5 } # Alone + 985.1.1 = { holder = et_benevento_1066_4 } # Alfano + 1001.1.1 = { holder = et_benevento_1066_3 } # Alfano + 1045.1.1 = { holder = et_benevento_1066_2 } # Maldefrido + 1053.1.1 = { holder = et_benevento_1066_1 } # Ouldarico + # 1178.1.1 + 1074.1.1 = { holder = et_benevento_1178_11 } # Milone + 1076.1.1 = { holder = et_benevento_1178_10 } # Roffredo + 1108.1.1 = { holder = et_benevento_1178_9 } # Landolfo + 1108.11.8 = { holder = et_benevento_1178_8 } # Landolfo + 1120.1.1 = { holder = et_benevento_1178_7 } # Roffredo + 1130.1.1 = { holder = et_benevento_1178_6 } # Landolfo + 1132.1.1 = { holder = et_benevento_1178_5 } # Gregorio + 1145.1.1 = { holder = et_benevento_1178_4 } # Roseola + 1146.1.1 = { holder = et_benevento_1178_3 } # Pietro + 1156.1.1 = { holder = et_benevento_1178_2 } # Enrico + 1171.1.1 = { holder = et_benevento_1178_1 } # Lombardo +} + +d_et_bari = { # Bari + 530.1.1 = { + holder = et_bari_867_15 # Pietro I + government = ecclesiastical_government + clerical_region = et_867_bari_region + } + 596.1.1 = { holder = et_bari_867_14 } # Marco + 610.1.1 = { holder = et_bari_867_13 } # Giulio + 634.1.1 = { holder = et_bari_867_12 } # Stefano + 653.1.1 = { holder = et_bari_867_11 } # Ursone + 681.1.1 = { holder = et_bari_867_10 } # Trasmondo + 688.1.1 = { holder = et_bari_867_9 } # Rodecauto + 694.1.1 = { holder = et_bari_867_8 } # Bursa + 753.1.1 = { holder = et_bari_867_7 } # Maurenziano + 759.1.1 = { holder = et_bari_867_6 } # Andrea + 762.1.1 = { holder = et_bari_867_5 } # Rodoaldo I + 781.1.1 = { holder = et_bari_867_4 } # Leone + 821.1.1 = { holder = et_bari_867_3 } # Sebastiano + 828.1.1 = { holder = et_bari_867_2 } # Giacomo + 843.1.1 = { holder = et_bari_867_1 } # Rodoaldo II + 855.1.1 = { holder = et_bari_867_0 } # Angelario + # 1066 + 877.1.1 = { holder = et_bari_1066_15 } # Domenico + 892.1.1 = { holder = et_bari_1066_14 } # Giovanni + 906.1.1 = { holder = et_bari_1066_13 } # Guitpardo + 912.1.1 = { holder = et_bari_1066_12 } # Rodrigo + 920.1.1 = { holder = et_bari_1066_11 } # Giovanni + 924.1.1 = { holder = et_bari_1066_10 } # Alsario + 931.1.1 = { holder = et_bari_1066_9 } # Pietro + 952.1.1 = { holder = et_bari_1066_8 } # Giovanni + 978.1.1 = { holder = et_bari_1066_7 } # Paolo + 988.1.1 = { holder = et_bari_1066_6 } # Crisostomo + 1006.1.1 = { holder = et_bari_1066_5 } # Giovanni + 1025.1.1 = { holder = et_bari_1066_4 } # Bisanzio + 1035.1.1 = { holder = et_bari_1066_3 } # Romoaldo + 1035.2.1 = { holder = et_bari_1066_2 } # Nicola + 1062.1.1 = { holder = et_bari_1066_1 } # Andrea + 1066.1.1 = { clerical_region = et_1066_bari_region } + # 1178 + 1078.6.1 = { holder = et_bari_1178_10 } # Ursone + 1089.2.1 = { holder = et_bari_1178_9 } # Elia + 1101.8.7 = { holder = et_bari_1178_8 } # Elia + 1112.4.2 = { holder = et_bari_1178_7 } # Riso + 1118.1.1 = { holder = et_bari_1178_6 } # Gualtieri + 1126.1.1 = { holder = et_bari_1178_5 } # Matteo + 1128.1.1 = { holder = et_bari_1178_4 } # Angelo + 1137.1.1 = { holder = et_bari_1178_3 } # Giovanni + 1151.1.1 = { holder = et_bari_1178_2 } # Giovanni + 1171.1.1 = { holder = et_bari_1178_1 } # Rainaldo +} + +d_et_trani = { # Trani + 1063.1.1 = { + holder = et_trani_1066_1 + government = ecclesiastical_government + clerical_region = et_1066_trani_region + } + # 1178 + 1129.1.1 = { holder = et_trani_1178_4 } # Veterandus + 1130.1.1 = { holder = et_trani_1178_3 } # Hubaldus + 1150.1.1 = { holder = et_trani_1178_2 } # Bisantius + 1157.1.1 = { holder = et_trani_1178_1 } # Bertrandus +} + +d_et_brindisi = { # Brindisi + 996.1.1 = { + holder = et_brindisi_1066_3 # Giovanni + government = ecclesiastical_government + clerical_region = et_1066_brindisi_region + } + 1040.1.1 = { holder = et_brindisi_1066_2 } # Nardo + 1050.1.1 = { holder = et_brindisi_1066_1 } # Eustachio + # 1178 + 1074.1.1 = { holder = et_brindisi_1178_8 } # Gregorio + 1085.1.1 = { holder = et_brindisi_1178_7 } # Godino + 1100.1.1 = { holder = et_brindisi_1178_6 } # Badovino + 1101.1.1 = { holder = et_brindisi_1178_5 } # Nicola + 1105.1.1 = { holder = et_brindisi_1178_4 } # Guglielmo + 1122.2.22 = { holder = et_brindisi_1178_3 } # Baialardo + 1144.1.1 = { holder = et_brindisi_1178_2 } # Lupo + 1173.1.1 = { holder = et_brindisi_1178_1 } # Guglielmo + +} + +d_et_aquileia = { # Aquileia + 369.1.1 = { + holder = et_aquileia_867_34 # Valerianus + government = ecclesiastical_government + clerical_region = et_867_aquileia_region + } + 388.1.1 = { holder = et_aquileia_867_33 } # Chromatius + 407.1.1 = { holder = et_aquileia_867_32 } # Augustinus + 434.1.1 = { holder = et_aquileia_867_31 } # Adelphus + 442.1.1 = { holder = et_aquileia_867_30 } # Maximus I + 444.1.1 = { holder = et_aquileia_867_29 } # Januarius + 451.1.1 = { holder = et_aquileia_867_28 } # Secundus + 454.1.1 = { holder = et_aquileia_867_27 } # Nicetas + 485.1.1 = { holder = et_aquileia_867_26 } # Marcellianus + 500.1.1 = { holder = et_aquileia_867_25 } # Marcellinus + 515.1.1 = { holder = et_aquileia_867_24 } # Stephen I + 534.1.1 = { holder = et_aquileia_867_23 } # Laurentius + 539.1.1 = { holder = et_aquileia_867_22 } # Macedonius + 557.1.1 = { holder = et_aquileia_867_21 } # Paulinus I + 569.1.1 = { + liege = k_italy + holder = et_aquileia_867_20 # Probinus + } + 571.1.1 = { holder = et_aquileia_867_19 } # Elia + 586.1.1 = { holder = et_aquileia_867_18 } # Severus + 606.1.1 = { holder = et_aquileia_867_17 } # John I + 623.1.1 = { holder = et_aquileia_867_16 } # Marcianus + 628.1.1 = { holder = et_aquileia_867_15 } # Fortunatus + 649.1.1 = { holder = et_aquileia_867_14 } # Felix + 663.1.1 = { holder = et_aquileia_867_13 } # John II + 679.1.1 = { holder = et_aquileia_867_12 } # Agathon + 680.1.1 = { holder = et_aquileia_867_11 } # John III + 698.1.1 = { holder = et_aquileia_867_10 } # Petrus I + 711.1.1 = { holder = et_aquileia_867_9 } # Serenus + 726.1.1 = { holder = et_aquileia_867_8 } # Calixtus + 772.1.1 = { holder = et_aquileia_867_7 } # Siguald + 776.1.1 = { holder = et_aquileia_867_6 } # Paulinus II + 802.1.1 = { holder = et_aquileia_867_5 } # Ursus I + 811.1.1 = { holder = et_aquileia_867_4 } # Maxentius + 834.1.1 = { holder = et_aquileia_867_3 } # Andreas + 850.1.1 = { holder = et_aquileia_867_2 } # Venantius + 855.1.1 = { holder = 167804 } # Lupus I + # 1066 + 875.1.1 = { holder = et_aquileia_1066_12 } # Valpert + 901.1.1 = { holder = et_aquileia_1066_11 } # Frederick I + 922.1.1 = { holder = et_aquileia_1066_10 } # Leo + 928.1.1 = { holder = et_aquileia_1066_9 } # Ursus II + 932.1.1 = { holder = et_aquileia_1066_8 } # Lupus II + 944.1.1 = { holder = et_aquileia_1066_7 } # Engelfred + 963.1.1 = { holder = et_aquileia_1066_6 } # Rodoald + 984.1.1 = { holder = et_aquileia_1066_5 } # John IV + 1019.1.1 = { holder = et_aquileia_1066_4 } # Poppo + 1045.1.1 = { holder = et_aquileia_1066_3 } # Eberhard + 1049.1.1 = { holder = et_aquileia_1066_2 } # Gotebald + 1063.1.1 = { + liege = e_hre + holder = 7700 # Ravengerius + } + # 1178 + 1068.1.1 = { holder = 70825 } # Sieghard + 1077.8.12 = { holder = 70826 } # Heinrich + 1084.3.28 = { holder = 534 } # Federico + 1086.2.23 = { holder = 70827 } # Ulrich + 1121.1.1 = { holder = 70828 } # Gerardo + 1144.1.1 = { holder = 70829 } # Pilgrim + 1161.1.1 = { holder = 70830 } # Ulrich +} + +d_et_esztergom = { # Esztergom + 1000.1.1 = { + holder = et_esztergom_1066_7 # Dominic + government = ecclesiastical_government + clerical_region = et_1066_esztergom_region + } + 1001.1.1 = { holder = et_esztergom_1066_6 } # Sebestyén + 1002.1.1 = { holder = et_esztergom_1066_5 } # Radia + 1007.1.1 = { holder = et_esztergom_1066_4 } # Anastaz-Astrik + 1012.1.1 = { holder = et_esztergom_1066_3 } # Sebestyén + 1046.1.1 = { holder = et_esztergom_1066_2 } # Benedict + 1055.1.1 = { holder = 0 } # vacancy + # 1178 + 1067.1.1 = { + liege = k_hungary + holder = et_esztergom_1178_12 # Dezső + } + 1075.1.1 = { holder = et_esztergom_1178_11 } # Nehemiás + 1093.1.1 = { holder = et_esztergom_1178_10 } # István + 1094.1.1 = { holder = et_esztergom_1178_9 } # Acha + 1095.1.1 = { holder = et_esztergom_1178_8 } # Szerafin + 1105.1.1 = { holder = et_esztergom_1178_7 } # Lőrinc + 1119.1.1 = { holder = et_esztergom_1178_6 } # Marcello + 1127.1.1 = { holder = et_esztergom_1178_5 } # Felicián + 1142.1.1 = { holder = et_esztergom_1178_4 } # Makár + 1146.1.1 = { holder = et_esztergom_1178_3 } # Kökényes + 1151.1.1 = { holder = et_esztergom_1178_2 } # Martyrius + 1161.1.1 = { holder = esztergom_archbishop_1 } # Lukács + 1178.1.1 = { clerical_region = et_1178_esztergom_region } +} + +d_et_kalocsa = { # Kalocsa + 1135.1.1 = { + holder = et_kalocsa_1178_6 # Simon + government = ecclesiastical_government + clerical_region = et_1178_kalocsa_region + } + 1142.1.1 = { holder = et_kalocsa_1178_5 } # Muchia + 1149.1.1 = { holder = et_kalocsa_1178_4 } # Miko + 1167.1.1 = { holder = et_kalocsa_1178_3 } # Sayna + 1169.1.1 = { holder = et_kalocsa_1178_2 } # Kosma + 1176.1.1 = { holder = et_kalocsa_1178_1 } # Endre +} + +d_et_split = { # Split + 500.1.1 = { + government = ecclesiastical_government + clerical_region = et_867_split_region + } + # 867 + 840.1.1 = { holder = et_split_867_2 } # Petar + 860.1.1 = { holder = et_split_867_1 } # Justin + # 1066 + 876.1.1 = { holder = et_split_1066_13 } # Ivan + 881.1.1 = { holder = et_split_1066_12 } # Marino + 887.1.1 = { holder = et_split_1066_11 } # Teodozije + 893.1.1 = { holder = et_split_1066_10 } # Petar + 914.1.1 = { holder = et_split_1066_9 } # Ivan + 928.1.1 = { holder = et_split_1066_8 } # Januarije + 940.1.1 = { holder = et_split_1066_7 } # Frontinijan + 970.1.1 = { holder = et_split_1066_6 } # Martin + 1000.1.1 = { holder = et_split_1066_5 } # Pavao + 1030.1.1 = { holder = et_split_1066_4 } # Martin + 1030.2.1 = { holder = et_split_1066_3 } # Dobralj + 1050.1.1 = { holder = et_split_1066_2 } # Ivan + 1059.1.1 = { holder = et_split_1066_1 } # Lovro + # 1178 + 1110.1.1 = { holder = et_split_1178_9 } # Krescencij + 1112.1.1 = { holder = et_split_1178_8 } # Manasses + 1135.1.1 = { holder = et_split_1178_7 } # Grgur + 1136.1.1 = { holder = et_split_1178_6 } # Gandino + 1159.1.1 = { holder = et_split_1178_5 } # Absalom + 1161.7.2 = { holder = et_split_1178_4 } # Petar + 1166.1.1 = { holder = et_split_1178_3 } # Albert + 1167.1.1 = { holder = et_split_1178_2 } # Gerardo + 1175.1.1 = { holder = et_split_1178_1 } # Ranieri + 1178.1.1 = { clerical_region = et_1178_split_region } +} + +d_et_ohrid = { # Ohrid + 1018.1.1 = { + holder = et_ohrid_1066_4 + government = ecclesiastical_government + clerical_region = et_1066_ohrid_region + } + 1037.1.1 = { holder = et_ohrid_1066_3 } # Leon + 1056.1.1 = { holder = et_ohrid_1066_2 } # Theodulus + 1065.1.1 = { holder = et_ohrid_1066_1 } # Ioannes + # 1178 + 1078.1.1 = { holder = et_ohrid_1178_6 } # Ioannes + 1079.1.1 = { holder = et_ohrid_1178_5 } # Theophylact + 1108.1.1 = { holder = et_ohrid_1178_4 } # Leon + 1120.1.1 = { holder = et_ohrid_1178_3 } # Michael + 1141.1.1 = { holder = et_ohrid_1178_2 } # Ioannes + 1160.1.1 = { holder = et_ohrid_1178_1 } # Constantine +} + +d_et_ragusa = { # Ragusa + 1120.1.1 = { + holder = et_ragusa_1178_3 # Geraldo + government = ecclesiastical_government + clerical_region = et_1178_ragusa_region + } + 1142.1.1 = { holder = et_ragusa_1178_2 } # Andrea + 1153.1.1 = { holder = et_ragusa_1178_1 } # Tribunio + 1178.1.1 = { + government = ecclesiastical_government + } +} + +# Germany +d_et_salzburg = { # Salzburg + 785.1.1 = { + liege = k_east_francia + holder = et_salzburg_867_4 # Arno + government = ecclesiastical_government + clerical_region = et_867_salzburg_region + } + 821.1.1 = { holder = et_salzburg_867_3 } # Adalram + 836.1.1 = { holder = et_salzburg_867_2 } # Liupram + 859.1.1 = { holder = 163056 } # Adalwin + # 1066 + 873.5.14 = { holder = et_salzburg_1066_12 } # Adalbert + 874.7.30 = { holder = et_salzburg_1066_11 } # Dietmar + 907.7.4 = { holder = et_salzburg_1066_10 } # Pilgrim + 923.1.1 = { holder = et_salzburg_1066_9 } # Adalbert + 935.1.1 = { holder = et_salzburg_1066_8 } # Egilholf + 939.1.1 = { holder = 168305 } # Herhold + 958.1.1 = { holder = et_salzburg_1066_6 } # Friedrich + 991.1.1 = { holder = hartwiger_4 } # Hartwig + 1023.1.1 = { holder = et_salzburg_1066_4 } # Günther + 1025.1.1 = { holder = et_salzburg_1066_3 } # Dietmar + 1041.1.1 = { holder = et_salzburg_1066_2 } # Baldwin + 1060.1.1 = { holder = 20259 } # Gebhard + 1066.1.1 = { liege = e_hre } + # 1178 + 1090.1.1 = { holder = 33410 } # Thiemo + 1101.9.28 = { holder = 93833 } # Konrad + 1147.4.9 = { holder = 93834 } # Eberhard + 1164.6.22 = { holder = 144190 } # Konrad + 1168.11.1 = { holder = 212858 } # Vojtěch + 1177.8.9 = { + holder = 7557 # Konrad + liege = e_hre + } +} + +d_et_trier = { # Trier + 791.1.1 = { + holder = et_trier_867_5 # Richbod + government = ecclesiastical_government + clerical_region = et_867_trier_region + liege = k_lotharingia + } + 804.10.1 = { holder = et_trier_867_4 } # Waso + 809.1.1 = { holder = et_trier_867_3 } # Amalhar + 814.1.1 = { holder = et_trier_867_2 } # Hetto + 847.1.1 = { holder = et_trier_867_1 } # Theutgaud + # 1066 + 869.1.1 = { holder = 163051 } # Bertolf + 883.2.10 = { holder = et_trier_1066_12 } # Radbod + 915.1.1 = { holder = et_trier_1066_11 } # Rudgar + 930.1.1 = { holder = et_trier_1066_10 } # Rotbert + 956.1.1 = { holder = et_trier_1066_9 } # Heinrich + 965.1.1 = { holder = et_trier_1066_8 } # Dietrich + 977.1.1 = { holder = et_trier_1066_7 } # Egbert + 994.1.1 = { holder = et_trier_1066_6 } # Ludolf + 1008.1.1 = { holder = et_trier_1066_5 } # Adalbero + 1016.1.1 = { holder = 183189 } # Poppo + 1047.6.16 = { holder = et_trier_1066_3 } # Eberhard + 1066.1.1 = { holder = et_trier_1066_2 } # Kuno + 1066.2.1 = { + liege = e_hre + holder = 33109 # Udo + } + # 1178 + 1078.11.1 = { holder = 33112 } # Egilbert + 1101.1.1 = { holder = 33113 } # Bruno + 1124.4.25 = { holder = 33112 } # Gottfried + 1127.1.1 = { holder = 33113 } # Meginher + 1130.10.1 = { holder = 33114 } # Adelbero + 1152.1.18 = { holder = 33115 } # Hillin + 1169.10.23 = { holder = 33116 } # Arnold + +} + +d_et_gniezno = { # Gniezno + 999.1.1 = { + holder = et_gniezno_1066_5 # Radzym + government = ecclesiastical_government + clerical_region = et_1066_gniezno_region + } + 1006.1.1 = { holder = et_gniezno_1066_4 } # Hipolit + 1025.4.18 = { liege = k_poland } + 1027.1.1 = { holder = et_gniezno_1066_3 } # Bossuta + 1039.1.1 = { holder = et_gniezno_1066_2 } # Stefan + 1059.1.1 = { holder = et_gniezno_1066_1 } # Piotr I + # 1178 + 1092.1.1 = { holder = 96075 } # Marcin + 1112.1.1 = { holder = 302014 } # Heinrich + 1119.1.1 = { holder = 96076 } # Jakub + 1149.1.1 = { holder = 96077 } # Janik + 1167.1.1 = { holder = et_gniezno_1178_2 } # Bogumił + 1170.1.1 = { holder = 302015 } # Zdzislaw + 1178.1.1 = { + clerical_region = et_1178_gniezno_region + } +} + +d_et_mainz = { # Mainz + 745.1.1 = { + liege = k_east_francia + holder = walpurga_6 # Saint Boniface + government = ecclesiastical_government + clerical_region = et_867_mainz_region + } + 754.6.5 = { holder = 190565 } # Lullus + 787.1.1 = { holder = et_mainz_867_6 } # Richholf + 813.1.1 = { holder = et_mainz_867_5 } # Adolf + 826.1.1 = { holder = et_mainz_867_4 } # Odgar + 848.1.1 = { holder = et_mainz_867_3 } # Maurus + 856.2.4 = { holder = 90098 } # Karl + 863.11.30 = { holder = 168593 } # Liutbert + # 1066 + 889.2.17 = { holder = et_mainz_1066_14 } # Sunderhold + 891.1.1 = { holder = et_mainz_1066_13 } # Hatto + 913.1.1 = { holder = et_mainz_1066_12 } # Herigar + 927.1.1 = { holder = et_mainz_1066_11 } # Hildebert + 937.1.1 = { holder = 163046 } # Frederick + 954.10.1 = { holder = 163047 } # William + 968.3.2 = { holder = et_mainz_1066_8 } # Hatto + 970.1.1 = { holder = et_mainz_1066_7 } # Rudbrecht + 975.1.1 = { holder = et_mainz_1066_6 } # Willigis + 1011.1.1 = { holder = et_mainz_1066_5 } # Erkanbald + 1021.1.1 = { holder = aribonen_5 } # Aribo + 1031.4.6 = { holder = et_mainz_1066_3 } # Bardo + 1051.1.1 = { holder = 163048 } # Luitpold + 1060.1.1 = { holder = 20256 } # Siegfried + 1066.1.1 = { + liege = e_hre + clerical_region = et_1066_mainz_region + } + # 1178 + 1084.2.16 = { holder = 7530 } # Wezilo + 1088.1.1 = { holder = 7531 } # Ruthard + 1109.1.1 = { holder = 7532 } # Adelbert + 1137.1.1 = { holder = 7533 } # Adelbert + 1141.1.1 = { holder = 7534 } # Markholf + 1142.1.1 = { holder = 7535 } # Henrich + 1153.1.1 = { holder = 7536 } # Arnold + 1160.6.24 = { holder = 7537 } # Christian + 1161.6.20 = { holder = 7557 } # Konrad + 1165.1.1 = { holder = 7537 } # Christian + 1178.1.1 = { + clerical_region = et_1178_mainz_region + } +} + +d_et_magdeburg = { # Magdeburg + 968.10.1 = { + holder = et_magdeburg_1066_8 # Adalberto + government = ecclesiastical_government + clerical_region = et_1066_magdeburg_region + } + 981.6.21 = { holder = et_magdeburg_1066_7 } # Giselher + 1004.2.4 = { holder = et_magdeburg_1066_6 } # Tagino + 1012.6.15 = { holder = et_magdeburg_1066_5 } # Waltaro + 1012.9.22 = { holder = et_magdeburg_1066_4 } # Gero + 1023.10.22 = { holder = et_magdeburg_1066_3 } # Humfrid + 1052.1.1 = { holder = et_magdeburg_1066_2 } # Engelhard + 1063.9.1 = { holder = 20263 } # Werner + 1066.1.1 = { liege = e_hre } + # 1178 + 1079.8.7 = { holder = 30238 } # Hartwig + 1102.6.1 = { holder = et_magdeburg_1178_7 } # Heinrich + 1107.5.1 = { holder = et_magdeburg_1178_6 } # Adalgod + 1119.1.1 = { holder = et_magdeburg_1178_5 } # Rudigar + 1126.7.18 = { holder = et_magdeburg_1178_4 } # Norbert + 1134.7.1 = { holder = et_magdeburg_1178_3 } # Konrad + 1142.5.7 = { holder = et_magdeburg_1178_2 } # Friedrich + 1152.11.1 = { + holder = 144205 # Wichmann + clerical_region = et_1178_magdeburg_region + } +} + +d_et_cologne = { # Cologne + 784.1.1 = { + liege = k_lotharingia + holder = et_cologne_867_6 # Hildebold + government = ecclesiastical_government + clerical_region = et_867_cologne_region + } + 818.1.1 = { holder = et_cologne_867_5 } # Hadbold + 842.1.1 = { holder = et_cologne_867_4 } # Hildwin + 850.1.1 = { holder = et_cologne_867_3 } # Günther + 864.1.1 = { holder = et_cologne_867_2 } # Hugo + 867.1.1 = { holder = 163052 } # Wilibert + # 1066 + 890.1.1 = { holder = et_cologne_1066_11 } # Hermann + 924.4.11 = { holder = 161539 } # Wigfried + 953.7.9 = { holder = 1290 } # Bruno + 965.1.1 = { holder = et_cologne_1066_8 } # Volkmar + 969.1.1 = { holder = 168572 } # Gero + 976.6.29 = { holder = et_cologne_1066_6 } # Warin + 984.1.1 = { holder = et_cologne_1066_5 } # Ebergar + 999.1.1 = { holder = et_cologne_1066_4 } # Heribert + 1021.1.1 = { holder = aribonen_7 } # Pilgrim + 1036.8.25 = { holder = ezzonen_1 } # Hermann + 1056.2.11 = { holder = 20228 } # Anno + 1063.1.1 = { liege = e_hre } + # 1178 + 1075.12.4 = { holder = 33157 } # Hildolf + 1078.7.21 = { holder = 33158 } # Sigewin + 1089.5.31 = { holder = 33159 } # Hermann + 1099.11.21 = { holder = 33160 } # Friedrich + 1131.10.5 = { holder = 33161 } # Bruno + 1137.5.29 = { holder = 33162 } # Hugo + 1137.7.1 = { holder = 33163 } # Arnold + 1151.4.3 = { holder = 33164 } # Arnold + 1156.5.4 = { holder = 30344 } # Friedrich + 1158.12.15 = { holder = 33165 } # Reinald + 1167.8.14 = { holder = 213181 } # Filip +} + +d_et_hamburg = { # Hamburg + 834.1.1 = { + liege = k_east_francia + holder = et_hamburg_867_2 # Ansgar + government = ecclesiastical_government + clerical_region = et_867_hamburg_region + } + 867.1.1 = { holder = 163117 } # Wilibert + # 1066 + 888.1.1 = { holder = et_hamburg_1066_11 } # Adalgar + 909.1.1 = { holder = et_hamburg_1066_10 } # Hoger + 915.1.1 = { holder = et_hamburg_1066_9 } # Reginwart + 917.1.1 = { holder = et_hamburg_1066_8 } # Unni + 936.1.1 = { holder = et_hamburg_1066_7 } # Adaldago + 988.1.1 = { holder = et_hamburg_1066_6 } # Libentius + 1013.1.1 = { holder = et_hamburg_1066_5 } # Unwan + 1029.1.1 = { holder = et_hamburg_1066_4 } # Libentius + 1032.9.28 = { holder = et_hamburg_1066_3 } # Hermann + 1035.12.21 = { holder = et_hamburg_1066_2 } # Adalbrand + 1043.7.15 = { holder = 20251 } # Adalberto + 1066.1.1 = { + liege = e_hre + clerical_region = et_1066_hamburg_region + } + # 1178 + 1072.1.1 = { + name = d_et_hamburg_bremen + effect = { + set_capital_county = title:c_bremen + title_domicile ?= { + move_domicile = title:c_bremen.title_province + } + } + } + 1072.3.16 = { holder = 30300 } # Liemar + 1101.5.16 = { holder = 30301 } # Humbert + 1104.1.1 = { holder = 30302 } # Friedrich + 1123.1.29 = { holder = 30303 } # Adalbero + 1148.8.25 = { holder = 30241 } # Hartwig + 1168.3.15 = { holder = 30304 } # Baldewin + 1178.1.1 = { clerical_region = et_1178_hamburg_bremen_region } + 1178.6.18 = { holder = 30305 } # Bertram +} + +d_et_lund = { # Lund + 1104.1.1 = { + liege = k_denmark + holder = 34158 + government = ecclesiastical_government + clerical_region = et_1178_lund_region + } + 1137.5.1 = { holder = 34159 } + 1177.1.1 = { holder = 201520 } +} + +d_et_uppsala = { # Uppsala + 1164.1.1 = { + holder = et_uppsala_1178_1 + government = ecclesiastical_government + clerical_region = et_1178_uppsala_region + } +} + +d_et_nidaros = { # Nidaros + 1152.1.1 = { + liege = k_norway + holder = et_nidaros_1178_2 # Jon + government = ecclesiastical_government + clerical_region = et_1178_nidaros_region + } + 1157.1.1 = { holder = nidaros_bishop_1 } # Øystein +} + +# Balkans +d_et_kyiv = { # Kyiv + 988.1.1 = { + holder = et_kyiv_1066_6 + government = ecclesiastical_government + clerical_region = et_1066_kyiv_region + } + 1004.1.1 = { holder = et_kyiv_1066_5 } # Theophylact + 1008.1.1 = { holder = et_kyiv_1066_4 } # John + 1037.1.1 = { holder = et_kyiv_1066_3 } # Teopempt + 1051.1.1 = { holder = et_kyiv_1066_2 } # Hilarion + 1055.1.1 = { holder = et_kyiv_1066_1 } # Ephraim + # 1178 + 1076.1.1 = { holder = et_kyiv_1178_12 } # John + 1090.1.1 = { holder = et_kyiv_1178_11 } # John + 1093.1.1 = { holder = et_kyiv_1178_10 } # Nicholas + 1104.12.18 = { holder = et_kyiv_1178_9 } # Nicephorus + 1122.10.15 = { holder = et_kyiv_1178_8 } # Nicetas + 1130.1.1 = { holder = et_kyiv_1178_7 } # Michael + 1147.7.27 = { holder = et_kyiv_1178_6 } # Klim + 1156.1.1 = { holder = et_kyiv_1178_5 } # Constantine + 1160.8.1 = { holder = et_kyiv_1178_4 } # Theodore + 1164.1.1 = { holder = et_kyiv_1178_3 } # John + 1167.1.1 = { holder = et_kyiv_1178_2 } # Constantine + 1171.1.1 = { holder = et_kyiv_1178_1 } # Michael + 1178.1.1 = { clerical_region = et_1178_kyiv_region } +} + +d_et_constantinople = { # Constantinople + 10.1.1 = { + government = ecclesiastical_government + clerical_region = et_867_constantinople_region + } + 36.1.1 = {holder = andrew_the_apostle} + 38.1.1 = {holder = stachys_the_apostle} + 54.10.31 = {holder = onesimus_of_byzantium} + 69.1.1 = {holder = polycarpus_of_byzantium} + 89.1.1 = {holder = plutarch_of_byzantium} + 105.1.1 = {holder = sedecion_of_byzantium} + 114.1.1 = {holder = diogenes_of_byzantium} + 129.1.1 = {holder = eleutherius_of_byzantium} + 136.1.1 = {holder = felix_of_byzantium} + 141.1.1 = {holder = polycarpus_ii_of_byzantium} + 144.1.1 = {holder = athenodorus_of_byzantium} + 148.1.1 = {holder = euzois_of_byzantium} + 154.1.1 = {holder = laurence_of_byzantium} + 166.1.1 = {holder = alypius_of_byzantium} + 169.1.1 = {holder = pertinax_of_byzantium} + 187.1.1 = {holder = olympianus_of_byzantium} + 198.1.1 = {holder = marcus_i_of_byzantium} + 211.1.1 = {holder = philadelphus_of_byzantium} + 217.1.1 = {holder = cyriacus_i_of_byzantium} + 230.1.1 = {holder = castinus_of_byzantium} + 237.1.25 = {holder = eugenius_i_of_byzantium} + 242.1.1 = {holder = titus_of_byzantium} + 272.1.1 = {holder = dometius_of_byzantium} + 284.1.1 = {holder = rufinus_of_byzantium} + 293.1.1 = {holder = probus_of_byzantium} + 306.1.1 = {holder = metrophanes_i_of_byzantium} + 314.6.4 = {holder = alexander_of_constantinople} + 337.1.1 = {holder = paul_i_of_constantinople} # year only in the detailed chronology + 339.1.1 = {holder = eusebius_of_nicomedia} + 341.1.1 = {holder = paul_i_of_constantinople} + 342.1.1 = {holder = macedonius_i_of_constantinople} + 346.1.1 = {holder = paul_i_of_constantinople} + 351.9.1 = {holder = macedonius_i_of_constantinople} # c. September 351 + 360.1.27 = {holder = eudoxius_of_antioch} + 370.1.1 = {holder = evagrius_of_constantinople} # early 370; opposed Demophilus + 370.1.2 = {holder = demophilus_of_constantinople} # early 370; CK3 sequencing placeholder + 379.5.1 = {holder = gregory_of_nazianzus} # c. May 379 + 380.1.1 = {holder = maximus_i_of_constantinople} + 381.6.1 = {holder = nectarius_of_constantinople} + 398.9.26 = {holder = john_chrysostom} + 404.6.27 = {holder = arsacius_of_tarsus} + 406.3.1 = {holder = atticus_of_constantinople} + 426.2.28 = {holder = sisinnius_i_of_constantinople} + 428.4.10 = {holder = nestorius_of_constantinople} + 431.10.25 = {holder = maximianus_of_constantinople} + 434.4.13 = {holder = proclus_of_constantinople} + 446.7.12 = {holder = flavian_of_constantinople} + 449.11.1 = {holder = anatolius_i_of_constantinople} + 458.8.1 = {holder = gennadius_i_of_constantinople} + 472.2.1 = {holder = acacius_of_constantinople} + 488.12.1 = {holder = fravitta_of_constantinople} + 489.3.1 = {holder = 0} + 490.4.1 = {holder = euphemius_of_constantinople} + 496.6.1 = {holder = macedonius_ii_of_constantinople} + 511.8.1 = {holder = timothy_i_of_constantinople} + 518.4.17 = {holder = john_ii_of_constantinople} + 520.2.25 = {holder = epiphanius_of_constantinople} + 535.6.5 = {holder = anthimus_i_of_constantinople} + 536.3.13 = {holder = menas_of_constantinople} + 552.8.24 = {holder = eutychius_of_constantinople} + 565.1.31 = {holder = john_scholasticus} + 577.10.3 = {holder = eutychius_of_constantinople} + 582.4.12 = {holder = john_iv_of_constantinople} + 596.2.1 = {holder = cyriacus_ii_of_constantinople} + 607.1.23 = {holder = thomas_i_of_constantinople} + 610.4.18 = {holder = sergius_i_of_constantinople} + 638.12.20 = {holder = pyrrhus_of_constantinople} + 641.10.1 = {holder = paul_ii_of_constantinople} + 654.1.9 = {holder = pyrrhus_of_constantinople} + 654.6.9 = {holder = peter_of_constantinople} + 667.4.17 = {holder = thomas_ii_of_constantinople} + 669.11.15 = {holder = john_v_of_constantinople} + 675.9.2 = {holder = constantine_i_of_constantinople} + 677.8.9 = {holder = theodore_i_of_constantinople} + 679.11.1 = {holder = george_i_of_constantinople} + 686.1.1 = {holder = theodore_i_of_constantinople} + 688.1.1 = {holder = paul_iii_of_constantinople} + 693.8.20 = {holder = callinicus_i_of_constantinople} + 705.9.1 = {holder = kyros_of_constantinople} + 711.12.1 = {holder = 0} + 712.12.1 = {holder = john_vi_of_constantinople} + 715.8.11 = {holder = germanus_i_of_constantinople} + 730.1.22 = {holder = anastasius_of_constantinople} + 754.8.8 = {holder = constantine_ii_of_constantinople} + 766.11.16 = {holder = nicetas_i_of_constantinople} + 780.2.20 = {holder = paul_iv_of_constantinople} + 784.12.25 = {holder = tarasios_of_constantinople} + 806.4.12 = {holder = nikephoros_i_of_constantinople} + 815.4.1 = {holder = theodotus_i_of_constantinople} + 821.1.1 = {holder = antony_i_of_constantinople} + 836.1.21 = {holder = john_grammatikos} + 843.3.11 = {holder = methodius_of_constantinople} + 847.7.4 = {holder = ignatios_of_constantinople} + 858.12.25 = {holder = photios_i_of_constantinople} + 867.11.23 = {holder = ignatios_of_constantinople} + 877.10.26 = {holder = photios_i_of_constantinople} + 886.12.18 = {holder = stephen_i_of_constantinople} + 893.8.1 = {holder = antony_ii_of_constantinople} + 901.3.1 = {holder = nicholas_mystikos} + 907.2.1 = {holder = euthymius_i_of_constantinople} + 912.5.15 = {holder = nicholas_mystikos} + 925.6.29 = {holder = stephen_ii_of_constantinople} + 927.12.14 = {holder = tryphon_of_constantinople} + 928.12.14 = {holder = tryphon_of_constantinople} + 933.2.2 = {holder = theophylact_of_constantinople} + 956.4.3 = {holder = polyeuctus_of_constantinople} + 970.2.13 = {holder = basil_i_of_constantinople} + 973.12.1 = {holder = antony_iii_of_constantinople} + 978.6.1 = {holder = 0} + 980.4.1 = {holder = nicholas_ii_of_constantinople} + 991.12.16 = {holder = 0} + 996.4.12 = {holder = sisinnius_ii_of_constantinople} + 998.8.24 = {holder = 0} + 1001.6.1 = {holder = sergius_ii_of_constantinople} + 1019.7.1 = {holder = eustathius_of_constantinople} + 1025.11.1 = {holder = alexius_of_constantinople} + 1043.2.20 = {holder = michael_i_cerularius} + 1058.11.2 = {holder = 0} + 1059.2.2 = {holder = constantine_iii_of_constantinople} + 1063.8.9 = {holder = 0} + 1064.1.1 = {holder = john_viii_of_constantinople} + 1075.8.2 = {holder = cosmas_i_of_constantinople} + 1081.5.8 = {holder = eustratius_garidas} + 1084.7.1 = {holder = nicholas_iii_of_constantinople} + 1111.5.24 = {holder = john_ix_of_constantinople} + 1134.5.1 = {holder = leo_of_constantinople} + 1143.7.1 = {holder = michael_ii_of_constantinople} + 1146.3.1 = {holder = cosmas_ii_of_constantinople} + 1147.12.1 = {holder = nicholas_iv_of_constantinople} + 1151.3.1 = {holder = theodotus_ii_of_constantinople} + 1153.1.1 = {holder = 0} + 1154.9.1 = {holder = neophytus_i_of_constantinople} + 1154.11.1 = {holder = constantine_iv_of_constantinople} + 1157.8.1 = {holder = luke_chrysoberges} + 1170.1.1 = {holder = michael_iii_of_constantinople} + 1178.3.1 = {holder = chariton_of_constantinople} + 1179.2.1 = {holder = theodosius_i_of_constantinople} + 1183.8.1 = {holder = basil_ii_of_constantinople} + 1186.2.1 = {holder = nicetas_ii_of_constantinople} + 1189.2.1 = {holder = dositheus_of_constantinople} + 1189.2.10 = {holder = leontius_of_constantinople} + 1189.10.1 = {holder = dositheus_of_constantinople} + 1191.9.10 = {holder = george_ii_of_constantinople} + 1198.8.5 = {holder = john_x_of_constantinople} + 1204.4.12 = {holder = 0} # Fourth Crusade; Orthodox throne displaced from Constantinople + 1208.4.20 = {holder = ecpat_126_michael_iv} # Michael IV in Nicaea + 1213.9.28 = {holder = ecpat_127_theodore_ii} + 1216.6.3 = {holder = ecpat_128_maximus_ii} + 1217.5.1 = {holder = ecpat_129_manuel_i} # May 1217; exact day unclear + 1223.1.4 = {holder = ecpat_130_germanus_ii} + 1240.7.1 = {holder = ecpat_131_methodius_ii} # mid/late 1240 + 1243.9.1 = {holder = ecpat_132_manuel_ii} # c. September 1243 + 1254.11.1 = {holder = ecpat_133_arsenius} # November 1254 + 1260.3.1 = {holder = ecpat_134_nicephorus_ii} # c. March 1260 + 1261.3.1 = {holder = ecpat_133_arsenius} + 1265.5.28 = {holder = ecpat_135_germanus_iii} + 1266.12.28 = {holder = ecpat_136_joseph_i} + 1275.6.2 = {holder = ecpat_137_john_xi} + 1282.12.31 = {holder = ecpat_136_joseph_i} + 1283.4.11 = {holder = ecpat_138_gregory_ii} + 1289.10.14 = {holder = ecpat_139_athanasius_i} + 1294.1.1 = {holder = ecpat_140_john_xii} + 1303.6.23 = {holder = ecpat_139_athanasius_i} + 1310.5.9 = {holder = ecpat_141_nephon_i} + 1315.5.12 = {holder = ecpat_142_john_xiii} + 1320.3.21 = {holder = ecpat_143_gerasimus_i} + 1323.11.11 = {holder = ecpat_144_isaias} + 1334.2.1 = {holder = ecpat_145_john_xiv} # February 1334 + 1347.5.17 = {holder = ecpat_146_isidore_i} + 1350.6.10 = {holder = ecpat_147_callistus_i} + 1353.8.1 = {holder = ecpat_148_philotheus_i} # August 1353 + 1355.1.1 = {holder = ecpat_147_callistus_i} + 1364.2.8 = {holder = ecpat_148_philotheus_i} + 1377.6.1 = {holder = ecpat_149_macarius} # c. June 1377 + 1380.3.1 = {holder = ecpat_150_nilus} # March/April 1380 + 1389.1.1 = {holder = ecpat_151_antony_iv} # January 1389 + 1390.7.30 = {holder = ecpat_149_macarius} + 1390.9.1 = {holder = ecpat_151_antony_iv} # c. September 1390 + 1397.5.17 = {holder = ecpat_152_callistus_ii} + 1397.10.1 = {holder = ecpat_153_matthew_i} + 1410.10.26 = {holder = ecpat_154_euthymius_ii} + 1416.5.21 = {holder = ecpat_155_joseph_ii} + 1440.5.4 = {holder = ecpat_156_metrophanes_ii} + 1443.1.1 = {holder = ecpat_157_gregory_iii} # 1443; exact accession date unclear + 1450.1.1 = {holder = ecpat_158_athanasius_ii} # 1450; exact accession date unclear + 1453.5.29 = {holder = 0} # Fall of Constantinople / exceptional interregnum + 1454.1.6 = {holder = ecpat_159_gennadius_ii} + 1456.1.1 = {holder = ecpat_160_isidore_ii} # January 1456 + 1462.4.1 = {holder = ecpat_161_joasaph_i} + 1463.4.10 = {holder = ecpat_159_gennadius_ii} + 1463.6.1 = {holder = ecpat_162_sophronius_i} + 1464.8.1 = {holder = ecpat_159_gennadius_ii} + 1465.9.1 = {holder = ecpat_163_mark_ii} # autumn 1465 (Kiminas chronology) + 1466.9.1 = {holder = ecpat_164_symeon_i} # autumn 1466 (Kiminas chronology) + 1466.12.1 = {holder = ecpat_165_dionysius_i} # late 1466 + 1471.12.1 = {holder = ecpat_164_symeon_i} + 1475.1.1 = {holder = ecpat_166_raphael_i} + 1476.1.1 = {holder = ecpat_167_maximus_iii} + 1482.4.3 = {holder = ecpat_164_symeon_i} + 1486.1.1 = {holder = ecpat_168_nephon_ii} + 1488.7.1 = {holder = ecpat_165_dionysius_i} + 1491.1.1 = {holder = ecpat_169_maximus_iv} + 1497.1.1 = {holder = ecpat_168_nephon_ii} + 1498.1.1 = {holder = ecpat_170_joachim_i} + 1502.1.1 = {holder = ecpat_168_nephon_ii} + 1503.1.1 = {holder = ecpat_171_pachomius_i} + 1504.1.1 = {holder = ecpat_170_joachim_i} + 1504.2.1 = {holder = ecpat_171_pachomius_i} + 1513.6.1 = {holder = ecpat_172_theoleptus_i} + 1522.12.31 = {holder = ecpat_173_jeremias_i} + 1524.5.1 = {holder = ecpat_174_joannicius_i} # April/May 1524 + 1525.9.24 = {holder = ecpat_173_jeremias_i} + 1546.4.17 = {holder = ecpat_175_dionysius_ii} + 1556.7.1 = {holder = ecpat_176_joasaph_ii} + 1565.1.1 = {holder = ecpat_177_metrophanes_iii} + 1572.5.5 = {holder = ecpat_178_jeremias_ii} + 1579.11.25 = {holder = ecpat_177_metrophanes_iii} + 1580.8.1 = {holder = ecpat_178_jeremias_ii} + 1584.2.22 = {holder = ecpat_179_pachomius_ii} + 1585.2.16 = {holder = ecpat_180_theoleptus_ii} + 1587.4.1 = {holder = ecpat_178_jeremias_ii} + 1596.2.1 = {holder = ecpat_181_matthew_ii} + 1596.3.1 = {holder = ecpat_182_gabriel_i} + 1596.8.1 = {holder = ecpat_183_theophanes_i} + 1597.3.30 = {holder = ecpat_184_meletius_i} + 1598.4.1 = {holder = ecpat_181_matthew_ii} + 1602.2.1 = {holder = ecpat_185_neophytus_ii} + 1603.1.1 = {holder = ecpat_181_matthew_ii} + 1603.2.1 = {holder = ecpat_186_raphael_ii} + 1607.10.15 = {holder = ecpat_185_neophytus_ii} + 1612.10.1 = {holder = ecpat_187_cyril_i} # 21-day 1612 term; official Patriarchate describes him as overseer/locum tenens + 1612.11.1 = {holder = ecpat_188_timothy_ii} + 1620.11.4 = {holder = ecpat_187_cyril_i} + 1623.4.12 = {holder = ecpat_189_gregory_iv} + 1623.6.18 = {holder = ecpat_190_anthimus_ii} + 1623.9.22 = {holder = ecpat_187_cyril_i} + 1633.10.4 = {holder = ecpat_191_cyril_ii} + 1633.10.11 = {holder = ecpat_187_cyril_i} + 1634.2.25 = {holder = ecpat_192_athanasius_iii} + 1634.4.1 = {holder = ecpat_187_cyril_i} + 1635.3.1 = {holder = ecpat_191_cyril_ii} + 1636.6.1 = {holder = ecpat_193_neophytus_iii} + 1637.3.1 = {holder = ecpat_187_cyril_i} + 1638.6.20 = {holder = ecpat_191_cyril_ii} + 1639.7.1 = {holder = ecpat_194_parthenius_i} + 1644.9.8 = {holder = ecpat_195_parthenius_ii} + 1646.11.16 = {holder = ecpat_196_joannicius_ii} + 1648.10.29 = {holder = ecpat_195_parthenius_ii} + 1651.6.1 = {holder = ecpat_196_joannicius_ii} + 1652.6.1 = {holder = ecpat_197_cyril_iii} + 1652.6.9 = {holder = ecpat_192_athanasius_iii} + 1652.7.1 = {holder = ecpat_198_paisius_i} + 1653.4.1 = {holder = ecpat_196_joannicius_ii} + 1654.3.1 = {holder = ecpat_197_cyril_iii} + 1654.3.15 = {holder = ecpat_198_paisius_i} + 1655.3.1 = {holder = ecpat_196_joannicius_ii} + 1656.7.26 = {holder = ecpat_199_parthenius_iii} + 1657.4.23 = {holder = ecpat_200_gabriel_ii} + 1657.5.1 = {holder = ecpat_201_parthenius_iv} + 1662.6.29 = {holder = ecpat_202_dionysius_iii} + 1665.10.21 = {holder = ecpat_201_parthenius_iv} + 1667.9.9 = {holder = ecpat_203_clement} + 1668.1.5 = {holder = ecpat_204_methodius_iii} + 1671.3.1 = {holder = ecpat_201_parthenius_iv} + 1671.11.8 = {holder = ecpat_205_dionysius_iv} + 1673.7.25 = {holder = ecpat_206_gerasimus_ii} + 1675.1.1 = {holder = ecpat_201_parthenius_iv} + 1676.7.29 = {holder = ecpat_205_dionysius_iv} + 1679.7.30 = {holder = ecpat_207_athanasius_iv} + 1679.8.10 = {holder = ecpat_208_james} + 1682.7.10 = {holder = ecpat_205_dionysius_iv} + 1684.3.10 = {holder = ecpat_201_parthenius_iv} + 1685.3.20 = {holder = ecpat_208_james} + 1686.3.1 = {holder = ecpat_205_dionysius_iv} + 1687.10.12 = {holder = ecpat_208_james} + 1688.3.3 = {holder = ecpat_209_callinicus_ii} + 1688.11.27 = {holder = ecpat_210_neophytus_iv} + 1689.3.7 = {holder = ecpat_209_callinicus_ii} + 1693.8.1 = {holder = ecpat_205_dionysius_iv} + 1694.4.1 = {holder = ecpat_209_callinicus_ii} + 1702.8.29 = {holder = ecpat_211_gabriel_iii} + 1707.10.20 = {holder = ecpat_212_neophytus_v} + 1707.10.25 = {holder = ecpat_213_cyprianus} + 1709.5.1 = {holder = ecpat_214_athanasius_v} + 1711.12.1 = {holder = ecpat_215_cyril_iv} + 1713.11.1 = {holder = ecpat_213_cyprianus} + 1714.2.28 = {holder = ecpat_216_cosmas_iii} + 1716.3.23 = {holder = ecpat_217_jeremias_iii} + 1726.11.19 = {holder = ecpat_218_callinicus_iii} + 1726.11.20 = {holder = ecpat_219_paisius_ii} + 1732.9.15 = {holder = ecpat_217_jeremias_iii} + 1733.3.1 = {holder = ecpat_220_seraphim_i} + 1734.9.27 = {holder = ecpat_221_neophytus_vi} + 1740.8.1 = {holder = ecpat_219_paisius_ii} + 1743.5.1 = {holder = ecpat_221_neophytus_vi} + 1744.3.1 = {holder = ecpat_219_paisius_ii} + 1748.9.28 = {holder = ecpat_222_cyril_v} + 1751.5.1 = {holder = ecpat_219_paisius_ii} + 1752.9.7 = {holder = ecpat_222_cyril_v} + 1757.1.16 = {holder = ecpat_223_callinicus_iv} + 1757.7.22 = {holder = ecpat_224_seraphim_ii} + 1761.3.26 = {holder = ecpat_225_joannicius_iii} + 1763.5.24 = {holder = ecpat_226_samuel} + 1768.11.5 = {holder = ecpat_227_meletius_ii} + 1769.4.11 = {holder = ecpat_228_theodosius_ii} + 1773.11.17 = {holder = ecpat_226_samuel} + 1774.12.24 = {holder = ecpat_229_sophronius_ii} + 1780.10.8 = {holder = ecpat_230_gabriel_iv} + 1785.6.29 = {holder = ecpat_231_procopius} + 1789.5.1 = {holder = ecpat_232_neophytus_vii} + 1794.3.3 = {holder = ecpat_233_gerasimus_iii} + 1797.4.19 = {holder = ecpat_234_gregory_v} + 1798.12.19 = {holder = ecpat_232_neophytus_vii} + 1801.6.17 = {holder = ecpat_235_callinicus_v} + 1806.9.23 = {holder = ecpat_234_gregory_v} + 1808.9.10 = {holder = ecpat_235_callinicus_v} + 1809.4.23 = {holder = ecpat_236_jeremias_iv} + 1813.3.4 = {holder = ecpat_237_cyril_vi} + 1818.12.14 = {holder = ecpat_234_gregory_v} + 1821.4.10 = {holder = ecpat_238_eugenius_ii} + 1822.7.28 = {holder = ecpat_239_anthimus_iii} + 1824.7.9 = {holder = ecpat_240_chrysanthus} + 1826.9.26 = {holder = ecpat_241_agathangelus} + 1830.7.6 = {holder = ecpat_242_constantius_i} + 1834.8.18 = {holder = ecpat_243_constantius_ii} + 1835.9.27 = {holder = ecpat_244_gregory_vi} + 1840.2.20 = {holder = ecpat_245_anthimus_iv} + 1841.5.6 = {holder = ecpat_246_anthimus_v} + 1842.6.14 = {holder = ecpat_247_germanus_iv} + 1845.4.18 = {holder = ecpat_248_meletius_iii} + 1845.12.4 = {holder = ecpat_249_anthimus_vi} + 1848.10.18 = {holder = ecpat_245_anthimus_iv} + 1852.11.1 = {holder = ecpat_247_germanus_iv} + 1853.9.24 = {holder = ecpat_249_anthimus_vi} + 1855.9.21 = {holder = ecpat_250_cyril_vii} + 1860.10.4 = {holder = ecpat_251_joachim_ii} + 1863.9.20 = {holder = ecpat_252_sophronius_iii} + 1867.2.10 = {holder = ecpat_244_gregory_vi} + 1871.9.5 = {holder = ecpat_249_anthimus_vi} + 1873.11.23 = {holder = ecpat_251_joachim_ii} + 1878.10.4 = {holder = ecpat_253_joachim_iii} + 1884.10.1 = {holder = ecpat_254_joachim_iv} + 1887.2.4 = {holder = ecpat_255_dionysius_v} + 1891.11.8 = {holder = ecpat_256_neophytus_viii} + 1895.2.1 = {holder = ecpat_257_anthimus_vii} + 1897.4.14 = {holder = ecpat_258_constantine_v} + 1901.5.25 = {holder = ecpat_253_joachim_iii} + 1913.2.10 = {holder = ecpat_259_germanus_v} + 1918.12.8 = {holder = ecpat_260_meletius_iv} + 1923.12.6 = {holder = ecpat_261_gregory_vii} + 1924.12.17 = {holder = ecpat_262_constantine_vi} + 1925.7.13 = {holder = ecpat_263_basil_iii} + 1929.10.7 = {holder = ecpat_264_photius_ii} + 1936.1.18 = {holder = ecpat_265_benjamin_i} + 1946.2.20 = {holder = ecpat_266_maximus_v} + 1948.11.1 = {holder = ecpat_267_athenagoras_i} + 1972.7.16 = {holder = ecpat_268_demetrios_i} + 1991.10.22 = { + holder = orthodoxpeps0001 + } + 2091.12.2 = { + holder = orthodoxpeps0002 + } + 2120.5.7 = { + holder = orthodoxpeps0003 + } + 2161.5.21 = { + holder = orthodoxpeps0004 + } + 2196.6.2 = { + holder = orthodoxpeps0005 + } + 2215.2.9 = { + holder = orthodoxpeps0006 + } + 2300.2.6={ + holder = orthodoxpeps0007 + } + 2309.1.1={ + holder = orthodoxpeps0008 + } + 2317.1.1={ + holder = orthodoxpeps0009 + } + 2335.1.1={ + holder = orthodoxpeps0010 + } + 2349.1.1={ + holder = orthodoxpeps0011 + } + 2360.1.1={ + holder = orthodoxpeps0012 + } + 2368.1.1={ + holder = orthodoxpeps0013 + } + 2376.1.1={ + holder = orthodoxpeps0014 + } + 2379.1.1={ + holder = orthodoxpeps0015 + } + 2384.1.1={ + holder = orthodoxpeps0016 + } + 2391.1.1={ + holder = orthodoxpeps0017 + } + 2400.1.1={ + holder = orthodoxpeps0018 + } + 2434.1.1={ + holder = orthodoxpeps0019 + } + 2437.1.1={ + holder = orthodoxpeps0020 + } + 2450.1.1={ + holder = orthodoxpeps0021 + } + 2459.1.1={ + holder = orthodoxpeps0022 + } + 2467.1.1={ + holder = orthodoxpeps0023 + } + 2475.1.1={ + holder = orthodoxpeps0024 + } + 2490.1.1={ + holder = orthodoxpeps0025 + } + 2502.1.1={ + holder = orthodoxpeps0026 + } + 2517.1.1={ + holder = orthodoxpeps0027 + } + 2530.1.10={ + holder = nistria1030 + liege = e_nistrenia + } +} + +# Asia +d_et_jerusalem = { # Jerusalem + 62.1.1 = { + holder = et_jerusalem_867_40 # Simeon + government = ecclesiastical_government + clerical_region = et_867_jerusalem_region + } + 107.1.1 = { holder = et_jerusalem_867_39 } # Justus + 113.1.1 = { holder = et_jerusalem_867_38 } # Zaccheus + 117.1.1 = { holder = et_jerusalem_867_37 } # John + 185.1.1 = { holder = et_jerusalem_867_36 } # Narcissus + 211.1.1 = { holder = et_jerusalem_867_35 } # Narcissus + 231.1.1 = { holder = et_jerusalem_867_34 } # Alexander + 276.1.1 = { holder = et_jerusalem_867_33 } # Zamudas + 314.1.1 = { holder = et_jerusalem_867_32 } # Macarius + 325.1.1 = { holder = et_jerusalem_867_31 } # Macarius + 333.1.1 = { holder = et_jerusalem_867_30 } # Maximus + 350.1.1 = { holder = et_jerusalem_867_29 } # Cyril + 386.1.1 = { holder = et_jerusalem_867_28 } # John II + 417.1.1 = { holder = et_jerusalem_867_27 } # Praulius + 422.1.1 = { holder = et_jerusalem_867_26 } # Juvenal + 451.1.1 = { holder = et_jerusalem_867_25 } # Juvenal + 458.1.1 = { holder = et_jerusalem_867_24 } # Anastasius I + 478.1.1 = { holder = et_jerusalem_867_23 } # Martyrius + 486.1.1 = { holder = et_jerusalem_867_22 } # Sallustius + 494.1.1 = { holder = et_jerusalem_867_21 } # Elias I + 516.1.1 = { holder = et_jerusalem_867_20 } # John III + 524.1.1 = { holder = et_jerusalem_867_19 } # Peter + 544.1.1 = { holder = et_jerusalem_867_18 } # Macarius II + 575.1.1 = { holder = et_jerusalem_867_17 } # Eustochius + 575.6.1 = { holder = et_jerusalem_867_16 } # John IV + 594.1.1 = { holder = et_jerusalem_867_15 } # Amos + 601.1.1 = { holder = et_jerusalem_867_14 } # Isaac + 609.1.1 = { holder = et_jerusalem_867_13 } # Zacharias + 632.1.1 = { holder = et_jerusalem_867_12 } # Modestus + 634.1.1 = { holder = et_jerusalem_867_11 } # Sophronius I + 681.1.1 = { holder = et_jerusalem_867_10 } # Anastasius II + 706.1.1 = { holder = et_jerusalem_867_9 } # John V + 745.1.1 = { holder = et_jerusalem_867_8 } # Theodore + 770.1.1 = { holder = et_jerusalem_867_7 } # Elias II + 797.1.1 = { holder = et_jerusalem_867_6 } # George + 807.1.1 = { holder = et_jerusalem_867_5 } # Thomas I + 820.1.1 = { holder = et_jerusalem_867_4 } # Basileus + 838.1.1 = { holder = et_jerusalem_867_3 } # John VI + 842.1.1 = { holder = et_jerusalem_867_2 } # Sergius I + 855.1.1 = { holder = et_jerusalem_867_1 } # Solomon + 864.1.1 = { holder = et_jerusalem_867_0 } # Theodosius + # 1066 + 878.1.1 = { holder = et_jerusalem_1066_14 } # Elias III + 908.1.1 = { holder = et_jerusalem_1066_13 } # Sergius II + 912.1.1 = { holder = et_jerusalem_1066_12 } # Leontius I + 929.1.1 = { holder = et_jerusalem_1066_11 } # Athanasius I + 937.1.1 = { holder = et_jerusalem_1066_10 } # Christodolus + 950.1.1 = { holder = et_jerusalem_1066_9 } # Agathon + 964.1.1 = { holder = et_jerusalem_1066_8 } # John VII + 966.1.1 = { holder = et_jerusalem_1066_7 } # Christodolus II + 969.1.1 = { holder = et_jerusalem_1066_6 } # Thomas II + 980.1.1 = { holder = et_jerusalem_1066_5 } # Joseph II + 983.1.1 = { holder = et_jerusalem_1066_4 } # Orestes + 1012.1.1 = { holder = et_jerusalem_1066_3 } # Theophilus I + 1020.1.1 = { holder = et_jerusalem_1066_2 } # Nicephorus IV + 1048.1.1 = { holder = et_jerusalem_1066_1 } # Joannichius + # 1178 + 1076.1.1 = { holder = et_jerusalem_1178_5 } # Sophronius II + 1084.1.1 = { holder = et_jerusalem_1178_4 } # Euthemios + 1086.1.1 = { holder = et_jerusalem_1178_3 } # Simeon II + 1098.1.1 = { holder = 0 } + 1099.1.1 = { holder = 32265 } # Arnulf + 1100.1.1 = { holder = et_pisa_1178_8 } # Dagoberto + 1101.1.1 = { holder = et_jerusalem_1178_2 } # Maurizio + 1102.1.1 = { holder = 32267 } # Ebremar + 1105.1.1 = { holder = et_pisa_1178_8 } # Dagoberto + 1107.1.1 = { holder = 32268 } # Ghibbelin + 1112.1.1 = { holder = 32265 } # Arnulf + 1118.1.1 = { + holder = 32269 # Garmond + clerical_region = et_1178_jerusalem_region + } + 1128.1.1 = { holder = 32270 } # Stephen + 1130.1.1 = { holder = 32271 } # William + 1145.1.1 = { holder = 32272 } # Folquet + 1157.1.1 = { holder = 32273 } # Amaury + 1180.1.1 = { holder = et_jerusalem_1178_1 } # Heraclius + 1191.1.1 = { holder = 0 } +} + +d_et_antioch = { # Antioch + ### Chalcedonian (Greek) + 325.1.1 = { + holder = et_antioch_867_62 # Eustathius + government = ecclesiastical_government + clerical_region = et_867_antioch_region + } + 332.1.1 = { holder = et_antioch_867_61 } # Paulinus of Tyre + 332.6.1 = { holder = et_antioch_867_60 } # Eulalios + 333.1.1 = { holder = et_antioch_867_59 } # Euphronios + 334.1.1 = { holder = et_antioch_867_58 } # Philaclus + 341.1.1 = { holder = et_antioch_867_57 } # Stephen I + 345.1.1 = { holder = et_antioch_867_56 } # Leontius + 350.1.1 = { holder = et_antioch_867_53 } # Eudoxius (FIRST) + 354.1.1 = { holder = et_antioch_867_54 } # Meletius + 354.6.1 = { holder = et_antioch_867_53 } # Eudoxius (SECOND) + 357.1.1 = { holder = et_antioch_867_52 } # Annias or Ammianus + 360.1.1 = { holder = et_antioch_867_51 } # Euzoios + 370.1.1 = { holder = et_antioch_867_50 } # Dorotheus + 371.1.1 = { holder = et_antioch_867_49 } # Paulinus + 376.1.1 = { holder = et_antioch_867_48 } # Vitalius + 384.1.1 = { holder = et_antioch_867_47 } # Flavian I + 404.1.1 = { holder = et_antioch_867_46 } # Porphyrus + 408.1.1 = { holder = et_antioch_867_45 } # Alexander + 418.1.1 = { holder = et_antioch_867_44 } # Theodotus + 427.1.1 = { holder = et_antioch_867_43 } # John I + 443.1.1 = { holder = et_antioch_867_42 } # Domnus II + 450.1.1 = { holder = et_antioch_867_41 } # Maximus II + 455.1.1 = { holder = et_antioch_867_40 } # Basil + 459.1.1 = { holder = et_antioch_867_39 } # Acacius + 461.1.1 = { holder = et_antioch_867_38 } # Martyrius + 465.1.1 = { holder = et_antioch_867_37 } # Peter the Fuller (FIRST) + 466.1.1 = { holder = et_antioch_867_36 } # Julian + 474.1.1 = { holder = et_antioch_867_37 } # Peter the Fuller (SECOND) + 475.1.1 = { holder = et_antioch_867_34 } # John II + 490.1.1 = { holder = et_antioch_867_33 } # Stephen II + 493.1.1 = { holder = et_antioch_867_32 } # Stephen III + 495.1.1 = { holder = et_antioch_867_31 } # Callandion + 495.6.1 = { holder = et_antioch_867_30 } # John III (Codonatus) + 497.1.1 = { holder = et_antioch_867_29 } # Palladius + 505.1.1 = { holder = et_antioch_867_28 } # Flavian II + 513.1.1 = { holder = et_antioch_867_27 } # Severus + 518.1.1 = { holder = et_antioch_867_26 } # Paul II + 521.1.1 = { holder = et_antioch_867_25 } # Euphrasius + 526.1.1 = { holder = et_antioch_867_24 } # Ephraim + 546.1.1 = { holder = et_antioch_867_23 } # Domnus III + 561.1.1 = { holder = et_antioch_867_22 } # Anastasius the Sinaite (1) + 571.1.1 = { holder = et_antioch_867_21 } # Gregory (571–594) + 594.1.1 = { holder = et_antioch_867_22 } # Anastasius the Sinaite () + 599.1.1 = { holder = et_antioch_867_19 } # Anastasius II + 610.1.1 = { holder = et_antioch_867_18 } # Gregory II + 620.1.1 = { holder = et_antioch_867_17 } # Anastasius III + 628.1.1 = { holder = et_antioch_867_16 } # Macedonius + # 637 Rashidun conquest from Byzantium + 637.1.1 = { holder = 0 } + #640.1.1 = { holder = et_antioch_867_15 } # George I + #656.1.1 = { holder = et_antioch_867_14 } # Macarius + #681.1.1 = { holder = et_antioch_867_13 } # Theophanes + #687.1.1 = { holder = et_antioch_867_12 } # Sebastian + #690.1.1 = { holder = et_antioch_867_11 } # George II + #695.1.1 = { holder = et_antioch_867_10 } # Alexander II + #742.1.1 = { holder = et_antioch_867_9 } # Stephen IV + #748.1.1 = { holder = et_antioch_867_8 } # Theophylact + #767.1.1 = { holder = et_antioch_867_7 } # Theodore I + #797.1.1 = { holder = et_antioch_867_6 } # John IV + #810.1.1 = { holder = et_antioch_867_5 } # Job I + #826.1.1 = { holder = et_antioch_867_4 } # Nicholas + #834.1.1 = { holder = et_antioch_867_3 } # Simeon + #840.1.1 = { holder = et_antioch_867_2 } # Elias + ### Miaphysite (Antiochian) + 846.1.1 = { holder = et_antioch_867_63 } # Yohannan IV (Mor Yuhanon) + 873.1.1 = { holder = 0 } + ### Orthodox (Greek) + #852.1.1 = { holder = et_antioch_867_1 } # Theodosius I + #860.1.1 = { holder = et_antioch_867_0 } # Nicholas + # 1066 + #879.1.1 = { holder = et_antioch_1066_17 } # Michael + #890.1.1 = { holder = et_antioch_1066_16 } # Zacharias + #902.1.1 = { holder = et_antioch_1066_15 } # George III + #917.1.1 = { holder = et_antioch_1066_14 } # Job II + #939.1.1 = { holder = et_antioch_1066_13 } # Eustratius + #960.1.1 = { holder = et_antioch_1066_12 } # Christopher + #966.1.1 = { holder = et_antioch_1066_11 } # Theodorus II + # 969 Byzantine reconquest + 969.1.1 = { holder = et_antioch_1066_11 } # Theodorus II + 977.1.1 = { holder = et_antioch_1066_10 } # Agapius + 995.1.1 = { holder = et_antioch_1066_9 } # John IV + 1000.1.1 = { holder = et_antioch_1066_8 } # Nicholas III + 1003.1.1 = { holder = et_antioch_1066_7 } # Elias II + 1010.1.1 = { holder = et_antioch_1066_6 } # George + 1015.1.1 = { holder = et_antioch_1066_5 } # Macarius + 1023.1.1 = { holder = et_antioch_1066_4 } # Eleutherius + 1028.1.1 = { holder = et_antioch_1066_3 } # Peter III + ### Orthodox (Greek) + 1051.1.1 = { holder = et_antioch_1066_2 } # John V + 1062.1.1 = { holder = et_antioch_1066_1 } # Aemilian + # 1178 + 1075.1.1 = { holder = et_antioch_1178_7 } # Theodosius II + 1084.1.1 = { holder = et_antioch_1178_6 } # Nicephorus + 1090.1.1 = { holder = et_antioch_1178_5 } # John VII the Oxite + 1118.1.1 = { + clerical_region = et_1178_antioch_region + } + 1155.1.1 = { holder = et_antioch_1178_4 } # John IX + 1159.1.1 = { holder = et_antioch_1178_3 } # Euthymius + 1164.1.1 = { holder = et_antioch_1178_2 } # Macarius II + 1166.1.1 = { holder = et_antioch_1178_1 } # Athanasius I + ### Catholic (Roman) + 1170.6.29 = { holder = et_antioch_1178_8 } # Aimery +} + +d_et_cyprus = { # Cyprus + 325.1.1 = { + holder = et_cyprus_867_18 # Gelasios + government = ecclesiastical_government + clerical_region = et_867_cyprus_region + } + 368.1.1 = { holder = et_cyprus_867_17 } # Epiphanius + 403.1.1 = { holder = et_cyprus_867_16 } # Stavrinos + 431.1.1 = { holder = et_cyprus_867_15 } # Reginos + 431.6.2 = { holder = et_cyprus_867_14 } # Troilos + 449.1.1 = { holder = et_cyprus_867_13 } # Olympios + 457.1.1 = { holder = et_cyprus_867_12 } # Stavrinos + 470.1.1 = { holder = et_cyprus_867_11 } # Anthemios + 620.1.1 = { holder = et_cyprus_867_10 } # Plutarch + 630.1.1 = { holder = et_cyprus_867_9 } # Arkadios + 643.1.1 = { holder = et_cyprus_867_8 } # Serghios + 681.1.1 = { holder = et_cyprus_867_7 } # Epiphanios + 681.6.2 = { holder = et_cyprus_867_6 } # Epiphanios + 691.1.1 = { holder = et_cyprus_867_5 } # John + 754.1.1 = { holder = et_cyprus_867_4 } # George + 783.1.1 = { holder = et_cyprus_867_3 } # Constantine + 787.1.1 = { holder = et_cyprus_867_2 } # Akakios + 850.1.1 = { holder = et_cyprus_867_1 } # Theodore + # 1066 + 1057.1.1 = { holder = 70602 } # Nikolaos + # 1178 + 1151.1.1 = { holder = et_cyprus_1178_2 } # John + 1175.1.1 = { holder = et_cyprus_1178_1 } # Barnabas + 2555.1.1 = { + holder = cyprus0001_bishop # Varnavas - Archbishop and head of the autocephalous Church of Cyprus + government = ecclesiastical_government + } +} + +d_et_armenia = { # Armenia + 288.1.1 = { + holder = armenian_000011 #St. Gregory I the Illuminator (288–325) + liege = k_armenia + government = ecclesiastical_government + clerical_region = et_867_armenia_region + } + 325.1.1 = { + holder = armenian_000013 #St. Aristaces I (325–333) + } + 333.1.1 = { + holder = armenian_000014 #St. Vrtanes I (333–341) + } + 341.1.1 = { + holder = armenian_000015 #St. Husik I (341–347) + } + 347.1.1 = { + holder = armenian_000016 #Daniel I of Armenia (347) + } + 348.1.1 = { + holder = armenian_000017 #Pharen I of Armenia (348–352) + } + 353.1.1 = { + holder = 0 + } + 352.1.1 = { + holder = armenian_000018 #St. Nerses I the Great (353–373) + } + 373.1.1 = { + holder = armenian_000019 #Sahak I (373–377) + } + 377.1.1 = { + holder = armenian_000020 #Zaven I (377–381) + } + 381.1.1 = { + holder = armenian_000021 #Aspuraces I (381–386) + } + 386.1.1 = { + holder = armenian_000022 #St. Sahak II (387–428) + } + 428.1.1 = { + holder = armenian_000023 #Brkisho of Armenia (428–432) + } + 432.1.1 = { + holder = armenian_000024 #Samuel of Armenia (432–437) + } + 437.1.1 = { + holder = armenian_000025 #St. Hovsep I (437–452) + } + 452.1.1 = { + holder = armenian_000027 #Melitus I (452–456) + } + 456.1.1 = { + holder = armenian_000028 #Moses I (456–461) + } + 461.1.1 = { + holder = armenian_000029 #St. Kyud I (461–478) + } + 478.1.1 = { + holder = armenian_000030 #St. John I (478–490) + } + 490.1.1 = { + holder = armenian_000031 #Babken I (490–516) + } + 516.1.1 = { + holder = armenian_000032 #Samuel I (516–526) + } + 526.1.1 = { + holder = armenian_000033 #Mushe I (526–534) + } + 534.1.1 = { + holder = armenian_000034 #Sahak II (534–539) + } + 539.1.1 = { + holder = armenian_000035 #Christopher I (539–545) + } + 545.1.1 = { + holder = armenian_000036 #Ghevond I (545–548) + } + 548.1.1 = { + holder = armenian_000037 #Nerses II (548–557) + } + 557.1.1 = { + holder = armenian_000038 #John II (557–574 + } + 574.1.1 = { + holder = armenian_000039 #Moses II (574–604) + } + 604.1.1 = { + holder = 0 + } + 607.1.1 = { + holder = armenian_000041 #Abraham I (607–615) + } + 615.1.1 = { + holder = armenian_000042 #Komitas I (615–628) + } + 628.1.1 = { + holder = armenian_000043 #Christopher II (628–630) + } + 630.1.1 = { + holder = armenian_000044 #Ezra I (630–641) + } + 641.1.1 = { + holder = armenian_000045 #Nerses III the Builder (641–661) + } + 661.1.1 = { + holder = armenian_000046 #Anastasius I (661–667) + } + 667.1.1 = { + holder = armenian_000047 #Israel I (667–677) + } + 677.1.1 = { + holder = armenian_000048 #Sahak III (677–703) + } + 703.1.1 = { + holder = armenian_000049 #Elias I (703–717) + } + 717.1.1 = { + holder = armenian_000050 #St. John III the Philosopher (717–728) + } + 728.1.1 = { + holder = armenian_000051 #David I (728–741) + } + 741.1.1 = { + holder = armenian_000052 #Dertad I (741–764) + } + 764.1.1 = { + holder = armenian_000053 #Dertad II (764–767) + } + 767.1.1 = { + holder = armenian_000054 #Sion I (767–775) + } + 775.1.1 = { + holder = armenian_000055 #Isaiah I (775–788) + } + 788.1.1 = { + holder = armenian_000056 #Stephen I (788–790) + } + 790.1.1 = { + holder = armenian_000057 #Joab I (790–791) + } + 791.1.1 = { + holder = armenian_000058 #Solomon I (791–792) + } + 792.1.1 = { + holder = armenian_000059 #George I (792–795) + } + 795.1.1 = { + holder = armenian_000060 #Joseph I (795–806) + } + 806.1.1 = { + holder = armenian_000061 #David II (806–833) + } + 833.1.1 = { + holder = armenian_000062 #John IV (833–855) + } + 855.1.1 = { + holder = armenian_000063 #Zacharias I (855–876) + } + 876.1.1 = { + holder = armenian_000064 #George II (877–897) + } + 897.1.1 = { + holder = armenian_000065 #Mashdotz I (897–898) + } + 898.1.1 = { + holder = armenian_000067 #John V the Historian (898–929) + } + 929.1.1 = { + holder = armenian_000068 #Stephen II (929–930) + } + 930.1.1 = { + holder = armenian_000069 #Theodore I (930–941) + } + 941.1.1 = { + holder = armenian_000070 #Yeghishe I (941–946) + } + 946.1.1 = { + holder = armenian_000072 #Ananias I (949–968) + } + 968.1.1 = { + holder = armenian_000073 #Vahan I (968–969) + } + 969.1.1 = { + holder = armenian_000074 #Stephen III (969–972) + } + 972.1.1 = { + holder = armenian_000075 #Khachig I (973–992) + } + 992.1.1 = { + holder = armenian_000077 #Sarkis I (992–1019) + } + 1019.1.1 = { + holder = armenian_000078 #Peter I (1019–1058) + } + 1058.1.1 = { + holder = armenian_000079 #Khachik II of Armenia, Khachik II ofAni, Khachik II of Cilicia (1058–1065) + } + 1065.1.1 = { + holder = armenian_000080 #Gregory the Martyrophile (1066–1116) + clerical_region = et_1066_armenia_region + } + 1105.2.23 = { + holder = armenian_catholicos_1 # Barsegh + } + 1113.11.13 = { + holder = 232583 # Grigor III Pahlavuni + } + 1166.8.17 = { + holder = 232584 # Nerses IV the Gracious + } + 1173.8.13 = { + holder = 232580 # Gregory IV the Young + } +} + +# Kartli +d_et_kartli = { # Kartli + 326.1.1 = { + holder = et_kartli_867_53 # Ioane + government = ecclesiastical_government + clerical_region = et_867_kartli_region + } + 363.1.1 = { holder = et_kartli_867_62 } # Iakobi + 375.1.1 = { holder = et_kartli_867_61 } # Iobi + 390.1.1 = { holder = et_kartli_867_60 } # Elia + 400.1.1 = { holder = et_kartli_867_59 } # Svimeon + 410.1.1 = { holder = et_kartli_867_58 } # Mose + 425.1.1 = { holder = et_kartli_867_57 } # Iona + 429.1.1 = { holder = et_kartli_867_56 } # Ieremia + 433.1.1 = { holder = et_kartli_867_55 } # Grigol + 434.1.1 = { holder = et_kartli_867_54 } # Vasili + 436.1.1 = { holder = et_kartli_867_53 } # Glonakor + 448.1.1 = { holder = et_kartli_867_52 } # Iovel + 452.1.1 = { holder = et_kartli_867_51 } # Mikael + 467.1.1 = { holder = et_kartli_867_50 } # Petre + 474.1.1 = { holder = et_kartli_867_49 } # Samoel + 502.1.1 = { holder = et_kartli_867_48 } # Gabriel + 510.1.1 = { holder = et_kartli_867_47 } # Tavfechag + 516.1.1 = { holder = et_kartli_867_46 } # Chirmagi-Chigirmane + 523.1.1 = { holder = et_kartli_867_45 } # Saba + 532.1.1 = { holder = et_kartli_867_44 } # Evlavi + 544.1.1 = { holder = et_kartli_867_43 } # Samoel + 553.1.1 = { holder = et_kartli_867_42 } # Makari + 569.1.1 = { holder = et_kartli_867_41 } # Svimeon + 575.1.1 = { holder = et_kartli_867_40 } # Samoel + 582.1.1 = { holder = et_kartli_867_39 } # Samoel + 591.1.1 = { holder = et_kartli_867_38 } # Bartlome + 595.1.1 = { holder = et_kartli_867_37 } # Kirion + 610.1.1 = { holder = et_kartli_867_36 } # Ioane + 619.1.1 = { holder = et_kartli_867_35 } # Babila + 629.1.1 = { holder = et_kartli_867_34 } # Tabor + 634.1.1 = { holder = et_kartli_867_33 } # Samoel + 640.1.1 = { holder = et_kartli_867_32 } # Evnon + 649.1.1 = { holder = et_kartli_867_31 } # Tavfechag + 664.1.1 = { holder = et_kartli_867_30 } # Evlale + 668.1.1 = { holder = et_kartli_867_29 } # Iovel + 670.1.1 = { holder = et_kartli_867_28 } # Samoel + 677.1.1 = { holder = et_kartli_867_27 } # Giorgi + 678.1.1 = { holder = et_kartli_867_26 } # Kirion + 683.1.1 = { holder = et_kartli_867_25 } # Izid-Bozidi + 685.1.1 = { holder = et_kartli_867_24 } # Teodore + 689.1.1 = { holder = et_kartli_867_23 } # Petre + 720.1.1 = { holder = et_kartli_867_22 } # Talale + 731.1.1 = { holder = et_kartli_867_21 } # Mamai + 744.1.1 = { holder = et_kartli_867_20 } # Ioane + 760.1.1 = { holder = et_kartli_867_19 } # Grigol + 767.1.1 = { holder = et_kartli_867_18 } # Sarmeane + 774.1.1 = { holder = et_kartli_867_17 } # Mikael + 780.1.1 = { holder = et_kartli_867_16 } # Samoel + 791.1.1 = { holder = et_kartli_867_15 } # Kirile + 802.1.1 = { holder = et_kartli_867_14 } # Grigol + 814.1.1 = { holder = et_kartli_867_13 } # Samoel + 826.1.1 = { holder = et_kartli_867_12 } # Giorgi + 838.1.1 = { holder = et_kartli_867_11 } # Gabriel + 850.1.1 = { holder = et_kartli_867_10 } # Ilarion + 860.1.1 = { holder = et_kartli_867_9 } # Arsen + 887.1.1 = { holder = et_kartli_867_8 } # Evsuki + 900.1.1 = { holder = et_kartli_867_7 } # Klementos + 914.1.1 = { holder = et_kartli_867_6 } # Basili + 930.1.1 = { holder = et_kartli_867_5 } # Mikael + 944.1.1 = { holder = et_kartli_867_4 } # Davit + 955.1.1 = { holder = et_kartli_867_3 } # Arseni + 980.1.1 = { holder = et_kartli_867_2 } # Okropir + 1001.1.1 = { holder = et_kartli_867_1 } # Svimeon + # Georgia transition + 1001.6.1 = { + holder = et_georgia_1066_5 # Melkisedek + clerical_region = et_1066_georgia_region + name = d_et_georgia + } + 1031.1.1 = { holder = et_georgia_1066_4 } # Okropir + 1039.1.1 = { holder = et_georgia_1066_5 } # Melkisedek + 1045.1.1 = { holder = et_georgia_1066_4 } # Okropir + 1049.1.1 = { holder = et_georgia_1066_3 } # Ekvtime + 1055.1.1 = { holder = et_georgia_1066_2 } # Girogi + 1065.1.1 = { holder = et_georgia_1066_1 } # Gabriel + #1178 + 1080.1.1 = { holder = et_georgia_1178_7 } # Dimitri + 1090.1.1 = { holder = et_georgia_1178_6 } # Basili + 1100.1.1 = { holder = et_georgia_1178_5 } # Ioane + 1142.1.1 = { holder = et_georgia_1178_4 } # Svimeon + 1146.1.1 = { holder = et_georgia_1178_3 } # Saba + 1150.1.1 = { holder = et_georgia_1178_2 } # Nikoloz + 1178.1.1 = { holder = et_georgia_1178_1 } # Girogi +} + +d_et_seleucia_ctesiphon = { # Seleucia-Ctesiphon + 415.1.1 = { + holder = 166254 + government = ecclesiastical_government + clerical_region = et_867_seleucia_ctesiphon_region + } + 420.1.1 = { holder = 166255 } + 420.6.1 = { holder = 166256 } + 421.1.1 = { holder = 166257 } + 457.1.1 = { holder = 166258 } + 484.1.1 = { holder = 166259 } + 485.1.1 = { holder = 166260 } + 497.1.1 = { holder = 166261 } + 503.1.1 = { holder = 166262 } + 524.1.1 = { holder = 166263 } + 530.1.1 = { holder = 166264 } + 536.1.1 = { holder = 166263 } + 538.1.1 = { holder = 166265 } + 540.1.1 = { holder = 166266 } + 552.1.1 = { holder = 166267 } + 567.1.1 = { holder = 166268 } + 582.1.1 = { holder = 166269 } + 596.1.1 = { holder = 166270 } + 605.1.1 = { holder = 166271 } + 609.1.1 = { holder = 166272 } + 611.1.1 = { holder = 166273 } #coadjutor with Aba 166274 in the North (Assyria region) + 628.1.1 = { holder = 166275 } + 646.1.1 = { holder = 166276 } + 649.1.1 = { holder = 166277 } + 661.1.1 = { holder = 166278 } + 680.1.1 = { holder = 166279 } + 686.1.1 = { holder = 166280 } + 691.1.1 = { holder = 166281 } + 693.1.1 = { holder = 166280 } + 714.1.1 = { holder = 166282 } + 731.1.1 = { holder = 166283 } + 741.1.1 = { holder = 166284 } + 753.1.1 = { holder = 166285 } + 753.6.1 = { holder = 166286 } + 773.1.1 = { holder = 166287 } + 780.1.1 = { holder = 166288 } + 823.1.1 = { holder = 166289 } + 828.1.1 = { holder = 166290 } + 831.1.1 = { holder = 166291 } + 837.1.1 = { holder = 166292 } + 853.1.1 = { holder = 166293 } + 860.1.1 = { holder = 166294 } + 877.1.1 = { holder = 166295 } + 877.6.1 = { holder = 166296 } + 884.1.1 = { holder = 166297 } + 893.1.1 = { holder = 166298 } + 900.1.1 = { holder = 166299 } + 906.1.1 = { holder = 166300 } + 937.1.1 = { holder = 166301 } + 961.1.1 = { holder = 166302 } + 963.1.1 = { holder = 166303 } + 987.1.1 = { holder = 166304 } + 1000.1.1 = { holder = 166305 } + 1012.1.1 = { holder = 166306 } + 1020.1.1 = { holder = 166307 } + 1028.1.1 = { holder = 166308 } + 1049.1.1 = { holder = 166309 } + 1064.1.1 = { holder = 166310 } + 1072.1.1 = { holder = patriarch_in_the_east_70 } # Abdisho II + 1090.1.1 = { holder = patriarch_in_the_east_71 } # Makkikha + 1110.1.1 = { holder = patriarch_in_the_east_72 } # Eliya II + 1132.1.1 = { holder = patriarch_in_the_east_73 } # Bar Sawma + 1136.1.1 = { holder = patriarch_in_the_east_74 } # Abdisho III + 1148.1.1 = { holder = patriarch_in_the_east_75 } # Isho'yahb V + 1175.5.25 = { holder = patriarch_in_the_east_76 } # Eliya III +} + +d_et_tyre = { # Tyre + 1122.1.1 = { + holder = et_tyre_1178_6 # Odo + government = ecclesiastical_government + clerical_region = et_1178_tyre_region + } + 1124.1.1 = { holder = 0 } # vacancy + 1127.1.1 = { holder = et_tyre_1178_5 } # William I + 1135.1.1 = { holder = 32272 } # Folquet + 1146.1.1 = { holder = et_tyre_1178_4 } # Ralph, not consecrated + 1151.1.1 = { holder = et_tyre_1178_3 } # Peter + 1164.1.1 = { holder = et_tyre_1178_2 } # Frederick + 1174.6.6 = { holder = et_tyre_1178_1 } # William II +} + +# Africa +d_et_alexandria = { # Alexandria + 43.1.1 = { holder = 161518 } #Markos I + 230.11.18 = { + holder = et_alexandria_867_41 # Heraclas + government = ecclesiastical_government + clerical_region = et_867_alexandria_region + } + 246.12.28 = { holder = et_alexandria_867_40 } # Dionysius the Great + 264.11.9 = { holder = et_alexandria_867_39 } # Maximus + 282.12.11 = { holder = et_alexandria_867_38 } # Theonas + 302.2.8 = { holder = et_alexandria_867_37 } # Peter (the Seal of the Martyrs) + 311.12.24 = { holder = et_alexandria_867_36 } # Achillas + 312.7.10 = { holder = et_alexandria_867_35 } # Alexander I + 328.5.5 = { holder = 161520 } # Athanasius (the Apostolic) + 373.5.27 = { holder = et_alexandria_867_33 } # Peter II + 379.3.14 = { holder = et_alexandria_867_32 } # Timothy I + 385.8.28 = { holder = et_alexandria_867_31 } # Theophilus I + 412.10.17 = { holder = 161508 } # Cyril + 444.8.8 = { holder = et_alexandria_867_29 } # Dioscorus (the Champion of Orthodoxy) + 455.10.13 = { holder = et_alexandria_867_28 } # Timothy II + 477.9.14 = { holder = et_alexandria_867_27 } # Peter III + 489.12.11 = { holder = 161521 } # Athanasius II + 496.9.29 = { holder = 161514 } # John I + 505.5.29 = { holder = 161515 } # John II + 516.6.10 = { holder = et_alexandria_867_23 } # Dioscorus II + 518.11.10 = { holder = et_alexandria_867_22 } # Timothy III + 536.2.22 = { holder = 161522 } # Theodosius I + 567.7.25 = { holder = et_alexandria_867_20 } # Peter IV + 569.6.26 = { holder = et_alexandria_867_19 } # Damian + 605.7.9 = { holder = et_alexandria_867_18 } # Anastasius + 617.1.2 = { holder = et_alexandria_867_17 } # Andronicus + 623.9.17 = { holder = 161524 } # Benjamin I + 662.9.22 = { holder = et_alexandria_867_15 } # Agathon + 680.12.10 = { holder = 161516 } # John III + 690.1.16 = { holder = et_alexandria_867_13 } # Isaac + 692.12.19 = { holder = et_alexandria_867_12 } # Simeon I + 704.5.8 = { holder = et_alexandria_867_11 } # Alexander II + 729.3.26 = { holder = et_alexandria_867_10 } # Cosmas I + 730.7.8 = { holder = 161523 } # Theodore I + 743.9.14 = { holder = 161509 } # Michael I + 767.4.9 = { holder = et_alexandria_867_7 } # Mina I + 777.1.24 = { holder = 161517 } # John IV + 819.5.12 = { holder = et_alexandria_867_5 } # James + 830.2.28 = { holder = et_alexandria_867_4 } # Simeon II + 831.11.30 = { holder = et_alexandria_867_3 } # Joseph + 849.11.20 = { holder = 161510 } # Michael II + 851.7.21 = { holder = et_alexandria_867_1 } # Cosmas II + 859.1.8 = { holder = 168592 } # Shenouda + # 1066 + 880.4.25 = { holder = 161511 } # Michael III + 909.5.29 = { holder = 161513 } # Gabriel I + 920.2.28 = { holder = et_alexandria_1066_9 } # Cosmas III + 932.4.9 = { holder = 161512 } # Macarius I + 952.8.1 = { holder = et_alexandria_1066_7 } # Theophilus II + 956.12.20 = { holder = et_alexandria_1066_6 } # Mina II + 975.11.28 = { holder = et_alexandria_1066_5 } # Abraham + 979.4.10 = { holder = et_alexandria_1066_4 } # Philotheos + 1004.9.28 = { holder = et_alexandria_1066_3 } # Zacharias + 1032.12.13 = { holder = et_alexandria_1066_2 } # Shenouda II + 1046.12.24 = { holder = 35001 } # Christodoulos + # 1178 + 1077.1.1 = { holder = 161491 } # Kyril II + 1092.6.6 = { holder = 161492 } # Khail IV + 1102.5.25 = { holder = 161493 } # Makarios II + 1131.1.1 = { holder = 161494 } # Gabriel II + 1145.1.1 = { holder = 161495 } # Khail V + 1146.1.1 = { holder = 161496 } # Yohannes V + 1166.4.29 = { + holder = 161497 # Markos III + clerical_region = et_1178_alexandria_region + } +} + +d_et_axum = { # Axum + 620.1.1 = { + holder = et_axum_867_3 # Qerellos + government = ecclesiastical_government + clerical_region = et_867_axum_region + } + 820.1.1 = { holder = et_axum_867_2 } # Yohannes + 860.1.1 = { holder = et_axum_867_1 } # Yaqob I + #1066 + 875.1.1 = { holder = et_axum_1066_5 } # Salama + 905.1.1 = { holder = et_axum_1066_4 } # Bartalomewos + 920.1.1 = { holder = et_axum_1066_3 } # Peter + 985.1.1 = { holder = et_axum_1066_2 } # Daniel + 1050.1.1 = { holder = et_axum_1066_1 } # Fiqtor + # 1178 + 1076.1.1 = { holder = et_axum_1178_5 } # Sawiros + 1102.1.1 = { holder = et_axum_1178_4 } # Giyorgis + 1124.1.1 = { holder = et_axum_1178_3 } # Mikael + 1151.1.1 = { holder = et_axum_1178_2 } # Yaqob + 1178.1.1 = { holder = et_axum_1178_1 } # Gabra +} + +d_et_africa = { # Carthage + 867.1.1 = { + government = ecclesiastical_government + clerical_region = et_867_africa_region + } +} diff --git a/localization/english/replace/council_l_english.yml b/localization/english/replace/council_l_english.yml index 7e2c73bbd..24f98aac4 100644 --- a/localization/english/replace/council_l_english.yml +++ b/localization/english/replace/council_l_english.yml @@ -80,11 +80,17 @@ #Fallback councillor_court_chaplain_theocrat_county:1 "Suffragan Bishop" + councillor_court_chaplain_theocrat_county_female: "Suffragan Bishopess" councillor_court_chaplain_theocrat_county_possessive:1 "Suffragan Bishop's" + councillor_court_chaplain_theocrat_county_female_possessive: "Suffragan Bishopess'" councillor_court_chaplain_theocrat_duchy:1 "Bishop" + councillor_court_chaplain_theocrat_duchy_female: "Bishopess" councillor_court_chaplain_theocrat_duchy_possessive:1 "Bishop's" + councillor_court_chaplain_theocrat_duchy_female_possessive: "Bishopess'" councillor_court_chaplain_theocrat_kingdom:1 "Archbishop" + councillor_court_chaplain_theocrat_kingdom_female: "Archbishopess" councillor_court_chaplain_theocrat_kingdom_possessive:1 "Archbishop's" + councillor_court_chaplain_theocrat_kingdom_female_possessive: "Archbishopess'" councillor_court_chaplain_theocrat_empire:0 "Patriarch" councillor_court_chaplain_theocrat_empire_female:0 "Matriarch" councillor_court_chaplain_theocrat_empire_possessive:0 "Patriarch's" @@ -92,21 +98,55 @@ #Christian councillor_court_chaplain_christian_county:1 "Suffragan Bishop" + councillor_court_chaplain_christian_county_female: "Suffragan Bishopess" councillor_court_chaplain_christian_county_possessive:1 "Suffragan Bishop's" + councillor_court_chaplain_christian_county_female_possessive: "Suffragan Bishopess'" councillor_court_chaplain_christian_duchy:1 "Bishop" + councillor_court_chaplain_christian_duchy_female: "Bishopess" councillor_court_chaplain_christian_duchy_possessive:1 "Bishop's" + councillor_court_chaplain_christian_duchy_female_possessive: "Bishopess'" councillor_court_chaplain_christian_kingdom:1 "Archbishop" + councillor_court_chaplain_christian_kingdom_female: "Archbishopess" councillor_court_chaplain_christian_kingdom_possessive:1 "Archbishop's" + councillor_court_chaplain_christian_kingdom_female_possessive: "Archbishopess'" councillor_court_chaplain_christian_empire:0 "Patriarch" councillor_court_chaplain_christian_empire_female:0 "Matriarch" councillor_court_chaplain_christian_empire_possessive:0 "Patriarch's" councillor_court_chaplain_christian_empire_female_possessive:0 "Matriarch's" + councillor_court_chaplain_catholic_county: "Court Chaplain" + councillor_court_chaplain_catholic_county_possessive: "Court Chaplain's" + councillor_court_chaplain_catholic_duchy: "Bishop" + councillor_court_chaplain_catholic_duchy_female: "Bishopess" + councillor_court_chaplain_catholic_duchy_possessive: "Bishop's" + councillor_court_chaplain_catholic_duchy_female_possessive: "Bishopess'" + councillor_court_chaplain_catholic_clerical_region: "Archbishop" + councillor_court_chaplain_catholic_clerical_region_female: "Archbishopess" + councillor_court_chaplain_catholic_clerical_region_possessive: "Archbishop's" + councillor_court_chaplain_catholic_clerical_region_female_possessive: "Archbishopess'" #Orthodox - councillor_court_chaplain_orthodox_county:1 "Suffragan Bishop" - councillor_court_chaplain_orthodox_county_possessive:1 "Suffragan Bishop's" - councillor_court_chaplain_orthodox_duchy:1 "Bishop" - councillor_court_chaplain_orthodox_duchy_possessive:1 "Bishop's" + councillor_court_chaplain_orthodox_county:1 "Priest" + councillor_court_chaplain_orthodox_county_female: "Priestess" + councillor_court_chaplain_orthodox_county_possessive:1 "Priest's" + councillor_court_chaplain_orthodox_county_female_possessive: "Priestess'" + councillor_court_chaplain_orthodox_duchy:1 "Episcopus" + councillor_court_chaplain_orthodox_duchy_female: "Episcopa" + councillor_court_chaplain_orthodox_duchy_possessive:1 "Episcopus'" + councillor_court_chaplain_orthodox_duchy_female_possessive: "Episcopa's" + councillor_court_chaplain_orthodox_clerical_region_archbishop: "Archbishop" + councillor_court_chaplain_orthodox_clerical_region_archbishop_female: "Archbishop" + councillor_court_chaplain_orthodox_clerical_region_archbishop_possessive: "Archbishop's" + councillor_court_chaplain_orthodox_clerical_region_archbishop_female_possessive: "Archbishop's" + councillor_court_chaplain_orthodox_clerical_region_exarch: "Exarch" + councillor_court_chaplain_orthodox_clerical_region_exarch_female: "Exarch" + councillor_court_chaplain_orthodox_clerical_region_exarch_possessive: "Exarch's" + councillor_court_chaplain_orthodox_clerical_region_exarch_female_possessive: "Exarch's" + councillor_court_chaplain_orthodox_clerical_region: "Metropolitan" + councillor_court_chaplain_orthodox_clerical_region_possessive: "Metropolitan's" + councillor_court_chaplain_orthodox_clerical_region_holy_site: "Patriarch" + councillor_court_chaplain_orthodox_clerical_region_holy_site_female: "Matriarch" + councillor_court_chaplain_orthodox_clerical_region_holy_site_possessive: "Patriarch's" + councillor_court_chaplain_orthodox_clerical_region_holy_site_female_possessive: "Matriarch's" councillor_court_chaplain_orthodox_kingdom:0 "Patriarch" councillor_court_chaplain_orthodox_kingdom_female:0 "Matriarch" councillor_court_chaplain_orthodox_kingdom_possessive:0 "Patriarch's" @@ -159,18 +199,6 @@ councillor_court_chaplain_buddhism_religion_kingdom_possessive:0 "Rajpurohit's" councillor_court_chaplain_buddhism_religion_empire:0 "Marajpurohit" councillor_court_chaplain_buddhism_religion_empire_possessive:0 "Marajpurohit's" - -# Thelema - councillor_court_chaplain_thelema_religion_county:0 "Court Magus" - councillor_court_chaplain_thelema_religion_county_female:0 "Court Magus" - councillor_court_chaplain_thelema_religion_county_possessive:0 "Court Magi's" - councillor_court_chaplain_thelema_religion_county_female_possessive:0 "Magi's" - councillor_court_chaplain_thelema_religion_duchy:0 "Magus" - councillor_court_chaplain_thelema_religion_duchy_possessive:0 "Magus's" - councillor_court_chaplain_thelema_religion_kingdom:0 "Archmagus" - councillor_court_chaplain_thelema_religion_kingdom_possessive:0 "Archmagus's" - councillor_court_chaplain_thelema_religion_empire:0 "Grandmagus" - councillor_court_chaplain_thelema_religion_empire_possessive:0 "Grandmagus'" # Dualism (Didaskalos) (Ecclesiarch) (Patriarch/Matriarch) councillor_court_chaplain_dualism_religion_county:0 "Didaskalos" @@ -191,16 +219,16 @@ councillor_court_chaplain_germanic_religion_empire_possessive:0 "Kjárrgoði's" # Hellenism (Augur/Seeress) (Flamen/Vestal) (Pontifex) (Oracle/Sybil) - councillor_court_chaplain_theomach_religion_county:0 "Flamen" - councillor_court_chaplain_theomach_religion_county_female:0 "Vestal" - councillor_court_chaplain_theomach_religion_county_possessive:0 "Flamen's" - councillor_court_chaplain_theomach_religion_county_female_possessive:0 "Vestal's" - councillor_court_chaplain_theomach_religion_duchy:0 "Pontifex" - councillor_court_chaplain_theomach_religion_duchy_possessive:0 "Pontifex's" - councillor_court_chaplain_theomach_religion_kingdom:0 "Oracle" - councillor_court_chaplain_theomach_religion_kingdom_female:0 "Sybil" - councillor_court_chaplain_theomach_religion_kingdom_possessive:0 "Oracle's" - councillor_court_chaplain_theomach_religion_kingdom_female_possessive:0 "Sybil's" + councillor_court_chaplain_hellenism_religion_county:0 "Flamen" + councillor_court_chaplain_hellenism_religion_county_female:0 "Vestal" + councillor_court_chaplain_hellenism_religion_county_possessive:0 "Flamen's" + councillor_court_chaplain_hellenism_religion_county_female_possessive:0 "Vestal's" + councillor_court_chaplain_hellenism_religion_duchy:0 "Pontifex" + councillor_court_chaplain_hellenism_religion_duchy_possessive:0 "Pontifex's" + councillor_court_chaplain_hellenism_religion_kingdom:0 "Oracle" + councillor_court_chaplain_hellenism_religion_kingdom_female:0 "Sybil" + councillor_court_chaplain_hellenism_religion_kingdom_possessive:0 "Oracle's" + councillor_court_chaplain_hellenism_religion_kingdom_female_possessive:0 "Sybil's" # Judaism (Court Rabbi) (Kohen) (Rabban) (Nasi) (Gadol) councillor_court_chaplain_judaism_religion_county:0 "Kohen" @@ -335,8 +363,8 @@ councillor_spymaster_celestial_government_non_imperial_possessive: "Investigating Censor's" councillor_court_chaplain_celestial_government_non_imperial: "Ritualist" councillor_court_chaplain_celestial_government_non_imperial_possessive: "Ritualist's" - councillor_court_chaplain_buddhist_chinese: "Hé Shang" - councillor_court_chaplain_buddhist_chinese_possessive: "Hé Shang's" + councillor_court_chaplain_buddhist_chinese: "Héshàng" + councillor_court_chaplain_buddhist_chinese_possessive: "Héshàng's" councillor_court_chaplain_daoist_chinese: "Taozhang" councillor_court_chaplain_daoist_chinese_possessive: "Taozhang's" councillor_court_chaplain_confucian_chinese: "Lisheng" @@ -368,6 +396,7 @@ councillor_spouse_duke:0 "Duke" councillor_spouse_count:0 "Count" councillor_spouse_baron:0 "Baron" + councillor_spouse_consort: "Consort" councillor_spouse_possessive:0 "Spouse's" councillor_spouse_prince_consort_possessive:0 "Prince Consort's" diff --git a/localization/english/replace/culture/culture_titles_l_english.yml b/localization/english/replace/culture/culture_titles_l_english.yml new file mode 100644 index 000000000..0427f722a --- /dev/null +++ b/localization/english/replace/culture/culture_titles_l_english.yml @@ -0,0 +1,1560 @@ +l_english: + + ############################################# +#General names: + baron: "Baron" + baron_female: "Baroness" + count: "Count" + count_female: "Countess" + duke: "Duke" + duke_female: "Duchess" + king: "King" + king_female: "Queen" + emperor: "Emperor" + emperor_female: "Empress" + hegemon: "Hegemon" + hegemon_female: "Hegemoness" + + baron_plural: "Barons" + count_plural: "Counts" + duke_plural: "Dukes" + king_plural: "Kings" + emperor_plural: "Emperors" + + #Default Feudal tiers + #Default Republic tiers + #Default Theocracy tiers + #Default Clan tiers + #Default Tribal tiers + #Default Imperial tiers + #Default Nomadic Clan tiers + #Default Mercenary tiers + #Default Military Order tiers + #Default Viceroyalty tiers + + + #Default Feudal tiers + baron_feudal_male:0 "Baron" + baron_feudal_female:0 "Baroness" + barony_feudal:0 "Barony" + count_feudal_male:0 "Count" + count_feudal_female:0 "Countess" + county_feudal:0 "County" + duke_feudal_male:0 "Duke" + duke_feudal_female:0 "Duchess" + duchy_feudal:0 "Duchy" + duke_feudal_independent:0 "Petty King" + duke_feudal_independent_female:0 "Petty Queen" + duchy_feudal_independent:0 "Petty Kingdom" + king_feudal_male:0 "King" + king_feudal_female:0 "Queen" + kingdom_feudal:0 "Kingdom" + emperor_feudal_male:0 "Emperor" + emperor_feudal_female:0 "Empress" + empire_feudal:0 "Empire" + + #Default Republic tiers + baron_republic_male:0 "Mayor" + baron_republic_female:0 "Mayor" + barony_republic:0 "City" + count_republic_male:0 "Lord-Mayor" + count_republic_female:0 "Lady-Mayor" + county_republic:0 "Grand City" + duke_republic_male:0 "Grand Mayor" + duke_republic_female:0 "Grand Mayor" + duchy_republic:0 "Republic" + king_republic_male:0 "High Prince" + king_republic_female:0 "High Princess" + kingdom_republic:0 "Most Serene Republic" + emperor_republic_male:0 "Grand Prince" + emperor_republic_female:0 "Grand Princess" + empire_republic:0 "Grand Principality" + + #Default Theocracy tiers + baron_theocracy_male:0 "Priest" + baron_theocracy_female:0 "Priestess" + barony_theocracy:0 "Temple" + count_theocracy_male:0 "High Priest" + count_theocracy_female:0 "High Priestess" + county_theocracy:0 "Great Temple" + duke_theocracy_male:0 "Archpriest" + duke_theocracy_female:0 "Archpriestess" + duchy_theocracy:0 "Theocracy" + king_theocracy_male:0 "Grand Priest" + king_theocracy_female:0 "Grand Priestess" + kingdom_theocracy:0 "Grand Theocracy" + emperor_theocracy_male:0 "Divine Emperor" + emperor_theocracy_female:0 "Divine Empress" + empire_theocracy:0 "Holy Empire" + + #Default Clan tiers + baron_clan_male:0 "Headman" + baron_clan_female:0 "Headwoman" + barony_clan:0 "Tribe" + count_clan_male:0 "Chieftain" + count_clan_female:0 "Chieftess" + county_clan:0 "Chiefdom" + duke_clan_male:0 "High Chief" + duke_clan_female:0 "High Chieftess" + duchy_clan:0 "High Chiefdom" + king_clan_male:0 "Patriarch" + king_clan_female:0 "Matriarch" + kingdom_clan:0 "Clan" + emperor_clan_male:0 "Grand Patriarch" + emperor_clan_female:0 "Grand Matriarch" + empire_clan:0 "Grand Clan" + + #Default Tribal/Nomadic tiers + baron_tribal_male:0 "Headman" + baron_tribal_female:0 "Headwoman" + barony_tribal:0 "Tribe" + barony_nomadic: "Settlement" + barony_herder: "Hamlets" + count_tribal_male:0 "Chieftain" + count_tribal_female:0 "Chieftess" + county_tribal:0 "Chiefdom" + duke_tribal_male:0 "High Chieftain" + duke_tribal_female:0 "High Chieftess" + duchy_tribal:0 "High Chiefdom" + king_tribal_male:0 "King" + king_tribal_female:0 "Queen" + kingdom_tribal:0 "Kingdom" + emperor_tribal_male:0 "High King" + emperor_tribal_female:0 "High Queen" + empire_tribal:0 "High Kingdom" + county_herder: "[Character.GetCapitalLocation.GetTerrain.GetNameNoTooltip]" + + #Default Mercenary tiers + baron_mercenary_male:0 "Lieutenant" + baron_mercenary_female:0 "Lieutenant" + barony_mercenary:0 "Band" + count_mercenary_male:0 "Constable" + count_mercenary_female:0 "Constable" + county_mercenary:0 "Host" + duke_mercenary_male:0 "Captain" + duke_mercenary_female:0 "Captain" + duchy_mercenary:0 "Company" + king_mercenary_male:0 "General" + king_mercenary_female:0 "Generaless" + kingdom_mercenary:0 "Army" + emperor_mercenary_male:0 "Grand General" + emperor_mercenary_female:0 "Grand Generaless" + empire_mercenary:0 "Grand Armada" + + #Default Military Order tiers + baron_holy_order_male:0 "Sergeant" + baron_holy_order_female:0 "Sergeant" + barony_holy_order:0 "Chapter" + count_holy_order_male:0 "Master" + count_holy_order_female:0 "Mistress" + county_holy_order:0 "Host" + duke_holy_order_monastic_male: "Abbot General" + duke_holy_order_monastic_female: "Abbess General" + duke_holy_order_male:0 "Grandmaster" + duke_holy_order_female:0 "Grandmistress" + duchy_holy_order:0 "Order" + king_holy_order_male:0 "Grandmaster" + king_holy_order_female:0 "Grandmistress" + kingdom_holy_order:0 "Sacred Order" + emperor_holy_order_male:0 "Grand Master" + emperor_holy_order_female:0 "Grand Mistress" + empire_holy_order:0 "Most Sacred Order" + + muslim_holy_order_male: "Ghazi" + muslim_holy_order_female: "Ghaziah" + byzantine_holy_order_male: "Katepano" + byzantine_holy_order_female: "Katepanissa" + + # Default Monastic Order tiers + # Christian/Buddhist monastic order tiers + baron_monastic_order_abbot_type_male: "Abbot" + baron_monastic_order_abbot_type_female: "Abbess" + barony_monastic_order: "Monastery" + count_monastic_order_abbot_type_male: "Abbot" + count_monastic_order_abbot_type_female: "Abbess" + county_monastic_order: "Abbey" + duke_monastic_order_abbot_type_male: "Abbot" + duke_monastic_order_abbot_type_female: "Abbess" + duchy_monastic_order: "Order" + king_monastic_order_abbot_type_male: "Archabbot" + king_monastic_order_abbot_type_female: "Archabbess" + kingdom_monastic_order: "Sacred Order" + emperor_monastic_order_abbot_type_male: "Abbot General" + emperor_monastic_order_abbot_type_female: "Abbess General" + empire_monastic_order: "Most Sacred Order" + + # default monastic order tiers + baron_monastic_order_male: "Master" + baron_monastic_order_female: "Mistress" + count_monastic_order_male: "Master" + count_monastic_order_female: "Mistress" + duke_monastic_order_male: "Sage" + duke_monastic_order_female: "Sage" + king_monastic_order_male: "Sage" + king_monastic_order_female: "Sage" + emperor_monastic_order_male: "Great Sage" + emperor_monastic_order_female: "Great Sage" + +# Default Faction Leader + faction_leader_male:0 "Leader" + faction_leader_female:0 "Leader" + +############################################## +#Theocracy titles, religious (group) localization. + +# Bon +# Buddhism +# Christianity +# Dualism +# Germanic +# Hellenism +# Hinduism +# Islam +# Jainism +# Judaism +# Magyarism +# Paganism +# Baltic +# Slavic +# Finno-Ugric +# Taoism +# Tengrism +# West African +# West African Bori +# West African Roog +# Zoroastrianism +# Zunism + +# Bon + baron_theocracy_male_bon_religion:0 "Priest" + baron_theocracy_female_bon_religion:0 "Priestess" + barony_theocracy_bon_religion:0 "Vihara" + count_theocracy_male_bon_religion:0 "High Priest" + count_theocracy_female_bon_religion:0 "High Priestess" + county_theocracy_bon_religion:0 "Great Vihara" + duchy_theocracy_bon_religion:0 "Theocracy" + king_theocracy_male_bon_religion:0 "Grand Priest" + king_theocracy_female_bon_religion:0 "Grand Priestess" + kingdom_theocracy_bon_religion:0 "Grand Theocracy" + emperor_theocracy_male_bon_religion:0 "Samrat" + emperor_theocracy_female_bon_religion:0 "Samrajni" + empire_theocracy_bon_religion:0 "Holy Concord" + +# Buddhism + baron_theocracy_male_buddhism_religion:0 "Bhikkhu" + baron_theocracy_female_buddhism_religion:0 "Bhikkhu" + barony_theocracy_buddhism_religion: "Vihara" + count_theocracy_male_buddhism_religion:0 "Bhikkhu" + count_theocracy_female_buddhism_religion:0 "Bhikkhu" + duke_theocracy_male_buddhism_religion:0 "Bhikkhu" + duke_theocracy_female_buddhism_religion:0 "Bhikkhu" + king_theocracy_male_buddhism_religion:0 "Bhikkhu" + king_theocracy_female_buddhism_religion:0 "Bhikkhu" + +# Christianity + baron_theocracy_male_christianity_religion:0 "Bishop" + baron_theocracy_female_christianity_religion:0 "Bishopess" + barony_theocracy_christianity_religion:0 "Bishopric" + count_theocracy_male_christianity_religion:0 "[CHARACTER.Custom('GetActualCountTheocracyTitle')]" + count_theocracy_female_christianity_religion:0 "[CHARACTER.Custom('GetActualCountTheocracyTitle')]" + count_theocracy_male_christianity_religion_default: "Prince-Bishop" + count_theocracy_female_christianity_religion_default: "Princess-Bishop" + count_theocracy_male_christianity_religion_archbishop_holder: "Prince-Archbishop" + count_theocracy_female_christianity_religion_archbishop_holder: "Princess-Archbishop" + count_theocracy_male_christianity_religion_archbishop_holder_possessive: "Prince-Archbishop's" + count_theocracy_female_christianity_religion_archbishop_holder_possessive: "Princess-Archbishop's" + count_theocracy_male_christianity_religion_cardinal: "Cardinal" + count_theocracy_female_christianity_religion_cardinal: "Cardinal" + county_theocracy_christianity_religion:0 "Prince-Bishopric" + duke_theocracy_male_christianity_religion_cardinal:0 "Cardinal" + duke_theocracy_female_christianity_religion_cardinal:0 "Cardinal" + duke_theocracy_male_christianity_religion_archbishop_cardinal:0 "Cardinal" + duke_theocracy_female_christianity_religion_archbishop_cardinal:0 "Cardinal" + duke_theocracy_male_christianity_religion:0 "[CHARACTER.Custom('GetActualDukeTheocracyTitle')]" + duke_theocracy_female_christianity_religion:0 "[CHARACTER.Custom('GetActualDukeTheocracyTitle')]" + duke_theocracy_male_christianity_religion_default: "Duke-Bishop" + duke_theocracy_female_christianity_religion_default: "Duchess-Bishop" + duke_theocracy_male_christianity_religion_archbishop_holder: "Duke-Archbishop" + duke_theocracy_female_christianity_religion_archbishop_holder: "Duchess-Archbishop" + duke_theocracy_male_christianity_religion_archbishop_holder_possessive: "Duke-Archbishop's" + duke_theocracy_female_christianity_religion_archbishop_holder_possessive: "Duchess-Archbishop's" + duke_theocracy_male_christianity_religion_archbishop:0 "Prince-Archbishop" + duke_theocracy_female_christianity_religion_archbishop:0 "Princess-Archbishop" + duke_theocracy_male_christianity_religion_clerical_region: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_female_christianity_religion_clerical_region: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_male_catholic_clerical_region_archbishop: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_female_catholic_clerical_region_archbishop: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_male_christian_faith_clerical_region: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_female_christian_faith_clerical_region: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_male_orthodox_clerical_region_metropolitan: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_female_orthodox_clerical_region_metropolitan: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_male_orthodox_clerical_region_archbishopric: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_female_orthodox_clerical_region_archbishopric: "[CHARACTER.Custom('GetActualBishopTitle')]" + duke_theocracy_male_orthodox_clerical_region_exarch: "Exarch" + duke_theocracy_female_orthodox_clerical_region_exarch: "Exarchessa" + duchy_theocracy_christianity_religion: "Duke-Bishopric" + king_theocracy_male_christianity_religion_cardinal: "King-Cardinal" + king_theocracy_female_christianity_religion_cardinal: "Queen-Cardinal" + king_theocracy_male_christianity_religion: "King-Bishop" + king_theocracy_female_christianity_religion: "Queen-Bishop" + kingdom_theocracy_christianity_religion: "Anointed Kingdom" + emperor_theocracy_male_christianity_religion_cardinal: "Emperor-Cardinal" + emperor_theocracy_female_christianity_religion_cardinal: "Empress-Cardinal" + emperor_theocracy_male_christianity_religion:0 "Emperor-Bishop" + emperor_theocracy_female_christianity_religion:0 "Empress-Bishop" + empire_theocracy_christianity_religion:0 "Imperial Church" + + baron_orthodox: "Bishop" + barony_orthodox: "Bishopric" + count_orthodox: "Archbishop" + county_orthodox: "Archbishopric" + duke_orthodox: "Metropolitan" + duchy_orthodox: "Metropolitanate" + king_orthodox: "Patriarch" + kingdom_orthodox: "Patriarchate" + emperor_orthodox: "Ecumenical Patriarch" + empire_orthodox: "Ecumenical Patriarchate" + baron_orthodox_female: "Presbytera" + count_orthodox_female: "Archpresbytera" + duke_orthodox_female: "Protopresbytera" + king_orthodox_female: "Protopresbytera" + emperor_orthodox_female: "Archprotopresbytera" + +# Dualism +#Same as Christianity + +# Germanic + baron_theocracy_male_germanic_religion:0 "Godi" + baron_theocracy_female_germanic_religion:0 "Gydja" + barony_theocracy_germanic_religion:0 "Temple" + count_theocracy_male_germanic_religion:0 "Hofgoði" + count_theocracy_female_germanic_religion:0 "Hofgoði" + county_theocracy_germanic_religion:0 "Great Temple" + king_theocracy_male_germanic_religion:0 "Riksgoði" + king_theocracy_female_germanic_religion:0 "Riksgoði" + emperor_theocracy_male_germanic_religion:0 "Kjárrgoði" + emperor_theocracy_female_germanic_religion:0 "Kjárrgoði" + +# Hellenism + baron_theocracy_male_hellenism_religion:0 "Flamen" + baron_theocracy_female_hellenism_religion:0 "Vestal" + count_theocracy_male_hellenism_religion:0 "High Fetial" + count_theocracy_female_hellenism_religion:0 "High Vestal" + duke_theocracy_male_hellenism_religion:0 "Pontifex" + duke_theocracy_female_hellenism_religion:0 "Pontifex" + duchy_theocracy_hellenism_religion:0 "Pontificium" + king_theocracy_male_hellenism_religion:0 "Oracle" + king_theocracy_female_hellenism_religion:0 "Sybil" + emperor_theocracy_male_hellenism_religion:0 "Grand Oracle" + emperor_theocracy_female_hellenism_religion:0 "Grand Sybil" + +# Hinduism + baron_theocracy_male_hinduism_religion:0 "Pujari" + baron_theocracy_female_hinduism_religion:0 "Pujari" + barony_theocracy_hinduism_religion:0 "Mandir" + count_theocracy_male_hinduism_religion:0 "Pujari" + count_theocracy_female_hinduism_religion:0 "Pujari" + county_theocracy_hinduism_religion:0 "Great Mandir" + duke_theocracy_male_hinduism_religion:0 "Pujari" + duke_theocracy_female_hinduism_religion:0 "Pujari" + king_theocracy_male_hinduism_religion:0 "Pujari" + king_theocracy_female_hinduism_religion:0 "Pujari" + +# Islam + baron_theocracy_male_islam_religion:0 "Mufti" + baron_theocracy_female_islam_religion:0 "Mufti" + barony_theocracy_islam_religion:0 "Mosque" + count_theocracy_male_islam_religion:0 "Sheikh" + count_theocracy_female_islam_religion:0 "Shaykhah" + county_theocracy_islam_religion:0 "Sheikhdom" + duke_theocracy_male_islam_religion:0 "Grand Mufti" + duke_theocracy_female_islam_religion:0 "Grand Mufti" + duchy_theocracy_islam_religion:0 "Grand Mosque" + king_theocracy_male_islam_religion:0 "Caliph" + king_theocracy_female_islam_religion:0 "Calipha" + kingdom_theocracy_islam_religion:0 "Caliphate" + emperor_theocracy_male_islam_religion:0 "Grand Caliph" + emperor_theocracy_female_islam_religion:0 "Grand Calipha" + empire_theocracy_islam_religion:0 "Grand Caliphate" + +# Yazidi + baron_theocracy_male_yazidi_religion:0 "Kochek" + baron_theocracy_female_yazidi_religion:0 "$baron_theocracy_male_yazidi_religion$" + barony_theocracy_yazidi_religion:0 "Shrine" + count_theocracy_male_yazidi_religion:0 "Peshimam" + count_theocracy_female_yazidi_religion:0 "$count_theocracy_male_yazidi_religion$" + county_theocracy_yazidi_religion:0 "Temple" + duke_theocracy_male_yazidi_religion:0 "Pîr" + duke_theocracy_female_yazidi_religion:0 "$duke_theocracy_male_yazidi_religion$" + duchy_theocracy_yazidi_religion:0 "Grand Temple" + king_theocracy_male_yazidi_religion:0 "Sheikh" + king_theocracy_female_yazidi_religion:0 "$king_theocracy_male_yazidi_religion$" + kingdom_theocracy_yazidi_religion:0 "Sheikhdom" + emperor_theocracy_male_yazidi_religion:0 "Baba Sheikh" + emperor_theocracy_female_yazidi_religion:0 "$emperor_theocracy_male_yazidi_religion$" + empire_theocracy_yazidi_religion:0 "Baba Sheikhdom" + +# Jainism + baron_theocracy_male_jainism_religion:0 "Nirgrantha" + baron_theocracy_female_jainism_religion:0 "Nirgrantha" + barony_theocracy_jainism_religion:0 "Derasar" + count_theocracy_male_jainism_religion:0 "Nirgrantha" + count_theocracy_female_jainism_religion:0 "Nirgrantha" + county_theocracy_jainism_religion:0 "Great Derasar" + duke_theocracy_male_jainism_religion:0 "Nirgrantha" + duke_theocracy_female_jainism_religion:0 "Nirgrantha" + king_theocracy_male_jainism_religion:0 "Nirgrantha" + king_theocracy_female_jainism_religion:0 "Nirgrantha" + +# Judaism + baron_theocracy_male_judaism_religion:0 "Rabbi" + baron_theocracy_female_judaism_religion:0 "Rabbi" + barony_theocracy_judaism_religion:0 "Temple" + count_theocracy_male_judaism_religion:0 "Kohen" + count_theocracy_female_judaism_religion:0 "Kohen" + county_theocracy_judaism_religion:0 "Great Temple" + duke_theocracy_male_judaism_religion:0 "Rabban" + duke_theocracy_female_judaism_religion:0 "Rabban" + duchy_theocracy_judaism_religion:0 "Theocracy" + king_theocracy_male_judaism_religion:0 "Nasi" + king_theocracy_female_judaism_religion:0 "Nasi" + kingdom_theocracy_judaism_religion:0 "Grand Theocracy" + emperor_theocracy_male_judaism_religion:0 "Grand Judge" + emperor_theocracy_female_judaism_religion:0 "Grand Judge" + empire_theocracy_judaism_religion:0 "Holy Empire" + +# Magyarism + count_theocracy_male_magyarism_religion:0 "Táltos" + count_theocracy_female_magyarism_religion:0 "Táltos" + duke_theocracy_male_magyarism_religion:0 "High Táltos" + duke_theocracy_female_magyarism_religion:0 "High Táltos" + king_theocracy_male_magyarism_religion:0 "Grand Táltos" + king_theocracy_female_magyarism_religion:0 "Grand Táltos" + emperor_theocracy_male_magyarism_religion:0 "Divine Emperor" + emperor_theocracy_female_magyarism_religion:0 "Divine Empress" + +# Paganism + baron_theocracy_male_paganism_religion:0 "Shaman" + baron_theocracy_female_paganism_religion:0 "Shaman" + barony_theocracy_paganism_religion:0 "Shrine" + count_theocracy_male_paganism_religion:0 "High Shaman" + count_theocracy_female_paganism_religion:0 "High Shaman" + county_theocracy_paganism_religion:0 "Great Shrine" + duke_theocracy_male_paganism_religion:0 "Archpriest" + duke_theocracy_female_paganism_religion:0 "Archpriestess" + duchy_theocracy_paganism_religion:0 "Theocracy" + king_theocracy_male_paganism_religion:0 "Grand Priest" + king_theocracy_female_paganism_religion:0 "Grand Priestess" + kingdom_theocracy_paganism_religion:0 "Grand Theocracy" + emperor_theocracy_male_paganism_religion:0 "Divine Emperor" + emperor_theocracy_female_paganism_religion:0 "Divine Empress" + empire_theocracy_paganism_religion:0 "Holy Empire" + +# Baltic + count_theocracy_male_baltic_religion:0 "Vaidilė" + count_theocracy_female_baltic_religion:0 "Vaidilutė" + duke_theocracy_male_baltic_religion:0 "High Vaidilė" + duke_theocracy_female_baltic_religion:0 "High Vaidilutė" + king_theocracy_male_baltic_religion:0 "Witch-King" + king_theocracy_female_baltic_religion:0 "Witch-Queen" + +# Slavic + count_theocracy_male_slavic_religion:0 "Zhrets" + count_theocracy_female_slavic_religion:0 "Zhritsa" + duke_theocracy_male_slavic_religion:0 "Volkhv" + duke_theocracy_female_slavic_religion:0 "Vedunya" + +# Finno-Ugric + count_theocracy_male_finno_ugric_religion:0 "Noaidi" + count_theocracy_female_finno_ugric_religion:0 "Noaidi" + duke_theocracy_male_finno_ugric_religion:0 "High Noaidi" + duke_theocracy_female_finno_ugric_religion:0 "High Noaidi" + +# Taoism (same as Pagan/Bon) + +# Tengrism (same as Pagan) + +# West African + baron_theocracy_male_west_african_religion:0 "Hogon" + baron_theocracy_female_west_african_religion:0 "Hogon" + count_theocracy_male_west_african_religion:0 "High Hogon" + count_theocracy_female_west_african_religion:0 "High Hogon" + king_theocracy_male_west_african_religion:0 "Grand Hogon" + king_theocracy_female_west_african_religion:0 "Grand Hogon" + +# West African Bori + baron_theocracy_male_west_african_bori_religion:0 "Adjingi" + baron_theocracy_female_west_african_bori_religion:0 "Magadja" + count_theocracy_male_west_african_bori_religion:0 "High Adjingi" + count_theocracy_female_west_african_bori_religion:0 "High Magadja" + king_theocracy_male_west_african_bori_religion:0 "Grand Adjingi" + king_theocracy_female_west_african_bori_religion:0 "Grand Magadja" + +# West African Roog + baron_theocracy_male_west_african_roog_religion:0 "Saltigue" + baron_theocracy_female_west_african_roog_religion:0 "Saltigue" + count_theocracy_male_west_african_roog_religion:0 "High Saltigue" + count_theocracy_female_west_african_roog_religion:0 "High Saltigue" + king_theocracy_male_west_african_roog_religion:0 "Grand Saltigue" + king_theocracy_female_west_african_roog_religion:0 "Grand Saltigue" + +# Zoroastrianism + baron_theocracy_male_zoroastrianism_religion:0 "Herbad" + baron_theocracy_female_zoroastrianism_religion:0 "Herbad" + barony_theocracy_zoroastrianism_religion:0 "Vahram" + count_theocracy_male_zoroastrianism_religion:0 "Mobed" + count_theocracy_female_zoroastrianism_religion:0 "Mobedyar" + duke_theocracy_male_zoroastrianism_religion:0 "Dastur" + duke_theocracy_female_zoroastrianism_religion:0 "Dastuyar" + +# Zunism + baron_theocracy_male_zunism_religion:0 "Sun Guardian" + baron_theocracy_female_zunism_religion:0 "Sun Guardian" + emperor_theocracy_male_zunism_religion:0 "Sun Emperor" + emperor_theocracy_female_zunism_religion:0 "Sun Empress" + + +############################################## +# Theocracy titles, faith localization (for special cases). + +# Shia + baron_theocracy_male_ismaili:0 "Mullah" + baron_theocracy_female_ismaili:0 "Mullah" + count_theocracy_male_ismaili:0 "Ayatollah" + count_theocracy_female_ismaili:0 "Ayatollah" + duke_theocracy_male_ismaili:0 "Grand Ayatollah" + duke_theocracy_female_ismaili:0 "Grand Ayatollah" + +# Orthodox + count_theocracy_male_orthodox:0 "Metropolitan" + count_theocracy_female_orthodox:0 "Metropolitan" + +############################################## +# Special cultural titles (sorted by culture, then government type). + +### Latin ### +# Republic + duke_republic_male_latin_group:0 "Doge" + duke_republic_female_latin_group:0 "Dogaressa" + king_republic_male_latin_group:0 "Serene Doge" + king_republic_female_latin_group:0 "Serene Dogaressa" + +### Roman ### +# Feudal + baron_feudal_male_roman:1 "Baro" + baron_feudal_female_roman:1 "Baronissa" + barony_feudal_roman:1 "Castrum" + count_feudal_male_roman:0 "Comes" + count_feudal_female_roman:1 "Comitissa" + county_feudal_roman:0 "County" + duke_feudal_male_roman:1 "Dux" + duke_feudal_female_roman:1 "Ducissa" + duchy_feudal_roman:0 "Duchy" + king_feudal_male_roman:0 "Rex" + king_feudal_female_roman:0 "Regina" + kingdom_feudal_roman:0 "Regnum" + emperor_feudal_male_roman:1 "Imperator" + emperor_feudal_female_roman:1 "Imperatrix" + empire_feudal_roman:1 "Imperium" + +# Republic + baron_republic_male_roman:0 "Magister" + baron_republic_female_roman:0 "Magistra" + count_republic_male_roman:0 "Praefect" + count_republic_female_roman:0 "Praefect" + duke_republic_male_roman:0 "Tribune" + duke_republic_female_roman:0 "Tribune" + duchy_republic_roman:0 "Duchy" + king_republic_male_roman:0 "Consul" + king_republic_female_roman:0 "Consul" + kingdom_republic_roman:0 "League" + emperor_republic_male_roman:0 "Princeps" + emperor_republic_female_roman:0 "Princess" + empire_republic_roman:0 "Grand Republic" + +# Viceroyalty + baron_viceroyalty_male_roman:0 "Governor" + baron_viceroyalty_female_roman:0 "Governess" + barony_viceroyalty_roman:0 "Province" + count_viceroyalty_male_roman:0 "Governor" + count_viceroyalty_female_roman:0 "Governess" + county_viceroyalty_roman:0 "Province" + duke_viceroyalty_male_roman:0 "Governor" + duke_viceroyalty_female_roman:0 "Governess" + duchy_viceroyalty_roman:0 "Province" + king_viceroyalty_male_roman:1 "Vicar" + king_viceroyalty_female_roman:1 "Vicarissa" + kingdom_viceroyalty_roman:1 "Diocese" + emperor_viceroyalty_male_roman:0 "Princeps" + emperor_viceroyalty_female_roman:1 "Principissa" + empire_viceroyalty_roman:0 "Principate" + +### Greek ### +# Feudal / Imperial + count_feudal_male_greek:0 "Komes" + count_feudal_female_greek:0 "Komitissa" + duke_feudal_male_greek:0 "Doux" + duke_feudal_female_greek:0 "Doukissa" + king_feudal_male_greek:0 "Despot" + king_feudal_female_greek:0 "Despotissa" + kingdom_feudal_greek:0 "Despotate" + emperor_feudal_male_greek:0 "Basileus" + emperor_feudal_female_greek:0 "Basilissa" + +### Byzantine ### +# Republic + duke_republic_male_byzantine_group:1 "Eparch" + duke_republic_female_byzantine_group:1 "Eparchessa" + king_republic_male_byzantine_group:0 "Serene Doge" + king_republic_female_byzantine_group:0 "Serene Dogaressa" + +# Viceroyalty + duke_viceroyalty_male_byzantine_group:0 "Strategos" + duke_viceroyalty_female_byzantine_group: "Strategissa" + duchy_viceroyalty_byzantine_group:0 "Theme" + king_viceroyalty_male_byzantine_group:0 "Exarch" + king_viceroyalty_female_byzantine_group:0 "Exarchessa" + king_viceroyalty_byzantine_group:0 "Exarchate" + emperor_viceroyalty_male_byzantine_group:0 "Grand Exarch" + emperor_viceroyalty_female_byzantine_group:0 "Grand Exarchessa" + empire_viceroyalty_byzantine_group:0 "Grand Exarchate" + +### German ### +# Feudal / Tribal + emperor_feudal_male_german:0 "Kaiser" + emperor_feudal_female_german:0 "Kaiserin" + +### Norse ### +# Feudal / Tribal + baron_feudal_male_norse:0 "Þegn" + baron_feudal_female_norse:0 "Þegn" + count_feudal_male_norse:0 "Jarl" + count_feudal_female_norse:0 "Jarl" + county_feudal_norse:0 "Jarldom" + +### English ### +# Feudal / Tribal + count_feudal_male_english:0 "Earl" + count_feudal_female_english:0 "Countess" + county_feudal_english:0 "Earldom" + +### Anglo-Saxon ### +# Feudal / Tribal + baron_feudal_male_anglo_saxon:0 "Thane" + baron_feudal_female_anglo_saxon:0 "Thane" + + baron_republic_male_anglo_saxon:0 "Reeve" + baron_republic_female_anglo_saxon:0 "Reeve" + barony_republic_anglo_saxon:0 "Borough" + + count_republic_male_anglo_saxon:0 "Sheriff" + count_republic_female_anglo_saxon:0 "Sheriff" + county_republic_anglo_saxon:0 "Shire" + +### Irish ### + +### Pictish ### + count_feudal_male_pictish:0 "Mormaer" + count_feudal_female_pictish:1 "Banmormaer" + county_feudal_pictish:0 "Mormaerdom" + +### Scottish ### + baron_republic_male_scottish:0 "Provost" + baron_republic_female_scottish:0 "Provost" + barony_republic_scottish:0 "Burgh" + + count_republic_male_scottish:0 "Lord Provost" + count_republic_female_scottish:0 "Lady Provost" + +### Hausa ### + count_feudal_female_hausan_independent:0 "Petty Magajiya" + duke_feudal_female_hausan_independent:0 "Magajiya" + king_feudal_female_hausan_independent:0 "Grand Magajiya" + +### Principalities ### +# Feudal/Tribal + duke_feudal_male_prince_independent:0 "Prince" + duke_feudal_female_prince_independent:0 "Princess" + duchy_feudal_prince_independent:0 "Principality" + duke_feudal_male_prince_always:0 "$duke_feudal_male_prince_independent$" + duke_feudal_female_prince_always:0 "$duke_feudal_female_prince_independent$" + duchy_feudal_prince_always:0 "$duchy_feudal_prince_independent$" + +### Grand Principalities ### +# Feudal + king_feudal_male_grand_prince_independent:0 "Grand Prince" + king_feudal_female_grand_prince_independent:0 "Grand Princess" + kingdom_feudal_grand_prince_independent:0 "Grand Principality" + +### Grand Duchies ### +# Feudal + king_feudal_male_grand_duke_independent:0 "Grand Duke" + king_feudal_female_grand_duke_independent:0 "Grand Duchess" + kingdom_feudal_grand_duke_independent:0 "Grand Duchy" + +### Taifas ### +# Feudal / Clan + duke_feudal_male_andalusian_independent:0 "Emir" + duke_feudal_female_andalusian_independent:0 "Emira" + duchy_feudal_andalusian_independent:0 "Taifa" + +### Lombard ### +# Feudal + duke_feudal_male_lombard_independent:0 "Prince" + duke_feudal_female_lombard_independent:0 "Princess" + duchy_feudal_lombard_independent:0 "Principality" + +### Banates ### +# Feudal + duke_feudal_male_ban:0 "Ban" + duke_feudal_female_ban:0 "Ban" + duchy_feudal_ban:0 "Banate" + +### Sardinian ### +# Feudal + barony_feudal_sardinian:0 "Curadoria" + baron_feudal_male_sardinian:0 "Curadore" + baron_feudal_female_sardinian:0 "Curadora" + county_feudal_sardinian:0 "Judicadu" + count_feudal_male_sardinian:0 "Judike" + count_feudal_female_sardinian:0 "Judesa" + duchy_feudal_sardinian:0 "Archonate" + duke_feudal_male_sardinian:0 "Archon" + duke_feudal_female_sardinian:0 "Archonesa" + +### Russian ### +# Feudal + duke_feudal_male_russian:0 "Grand Prince" + duke_feudal_female_russian:0 "Grand Princess" + duchy_feudal_russian:0 "Grand Principality" + emperor_feudal_male_russian:0 "Tsar" + emperor_feudal_female_russian:0 "Tsaritsa" + empire_feudal_russian:0 "Tsardom" + +### Arabic ### +# Feudal / Clan / Tribal + baron_feudal_male_arabic_group:1 "Wālī" + baron_feudal_female_arabic_group:1 "Wālīa" + barony_feudal_arabic_group:1 "Wilāyah" + count_feudal_male_arabic_group:0 "Sheikh" + count_feudal_female_arabic_group:0 "Shaykhah" + county_feudal_arabic_group:0 "Sheikhdom" + duke_feudal_male_arabic_group:0 "Emir" + duke_feudal_female_arabic_group:0 "Emira" + duchy_feudal_arabic_group:0 "Emirate" + king_feudal_male_arabic_group:1 "Malik" + king_feudal_female_arabic_group:1 "Malika" + kingdom_feudal_arabic_group:1 "Malikate" + king_feudal_muslim_male_arabic_group:0 "Sultan" + king_feudal_muslim_female_arabic_group:0 "Sultana" + kingdom_feudal_muslim_arabic_group:0 "Sultanate" + emperor_feudal_male_arabic_group:1 "Malik al-Muazzam" + emperor_feudal_female_arabic_group:1 "Malika al-Muazzama" + empire_feudal_arabic_group:0 "Empire" + +# Republic + baron_republic_male_arabic_group: "Ra'īs" + baron_republic_female_arabic_group: "Ra'īsa" + baron_republic_male_islamic_group: "$baron_republic_male_arabic_group$" + baron_republic_female_islamic_group: "$baron_republic_female_arabic_group$" + count_republic_male_arabic_group: "$baron_republic_male_arabic_group$" + count_republic_female_arabic_group: "$baron_republic_female_arabic_group$" + duke_republic_male_arabic_group: "Emir" + duke_republic_female_arabic_group: "Emir" + king_republic_male_arabic_group: "Malik" + king_republic_female_arabic_group: "Malik" + +### Turkish ### +# Feudal / Clan + baron_feudal_male_turkish:1 "Agha" + baron_feudal_female_turkish:1 "Hanim" + barony_feudal_turkish:1 "Timariot" + count_feudal_male_turkish:1 "Beg" + count_feudal_female_turkish:1 "Begum" + county_feudal_turkish:0 "Beylik" + duke_feudal_male_turkish:1 "Atabeg" + duke_feudal_female_turkish:1 "Atabegum" + duchy_feudal_turkish:1 "Atabegate" + king_feudal_male_turkish:0 "Sultan" + king_feudal_female_turkish:0 "Sultana" + kingdom_feudal_turkish:0 "Sultanate" + emperor_feudal_male_turkish:1 "Sultan al-Muazzam" + emperor_feudal_female_turkish:1 "Sultana al-Muazzama" + empire_feudal_turkish:0 "Empire" + +# Nomadic + count_nomad_male_turkish: "$count_feudal_male_turkish$" + count_nomad_female_turkish: "$count_feudal_female_turkish$" + county_nomad_turkish: "$county_feudal_turkish$" + duke_nomad_male_turkish: "Iltabar" + duke_nomad_female_turkish: "$duke_nomad_male_turkish$" + duchy_nomad_turkish: "Eli" + duke_independent_nomad_male_turkish: "Yabghu" + duke_independent_nomad_female_turkish: "$duke_independent_nomad_male_turkish$" + duchy_independent_nomad_turkish: "Bodun" + +### Iranian ### + duke_khorezm_male_iranian_group: "Khwarezmshah" + duke_khorezm_female_iranian_group: "Khwarezmbanebshen" + duchy_khorezm_iranian_group: "Khwarezmshahdom" +# Feudal / Clan + baron_feudal_male_iranian_group:0 "Argbadh" + baron_feudal_female_iranian_group:1 "$baron_feudal_male_iranian_group$" + barony_feudal_iranian_group:0 "Arg" + count_feudal_male_iranian_group:0 "Marzoban" + count_feudal_female_iranian_group:1 "$count_feudal_male_iranian_group$" + county_feudal_iranian_group:0 "Marzpanate" + duke_feudal_male_iranian_group:0 "Satrap" + duke_feudal_female_iranian_group:1 "$duke_feudal_male_iranian_group$" + duchy_feudal_iranian_group:0 "Satrapy" + duke_feudal_independent_male_iranian_group:2 "[SelectLocalization( CHARACTER.HasLandedTitles, 'PRIMARY_TITLE_BASE_NAME', 'SPOUSE_PRIMARY_TITLE_BASE_NAME' )]shah" + duke_feudal_independent_female_iranian_group:2 "[SelectLocalization( CHARACTER.HasLandedTitles, 'PRIMARY_TITLE_BASE_NAME', 'SPOUSE_PRIMARY_TITLE_BASE_NAME' )]banebshen" + PRIMARY_TITLE_BASE_NAME: "[Character.GetPrimaryTitle.GetBaseNameNoTierNoTooltip]" + SPOUSE_PRIMARY_TITLE_BASE_NAME: "[Character.GetPrimarySpouse.GetPrimaryTitle.GetBaseNameNoTierNoTooltip]" + duchy_feudal_independent_iranian_group:1 "Shahdom" + king_feudal_male_iranian_group:0 "Shah" + king_feudal_female_iranian_group:0 "Banebshen" + kingdom_feudal_iranian_group:1 "Shahdom" + emperor_feudal_male_iranian_group:0 "Shahanshah" + emperor_feudal_female_iranian_group:0 "Banebshenan Banebshen" + empire_feudal_iranian_group:0 "Empire" + + # Muslim Feudal/Clan + baron_feudal_muslim_male_iranian_group:0 "Nā'ib" + baron_feudal_muslim_female_iranian_group:0 "Nā'iba" + barony_feudal_muslim_iranian_group:0 "$barony_feudal_iranian_group$" + count_feudal_muslim_male_iranian_group:0 "Vālī" + count_feudal_muslim_female_iranian_group:0 "Vālīa" + county_feudal_muslim_iranian_group:0 "Vilāyah" + duke_feudal_muslim_male_iranian_group:0 "Amir" + duke_feudal_muslim_female_iranian_group:0 "Amira" + duchy_feudal_muslim_iranian_group:0 "Amirate" + king_feudal_muslim_male_iranian_group:0 "Amir-e Amiran" + king_feudal_muslim_female_iranian_group:0 "Amira-e Amiran" + kingdom_feudal_muslim_iranian_group:0 "Grand Amirate" + # Muslim Iranian Empire titles are the same as non-Muslim Iranian Imperial titles + + ### Islamic Clan Generic ### + #Default Clan tiers + baron_islamic_clan_male:0 "$baron_feudal_male_arabic_group$" + baron_islamic_clan_female:0 "$baron_feudal_female_arabic_group$" + barony_islamic_clan:0 "$barony_feudal_arabic_group$" + count_islamic_clan_male:0 "$count_feudal_male_arabic_group$" + count_islamic_clan_female:0 "$count_feudal_female_arabic_group$" + county_islamic_clan:0 "$county_feudal_arabic_group$" + duke_islamic_clan_male:0 "$duke_feudal_male_arabic_group$" + duke_islamic_clan_female:0 "$duke_feudal_female_arabic_group$" + duchy_islamic_clan:0 "$duchy_feudal_arabic_group$" + king_islamic_clan_male:0 "$king_feudal_muslim_male_arabic_group$" + king_islamic_clan_female:0 "$king_feudal_muslim_female_arabic_group$" + kingdom_islamic_clan:0 "$kingdom_feudal_muslim_arabic_group$" + emperor_islamic_clan_male:0 "$emperor_feudal_male_arabic_group$" + emperor_islamic_clan_female:0 "$emperor_feudal_female_arabic_group$" + empire_islamic_clan:0 "$empire_feudal_arabic_group$" + +### Sogdian ### +# Feudal / Clan + duke_feudal_male_sogdian:0 "Ikhshid" + +### Mongol ### +# Feudal / Clan / Tribal / Nomadic + baron_feudal_male_mongol:0 "Taishi" + +### Uyghur ### +# Feudal / Clan / Tribal / Nomadic + king_feudal_male_uyghur:0 "Idiqut" + king_feudal_female_uyghur:0 "Idiqut" + +### Altaic ### +# Feudal / Tribal / Clan / Nomadic + king_feudal_male_altaic_group:0 "Khan" + king_feudal_female_altaic_group:0 "Khanum" + kingdom_feudal_altaic_group:0 "Khanate" + emperor_feudal_male_altaic_group:0 "Khagan" + emperor_feudal_female_altaic_group:0 "Khatun" + empire_feudal_altaic_group:0 "Khaganate" + +### Dravidian / Indo-Aryan ### +# Feudal / Clan / Tribal + baron_republic_male_indo_aryan: "Nagarapati" + baron_republic_female_indo_aryan: "Nagarapati" + baron_republic_male_dravidian: "Talāra" + baron_republic_female_dravidian: "Talāra" + baron_feudal_male_dravidian_group:0 "Damapati" + baron_feudal_female_dravidian_group:0 "Damapatni" + barony_feudal_dravidian_group:0 "Dama" + count_feudal_male_dravidian_group:0 "Thakur" + count_feudal_female_dravidian_group:0 "Thakurani" + county_feudal_dravidian_group:0 "Thikana" + duke_feudal_male_dravidian_group:0 "Raja" + duke_feudal_female_dravidian_group:0 "Rani" + duchy_feudal_dravidian_group:0 "Raj" + king_feudal_male_dravidian_group:0 "Maharaja" + king_feudal_female_dravidian_group:0 "Maharani" + emperor_feudal_male_dravidian_group:0 "Samrat" + emperor_feudal_female_dravidian_group:0 "Samrajni" + hegemon_male_indic: "Chakravartin" + hegemon_female_indic: "Chakravartini" + samanta:0 "Samanta" + samanta_female:0 "Samanta" + mahasamanta:0 "Mahasamanta" + mahasamanta_female:0 "Mahasamanta" + mahasamantadhipati:0 "Mahasamantadhipati" + mahasamantadhipati_female:0 "Mahasamantadhipati" + + ###Muslim Dravidian / Indo-Aryan ### + # Feudal / Clan / Tribal + count_feudal_male_muslim_dravidian_group:0 "$count_feudal_male_dravidian_group$" + count_feudal_female_muslim_dravidian_group:0 "$count_feudal_female_dravidian_group$" + duke_feudal_muslim_male_dravidian_group:0 "$duke_feudal_muslim_male_iranian_group$" + duke_feudal_muslim_female_dravidian_group:0 "$duke_feudal_muslim_female_iranian_group$" + duchy_feudal_muslim_dravidian_group:0 "$duchy_feudal_muslim_iranian_group$" + kingdom_feudal_muslim_dravidian_group:0 "$kingdom_feudal_muslim_arabic_group$" + king_feudal_muslim_male_dravidian_group:0 "$king_feudal_muslim_male_arabic_group$" + king_feudal_muslim_female_dravidian_group:0 "$king_feudal_muslim_female_arabic_group$" + emperor_feudal_muslim_male_dravidian_group:0 "Padishah" + emperor_feudal_muslim_female_dravidian_group:1 "Shahbanu" + empire_feudal_muslim_dravidian_group:0 "$empire_feudal_arabic_group$" + + #Special Titles: Devaraja + devaraja: "Devaraja" + devarani: "Devarani" + + ## Tai Group ### + baron_feudal_male_tai_group: "Khun" + baron_feudal_female_tai_group: "Khun" + baron_republican_male_tai_group: "Chao" + baron_republican_female_tai_group: "Nang Chao" + baron_theocracy_male_tai_group: "Bhikkhu" + baron_theocracy_female_tai_group: "Bhikkhuni" + barony_feudal_tai_group: "Mueang" + count_feudal_male_tai_group: "Phraya" + count_feudal_female_tai_group: "Nang Phraya" + county_feudal_tai_group: "Phray" + duke_feudal_male_tai_group: "Ratcha" + duke_feudal_female_tai_group: "Ratchinee" + duchy_feudal_tai_group: "Ratch" + king_feudal_female_tai_group: "Maharatchinee" + king_feudal_male_tai_group: "Maharat" + emperor_feudal_male_tai_group: "Devaraja" + emperor_feudal_female_tai_group: "Devarani" + + ## Khmer Group ### + baron_feudal_male_khmer_group: "Khlon" + baron_feudal_female_khmer_group: "Khlon" + barony_feudal_khmer_group: "Sruk" + count_feudal_male_khmer_group: "Khlon" + count_feudal_female_khmer_group: "Khlon" + county_feudal_khmer_group: "Visaya" + duke_feudal_male_khmer_group: "Sdach" + duke_feudal_female_khmer_group: "Sdach" + duchy_feudal_khmer_group: "Nokor" + king_feudal_female_khmer_group: "Maharani" + king_feudal_male_khmer_group: "Maharaja" + emperor_feudal_male_khmer_group: "Samdach" + emperor_feudal_female_khmer_group: "Samdach" + + ## Austronesian Group ### + baron_feudal_male_austronesian_group: "Khlon Sruk" + baron_feudal_female_austronesian_group: "Khlon Sruk" + barony_feudal_austronesian_group: "Sruk" + count_feudal_male_austronesian_group: "Praya" + count_feudal_female_austronesian_group: "Praya" + bhupati: "Bhupati" + bhupati_female: "Bhupati" + county_feudal_austronesian_group: "Pray" + duke_feudal_male_austronesian_group: "Raja" + duke_feudal_female_austronesian_group: "Raja" + duchy_feudal_austronesian_group: "Raj" + king_feudal_female_austronesian_group: "Maharani" + king_feudal_male_austronesian_group: "Maharaja" + emperor_feudal_male_austronesian_group: "Devaraja" + emperor_feudal_female_austronesian_group: "Devarani" + + ###Austronesian Muslim### + baron_feudal_male_austronesian_muslim_group: "$baron_feudal_male_arabic_group$" + baron_feudal_female_austronesian_muslim_group: "$baron_feudal_female_arabic_group$" + barony_feudal_austronesian_muslim_group: "$barony_feudal_arabic_group$" + count_feudal_male_austronesian_muslim_group: "$count_feudal_male_arabic_group$" + count_feudal_female_austronesian_muslim_group: "$count_feudal_female_arabic_group$" + county_feudal_austronesian_muslim_group: "$county_feudal_arabic_group$" + duke_feudal_male_austronesian_muslim_group: "$duke_feudal_male_arabic_group$" + duke_feudal_female_austronesian_muslim_group: "$duke_feudal_female_arabic_group$" + duchy_feudal_austronesian_muslim_group: "$duchy_feudal_arabic_group$" + king_feudal_male_austronesian_muslim_group: "$king_feudal_muslim_male_arabic_group$" + king_feudal_female_austronesian_muslim_group: "$king_feudal_muslim_female_arabic_group$" + kingdom_feudal_austronesian_muslim_group: "$kingdom_feudal_muslim_arabic_group$" + emperor_feudal_male_austronesian_muslim_group: "$emperor_feudal_male_arabic_group$" + emperor_feudal_female_austronesian_muslim_group: "$emperor_feudal_female_arabic_group$" + empire_feudal_austronesian_muslim_group: "$empire_feudal_arabic_group$" + +### GUANCHE (Canary Islands) ### + duchy_guanche:0 "Menceyo" + kingdom_guanche:0 "High Menceyo" + count_male_guanche:0 "Coran" + duke_male_guanche:0 "Menceyato" + king_male_guanche:0 "High Menceyato" + emperor_male_guanche:0 "Petut Menceyato" + count_female_guanche:0 "Chamato" + duke_female_guanche:0 "Menceyata" + king_female_guanche:0 "High Menceyata" + emperor_female_guanche:0 "Mayec Menceyata" + +### OBSOLETE with new division ### West-African ### +# Feudal / Clan / Tribal + baron_feudal_male_west_african_group:0 "Tigui" + baron_feudal_female_west_african_group:0 "Tigua" + count_feudal_male_west_african_group_independent:0 "Jamanatigi" + count_feudal_female_west_african_group_independent:0 "Jamanatiga" + county_feudal_west_african_group:1 "Jamana" + count_feudal_male_west_african_group:0 "Farin" + count_feudal_female_west_african_group:0 "Farina" + duke_feudal_male_west_african_group:0 "Farbas" + duke_feudal_female_west_african_group:0 "Farba" + duchy_feudal_west_african_group:1 "Duchy" + king_feudal_male_west_african_group:1 "Faama" + king_feudal_female_west_african_group:1 "Malika" + kingdom_feudal_west_african_group:1 "Kingdom" + emperor_feudal_male_west_african_group:0 "Mansa" + emperor_feudal_female_west_african_group:0 "Sultana" + empire_feudal_west_african_group:0 "Kurufaba" + + +### Tibetan Group ### +# Feudal / Clan + baron_feudal_male_tibetan_group: "Rtsis Pa" + baron_feudal_female_tibetan_group: "Rtsis Pa" + count_feudal_male_tibetan_group:0 "Ngapo" + count_feudal_female_tibetan_group:0 "Ngamo" + county_feudal_tibetan_group:0 "County" + duke_feudal_male_tibetan_group:0 "Prabhu" + duke_feudal_female_tibetan_group:0 "Mahila" + duchy_feudal_tibetan_group:0 "Duchy" + king_feudal_male_tibetan_group:0 "Gyalpo" + king_feudal_female_tibetan_group:0 "Gyelmo" + kingdom_feudal_tibetan_group:0 "Gyalpo" + emperor_feudal_male_tibetan_group:0 "Tsenpo" + emperor_feudal_female_tibetan_group:0 "Maharani" + empire_feudal_tibetan_group:0 "Empire" + + ### Iberian ### + # Clan + baron_clan_male_iberian_group:0 "$baron_feudal_male_arabic_group$" + baron_clan_female_iberian_group:0 "$baron_feudal_female_arabic_group$" + barony_clan_iberian_group:0 "$barony_feudal_arabic_group$" + count_clan_male_iberian_group:0 "$count_feudal_male_arabic_group$" + count_clan_female_iberian_group:0 "$count_feudal_female_arabic_group$" + county_clan_iberian_group:0 "$county_feudal_arabic_group$" + duke_clan_male_iberian_group:0 "$duke_feudal_male_arabic_group$" + duke_clan_female_iberian_group:0 "$duke_feudal_female_arabic_group$" + duchy_clan_iberian_group:0 "$duchy_feudal_arabic_group$" + king_clan_male_iberian_group:0 "$king_feudal_male_arabic_group$" + king_clan_female_iberian_group:0 "$king_feudal_female_arabic_group$" + kingdom_clan_iberian_group:0 "$kingdom_feudal_arabic_group$" + emperor_clan_male_iberian_group:0 "$emperor_feudal_male_arabic_group$" + emperor_clan_female_iberian_group:0 "$emperor_feudal_female_arabic_group$" + empire_clan_iberian_group:0 "$empire_feudal_arabic_group$" + +#################################################### + +#Princes (children of Kings/Emperors, sorted by culture) + +### Roman ### + prince_male_roman:1 "Princeps" + prince_female_roman:1 "Principissa" + prince_male_roman_empire:0 "Caesar" + prince_female_roman_empire:1 "Caesarissa" + +### Iberian ### + prince_male_iberian_group:0 "Infante" + prince_female_iberian_group:0 "Infanta" + prince_male_iberian_group_empire:0 "Infante" + prince_female_iberian_group_empire:0 "Infanta" + +### Iranian ### + prince_male_iranian_group:0 "Shahzada" + prince_female_iranian_group:0 "Shahdokht" + prince_male_iranian_group_empire:0 "Shahzada" + prince_female_iranian_group_empire:0 "Shahdokht" + +### Dravidian / Indo-Aryan ### + prince_male_dravidian_group:0 "Rajkumar" + prince_female_dravidian_group:0 "Rajkumari" + prince_male_dravidian_group_empire:0 "Rajkumar" + prince_female_dravidian_group_empire:0 "Rajkumari" + +### Southeast Asian + prince_male_southeast_asian_group:0 "$prince_male_dravidian_group$" + prince_female_southeast_asian_group:0 "$prince_female_dravidian_group$" + prince_male_southeast_asian_group_empire:0 "$prince_male_dravidian_group_empire$" + prince_female_southeast_asian_group_empire:0 "$prince_female_dravidian_group_empire$" + + ### Muslim Dravidian / Muslim Indo-Aryan ### + ### Uses Iranian Titles + prince_muslim_male_dravidian_group:0 "$prince_male_iranian_group$" + prince_muslim_female_dravidian_group:0 "$prince_female_iranian_group$" + prince_muslim_male_dravidian_group_empire:0 "$prince_male_iranian_group_empire$" + prince_muslim_female_dravidian_group_empire:0 "$prince_female_iranian_group_empire$" + +## Imperial Prince ## + prince_empire:0 "Prince" + princess_empire:0 "Princess" + + ## Carthaginian Princess and Princess ## + + banim: "Banim" + banut: "Banut" + +#################################################### +#Special titles + ecumenical_patriarch:0 "Ecumenical Patriarch" + ecumenical_matriarch:0 "Ecumenical Matriarch" + pope_male:0 "$christianity_religious_head_title$" + pope_female:0 "$christianity_religious_head_title_female$" + caliph:0 "Caliph" + archduke:0 "Archduke" + archduchess:0 "Archduchess" + archduchy:0 "Archduchy" + title_prince:0 "Prince" + title_princess:0 "Princess" + title_principality:0 "Principality" + swiss_confederation:0 "Confederation" + title_high_king:0 "High King" + title_high_queen:0 "High Queen" + title_high_kingdom:0 "High Kingdom" + count_feudal_male_e_britannia:0 "Earl" + count_feudal_female_e_britannia:0 "Countess" + county_feudal_e_britannia:0 "Earldom" + count_feudal_male_k_wales:0 "Lord" + count_feudal_female_k_wales:0 "Lady" + county_feudal_k_wales:0 "Lordship" + county_isle:0 "Isle" + duke_feudal_brittany:0 "$duke$" + duke_feudal_brittany_female:0 "$duke_female$" + duchy_feudal_brittany:0 "$duchy$" + emperor_male_carthaginian: "Shofet" + emperor_female_carthaginian: "Shofet" + king_male_carthaginian: "Adirim" + king_female_carthaginian: "Adirima" + duke_male_carthaginian: "Rab" + duke_female_carthaginian: "Raba" + count_male_carthaginian: "Baal" + count_female_carthaginian: "Baal'at" + baron_male_carthaginian: "Adonis" + baron_female_carthaginian: "Adonia" + empire_carthaginian: "Sofetut" + kingdom_carthaginian: "Adirut" + duchy_carthaginian: "Rabbut" + county_carthaginian: "Ba'alut" + barony_carthaginian: "Adon'ut" + + dauphin_male_french:0 "Dauphin" + dauphin_female_french:0 "Dauphine" + dauphinate_french:0 "Dauphinate" + + king_feudal_male_k_ireland_irish:0 "High King" + king_feudal_female_k_ireland_irish:0 "High Queen" + kingdom_feudal_k_ireland_irish:0 "High Kingdom" + realm_priest_male:0 "[CHARACTER.GetCouncilTitle]" + realm_priest_female:0 "[CHARACTER.GetCouncilTitle]" + head_of_faith_male:0 "[CHARACTER.GetFaith.ReligiousHeadName|U]" + head_of_faith_female:0 "[CHARACTER.GetFaith.ReligiousHeadNameFemale|U]" + +### Berber ### +# Feudal / Clan + baron_feudal_male_berber_group:0 "Nā'ib" + baron_feudal_female_berber_group:0 "Nā'iba" + barony_feudal_berber_group:0 "Bou" + count_feudal_male_berber_group:0 "Wālī" + count_feudal_female_berber_group:0 "Wālia" + county_feudal_berber_group:0 "Wilāyah" + count_feudal_male_berber_group_independent:0 "Sheikh" + count_feudal_female_berber_group_independent:0 "Shaykha" + county_feudal_berber_group_independent:0 "Sheikhdom" + duke_feudal_male_berber_group:0 "Emir" + duke_feudal_female_berber_group:0 "Emira" + duchy_feudal_berber_group:0 "Emirate" + king_feudal_male_berber_group:0 "Amīr al-Umarā" + king_feudal_female_berber_group:0 "Amīra al-Umarā" + kingdom_feudal_berber_group:0 "Grand Emirate" + emperor_feudal_male_berber_group:0 "Malik al-Mulūk" + emperor_feudal_female_berber_group:0 "Malika al-Mulūk" + empire_feudal_berber_group:0 "Empire" +# Tribal + baron_tribal_male_berber_group:0 "Ra'īs" + baron_tribal_female_berber_group:0 "Ra'īsa" + count_tribal_male_berber_group:0 "Sheikh" + count_tribal_female_berber_group:0 "Shaykha" + county_tribal_berber_group:0 "Sheikdom" + + +### Sahelian ### +# Feudal / Clan / Tribal + baron_feudal_male_sahelian_group:0 "Horo" + baron_feudal_female_sahelian_group:0 "Hora" + count_feudal_male_sahelian_group:0 "Debegume" + count_feudal_female_sahelian_group:0 "Debeguma" + duke_feudal_male_sahelian_group:0 "Nyanyagume" + duke_feudal_female_sahelian_group:0 "Nyanyaguma" + king_feudal_male_sahelian_group:0 "Maghan" + king_feudal_female_sahelian_group:0 "Magha" + emperor_feudal_male_sahelian_group:0 "Kaya Magha" + emperor_feudal_female_sahelian_group:0 "Kaya Magha" + +### Senegambian group ### +# Feudal / Clan / Tribal + baron_feudal_male_senegambian_group:0 "Tigui" + baron_feudal_female_senegambian_group:0 "Tigua" + count_feudal_male_senegambian_group:0 "Geer" + count_feudal_female_senegambian_group:0 "Geera" + duke_feudal_male_senegambian_group:0 "Damel" + duke_feudal_female_senegambian_group:0 "Damela" + king_feudal_male_senegambian_group:0 "Simbago" + king_feudal_female_senegambian_group:0 "Simbaga" + emperor_feudal_male_senegambian_group:0 "Soma" + emperor_feudal_female_senegambian_group:0 "Soma" + +### Yoruba group ### +# Feudal / Clan / Tribal + baron_feudal_male_yoruba_group:0 "Uzama" + baron_feudal_female_yoruba_group:0 "Uzama" + count_feudal_male_yoruba_group:0 "Nana" + count_feudal_female_yoruba_group:0 "Nana" + duke_feudal_male_yoruba_group:0 "Ajapada" + duke_feudal_female_yoruba_group:0 "Ajapada" + king_feudal_male_yoruba_group:0 "Oba" + king_feudal_female_yoruba_group:0 "Oba" + emperor_feudal_male_yoruba_group:0 "Alafin" + emperor_feudal_female_yoruba_group:0 "Alafin" + +### Somalian group ### +# Feudal / Clan / Tribal + baron_feudal_male_somalian_group:0 "Akil" + baron_feudal_female_somalian_group:0 "Akilad" + count_feudal_male_somalian_group:0 "Islan" + count_feudal_female_somalian_group:0 "Islanad" + duke_feudal_male_somalian_group:0 "Gerad" + duke_feudal_female_somalian_group:0 "Geradad" + king_tribal_male_somalian_group:0 "Ughaz" + king_tribal_female_somalian_group:0 "Ughazad" + king_feudal_male_somalian_group:0 "Suldaan" + king_feudal_female_somalian_group:0 "Suldaanad" + emperor_feudal_male_somalian_group:0 "Boqor" + emperor_feudal_female_somalian_group:0 "Boqorad" + +### Central African group ### +# Feudal / Clan / Tribal + baron_feudal_male_central_african_group:0 "Chima Chidibe" + baron_feudal_female_central_african_group:0 "Chima Chidibe" + count_feudal_male_central_african_group:0 "Chima" + count_feudal_female_central_african_group:0 "Chima" + duke_feudal_male_central_african_group:0 "Galadima" + duke_feudal_female_central_african_group:0 "Galadima" + king_feudal_male_central_african_group:0 "Mai" + king_feudal_female_central_african_group:0 "Gumsu" + emperor_feudal_male_central_african_group:0 "Sultan" + emperor_feudal_female_central_african_group:0 "Sultana" + +### Akan group ### +# Feudal / Clan / Tribal + baron_feudal_male_akan_group:0 "Obaatan" + baron_feudal_female_akan_group:0 "Obaatana" + count_feudal_male_akan_group:0 "Nana" + count_feudal_female_akan_group:0 "Nana" + duke_feudal_male_akan_group:0 "Krontihene" + duke_feudal_female_akan_group:0 "Krontihena" + king_feudal_male_akan_group:0 "Omanhene" + king_feudal_female_akan_group:0 "Omanhena" + emperor_feudal_male_akan_group:0 "Akanhene" + emperor_feudal_female_akan_group:0 "Akanhena" + +### Beja ### +# Feudal / Clan / Tribal + baron_feudal_male_beja:0 "Omda" + baron_feudal_female_beja:0 "Omda" + count_feudal_male_beja:0 "Nazir" + count_feudal_female_beja:0 "Nazira" + duke_feudal_male_beja:0 "Emir" + duke_feudal_female_beja:0 "Emira" + king_feudal_male_beja:0 "Malik" + king_feudal_female_beja:0 "Malika" + emperor_feudal_male_beja:0 "Sultan" + emperor_feudal_female_beja:0 "Sultana" + +### Ethiopian ### +# Feudal / Clan / Tribal + count_feudal_male_ethiopian:0 "Ras" + count_feudal_female_ethiopian:0 "Woyzerit" + duke_feudal_male_ethiopian:0 "Mesfin" + duke_feudal_female_ethiopian:0 "Woyzero" + king_feudal_male_ethiopian:0 "Negus" + king_feudal_female_ethiopian:0 "Nigist" + emperor_feudal_male_ethiopian:0 "Negusa Negast" + emperor_feudal_female_ethiopian:0 "Itege" + +### Hausa ### +# Feudal / Clan / Tribal + baron_feudal_male_hausan:0 "Gida" + baron_feudal_female_hausan:0 "Gida" + count_feudal_male_hausan:0 "Sarkin Gadi" + count_feudal_female_hausan:0 "Sarkina Gadi" + duke_feudal_male_hausan:0 "Galadima" + duke_feudal_female_hausan:0 "Magajiya" + king_feudal_male_hausan:1 "Sarkin" + king_feudal_female_hausan:1 "Sarauniya" + emperor_feudal_male_hausan:1 "Sarkin Sarakuna" + emperor_feudal_female_hausan:1 "Sarauniyar Sarauniya" + +### Italic +# Feudal + count_republic_latin_male:0 "Podesta" + count_republic_latin_female:0 "Podestaressa" + +### Swahili ### +# Feudal / Clan / Tribal / Admin + duke_feudal_male_swahili_sultan_independent: "Sultan" + duke_feudal_female_swahili_sultan_independent: "Sultana" + duchy_feudal_swahili_sultan_independent: "Sultanate" + baron_republic_swahili_male: "Tamim" + baron_republic_swahili_female: "Tamim" + +### Administrative + + baron_administrative_male_byzantine_group: "Archon" + baron_administrative_female_byzantine_group: "Archon" + barony_administrative_byzantine_group: "Archontia" + count_administrative_male_byzantine_group: "Tourmarchēs" + count_administrative_female_byzantine_group: "Tourmarchēs" + county_administrative_byzantine_group: "Tourma" + baron_administrative_male_indo_persian_group: "Alim" + baron_administrative_female_indo_persian_group: "Alima" + count_administrative_male_indo_persian_group: "Shiqdar" + count_administrative_female_indo_persian_group: "Shiqdara" + duke_administrative_male_indo_persian_group: "Wali" + duke_administrative_female_indo_persian_group: "Waliyya" + + count_administrative_male: "Magistrate" + count_administrative_female: "Magistrate" + county_administrative: "Magistracy" + duke_administrative_male: "Governor" + duke_administrative_female: "Governess" + duchy_administrative: "Province" + duke_administrative_male_byzantine_group: "Strategos" + duke_administrative_female_byzantine_group: "Strategitissa" + duchy_administrative_byzantine_group: "Theme" + + king_administrative_male: "Viceroy" + king_administrative_female: "Vicereine" + kingdom_administrative: "Viceroyalty" + kingdom_administrative_independent: "$kingdom_feudal$" + king_administrative_independent_male: "$king_feudal_male$" + king_administrative_independent_female: "$king_feudal_female$" + king_administrative_male_byzantine_group: "Catepan" + king_administrative_female_byzantine_group: "Catepanissa" + king_administrative_independent_male_byzantine_group: "Despot" + king_administrative_independent_female_byzantine_group: "Despotissa" + kingdom_administrative_byzantine_group: "Catepanate" + kingdom_administrative_independent_byzantine_group: "Despotate" + emperor_administrative_male_greek: "Basileus" + emperor_administrative_female_greek: "Basilissa" + emperor_of_hindustan_male_admin: "Sultan al-Salațin" + emperor_of_hindustan_female_admin: "Sultan al-Salațin" + + king_administrative_male_roman: "Prefect" + king_administrative_female_roman: "Prefect" + king_administrative_independent_male_roman: "Rex" + king_administrative_independent_female_roman: "Regina" + kingdom_administrative_roman: "Praefectura" + kingdom_administrative_independent_roman: "Regnum" + emperor_administrative_male_roman: "Imperator" + emperor_administrative_female_roman: "Imperatrix" + hegemon_administrative_male_roman: "Augustus" + hegemon_administrative_female_roman: "Augusta" + empire_administrative_roman: "Imperium" + + emperor_administrative_vassal_byzantine_group: "Exarchate" + emperor_administrative_vassal_male_byzantine_group: "Exarch" + emperor_administrative_vassal_female_byzantine_group: "Exarchessa" + + emperor_administrative_vassal_roman: "Diocese" + emperor_administrative_vassal_male_roman: "Vicar" + emperor_administrative_vassal_female_roman: "Vicarissa" + + co_ruler_male: "Co-[SelectLocalization( Character.GetLiege.IsFemale, 'co_ruler_male_gender_fallback', 'co_ruler_actual')]" + co_ruler_female: "Co-[SelectLocalization( Character.GetLiege.IsFemale, 'co_ruler_actual', 'co_ruler_female_gender_fallback')]" + co_ruler_actual: "[Character.GetLiegeEvenWhenDead.GetTitleAsNameNoTooltip]" + co_ruler_male_gender_fallback: "[Character.Custom('GetCoRulerDiffGenderBestTitle')]" + co_ruler_female_gender_fallback: "[Character.Custom('GetCoRulerDiffGenderBestTitle')]" + GetCoRulerDiffGenderBestTitle_Spouse: "[Character.GetLiege.GetPrimarySpouse.GetTitleAsNameNoTooltip]" + + custom_imperator_caesar_augustus: "Imperator Caesar Augustus" + + ### Landless Adventurer Camps + duke_landless_adventurer_male_camp: "Captain" + duke_landless_adventurer_female_camp: "Captain" + duchy_landless_adventurer_camp: "Camp" + spouse_landless_adventurer_male: "Master" + spouse_landless_adventurer_holder_female: "Mistress" + + duke_landless_adventurer_camp_mercenaries: "Captain" + duke_landless_adventurer_camp_wanderers: "[Character.Custom('MistressMaster')|U]" + duke_landless_adventurer_camp_scholars: "[Character.Custom('MistressMaster')|U]" + duke_landless_adventurer_camp_explorers: "Leader" + duke_landless_adventurer_camp_brigands: "Boss" + duke_landless_adventurer_camp_legitimists: "[Character.GetLadyLord|U]" + + duchess_landless_adventurer_camp_mercenaries: "Captain" + duchess_landless_adventurer_camp_wanderers: "[Character.Custom('MistressMaster')|U]" + duchess_landless_adventurer_camp_scholars: "[Character.Custom('MistressMaster')|U]" + duchess_landless_adventurer_camp_explorers: "Leader" + duchess_landless_adventurer_camp_brigands: "Boss" + duchess_landless_adventurer_camp_legitimists: "[Character.GetLadyLord|U]" + + ### Estates + spouse_estate_holder_male: "Lord" + spouse_estate_holder_female: "Lady" + ### Ecclesiastical + spouse_theocracy_female: "Mistress" + spouse_theocracy_male: "Master" + + ### Easter Eggs + lady_in_shadows: "Lady in Shadows" + + ### Additional Flavor Titles + # Margraves + feudal_margrave_male: "Marquess" + feudal_margrave_male_german_group: "Margrave" + feudal_margrave_female: "Marchioness" + feudal_margrave_female_german_group: "Margravine" + feudal_margrave_title: "March" + feudal_margrave_title_german_group: "Margravate" + # Palatins + feudal_palatinate_county_male: "Count Palatine" + feudal_palatinate_county_female: "Countess Palatine" + feudal_palatinate_county_title: "Count Palatinate" + feudal_palatinate_duchy_male: "Palatine" + feudal_palatinate_duchy_female: "Palatine" + feudal_palatinate_duchy_title: "Palatinate" + # Burgraves + feudal_castellan_male: "Castellan" + feudal_castellan_male_german_group: "Burgrave" + feudal_castellan_female: "Castellan" + feudal_castellan_female_german_group: "Burgravine" + feudal_castellan_title: "Castellany" + feudal_castellan_title_german_group: "Burgravate" + + ### Herders + count_herder_male: "Shepherd" + count_herder_female: "Shepherdess" + + # Celestial Admin + hegemon_celestial_male_chinese: "Huángdì" + hegemon_celestial_female_chinese: "$hegemon_celestial_male_chinese$" + spouse_hegemon_celestial_male_chinese: "Húangfū" + spouse_hegemon_celestial_female_chinese: "Húanghòu" + + hegemon_male_chinese: "$hegemon_celestial_male_chinese$" + hegemon_female_chinese: "$hegemon_celestial_male_chinese$" + spouse_hegemon_male_chinese: "$spouse_hegemon_celestial_male_chinese$" + spouse_hegemon_female_chinese: "$spouse_hegemon_celestial_female_chinese$" + emperor_male_chinese_independent: "$hegemon_celestial_male_chinese$" # 皇帝 + emperor_female_chinese_independent: "$hegemon_celestial_male_chinese$" + spouse_emperor_male_chinese_independent: "$spouse_hegemon_celestial_male_chinese$" # 皇夫 + spouse_emperor_female_chinese_independent: "$spouse_hegemon_celestial_female_chinese$" # 皇后 + + emperor_celestial_male_chinese_civilian_governor: "Coordinator" + emperor_celestial_male_chinese_military_governor: "Supreme Commander" + emperor_celestial_male_chinese_protectorate_governor: "Grand Protector-General" + king_celestial_male_chinese_civilian_governor: "Intendant" + king_celestial_male_chinese_military_governor: "Commandant" + king_celestial_male_chinese_protectorate_governor: "Protector-General" + duke_celestial_male_chinese_governor: "Governor" + count_celestial_male_chinese_governor: "Prefect" + baron_celestial_male_chinese_governor: "Magistrate" + + emperor_celestial_female_chinese_civilian_governor: "$spouse_celestial_governor_female$" + emperor_celestial_female_chinese_military_governor: "$spouse_celestial_governor_female$" + king_celestial_female_chinese_civilian_governor: "$spouse_celestial_governor_female$" + king_celestial_female_chinese_military_governor: "$spouse_celestial_governor_female$" + duke_celestial_female_chinese_governor: "$spouse_celestial_governor_female$" + count_celestial_female_chinese_governor: "$spouse_celestial_governor_female$" + baron_celestial_female_chinese_governor: "$spouse_celestial_governor_female$" + + emperor_celestial_female_chinese_civilian_governess: "$emperor_celestial_male_chinese_civilian_governor$" + emperor_celestial_female_chinese_military_governess: "$emperor_celestial_male_chinese_military_governor$" + emperor_celestial_female_chinese_protectorate_governess: "$emperor_celestial_male_chinese_protectorate_governor$" + king_celestial_female_chinese_civilian_governess: "$king_celestial_male_chinese_civilian_governor$" + king_celestial_female_chinese_military_governess: "$king_celestial_male_chinese_military_governor$" + king_celestial_female_chinese_protectorate_governess: "$king_celestial_male_chinese_protectorate_governor$" + duke_celestial_female_chinese_governess: "$duke_celestial_male_chinese_governor$" + count_celestial_female_chinese_governess: "$count_celestial_male_chinese_governor$" + baron_celestial_female_chinese_governess: "$baron_celestial_male_chinese_governor$" + + emperor_celestial_male_chinese_civilian_governess: "$spouse_celestial_governor_male$" + emperor_celestial_male_chinese_military_governess: "$spouse_celestial_governor_male$" + king_celestial_male_chinese_civilian_governess: "$spouse_celestial_governor_male$" + king_celestial_male_chinese_military_governess: "$spouse_celestial_governor_male$" + duke_celestial_male_chinese_governess: "$spouse_celestial_governor_male$" + count_celestial_male_chinese_governess: "$spouse_celestial_governor_male$" + baron_celestial_male_chinese_governess: "$spouse_celestial_governor_male$" + + hegemony_celestial_chinese: "Hegemony" + empire_celestial_chinese_vassal: "Secretariat" + empire_celestial_chinese_protectorate_vassal: "Grand Protectorate" + kingdom_celestial_chinese_vassal: "Circuit" + kingdom_celestial_chinese_protectorate_vassal: "Protectorate" + duchy_celestial_chinese_vassal: "Province" + county_celestial_chinese_vassal: "Prefecture" + barony_celestial_chinese_vassal: "District" + + spouse_celestial_governor_female: "Lady" + spouse_celestial_governor_male: "Gentleman" + + prince_male_celestial_chinese: "Imperial Prince" + princess_female_celestial_chinese: "Imperial Princess" + + celestial_estate_holder_male: "Gentleman" + celestial_estate_holder_female: "Lady" + + celestial_empress_dowager: "Empress Dowager" + + baron_republic_male_chinese: "Ward Head" + + # Ministers + minister_chancellor_male: "Grand Chancellor" + minister_chancellor_female: "Grand Chancellor" + minister_censor_male: "Imperial Censor" + minister_censor_female: "Imperial Censor" + minister_grand_marshal_male: "Grand Marshal" + minister_grand_marshal_female: "Grand Marshal" + minister_any_male: "Minister" + minister_any_female: "Minister" + + jiedushi: "Jiédùshǐ" # Military Commissioner + dudu: "Dūdū" # Commander-in-Chief + cishi: "Cìshǐ" # Regional Prefect + jinglueshi: "Jīnglüèshǐ" # Pacification Commissioner + + emperor_celestial_male_chinese_independent: "Huángdì" # 皇帝 + emperor_celestial_female_chinese_independent: "$hegemon_celestial_male_chinese$" + spouse_emperor_celestial_male_chinese_independent: "Húangfū" # 皇夫 + spouse_emperor_celestial_female_chinese_independent: "Húanghòu" # 皇后 + + clerical_elector_duchy_cardinalate: "Cardinalate" + + christian_saint: "St." + christian_female_saint: "St." + muslim_saint: "Wali" + muslim_female_saint: "Waliyya" + hellenic_saint: "Divus" + hellenic_female_saint: "Diva" + jain_saint: "Siddha" + shinto_saint: "Kami" + confucian_saint: "Xianru" # 先儒 + buddhist_saint: "Ārya" + taoist_saint: "Zhenren" # 真人 + jewish_saint: "Tzadik" + jewish_female_saint: "Tzadeket" + venerated_ancestor: "Venerated Ancestor" + cardinal_male: "Cardinal" + cardinal_female: "Cardinal" diff --git a/localization/english/replace/dlc/pam/pam_flavorization_l_english.yml b/localization/english/replace/dlc/pam/pam_flavorization_l_english.yml new file mode 100644 index 000000000..b7ccd22a9 --- /dev/null +++ b/localization/english/replace/dlc/pam/pam_flavorization_l_english.yml @@ -0,0 +1,12 @@ +l_english: + clerical_region_duchy_fallback: "$clerical_region_duchy_catholic$" + clerical_region_duchy_catholic: "Archdiocese" + clerical_region_duchy_west_christian: "$clerical_region_duchy_catholic$" + clerical_region_duchy_orthodox: "$d_et_metropolitanate_prefix$" + clerical_region_duchy_east_christian: "$d_et_metropolitanate_prefix$" + clerical_region_duchy_patriarchate: "Patriarchate" + clerical_region_duchy_metropolitanate: "$d_et_metropolitanate_prefix$" + clerical_region_duchy_archbishopric: "Archbishopric" + clerical_region_duchy_exarchate: "Exarchate" + clerical_elector_cardinalate: "Cardinalate" + monastery_christian: "Monastery"