Scripted effect · By God Alone files
pam_tenet_popularity_on_evangelized_tenet_effect
pam_tenet_popularity_on_evangelized_tenet_effect = { CHANGE = … TENET = … }game/common/scripted_effects/pam_effects.txt, line 8630 (23 lines). Parameters: $CHANGE$, $TENET$.
pam_tenet_popularity_on_evangelized_tenet_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 8630 of its file. A call passes 2 parameters: CHANGE and TENET. The game's script calls it in 3 places, among them Evangelize Personal Tenet (decision), pam_evangelize_personal_tenet_effect (scripted effect) and pam_spread_tenet_flat_popularity_once_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
- Their faith:
• 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 (23 lines of game script)
pam_tenet_popularity_on_evangelized_tenet_effect = {
save_temporary_scope_as = pam_evangelizer
faith = {
if = {
limit = { has_tenet_popularity_trigger = yes }
change_tenet_popularity = {
target = $TENET$
change = {
value = $CHANGE$
# A Faithful Flock dynasty legacy: evangelizing dynasty members spread their tenets further
if = {
limit = {
scope:pam_evangelizer = {
dynasty ?= { has_dynasty_perk = pam_legacy_3 }
}
}
multiply = 1.5
}
}
}
}
}
}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_on_evangelized_tenet_effect.
Decisions (1)
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.