Scripted effect
mend_great_schism_scripted_effect
mend_great_schism_scripted_effect = yesgame/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 832 (177 lines). No parameters.
mend_great_schism_scripted_effect is a scripted effect in Crusader Kings III, written at line 832 of its file. It takes no parameters: mend_great_schism_scripted_effect = yes. The game's script calls it in 3 places, among them Mend the Great Schism Through Conquest (decision), Mend the Great Schism Through Diplomacy (decision) and The Great Schism Mended (event roman_restoration.0100). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
What it does
- Their faith:
- If does not have the Ecumenism Doctrine:
add_doctrine = special_doctrine_ecumenical_christian
- Fervor increases by +25
- If does not have the Ecumenism Doctrine:
- If their faith is Catholicism: ⟨faith⟩ Faith with all of their Divergent Rites will become Rites of … Faith
- Else, if their faith is Orthodoxy: ⟨faith⟩ Faith with all of their Divergent Rites will become Rites of … Faith
- Otherwise: … and … with all of their Divergent Rites are folded into … Faith
- Every player:
- Where: Their faith is the same as yours
- Event roman_restoration.0103
- Every ruler:
- Where:
faith.religion = root.faith.religion- Their faith is the same as yours
- Their government is not a Theocratic-type Government
- Their faith:
- Event roman_restoration.0101
- Where:
- Every player:
- Where:
- Event roman_restoration.0102
- Christianity › • Every Christian Faith with Ecumenism:
set_nickname_effect = { NICKNAME = nick_the_ecumenist }
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (120 lines of game script)
mend_great_schism_scripted_effect = {
faith = {
if = { #If from obscure branch of Christianity, make it official.
limit = {
NOT = { has_doctrine = special_doctrine_ecumenical_christian }
}
add_doctrine = special_doctrine_ecumenical_christian
}
change_fervor = {
value = medium_fervor_gain
desc = fervor_gain_mended_schism
}
}
if = {
limit = {
faith = faith:catholic
}
custom_tooltip = {
text = pam_mend_great_schism_effect_tt_byz
faith:catholic = {
save_scope_as = mending_faith
}
faith:orthodox = {
main_rite = {
save_scope_as = byzantine_rite
}
remove_religious_head_title = yes
every_faith_rite = {
limit = {
faith != scope:mending_faith
}
set_can_convert_to_rite = no
set_parent_faith = {
target = faith:catholic
main = no
include_derived = no
}
}
}
}
}
else_if = {
limit = {
faith = faith:orthodox
}
custom_tooltip = {
text = pam_mend_great_schism_effect_tt_rom
faith:orthodox = {
save_scope_as = mending_faith
}
faith:catholic = {
main_rite = {
save_scope_as = roman_rite
}
remove_religious_head_title = yes
every_faith_rite = {
limit = {
faith != scope:mending_faith
}
set_can_convert_to_rite = no
set_parent_faith = {
target = faith:orthodox
main = no
include_derived = no
}
}
}
}
}
else = {
custom_tooltip = {
text = pam_mend_great_schism_effect_tt
faith = {
save_scope_as = mending_faith
}
faith:orthodox = {
main_rite = {
save_scope_as = byzantine_rite
}
remove_religious_head_title = yes
every_faith_rite = {
limit = {
faith != scope:mending_faith
}
set_can_convert_to_rite = no
set_parent_faith = {
target = root.faith
main = no
include_derived = no
}
}
}
faith:catholic = {
main_rite = {
save_scope_as = roman_rite
}
remove_religious_head_title = yes
every_faith_rite = {
limit = {
faith != scope:mending_faith
}
set_can_convert_to_rite = no
set_parent_faith = {
target = root.faith
main = no
include_derived = no
}
}
}
}
}
every_player = { #Notify all players of the same Faith.
limit = {
this != root
faith = root.faith
}
trigger_event = roman_restoration.0103
}
every_ruler = { #Notify rulers of other Christian branches that they are no longer valid and offer chance at conversion.
limit = {As written in game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
The first 120 of its 177 lines; the rest is in game/common/scripted_effects/00_major_decisions_scripted_effects.txt from line 832.
Where it is used
Every place in common/, events/ and history/ that calls mend_great_schism_scripted_effect.
Events (1)
- The Great Schism Mended
roman_restoration.0100
Source: game/common/scripted_effects/00_major_decisions_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.