Scripted effect · By God Alone files
pam_tenet_popularity_on_personal_tenet_loss_effect
pam_tenet_popularity_on_personal_tenet_loss_effect = yesgame/common/scripted_effects/pam_effects.txt, line 8405 (12 lines). No parameters.
pam_tenet_popularity_on_personal_tenet_loss_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 8405 of its file. It takes no parameters: pam_tenet_popularity_on_personal_tenet_loss_effect = yes. The game's script calls it in 1 place, among them on_personal_tenet_loss (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
on_personal_tenet_loss runs this with root as the character and scope:tenet as the dropped tenet
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 (12 lines of game script)
pam_tenet_popularity_on_personal_tenet_loss_effect = {
save_scope_as = tp_personal_tenet_changer
faith = {
if = {
limit = { has_tenet_popularity_trigger = yes }
change_tenet_popularity = {
target = scope:tenet
change = scope:tp_personal_tenet_changer.pam_personal_tenet_popularity_loss
}
}
}
}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_personal_tenet_loss_effect.
On actions (the game's own hooks) (1)
- on_personal_tenet_loss
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.