Scripted effect · By God Alone files
the_christian_church_set_main_power_faith_effect
the_christian_church_set_main_power_faith_effect = yesgame/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 698 (17 lines). No parameters.
the_christian_church_set_main_power_faith_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 698 of its file. It takes no parameters: the_christian_church_set_main_power_faith_effect = yes. The game's script calls it in 2 places, among them pam_apply_great_schism_creation_effect (scripted effect) and 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
Every line of it is script with no tooltip text: the script is below.
The script as written (17 lines of game script)
the_christian_church_set_main_power_faith_effect = {
religion:christianity_religion = {
ordered_faith = {
limit = {
num_county_followers > 0
}
order_by = num_county_followers
save_temporary_scope_as = tcc_iter_faith
situation:the_christian_church = {
set_variable = {
name = tcc_main_power_faith
value = scope:tcc_iter_faith
}
}
}
}
}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_set_main_power_faith_effect.
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.