la hecking mending the great schism (orthodox)

This commit is contained in:
Greekman 2026-11-25 15:41:53 +00:00
parent 29e4629055
commit 6544258343
12 changed files with 422 additions and 21 deletions

View file

@ -980,7 +980,7 @@ NEOW_establish_western_orthodox_rite_decision = {
is_shown = {
is_ruler = yes
faith = faith:orthodox
neow_can_establish_western_orthodox_rite_trigger = yes
NOT = { has_global_variable = neow_western_orthodox_rite_established }
}
@ -1005,7 +1005,7 @@ NEOW_establish_western_orthodox_rite_decision = {
ai_potential = {
is_ruler = yes
faith = faith:orthodox
neow_can_establish_western_orthodox_rite_trigger = yes
NOT = { has_global_variable = neow_western_orthodox_rite_established }
}
ai_will_do = { base = 100 }
@ -1200,3 +1200,84 @@ NEOW_restore_maronite_antioch_decision = {
ai_potential = { always = yes }
ai_will_do = { base = 100 modifier = { factor = 0 has_trait = cynical } }
}
NEOW_mend_the_great_schism_decision = {
picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" }
desc = NEOW_mend_the_great_schism_decision_desc
selection_tooltip = NEOW_mend_the_great_schism_decision_tooltip
decision_group_type = major
sort_order = 4
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 0
kingdom = 0
empire = 120
hegemony = 120
}
is_shown = {
is_ruler = yes
is_playable_character = yes
OR = { faith = faith:orthodox faith = faith:russian_orthodox }
highest_held_title_tier >= tier_empire
NOT = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_mended_great_schism
}
}
}
is_valid = {
custom_description = {
text = NEOW_mend_great_schism_imperial_title_tt
OR = {
has_title = title:h_NEOW_rome
has_title = title:e_nistrenia
has_title = title:e_NEOW_byzantium
has_title = title:h_athos
}
}
piety_level >= max_piety_level
completely_controls = title:c_byzantion
completely_controls = title:c_roma
completely_controls = title:c_alexandretta
completely_controls = title:c_jerusalem
completely_controls = title:c_alexandria
completely_controls = title:c_coruna
custom_description = {
text = NEOW_mend_great_schism_orthodox_reunion_tt
neow_reunited_orthodox_faith_trigger = yes
}
custom_description = {
text = NEOW_mend_great_schism_western_rite_tt
has_global_variable = neow_western_orthodox_rite_established
exists = rite:western_orthodox_rite
}
}
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 = NEOW_mend_the_great_schism_decision_effect_tooltip
give_nickname = nick_NEOW_the_new_constantine
hidden_effect = {
add_to_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_mended_great_schism
}
trigger_event = NEOW_religious_decision.0290
}
}
ai_potential = { neow_reunited_orthodox_faith_trigger = yes }
ai_will_do = { base = 100 }
}

View file

@ -63,6 +63,7 @@ nick_NEOW_priestly_fool = { is_bad = yes }
# Awarded uniquely for mending the Orthodox Schism.
# Stable identifier retained for already-awarded nicknames in existing saves.
nick_NEOW_the_healer_of_the_schism = {}
nick_NEOW_the_new_constantine = {}
nick_the_lion_of_the_north = {}
nick_o_desejado = {}
nick_the_ossi = {}

View file

@ -409,6 +409,7 @@ neow_interfaith_tolerance = {
has_doctrine = special_doctrine_pure_space
has_doctrine = special_doctrine_the_blacks
has_doctrine = special_doctrine_religion_fallback
has_doctrine = special_doctrine_NEOW_one_true_church
}
}
}

View file

