Scripted effect · By God Alone files
add_known_tenet_if_not
add_known_tenet_if_not = { TENET = … }game/common/scripted_effects/pam_effects.txt, line 11776 (6 lines). Parameters: $TENET$.
add_known_tenet_if_not is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 11776 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
NOT = { knows_tenet = $TENET$ }
Then
add_known_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)
add_known_tenet_if_not = {
if = {
limit = { NOT = { knows_tenet = $TENET$ } }
add_known_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 add_known_tenet_if_not.
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.