Scripted effect · By God Alone files
pam_investiture_fire_event_for_participant_players_effect
pam_investiture_fire_event_for_participant_players_effect = { EVENT = … FAITH = … }game/common/scripted_effects/pam_investiture_council_effects.txt, line 769 (15 lines). Parameters: $EVENT$, $FAITH$.
pam_investiture_fire_event_for_participant_players_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 769 of its file. A call passes 2 parameters: EVENT and FAITH. The game's script calls it in 2 places, among them The Investiture Council (activity) and pam_start_investiture_council_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_investiture_council_effects.txt.
The comment above it in the file
Own path: the shared helper stands down on Saeculum Obscurum start while Great Schism is open We tell only $FAITH$'s players, because the shared helper would tell every Christian player
What it does
- Every player:
- Where:
faith = $FAITH$One of these
- Government is a Theocratic-type Government
or
Years from game start at least 1
- Any character situation:
- Event $EVENT$
- Where:
• 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 (15 lines of game script)
pam_investiture_fire_event_for_participant_players_effect = {
every_player = {
limit = {
faith = $FAITH$
OR = {
government_has_flag = government_is_theocracy
years_from_game_start >= 1
}
any_character_situation = {
this = situation:the_christian_church
}
}
trigger_event = $EVENT$
}
}As written in game/common/scripted_effects/pam_investiture_council_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_investiture_fire_event_for_participant_players_effect.
Activities (1)
Scripted effects (1)
Source: game/common/scripted_effects/pam_investiture_council_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.