Scripted effect · By God Alone files
remove_personal_tenet_if_has
remove_personal_tenet_if_has = { TENET = … }game/common/scripted_effects/pam_effects.txt, line 11769 (6 lines). Parameters: $TENET$.
remove_personal_tenet_if_has is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 11769 of its file. A call passes 1 parameter: TENET. The game's script calls it in 1 place, among them update_syncretism_personal_tenet_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
If
has_personal_tenet = $TENET$
Then
remove_personal_tenet = $TENET$
• 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 (6 lines of game script)
remove_personal_tenet_if_has = {
if = {
limit = { has_personal_tenet = $TENET$ }
remove_personal_tenet = $TENET$
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls remove_personal_tenet_if_has.
Scripted effects (1)
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.