Scripted effect · By God Alone files
pam_the_christian_church_appointed_cardinal_catalyst_effect
pam_the_christian_church_appointed_cardinal_catalyst_effect = { CARDINAL = … OTHERWISE = … POPE = … }game/common/scripted_effects/pam_effects.txt, line 4632 (23 lines). Parameters: $CARDINAL$, $OTHERWISE$, $POPE$.
pam_the_christian_church_appointed_cardinal_catalyst_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 4632 of its file. A call passes 3 parameters: CARDINAL, OTHERWISE and POPE. The game's script calls it in 2 places, among them Appoint Cardinal (interaction) and pam_clergy_events.0040 (event). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Needs POPE (appointer), CARDINAL (new cardinal) and OTHERWISE (non-nepotistic catalyst), any scope Both branches guard their catalyst, so a phase listing neither books nothing
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 (23 lines of game script)
pam_the_christian_church_appointed_cardinal_catalyst_effect = {
situation:the_christian_church ?= {
if = {
limit = {
$CARDINAL$ = { pam_cardinal_is_nepotistic_appointment_trigger = { POPE = $POPE$ } }
}
if = {
limit = {
situation_top_has_catalyst = catalyst_the_christian_church_appointed_nepotistic_cardinal
}
trigger_situation_catalyst = catalyst_the_christian_church_appointed_nepotistic_cardinal
}
}
else = {
if = {
limit = {
situation_top_has_catalyst = $OTHERWISE$
}
trigger_situation_catalyst = $OTHERWISE$
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_the_christian_church_appointed_cardinal_catalyst_effect.
Character interactions (1)
Events (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.