diff --git a/common/decisions/religious_decisions_NEOW.txt b/common/decisions/religious_decisions_NEOW.txt index dba75f826..96c0a0597 100644 --- a/common/decisions/religious_decisions_NEOW.txt +++ b/common/decisions/religious_decisions_NEOW.txt @@ -481,6 +481,100 @@ is_shown = { always = yes } + ai_will_do = { + base = 100 + + ai_value_modifier = { + ai_zeal = 5.0 + } + + modifier = { + factor = 0 + has_trait = cynical + } + } +} +### Mend the Orthodox Schism ### +mend_orthodox_schism_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" + } + + desc = mend_orthodox_schism_decision_desc + selection_tooltip = mend_orthodox_schism_decision_tooltip + decision_group_type = major + + ai_check_interval_by_tier = { + barony = 0 + county = 120 + duchy = 120 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + is_shown = { + is_ruler = yes + is_playable_character = yes + + OR = { + faith = faith:orthodox + faith = faith:russian_orthodox + } + + NOT = { + is_target_in_global_variable_list = { + name = unavailable_unique_decisions + target = flag:flag_mended_orthodox_schism + } + } + } + + is_valid = { + piety_level >= max_piety_level + + completely_controls = title:c_byzantion + completely_controls = title:c_moskva + completely_controls = title:c_soroca + } + + is_valid_showing_failures_only = { + is_landed = yes + is_capable_adult = yes + is_imprisoned = no + is_at_war = no + top_liege = this + } + + effect = { + custom_tooltip = mend_orthodox_schism_decision_effect_tooltip + + show_as_tooltip = { + mend_orthodox_schism_scripted_effect = yes + } + + + hidden_effect = { + mend_orthodox_schism_scripted_effect = yes + + add_prestige = 1000 + add_piety = 1500 + add_legitimacy = 100 + + add_to_global_variable_list = { + name = unavailable_unique_decisions + target = flag:flag_mended_orthodox_schism + } + } + } + + ai_potential = { + OR = { + faith = faith:orthodox + faith = faith:russian_orthodox + } + } + ai_will_do = { base = 100 diff --git a/common/landed_titles/religious_titles.txt b/common/landed_titles/religious_titles.txt index 124a8df94..723095bd4 100644 --- a/common/landed_titles/religious_titles.txt +++ b/common/landed_titles/religious_titles.txt @@ -63,7 +63,6 @@ e_novelist_high_king = { k_orthodox = { landless = yes - capital = c_constantinople # Constantinople definite_form = yes ruler_uses_title_name = no diff --git a/common/scripted_effects/NEOW_religion_effects.txt b/common/scripted_effects/NEOW_religion_effects.txt index 1697626a4..2302ae796 100644 --- a/common/scripted_effects/NEOW_religion_effects.txt +++ b/common/scripted_effects/NEOW_religion_effects.txt @@ -544,4 +544,77 @@ create_head_of_faith_title_effect = { } } } +} +mend_orthodox_schism_scripted_effect = { + + hidden_effect = { + save_scope_as = schism_mender + + # The decision taker's Church becomes the reunited Church. + faith = { + save_scope_as = reunited_orthodox_faith + + change_fervor = { + value = 25 + desc = fervor_gain_orthodox_schism_mended + } + } + + # Eastern Orthodox victory + if = { + limit = { + faith = faith:orthodox + } + + faith:russian_orthodox = { + save_scope_as = schismatic_orthodox_faith + + remove_religious_head_title = yes + + remove_doctrine = special_doctrine_mainline_orthodox + add_doctrine = special_doctrine_true_orthodox + + change_fervor = { + value = -25 + desc = fervor_loss_orthodox_schism_mended + } + } + } + + # Russian Orthodox victory + else = { + faith:orthodox = { + save_scope_as = schismatic_orthodox_faith + + remove_religious_head_title = yes + + remove_doctrine = special_doctrine_mainline_orthodox + add_doctrine = special_doctrine_true_orthodox + + change_fervor = { + value = -25 + desc = fervor_loss_orthodox_schism_mended + } + } + } + + # Rulers of the defeated Church are offered reunion. + every_ruler = { + limit = { + faith = scope:schismatic_orthodox_faith + NOT = { + government_has_flag = government_is_theocracy + } + } + + trigger_event = NEOW_religious_decision.0210 + } + + set_nickname_effect = { + NICKNAME = nick_the_ecumenist + } + # Flavour event for the victorious ruler + scope:schism_mender = { + trigger_event = NEOW_religious_decision.0211 + } } \ No newline at end of file diff --git a/events/religion_events/NEOW_religious_decision_events.txt b/events/religion_events/NEOW_religious_decision_events.txt index 9d7c3a535..964652140 100644 --- a/events/religion_events/NEOW_religious_decision_events.txt +++ b/events/religion_events/NEOW_religious_decision_events.txt @@ -280,4 +280,72 @@ NEOW_religious_decision.0201 = { # Restoring the Patriarch option = { name = NEOW_religious_decision.0201.a } +} +NEOW_religious_decision.0210 = { + type = character_event + title = NEOW_religious_decision.0210.t + desc = NEOW_religious_decision.0210.desc + theme = faith + + left_portrait = { + character = root + animation = personality_rational + } + + option = { + name = NEOW_religious_decision.0210.a + + # Enter communion with the victorious Patriarchate. + set_character_faith_with_conversion = scope:reunited_orthodox_faith + + ai_chance = { + base = 75 + + modifier = { + add = 25 + has_trait = zealous + } + + modifier = { + add = -50 + has_trait = stubborn + } + + modifier = { + add = -75 + has_trait = cynical + } + } + } + + option = { + name = NEOW_religious_decision.0210.b + + ai_chance = { + base = 25 + } + } +} +NEOW_religious_decision.0211 = { + type = character_event + title = NEOW_religious_decision.0211.t + desc = NEOW_religious_decision.0211.desc + theme = faith + + override_background = { + reference = ep3_hagia_sophia + } + + override_effect_2d = { + reference = legend_glow + } + + left_portrait = { + character = root + animation = prayer + } + + option = { + name = NEOW_religious_decision.0211.a + } } \ No newline at end of file diff --git a/localization/english/replace/event_localization/religion_events/zz_NEOW_religious_decisions_l_english.yml b/localization/english/replace/event_localization/religion_events/zz_NEOW_religious_decisions_l_english.yml index 340b906ff..96d4d7f73 100644 --- a/localization/english/replace/event_localization/religion_events/zz_NEOW_religious_decisions_l_english.yml +++ b/localization/english/replace/event_localization/religion_events/zz_NEOW_religious_decisions_l_english.yml @@ -68,4 +68,22 @@ NEOW_religious_decision.0104.palamas:0 "Saint Gregory Palamas!" NEOW_religious_decision.0104.surgeon:0 "Saint Luke the Surgeon!" NEOW_religious_decision.0104.lazar:0 "Saint Lazar of Serbia!" - NEOW_religious_decision.0104.theotokos:0 "The Blessed Theotokos!" \ No newline at end of file + NEOW_religious_decision.0104.theotokos:0 "The Blessed Theotokos!" + + mend_orthodox_schism_decision:0 "Mend the Orthodox Schism" + mend_orthodox_schism_decision_confirm:0 "One Church, once more!" + mend_orthodox_schism_decision_desc:0 "The breach between Constantinople and Moscow has endured for generations, dividing Churches which profess the same apostolic faith. If both patriarchal sees are brought beneath our authority, the rival hierarchy may at last be compelled to restore communion and the wound within Orthodoxy healed." + mend_orthodox_schism_decision_tooltip:0 "Restore communion between the Constantinoplian Orthodox and Russian Orthodox Churches" + mend_orthodox_schism_decision_effect_tooltip:0 "The [ROOT.Char.GetFaith.GetAdjective] Church will become the reunited Orthodox communion. The rival Primus inter pares will forfeit the claimed status, and its faithful will be called to return to the true communion." + + fervor_gain_orthodox_schism_mended:0 "The Orthodox Schism was mended" + fervor_loss_orthodox_schism_mended:0 "The rival Patriarchate prevailed" + + NEOW_religious_decision.0210.t:0 "The One Holy Catholic and Apostolic Church" + NEOW_religious_decision.0210.desc:0 "The long breach between Moscow and Constantinople has formally ended. The victorious Patriarchate proclaims the restoration of a single Orthodox communion, and the old separation can no longer be maintained without openly rejecting the settlement." + NEOW_religious_decision.0210.a:0 "Return to communion." + NEOW_religious_decision.0210.b:0 "We will preserve our own Church." + + NEOW_religious_decision.0211.t:0 "The One Holy Catholic and Apostolic Church" + NEOW_religious_decision.0211.desc:0 "For generations, the Churches of Moscow and Constantinople stood divided, each claiming to preserve the rightful order of Orthodoxy. Now the separation has at last been overcome. and Bishops once estranged from one another commemorate the same hierarchy, clergy restore communion across the old divide, and the faithful rejoice that the ancient bonds of the Church have been renewed.\n\nWhatever disputes may linger in distant monasteries and hardened hearts, before the world there is once again one Orthodox communion." + NEOW_religious_decision.0211.a:0 "Let there be one Church before the world." \ No newline at end of file