Scripted effect · By God Alone files
pam_vacate_head_of_faith_cardinalate_effect
pam_vacate_head_of_faith_cardinalate_effect = yesgame/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 413 (10 lines). No parameters.
pam_vacate_head_of_faith_cardinalate_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 413 of its file. It takes no parameters: pam_vacate_head_of_faith_cardinalate_effect = yes. The game's script calls it in 1 place, among them on_title_gain (on action). Patch 1.20.1.2, from game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.
The comment above it in the file
A Head of Faith must not sit in the College they preside over.
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 (10 lines of game script)
pam_vacate_head_of_faith_cardinalate_effect = {
if = {
limit = {
exists = clerical_elector_title
pam_holds_church_seat_trigger = yes
}
clerical_elector_title = { save_temporary_scope_as = pam_vacated_cardinalate }
pam_destroy_cardinal_title_effect = { CARDINALATE = scope:pam_vacated_cardinalate }
}
}As written in game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_vacate_head_of_faith_cardinalate_effect.
On actions (the game's own hooks) (1)
- on_title_gain
Source: game/common/scripted_effects/11_dlc_pam_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.