Scripted trigger · By God Alone files
pam_valid_ecumenical_council_voter_trigger
pam_valid_ecumenical_council_voter_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 5567 (17 lines). No parameters.
pam_valid_ecumenical_council_voter_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5567 of its file. It takes no parameters: pam_valid_ecumenical_council_voter_trigger = yes (or no). The game's script calls it in 11 places, among them A Word in the Right Ear (event pam_investiture_council_events.0032), The Weight of a Crown (event pam_investiture_council_events.0033) and pam_ecumenical_council_debate_doctrines_events (on action). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
faith = involved_activity.activity_host.faithOne of these
pam_is_investiture_clergy_trigger = yesor
rite.head_of_rite ?= thisor
Has “investiture stance” (a variable the game's script sets)or
• 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 (17 lines of game script)
pam_valid_ecumenical_council_voter_trigger = {
faith = involved_activity.activity_host.faith
OR = {
pam_is_investiture_clergy_trigger = yes
rite.head_of_rite ?= this
has_variable = investiture_stance
# puppet:X errors on non-playable characters, and only landed county tier rulers own that puppet
AND = {
is_landed = yes
highest_held_title_tier >= tier_county
OR = {
has_theological_agent_puppet_trigger = yes
is_theological_agent_puppet_trigger = yes
}
}
}
}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_valid_ecumenical_council_voter_trigger.
Events (2)
- A Word in the Right Ear
pam_investiture_council_events.0032 - The Weight of a Crown
pam_investiture_council_events.0033
On actions (the game's own hooks) (2)
- pam_ecumenical_council_debate_doctrines_events
- pam_ecumenical_council_debate_tenets_events
Scripted effects (5)
Script values (2)
- ecumenical_council_doctrine_social_alignment_value
- ecumenical_council_social_alignment_value
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.