Symphonia replacement stuff
This commit is contained in:
parent
34c3bf3827
commit
f562901553
5 changed files with 356 additions and 33 deletions
|
|
@ -1585,6 +1585,45 @@ pam_is_clerical_title_authority_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
# An imperial secular ruler of a Symphonia rite may invest and depose clergy in sees covering their realm.
|
||||
pam_symphonia_secular_emperor_investiture_trigger = {
|
||||
is_ruler = yes
|
||||
highest_held_title_tier >= tier_empire
|
||||
government_is_religious_trigger = no
|
||||
rite ?= { rite_has_parameter = neow_symphonia_secular_imperial_investiture }
|
||||
}
|
||||
|
||||
# Called from a clerical-region TITLE; limit imperial investiture to sees with counties in the emperor's realm.# An ecclesiastical title owned by the faith's sitting Head of Faith or the
|
||||
# actor's recognised Head of Faith/Antipope cannot be passed on via the grant
|
||||
# interaction. The bishop must be replaced using the replacement interaction.
|
||||
# Evaluate this in a TITLE scope with scope:actor set to the grantor.
|
||||
pam_clerical_title_held_by_own_hof_trigger = {
|
||||
holder ?= {
|
||||
OR = {
|
||||
AND = {
|
||||
exists = scope:actor.faith.religious_head
|
||||
this = scope:actor.faith.religious_head
|
||||
}
|
||||
AND = {
|
||||
exists = scope:actor.religious_head_or_challenger
|
||||
this = scope:actor.religious_head_or_challenger
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pam_symphonia_clerical_region_in_realm_trigger = {
|
||||
any_county_in_clerical_region = {
|
||||
holder ?= {
|
||||
OR = {
|
||||
this = $RULER$
|
||||
is_vassal_or_below_of = $RULER$
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pam_recipient_is_clerical_title_authority_trigger = {
|
||||
trigger_if = {
|
||||
limit = { exists = scope:puppet_or_actor.religious_head_or_challenger }
|
||||
|
|
@ -3382,6 +3421,14 @@ pam_potential_secular_clerical_split_ruler_trigger = {
|
|||
}
|
||||
highest_held_title_tier >= tier_duchy
|
||||
NOT = { pam_government_is_religious_playable_trigger = yes }
|
||||
# An emperor exercising Symphonia may only split land held by them or their vassals.
|
||||
trigger_if = {
|
||||
limit = { scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes } }
|
||||
OR = {
|
||||
this = scope:actor
|
||||
is_vassal_or_below_of = scope:actor
|
||||
}
|
||||
}
|
||||
capital_county = {
|
||||
exists = clerical_region_title
|
||||
clerical_region_title.holder = scope:recipient
|
||||
|
|
@ -3461,7 +3508,15 @@ pam_potential_merge_clerical_region_title_trigger = {
|
|||
}
|
||||
$ABSORBING_TITLE$ ?= {
|
||||
has_clerical_region = yes
|
||||
is_head_of_faith = no
|
||||
# A Symphonia emperor can enlarge the principal see of a Head of Faith.
|
||||
# A Head-of-Faith title must never be the ABSORBED title (it would be destroyed).
|
||||
OR = {
|
||||
is_head_of_faith = no
|
||||
AND = {
|
||||
is_head_of_faith = yes
|
||||
scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes }
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = pam_potential_merge_clerical_region_title_neighboring_trigger
|
||||
any_county_in_clerical_region = {
|
||||
|
|
@ -3498,6 +3553,44 @@ pam_clerical_region_at_most_three_duchies_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
# The recipient's principal clerical region must be located in a Symphonia emperor's realm.
|
||||
# This also permits a Head of Faith to act as the recipient when their principal see is a clerical region.
|
||||
pam_symphonia_imperial_merge_acting_region_trigger = {
|
||||
$ARCHBISHOP$ = {
|
||||
save_temporary_scope_as = neow_symphonia_merge_archbishop_temp
|
||||
capital_province.county.clerical_region_title ?= {
|
||||
has_clerical_region = yes
|
||||
holder = scope:neow_symphonia_merge_archbishop_temp
|
||||
pam_symphonia_clerical_region_in_realm_trigger = { RULER = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Find an adjacent, eligible clerical region which also contains land in the emperor's realm.
|
||||
# Keep the normal merger's same-Head-of-Faith, non-rite-head, and AI-holder protections.
|
||||
pam_symphonia_imperial_has_adjacent_mergeable_clerical_region_trigger = {
|
||||
custom_tooltip = {
|
||||
text = pam_has_adjacent_mergeable_clerical_region_trigger
|
||||
save_temporary_scope_as = absorbing_clerical_region_temp
|
||||
any_county_in_clerical_region = {
|
||||
any_neighboring_county = {
|
||||
clerical_region_title ?= {
|
||||
has_clerical_region = yes
|
||||
is_head_of_faith = no
|
||||
this != scope:absorbing_clerical_region_temp
|
||||
clerical_region_size > 0
|
||||
pam_symphonia_clerical_region_in_realm_trigger = { RULER = scope:actor }
|
||||
holder ?= {
|
||||
is_ai = yes
|
||||
religious_head_or_challenger = scope:absorbing_clerical_region_temp.holder.religious_head_or_challenger
|
||||
NOT = { this = rite.head_of_rite }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pam_has_adjacent_mergeable_clerical_region_trigger = {
|
||||
custom_tooltip = {
|
||||
text = pam_has_adjacent_mergeable_clerical_region_trigger
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue