Merge branch 'next-version-dev' into current-patch-bugfixing-dev

This commit is contained in:
Fishedotjpg 2026-09-29 16:08:42 +01:00
commit 1135023c18
554 changed files with 161751 additions and 25623 deletions

View file

@ -241,6 +241,59 @@ restore_patriarch_scripted_effect = {
resolve_title_and_vassal_change = scope:patriarch_change
}
}
restore_r_patriarch_scripted_effect = {
root.faith = {
change_fervor = {
value = 100
desc = fervor_gain_ep_restored
}
}
hidden_effect = {
create_character = {
template = religious_leader_character
random_traits = no
save_scope_as = new_patriarch
}
scope:new_patriarch = {
add_trait = education_learning_3
add_trait = zealous
add_trait = intellect_good_1
random_list = {
1 = { add_trait = humble }
1 = { add_trait = diligent }
1 = { add_trait = just }
1 = { add_trait = compassionate }
1 = { add_trait = stubborn }
}
}
create_title_and_vassal_change = {
type = returned
save_scope_as = patriarch_change
add_claim_on_loss = no
}
title:k_russian_orthodox = {
change_title_holder = {
holder = scope:new_patriarch
change = scope:patriarch_change
}
}
scope:new_patriarch = {
change_liege = {
liege = root
change = scope:patriarch_change
}
}
resolve_title_and_vassal_change = scope:patriarch_change
}
}
form_marblist_decision_effect = {
add_prestige = massive_prestige_gain
add_piety = massive_piety_gain
@ -285,6 +338,62 @@ form_marblist_decision_effect = {
}
destroy_title = title:e_greece
}
if = {
limit = {
exists = title:e_turkey
}
destroy_title = title:e_turkey
}
if = {
limit = {
title:k_k_nikaea = { is_titular = no }
OR = {
has_title = title:k_nikaea
completely_controls = title:k_nikaea
}
}
title:k_k_nikaea = { set_de_jure_liege_title = title:e_NEOW_byzantium }
}
if = {
limit = {
title:k_anatolia = { is_titular = no }
OR = {
has_title = title:k_anatolia
completely_controls = title:k_anatolia
}
}
title:k_anatolia = { set_de_jure_liege_title = title:e_NEOW_byzantium }
}
if = {
limit = {
k_pontus = { is_titular = no }
OR = {
has_title = k_pontus
completely_controls = k_pontus
}
}
k_pontus = { set_de_jure_liege_title = title:e_NEOW_byzantium }
}
if = {
limit = {
title:k_cilicia = { is_titular = no }
OR = {
has_title = title:k_cilicia
completely_controls = title:k_cilicia
}
}
title:k_cilicia = { set_de_jure_liege_title = title:e_NEOW_byzantium }
}
if = {
limit = {
title:k_armenitolia = { is_titular = no }
OR = {
has_title = title:k_armenitolia
completely_controls = title:k_armenitolia
}
}
title:k_armenitolia = { set_de_jure_liege_title = title:e_NEOW_byzantium }
}
if = {
limit = {
title:k_serbia = { is_titular = no }
@ -435,4 +544,78 @@ create_head_of_faith_title_effect = {
}
}
}
}
mend_orthodox_schism_scripted_effect = {
hidden_effect = {
save_scope_as = schism_mender
# The decision taker's Church becomes the reunited Church.
faith = {
save_scope_as = reunited_orthodox_faith
change_fervor = {
value = 25
desc = fervor_gain_orthodox_schism_mended
}
}
# Eastern Orthodox victory
if = {
limit = {
faith = faith:orthodox
}
faith:russian_orthodox = {
save_scope_as = schismatic_orthodox_faith
remove_religious_head_title = yes
remove_doctrine = special_doctrine_mainline_orthodox
add_doctrine = special_doctrine_true_orthodox
change_fervor = {
value = -25
desc = fervor_loss_orthodox_schism_mended
}
}
}
# Russian Orthodox victory
else = {
faith:orthodox = {
save_scope_as = schismatic_orthodox_faith
remove_religious_head_title = yes
remove_doctrine = special_doctrine_mainline_orthodox
add_doctrine = special_doctrine_true_orthodox
change_fervor = {
value = -25
desc = fervor_loss_orthodox_schism_mended
}
}
}
# Rulers of the defeated Church are offered reunion.
every_ruler = {
limit = {
faith = scope:schismatic_orthodox_faith
NOT = {
government_has_flag = government_is_theocracy
}
}
trigger_event = NEOW_religious_decision.0210
}
set_nickname_effect = {
NICKNAME = nick_the_ecumenist
}
# Flavour event for the victorious ruler
scope:schism_mender = {
trigger_event = NEOW_religious_decision.0211
}
}
}