Symphonia replacement stuff
This commit is contained in:
parent
34c3bf3827
commit
f562901553
5 changed files with 356 additions and 33 deletions
|
|
@ -862,3 +862,60 @@ neow_tribunal_install_restored_pope_effect = {
|
|||
add_piety = 1000
|
||||
add_prestige = 500
|
||||
}
|
||||
|
||||
# Symphonia: record the patriarchal office when an emperor replaces its holder in the
|
||||
# clerical region containing the Head of Faith title's capital. The ordinary interaction
|
||||
# moves the bishopric; the second effect keeps the HoF title with the new bishop.
|
||||
NEOW_symphonia_prepare_head_of_faith_investiture_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:actor = { pam_symphonia_secular_emperor_investiture_trigger = yes }
|
||||
exists = scope:pam_old_archbishop
|
||||
scope:pam_old_archbishop = {
|
||||
religious_head_or_challenger ?= this
|
||||
faith = { exists = religious_head_title }
|
||||
}
|
||||
scope:pam_old_archbishop.faith.religious_head_title = {
|
||||
holder ?= scope:pam_old_archbishop
|
||||
}
|
||||
scope:target = {
|
||||
has_clerical_region = yes
|
||||
pam_symphonia_clerical_region_in_realm_trigger = { RULER = scope:actor }
|
||||
OR = {
|
||||
is_head_of_faith = yes
|
||||
this = scope:pam_old_archbishop.faith.religious_head_title.title_capital_county.clerical_region_title
|
||||
this = scope:pam_old_archbishop.capital_county.clerical_region_title
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:pam_old_archbishop.faith.religious_head_title = {
|
||||
save_scope_as = neow_symphonia_investiture_hof_title
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
NEOW_symphonia_finish_head_of_faith_investiture_effect = {
|
||||
# A HoF title that was itself transferred by the normal interaction is already done.
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:neow_symphonia_investiture_hof_title
|
||||
exists = scope:pam_new_archbishop
|
||||
scope:neow_symphonia_investiture_hof_title = {
|
||||
this != scope:target
|
||||
holder ?= scope:pam_old_archbishop
|
||||
}
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = returned
|
||||
save_scope_as = neow_symphonia_investiture_hof_change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
scope:neow_symphonia_investiture_hof_title = {
|
||||
change_title_holder = {
|
||||
holder = scope:pam_new_archbishop
|
||||
change = scope:neow_symphonia_investiture_hof_change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:neow_symphonia_investiture_hof_change
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue