Scripted effect · By God Alone files
pam_faith_grant_forbidden_personal_tenet_secrets_effect
pam_faith_grant_forbidden_personal_tenet_secrets_effect = { TENET = … }game/common/scripted_effects/pam_effects.txt, line 1043 (11 lines). Parameters: $TENET$.
pam_faith_grant_forbidden_personal_tenet_secrets_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1043 of its file. A call passes 1 parameter: TENET. The game's script calls it in 3 places, among them Forbid a Tenet (decision), The Bull of … (event pam_bull_events.0002) and ecumenical_council_apply_debate_outcome_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Faith scope. TENET is the tenet just prohibited
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (11 lines of game script)
pam_faith_grant_forbidden_personal_tenet_secrets_effect = {
hidden_effect = {
every_faith_character = {
limit = {
has_personal_tenet = $TENET$
NOT = { any_secret = { type = secret_forbidden_personal_tenet } }
}
on_personal_tenet_gain_secret_gain_effect = yes
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_faith_grant_forbidden_personal_tenet_secrets_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.