Scripted effect · By God Alone files
pam_set_pope_rite_mainline_effect
pam_set_pope_rite_mainline_effect = yesgame/common/scripted_effects/pam_effects.txt, line 8447 (11 lines). No parameters.
pam_set_pope_rite_mainline_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 8447 of its file. It takes no parameters: pam_set_pope_rite_mainline_effect = yes. The game's script calls it in 2 places, among them on_title_gain (on action) and pam_antipope_become_hof_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
If
rite != faith.main_rite
Then
- Their rite:
set_main_rite = yes
• 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 (11 lines of game script)
pam_set_pope_rite_mainline_effect = {
if = {
limit = {
exists = rite
rite != faith.main_rite
}
rite = {
set_main_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_set_pope_rite_mainline_effect.
On actions (the game's own hooks) (1)
- on_title_gain
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.