Scripted effect · By God Alone files
the_christian_church_recalculate_participant_groups_effect
the_christian_church_recalculate_participant_groups_effect = yesgame/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 716 (20 lines). No parameters.
the_christian_church_recalculate_participant_groups_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 716 of its file. It takes no parameters: the_christian_church_recalculate_participant_groups_effect = yes. The game's script calls it in 1 place, among them the_christian_church_update_situation_groups_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.
What it does
If
- The Christian Church: Has “main power faith” (a variable the game's script sets)
Then
situation:the_christian_church.var:tcc_main_power_faith.religious_head:recalculate_participant_group = situation:the_christian_church
Otherwise
- One random player:
recalculate_participant_group = situation:the_christian_church
• 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 (20 lines of game script)
the_christian_church_recalculate_participant_groups_effect = {
if = {
limit = {
situation:the_christian_church = {
has_variable = tcc_main_power_faith
var:tcc_main_power_faith = {
exists = religious_head
}
}
}
situation:the_christian_church.var:tcc_main_power_faith.religious_head = {
recalculate_participant_group = situation:the_christian_church
}
}
else = {
random_player = {
recalculate_participant_group = situation:the_christian_church
}
}
}As written in game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls the_christian_church_recalculate_participant_groups_effect.
Scripted effects (1)
Source: game/common/scripted_effects/11_dlc_pam_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.