Russian orthodox mend schism thing

This commit is contained in:
Greekman 2026-08-30 00:29:44 +01:00
parent b369e97531
commit d66fe6b36f
5 changed files with 254 additions and 2 deletions

View file

@ -481,6 +481,100 @@ is_shown = {
always = yes
}
ai_will_do = {
base = 100
ai_value_modifier = {
ai_zeal = 5.0
}
modifier = {
factor = 0
has_trait = cynical
}
}
}
### Mend the Orthodox Schism ###
mend_orthodox_schism_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
}
desc = mend_orthodox_schism_decision_desc
selection_tooltip = mend_orthodox_schism_decision_tooltip
decision_group_type = major
ai_check_interval_by_tier = {
barony = 0
county = 120
duchy = 120
kingdom = 120
empire = 120
hegemony = 120
}
is_shown = {
is_ruler = yes
is_playable_character = yes
OR = {
faith = faith:orthodox
faith = faith:russian_orthodox
}
NOT = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_mended_orthodox_schism
}
}
}
is_valid = {
piety_level >= max_piety_level
completely_controls = title:c_byzantion
completely_controls = title:c_moskva
completely_controls = title:c_soroca
}
is_valid_showing_failures_only = {
is_landed = yes
is_capable_adult = yes
is_imprisoned = no
is_at_war = no
top_liege = this
}
effect = {
custom_tooltip = mend_orthodox_schism_decision_effect_tooltip
show_as_tooltip = {
mend_orthodox_schism_scripted_effect = yes
}
hidden_effect = {
mend_orthodox_schism_scripted_effect = yes
add_prestige = 1000
add_piety = 1500
add_legitimacy = 100
add_to_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_mended_orthodox_schism
}
}
}
ai_potential = {
OR = {
faith = faith:orthodox
faith = faith:russian_orthodox
}
}
ai_will_do = {
base = 100

View file

@ -63,7 +63,6 @@ e_novelist_high_king = {
k_orthodox = {
landless = yes
capital = c_constantinople # Constantinople
definite_form = yes
ruler_uses_title_name = no

View file

@ -544,4 +544,77 @@ 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
}
}