Scripted effect · By God Alone files
pam_personal_tenet_status_change_fulfillment_effect
pam_personal_tenet_status_change_fulfillment_effect = { TENET = … }game/common/scripted_effects/pam_effects.txt, line 1055 (27 lines). Parameters: $TENET$.
pam_personal_tenet_status_change_fulfillment_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1055 of its file. A call passes 1 parameter: TENET. The game's script calls it in 2 places, among them ecumenical_council_personal_tenet_fulfillment_effect (scripted effect) and pam_personal_tenet_rite_update_fulfillment_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
If
- Their rite:
has_tenet_status = { tenet = $TENET$ status = prohibited }
Then
- Spiritual fulfillment -10
Else if
- Their rite:
has_tenet_status = { tenet = $TENET$ status = permitted }
Then
- Spiritual fulfillment +10
- Their rite:
• 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 (27 lines of game script)
pam_personal_tenet_status_change_fulfillment_effect = {
if = {
limit = { has_personal_tenet = $TENET$ }
if = {
limit = {
rite = {
has_tenet_status = {
tenet = $TENET$
status = prohibited
}
}
}
change_spiritual_fulfillment = major_spiritual_fulfillment_loss
}
else_if = {
limit = {
rite = {
has_tenet_status = {
tenet = $TENET$
status = permitted
}
}
}
change_spiritual_fulfillment = major_spiritual_fulfillment_value
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_personal_tenet_status_change_fulfillment_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.