@ -1606,3 +1606,64 @@ special_doctrine_religion_fallback = {
same_faith_opinion = 5
}
}
special_doctrine_NEOW_one_true_church = {
doctrine_group_type = neow_interfaith_tolerance
index = 39
icon = "special_doctrine_mainline_orthodox"
is_shown = { religion_tag = eastern_orthodox_religion }
can_pick = { always = no }
piety_cost = { value = faith_doctrine_cost_low }
parameters = { loc_parameter_one_true_church }
special_parameters = {
hostility_levels = {
same_religion = evil
same_family = evil
unrelated = evil
}
hostility_level_override = {
special_doctrine_NEOW_one_true_church = righteous
special_doctrine_NEOW_roman_communion = evil
special_doctrine_NEOW_compostelan_communion = evil
special_doctrine_independent_catholic = evil
special_doctrine_mainline_orthodox = evil
special_doctrine_miaphysite = evil
special_doctrine_olympian = evil
special_doctrine_fantastical_kinship = evil
special_doctrine_academic_kinship = evil
special_doctrine_christian_kinship = evil
special_doctrine_islamic_kinship = evil
special_doctrine_populares = evil
special_doctrine_optimates = evil
special_doctrine_established_church = evil
special_doctrine_reformation_roots = evil
special_doctrine_hermetic = evil
special_doctrine_apollonian = evil
special_doctrine_dionysian = evil
special_doctrine_common_task = evil
special_doctrine_the_reds = evil
special_doctrine_the_whites = evil
special_doctrine_fae_and_folklore = evil
special_doctrine_might_and_magick = evil
special_doctrine_goddesses_and_glory = evil
special_doctrine_crowleyan_magic = evil
special_doctrine_loyal_servants_of_the_queen = evil
special_doctrine_servants_of_the_regency = evil
special_doctrine_cult_of_saints = evil
special_doctrine_old_lore = evil
special_doctrine_via_media = evil
special_doctrine_incorruptible_dogma = evil
special_doctrine_restored_church = evil
special_doctrine_true_orthodox = evil
special_doctrine_singular_interpretation = evil
special_doctrine_regicidal = evil
special_doctrine_truest_servants_of_the_queen = evil
special_doctrine_heathen_revanchism = evil
special_doctrine_pure_space = evil
special_doctrine_the_blacks = evil
special_doctrine_religion_fallback = evil
special_doctrine_ecumenical_christian = evil
special_doctrine_ecumenical_miaphysite = evil
}
}
}

View file

