Scripted trigger · By God Alone files
pam_papabile_slot_open_to_trigger
pam_papabile_slot_open_to_trigger = { SLOT = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 7010 (8 lines). Parameters: $SLOT$.
pam_papabile_slot_open_to_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 7010 of its file. A call passes 1 parameter: SLOT. The game's script calls it in 5 places, among them Increase Papabile Score (interaction), Promulgate Word of Pious Deeds (event pam_decision_events.0015) and GetPamPapabileOwnScorePious (custom loc). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
$SLOT$ is the papabile shortlist seat being claimed
What it checks
- Does not have “refuses papacy” (a variable the game's script sets)
pam_college_election_title_has_electors_trigger = yesNOT = { pam_is_college_election_candidate_trigger = { SOURCE = $SLOT$ } }
• 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 (8 lines of game script)
pam_papabile_slot_open_to_trigger = {
exists = clerical_elector_title
NOT = { has_variable = pam_refuses_papacy }
pam_college_election_title_has_electors_trigger = yes
NOT = {
pam_is_college_election_candidate_trigger = { SOURCE = $SLOT$ }
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_papabile_slot_open_to_trigger.
Character interactions (1)
Events (1)
- Promulgate Word of Pious Deeds
pam_decision_events.0015
Customizable localization (3)
- GetPamPapabileOwnScorePious
- GetPamPapabileOwnScorePopulist
- GetPamPapabileOwnScorePowerful
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.