Scripted effect · By God Alone files
pam_apply_great_schism_creation_effect
pam_apply_great_schism_creation_effect = yesgame/common/scripted_effects/pam_effects.txt, line 7371 (221 lines). No parameters.
pam_apply_great_schism_creation_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 7371 of its file. It takes no parameters: pam_apply_great_schism_creation_effect = yes. The game's script calls it in 3 places, among them great_schism.0001 (event), The Great Schism (event pam_the_christian_church.0061) and pam_create_great_schism_effect (scripted effect). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
- … is destroyed and … and … are elevated to Faiths
- Catholicism:
set_religious_head_title = title:k_papal_state
• 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)
pam_apply_great_schism_creation_effect = {
if = {
limit = { NOT = { has_global_variable = pam_great_schism_happened } }
set_global_variable = {
name = pam_great_schism_happened
value = current_year
}
}
situation:the_christian_church.var:schism_mainline_rite = { save_scope_as = schism_mainline_rite }
if = {
limit = { scope:schism_mainline_rite = rite:roman_rite }
faith:catholic = { save_scope_as = schism_mainline_faith }
faith:orthodox = { save_scope_as = schism_competitor_faith }
}
else = {
faith:orthodox = { save_scope_as = schism_mainline_faith }
faith:catholic = { save_scope_as = schism_competitor_faith }
}
custom_tooltip = {
text = pam_create_great_schism_effect_tt
faith:christian_faith = {
save_scope_as = old_rite
every_faith_rite = {
limit = { rite_has_doctrine = doctrine_no_head }
change_rite_doctrine = doctrine_spiritual_head
}
}
faith:catholic = {
set_religious_head_title = title:k_papal_state
}
faith:orthodox = {
set_religious_head_title = title:k_orthodox
}
rite:roman_rite = {
save_scope_as = roman_rite
set_can_convert_to_rite = yes
set_parent_faith = {
target = faith:catholic
main = yes
}
}
rite:insular_celtic = {
set_can_convert_to_rite = yes
if = {
limit = { faith = faith:christian_faith }
set_parent_faith = {
target = faith:catholic
main = no
}
}
}
rite:mozarabic_church = {
set_can_convert_to_rite = yes
if = {
limit = { faith = faith:christian_faith }
set_parent_faith = {
target = faith:catholic
main = no
}
}
}
rite:ambrosian_rite = {
set_can_convert_to_rite = yes
if = {
limit = { faith = faith:christian_faith }
set_parent_faith = {
target = faith:catholic
main = no
}
}
}
rite:byzantine_rite = {
save_scope_as = byzantine_rite
set_can_convert_to_rite = yes
set_parent_faith = {
target = faith:orthodox
main = yes
}
}
rite:georgian_rite = {
set_can_convert_to_rite = yes
if = {
limit = { faith = faith:christian_faith }
set_parent_faith = {
target = faith:orthodox
main = no
}
}
}
rite:slavic_rite = {
set_can_convert_to_rite = yes
if = {
limit = { faith = faith:christian_faith }
set_parent_faith = {
target = faith:orthodox
main = no
}
}
}
rite:carolingian_christianity = {
set_can_convert_to_rite = no
set_rite_enabled = no
if = {
limit = { faith = faith:christian_faith }
set_parent_faith = {
target = faith:catholic
main = no
}
}
}
rite:beneventan_rite = {
set_can_convert_to_rite = no
set_rite_enabled = no
if = {
limit = { faith = faith:christian_faith }
set_parent_faith = {
target = faith:catholic
main = no
}
}As written in game/common/scripted_effects/pam_effects.txt.
The first 120 of its 221 lines; the rest is in game/common/scripted_effects/pam_effects.txt from line 7371.
Where it is used
Every place in common/, events/ and history/ that calls pam_apply_great_schism_creation_effect.
Events (2)
- great_schism.0001
- The Great Schism
pam_the_christian_church.0061
Scripted effects (1)
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.