@ -583,6 +583,10 @@ create_head_of_faith_title_effect = {
mend_orthodox_schism_scripted_effect = {
hidden_effect = {
save_scope_as = schism_mender
if = {
limit = { faith = faith:russian_orthodox }
set_global_variable = { name = neow_russian_orthodox_reunion_won value = yes }
}
faith = {
save_scope_as = reunited_orthodox_faith
@ -644,16 +648,9 @@ mend_orthodox_schism_scripted_effect = {
}
scope:schismatic_orthodox_faith = {
# A negotiated reunion recognises both existing patriarchal sees.
# Only the territorial settlement abolishes the opposing HoF.
if = {
limit = { NOT = { exists = scope:neow_peaceful_schism_mender } }
remove_religious_head_title = yes
}
if = {
limit = { has_doctrine = special_doctrine_not_allowed_to_hof }
remove_doctrine = special_doctrine_not_allowed_to_hof
}
# Both settlements end the rival head-of-faith office.
# A peaceful reunion preserves the patriarchal titles themselves.
remove_religious_head_title = yes
if = {
limit = { NOT = { has_doctrine = special_doctrine_pope_blessing } }
add_doctrine = special_doctrine_pope_blessing
@ -672,6 +669,10 @@ mend_orthodox_schism_scripted_effect = {
include_derived = no
}
}
if = {
limit = { NOT = { has_doctrine = special_doctrine_not_allowed_to_hof } }
add_doctrine = special_doctrine_not_allowed_to_hof
}
}
# The peaceful settlement does not depose either patriarch or the
@ -1073,6 +1074,7 @@ neow_merge_western_clerical_regions_under_rome_effect = {
neow_establish_western_orthodox_rite_effect = {
# Preserve the decision-maker's rite before the rite-creation effect runs.
# Saved as a character variable so the later option event can still read it.
faith = { save_scope_as = neow_western_orthodox_faith }
rite = { save_scope_as = neow_rome_founder_original_rite }
set_variable = {
name = neow_rome_founder_original_rite
@ -1085,8 +1087,22 @@ neow_establish_western_orthodox_rite_effect = {
convert = no
}
# Even if rite creation has an implicit founder-conversion side effect,
# keep the original rite until the founder actually selects the option.
scope:neow_western_orthodox_rite = {
if = {
limit = { faith != scope:neow_western_orthodox_faith }
set_parent_faith = {
target = scope:neow_western_orthodox_faith
main = no
include_derived = no
}
}
}
# Keep the founder in the original faith and rite until the later choice.
if = {
limit = { faith != scope:neow_western_orthodox_faith }
set_character_faith = scope:neow_western_orthodox_faith
}
if = {
limit = { rite != scope:neow_rome_founder_original_rite }
set_character_rite = scope:neow_rome_founder_original_rite
@ -1100,7 +1116,7 @@ neow_establish_western_orthodox_rite_effect = {
save_scope_as = neow_western_lazio_bishop
}
scope:neow_western_lazio_bishop = {
set_character_faith = faith:orthodox
set_character_faith = scope:neow_western_orthodox_faith
set_character_rite = scope:neow_western_orthodox_rite
add_trait = education_learning_3
add_trait = zealous
@ -1217,7 +1233,7 @@ neow_establish_western_orthodox_rite_effect = {
holder = { any_held_title = { is_head_of_faith = yes } }
}
}
set_county_faith = faith:orthodox
set_county_faith = scope:neow_western_orthodox_faith
set_county_rite = scope:neow_western_orthodox_rite
}
}
@ -1226,6 +1242,9 @@ neow_establish_western_orthodox_rite_effect = {
# Called on an AI vassal or on a player vassal who accepts the offer.
# Keep the identifier for compatibility with the already-authored vassal event.
neow_western_orthodox_convert_catholic_ruler_effect = {
rite:western_orthodox_rite = {
faith = { save_scope_as = neow_western_conversion_faith }
}
# All Western-heritage rulers bring their personal counties into their new
# rite. Other Catholic rulers only bring their Catholic counties, as before.
every_held_title = {
@ -1236,11 +1255,11 @@ neow_western_orthodox_convert_catholic_ruler_effect = {
holder = { neow_western_orthodox_vassal_heritage_trigger = yes }
}
}
set_county_faith = faith:orthodox
set_county_faith = scope:neow_western_conversion_faith
set_county_rite = rite:western_orthodox_rite
}
set_character_faith = faith:orthodox
set_character_faith = scope:neow_western_conversion_faith
set_character_rite = rite:western_orthodox_rite
}
@ -1716,3 +1735,73 @@ neow_laamp_city_builder_holding_reward_effect = {
}
}
neow_great_schism_complete_effect = {
faith = {
save_scope_as = neow_great_schism_faith
set_faith_name = {
name = neow_orthodox_catholic_church
desc = neow_orthodox_catholic_church_reunited_desc
adjective = neow_orthodox_catholic_church_adj
adherent = neow_orthodox_catholic_church_adherent
adherent_plural = neow_orthodox_catholic_church_adherent_plural
}
}
rite:western_orthodox_rite = {
if = {
limit = { faith != scope:neow_great_schism_faith }
set_parent_faith = {
target = scope:neow_great_schism_faith
main = no
include_derived = no
}
}
}
faith = {
change_doctrine = special_doctrine_NEOW_one_true_church
main_rite ?= {
if = {
limit = { NOT = { rite_has_doctrine = special_doctrine_NEOW_one_true_church } }
change_rite_doctrine = special_doctrine_NEOW_one_true_church
}
}
every_faith_rite = {
if = {
limit = { NOT = { rite_has_doctrine = special_doctrine_NEOW_one_true_church } }
change_rite_doctrine = special_doctrine_NEOW_one_true_church
}
}
change_fervor = { value = 25 desc = NEOW_great_schism_fervor_gain }
}
rite:western_orthodox_rite = { set_can_convert_to_rite = yes }
faith:roman_catholic_faith = {
if = {
limit = { NOT = { has_doctrine = special_doctrine_not_allowed_to_hof } }
add_doctrine = special_doctrine_not_allowed_to_hof
}
}
faith:compostelan_catholic_faith = {
if = {
limit = { NOT = { has_doctrine = special_doctrine_not_allowed_to_hof } }
add_doctrine = special_doctrine_not_allowed_to_hof
}
}
add_piety = 1500
add_prestige = 1000
add_legitimacy = 100
}
neow_great_schism_convert_catholic_ruler_effect = {
rite:western_orthodox_rite = {
save_scope_as = neow_united_papacy_rite
faith = { save_scope_as = neow_united_papacy_faith }
}
neow_restored_papacy_convert_catholic_ruler_effect = yes
neow_restored_papacy_convert_held_catholic_counties_effect = yes
}
neow_great_schism_invite_catholics_effect = {
every_ruler = {
limit = { faith = { religion = religion:catholic_religion } }
trigger_event = NEOW_religious_decision.0292
}
}

View file

@ -76,3 +76,41 @@ neow_western_orthodox_vassal_heritage_trigger = {
}
}
}
neow_orthodox_schism_already_mended_trigger = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_mended_orthodox_schism
}
}
neow_russian_orthodox_reunion_won_trigger = {
OR = {
has_global_variable = neow_russian_orthodox_reunion_won
rite:georgian_rite = { faith = faith:russian_orthodox }
}
}
neow_reunited_orthodox_faith_trigger = {
neow_orthodox_schism_already_mended_trigger = yes
OR = {
AND = {
faith = faith:orthodox
neow_russian_orthodox_reunion_won_trigger = no
}
AND = {
faith = faith:russian_orthodox
neow_russian_orthodox_reunion_won_trigger = yes
}
}
}
neow_can_establish_western_orthodox_rite_trigger = {
OR = {
AND = {
faith = faith:orthodox
neow_orthodox_schism_already_mended_trigger = no
}
neow_reunited_orthodox_faith_trigger = yes
}
}