Scripted trigger · By God Alone files
pam_college_election_title_has_electors_trigger
pam_college_election_title_has_electors_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 5498 (10 lines). No parameters.
pam_college_election_title_has_electors_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5498 of its file. It takes no parameters: pam_college_election_title_has_electors_trigger = yes (or no). The game's script calls it in 3 places, among them pam_holds_college_elected_church_seat_trigger (scripted trigger), pam_is_college_election_candidate_trigger (scripted trigger) and pam_papabile_slot_open_to_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
If
a check the game hides
Then
faith.religious_head_title = { … }
Otherwise
- Papacy: Any elector:
• 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_college_election_title_has_electors_trigger = {
trigger_if = {
limit = { exists = faith.religious_head_title }
# any_elector rather than a bare exists: is_candidate_from_set errors on a title with no election law.
faith.religious_head_title = { any_elector = {} }
}
trigger_else = {
title:k_papal_state = { any_elector = {} }
}
}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_college_election_title_has_electors_trigger.
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.