Scripted effect · By God Alone files
pam_strip_illegal_cardinalate_effect
pam_strip_illegal_cardinalate_effect = yesgame/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 440 (13 lines). No parameters.
pam_strip_illegal_cardinalate_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 440 of its file. It takes no parameters: pam_strip_illegal_cardinalate_effect = yes. The game's script calls it in 3 places, among them on_government_change (on action), on_title_gain (on action) and yearly_playable_pulse (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
Holy orders stay as they are, since a holy-order primary never moves onto ecclesiastical government Non-rulers stay: a new holder only rules once the transfer resolves
What it does
If
- Is a ruler
- Their government is not a Theocratic-type Government
- Their government is not unplayable
Then
pam_destroy_cardinal_title_effect = { CARDINALATE = clerical_elector_title }
• 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 (13 lines of game script)
pam_strip_illegal_cardinalate_effect = {
if = {
limit = {
is_ruler = yes
NOR = {
government_has_flag = government_is_theocracy
government_has_flag = government_is_holy_order
}
exists = clerical_elector_title
}
pam_destroy_cardinal_title_effect = { CARDINALATE = clerical_elector_title }
}
}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_strip_illegal_cardinalate_effect.
On actions (the game's own hooks) (3)
- on_government_change
- on_title_gain
- yearly_playable_pulse
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.