orthodox and flavour titles etc stuff

This commit is contained in:
Greekman 2026-11-09 06:28:58 +00:00
parent ee27f506f6
commit 4704b0a7de
11 changed files with 1830 additions and 47 deletions

View file

@ -10974,7 +10974,10 @@ expand_ecclesiastical_title_interaction = {
# Clerical region supporting HoF
is_available = {
is_ai = no
pam_is_clerical_title_authority_trigger = yes # HoF, or the Head of Rites when the faith has no HoF
OR = {
pam_is_clerical_title_authority_trigger = yes
pam_symphonia_secular_emperor_investiture_trigger = yes
}
faith ?= { has_doctrine_parameter = has_clerical_regions }
has_pam_dlc_trigger = yes
is_adult = yes
@ -10988,9 +10991,16 @@ expand_ecclesiastical_title_interaction = {
is_ruler = yes
faith ?= scope:actor.faith
pam_government_is_religious_playable_trigger = yes
# Picker only lists duchies around the region at the recipient's capital
pam_acting_clerical_region_trigger = { ARCHBISHOP = this }
pam_actor_is_clerical_title_authority_of_this_trigger = yes
OR = {
AND = {
pam_acting_clerical_region_trigger = { ARCHBISHOP = this }
pam_actor_is_clerical_title_authority_of_this_trigger = yes
}
AND = {
scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes }
pam_symphonia_imperial_merge_acting_region_trigger = { ARCHBISHOP = this }
}
}
}
}
@ -11004,6 +11014,13 @@ expand_ecclesiastical_title_interaction = {
scope:recipient = {
is_imprisoned = no
is_adult = yes
OR = {
pam_actor_is_clerical_title_authority_of_this_trigger = yes
AND = {
scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes }
pam_symphonia_imperial_merge_acting_region_trigger = { ARCHBISHOP = this }
}
}
custom_tooltip = { # Must match can_be_picked_title below
text = expand_ecclesiastical_title_no_eligible_target_tt
pam_has_eligible_expand_ecclesiastical_title_target_trigger = yes

View file

@ -861,7 +861,7 @@ kingdom_vassal_theocrat_exarchate = {
governments = { theocracy_government ecclesiastical_government }
religions = { eastern_orthodox_religion oriental_orthodox_religion }
flavourization_rules = {
top_liege = no
top_liege = yes
only_vassals = yes
}
}
@ -874,7 +874,7 @@ king_vassal_theocrat_exarch_male = {
governments = { theocracy_government ecclesiastical_government }
religions = { eastern_orthodox_religion oriental_orthodox_religion }
flavourization_rules = {
top_liege = no
top_liege = yes
only_vassals = yes
spouse_takes_title = no
}
@ -888,7 +888,7 @@ king_vassal_theocrat_exarch_female = {
governments = { theocracy_government ecclesiastical_government }
religions = { eastern_orthodox_religion oriental_orthodox_religion }
flavourization_rules = {
top_liege = no
top_liege = yes
only_vassals = yes
spouse_takes_title = no
}
@ -900,7 +900,7 @@ empire_vassal_theocrat_exarchate = {
governments = { theocracy_government ecclesiastical_government }
religions = { eastern_orthodox_religion oriental_orthodox_religion }
flavourization_rules = {
top_liege = no
top_liege = yes
only_vassals = yes
}
}
@ -913,7 +913,7 @@ empire_vassal_theocrat_exarch_male = {
governments = { theocracy_government ecclesiastical_government }
religions = { eastern_orthodox_religion oriental_orthodox_religion }
flavourization_rules = {
top_liege = no
top_liege = yes
only_vassals = yes
spouse_takes_title = no
}
@ -927,7 +927,7 @@ empire_vassal_theocrat_exarch_female = {
governments = { theocracy_government ecclesiastical_government }
religions = { eastern_orthodox_religion oriental_orthodox_religion }
flavourization_rules = {
top_liege = no
top_liege = yes
only_vassals = yes
spouse_takes_title = no
}

File diff suppressed because it is too large Load diff

View file

@ -1019,6 +1019,63 @@ neow_restored_papacy_submit_catholics_effect = {
}
neow_merge_western_clerical_regions_under_rome_effect = {
if = {
limit = { title:d_et_lazio = { has_clerical_region = yes } }
while = {
count = 8
limit = {
OR = {
any_sub_realm_county = {
exists = clerical_region_title
NOT = { clerical_region_title = title:d_et_lazio }
}
any_realm_county = {
exists = clerical_region_title
NOT = { clerical_region_title = title:d_et_lazio }
}
}
}
every_sub_realm_county = {
limit = {
exists = clerical_region_title
NOT = { clerical_region_title = title:d_et_lazio }
}
clerical_region_title ?= {
if = {
limit = {
has_clerical_region = yes
this != title:d_et_lazio
}
save_temporary_scope_as = neow_rome_absorbed_region
title:d_et_lazio = {
grow_clerical_region_from = scope:neow_rome_absorbed_region
}
}
}
}
every_realm_county = {
limit = {
exists = clerical_region_title
NOT = { clerical_region_title = title:d_et_lazio }
}
clerical_region_title ?= {
if = {
limit = {
has_clerical_region = yes
this != title:d_et_lazio
}
save_temporary_scope_as = neow_rome_absorbed_region
title:d_et_lazio = {
grow_clerical_region_from = scope:neow_rome_absorbed_region
}
}
}
}
}
}
}
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.
@ -1071,6 +1128,9 @@ neow_establish_western_orthodox_rite_effect = {
add_claim_on_loss = no
}
title:d_et_lazio = {
# The restored Orthodox Roman see succeeds the historical Papacy;
# do not erase the separate, living Catholic Head of Faith.
copy_title_history = title:k_papal_state
change_title_holder = {
holder = scope:neow_western_lazio_bishop
change = scope:neow_western_lazio_title_change
@ -1109,6 +1169,13 @@ neow_establish_western_orthodox_rite_effect = {
}
}
# All sees touching the realm are reunited with Rome. Scan AFTER the Roman
# bishop has been installed so the receiving region exists and the list
# cannot be lost across the rite-creation/title-change effects.
hidden_effect = {
neow_merge_western_clerical_regions_under_rome_effect = yes
}
set_global_variable = {
name = neow_western_orthodox_rite_established
value = yes
@ -1118,11 +1185,14 @@ neow_establish_western_orthodox_rite_effect = {
add_prestige = 300
hidden_effect = {
# Catholic vassals within the founder's realm are the only rulers invited.
# Catholic heads of faith (especially the Pope) cannot be converted.
# Invite all Catholic vassals and rulers of Western cultural heritage,
# including non-Catholic Westerners. Never invite heads of faith.
every_vassal_or_below = {
limit = {
faith = { religion = religion:catholic_religion }
OR = {
faith = { religion = religion:catholic_religion }
neow_western_orthodox_vassal_heritage_trigger = yes
}
NOT = { any_held_title = { is_head_of_faith = yes } }
}
if = {
@ -1134,15 +1204,19 @@ neow_establish_western_orthodox_rite_effect = {
}
}
# Only the founder's subrealm is touched. Catholic player rulers who
# have not yet chosen, and Catholic HoFs, retain their own counties.
# Only the founder's subrealm is touched. Player vassals eligible
# through either Catholic faith or Western heritage keep their counties
# until they actually accept the invitation. Heads of faith are exempt.
every_sub_realm_county = {
limit = {
faith = { religion = religion:catholic_religion }
NOT = {
holder = {
is_ai = no
faith = { religion = religion:catholic_religion }
OR = {
faith = { religion = religion:catholic_religion }
neow_western_orthodox_vassal_heritage_trigger = yes
}
}
}
NOT = {
@ -1155,19 +1229,25 @@ neow_establish_western_orthodox_rite_effect = {
}
}
# Used on an AI Catholic vassal or a player vassal who has accepted the offer.
# 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 = {
set_character_faith = faith:orthodox
set_character_rite = rite:western_orthodox_rite
# 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 = {
limit = {
tier = tier_county
faith = { religion = religion:catholic_religion }
OR = {
faith = { religion = religion:catholic_religion }
holder = { neow_western_orthodox_vassal_heritage_trigger = yes }
}
}
set_county_faith = faith:orthodox
set_county_rite = rite:western_orthodox_rite
}
set_character_faith = faith:orthodox
set_character_rite = rite:western_orthodox_rite
}
# Character scope. Clergy know the liturgical tongue formally prescribed by their rite.

View file

@ -45,4 +45,34 @@ NEOW_has_not_restored_r_patriarchate = {
has_variable = moscow_patriarchate_restored
}
}
}
}
# Character scope: West-European and historically Western-Christian cultural heritages.
# Catholic vassals remain eligible regardless of culture or heritage.
neow_western_orthodox_vassal_heritage_trigger = {
culture = {
OR = {
has_cultural_pillar = heritage_french
has_cultural_pillar = heritage_anglo_frisian
has_cultural_pillar = heritage_scottish
has_cultural_pillar = heritage_italian
has_cultural_pillar = heritage_cisalpine
has_cultural_pillar = heritage_sardic
has_cultural_pillar = heritage_mosellic
has_cultural_pillar = heritage_rhaeto_helvetic
has_cultural_pillar = heritage_lusotanian
has_cultural_pillar = heritage_hispanic
has_cultural_pillar = heritage_brythonic
has_cultural_pillar = heritage_goidelic
has_cultural_pillar = heritage_west_germanic
has_cultural_pillar = heritage_central_germanic
has_cultural_pillar = heritage_north_germanic
has_cultural_pillar = heritage_west_slavic
has_cultural_pillar = heritage_baltic
has_cultural_pillar = heritage_balto_finnic
has_cultural_pillar = heritage_magyar
has_cultural_pillar = heritage_anglo_american
has_cultural_pillar = heritage_brazilian
}
}
}

View file

@ -3641,10 +3641,28 @@ pam_valid_new_clerical_region_anchor_trigger = {
# At least one eligible title exists
pam_valid_expand_ecclesiastical_title_target_trigger = {
$ARCHBISHOP$ = { save_temporary_scope_as = archbishop_temp }
trigger_if = {
limit = { scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes } }
$ARCHBISHOP$ = {
pam_symphonia_imperial_merge_acting_region_trigger = { ARCHBISHOP = this }
}
}
$TITLE$ = {
tier = tier_duchy
is_landless_type_title = no
is_head_of_faith = no
trigger_if = {
limit = { scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes } }
any_de_jure_county = {
count = all
holder ?= {
OR = {
this = scope:actor
is_vassal_or_below_of = scope:actor
}
}
}
}
custom_tooltip = {
text = pam_valid_expand_ecclesiastical_title_de_jure_county_faith_trigger
OR = {
@ -3666,7 +3684,13 @@ pam_valid_expand_ecclesiastical_title_target_trigger = {
text = pam_valid_expand_ecclesiastical_title_adjacent_to_clerical_region_trigger
capital_province.county.clerical_region_title ?= {
has_clerical_region = yes
is_head_of_faith = no
OR = {
is_head_of_faith = no
AND = {
is_head_of_faith = yes
scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes }
}
}
holder ?= scope:archbishop_temp
is_adjacent_to_clerical_region = $TITLE$ # very unperformant
}
@ -3687,7 +3711,13 @@ pam_has_eligible_expand_ecclesiastical_title_target_trigger = {
save_temporary_scope_as = archbishop_temp
capital_county.clerical_region_title = { # must work like this due to clerical_region_adjacent_duchies behaviour
has_clerical_region = yes
is_head_of_faith = no
OR = {
is_head_of_faith = no
AND = {
is_head_of_faith = yes
scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes }
}
}
holder ?= scope:archbishop_temp
save_temporary_scope_as = clerical_region_title_temp
any_county_in_clerical_region = {