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

@ -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
}
}