Scripted effect · By God Alone files
pam_tenet_popularity_boost_rite_effect
pam_tenet_popularity_boost_rite_effect = { RITE = … }game/common/scripted_effects/pam_effects.txt, line 9128 (24 lines). Parameters: $RITE$.
pam_tenet_popularity_boost_rite_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 9128 of its file. A call passes 1 parameter: RITE. The game's script calls it in 7 places, among them Change State Rite (decision), ep3_decisions_event.5021 (event) and faction_demand.1001 (event). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
$RITE$ is the rite scope, run after a title adopts a new state rite
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (24 lines of game script)
pam_tenet_popularity_boost_rite_effect = {
$RITE$ = {
if = {
limit = {
has_pam_dlc_trigger = yes
faith.religion = religion:christianity_religion
faith = { num_county_followers >= 1 }
}
save_scope_as = tp_boost_rite
faith = {
save_scope_as = tp_boost_faith
# Any follower works as the host scope for the tenet iterator; rite_filter drives the list.
random_faith_county = {
limit = { exists = holder }
holder = {
pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_boost_rite FAITH = scope:tp_boost_faith STATUS = core VALUE = massive_tenet_popularity_value }
pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_boost_rite FAITH = scope:tp_boost_faith STATUS = permitted VALUE = major_tenet_popularity_value }
pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_boost_rite FAITH = scope:tp_boost_faith STATUS = known VALUE = medium_tenet_popularity_value }
}
}
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_tenet_popularity_boost_rite_effect.
Decisions (1)
Events (3)
- ep3_decisions_event.5021
- faction_demand.1001
- Justinian's Dream Realized
ep3_roman_restoration.0100
On actions (the game's own hooks) (1)
- on_faith_created
Scripted effects (2)
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.