Scripted effect · By God Alone files
pam_schism_seat_head_of_faith_effect
pam_schism_seat_head_of_faith_effect = yesgame/common/scripted_effects/pam_effects.txt, line 7764 (25 lines). No parameters.
pam_schism_seat_head_of_faith_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 7764 of its file. It takes no parameters: pam_schism_seat_head_of_faith_effect = yes. The game's script calls it in 1 place, among them Communion Preserved (event pam_the_christian_church.0062). 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.
The comment above it in the file
Needs pam_save_schism_head_of_faith_effect
What it does
• 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 (25 lines of game script)
pam_schism_seat_head_of_faith_effect = {
if = {
limit = { exists = scope:new_head_of_faith_title }
custom_tooltip = {
text = pam_schism_seat_head_of_faith_tt
faith:christian_faith = {
if = {
limit = { NOT = { has_doctrine = doctrine_spiritual_head } }
change_doctrine = doctrine_spiritual_head
}
set_religious_head_title = scope:new_head_of_faith_title
# Carolingian Christianity has doctrine_no_head; leave it behind once the faith has a head
hidden_effect = {
every_faith_rite = {
if = {
limit = { rite_has_doctrine = doctrine_no_head }
change_rite_doctrine = doctrine_spiritual_head
}
force_refresh_head_of_rite = yes
}
}
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_schism_seat_head_of_faith_effect.
Events (1)
- Communion Preserved
pam_the_christian_church.0062
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.