Scripted effect · By God Alone files
pam_tenet_popularity_christian_faiths_tenet_delta_effect
pam_tenet_popularity_christian_faiths_tenet_delta_effect = { TENET = … VALUE = … }game/common/scripted_effects/pam_effects.txt, line 8814 (14 lines). Parameters: $TENET$, $VALUE$.
pam_tenet_popularity_christian_faiths_tenet_delta_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 8814 of its file. A call passes 2 parameters: TENET and VALUE. The game's script calls it in 7 places, among them pam_tenet_popularity_situation_concord_start_effect (scripted effect), pam_tenet_popularity_situation_conversion_phase_start_effect (scripted effect) and pam_tenet_popularity_situation_crusade_phase_start_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Bump one tenet across all Christian faiths with map presence.
What it does
- Christianity › Every faith:
- Where:
- Num county followers at least 1
has_tenet_popularity_trigger = yes
- Popularity of a tenet changes
- 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 (14 lines of game script)
pam_tenet_popularity_christian_faiths_tenet_delta_effect = {
religion:christianity_religion = {
every_faith = {
limit = {
num_county_followers >= 1
has_tenet_popularity_trigger = yes
}
change_tenet_popularity = {
target = tenet:$TENET$
change = $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_christian_faiths_tenet_delta_effect.
Scripted effects (7)
- pam_tenet_popularity_situation_concord_start_effect
- pam_tenet_popularity_situation_conversion_phase_start_effect
- pam_tenet_popularity_situation_crusade_phase_start_effect
- pam_tenet_popularity_situation_fragile_unity_start_effect
- pam_tenet_popularity_situation_investiture_crisis_start_effect
- pam_tenet_popularity_situation_reform_phase_start_effect
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.