Scripted effect · By God Alone files
pam_personal_tenet_made_core_fulfillment_effect
pam_personal_tenet_made_core_fulfillment_effect = { RITE = … TENET = … }game/common/scripted_effects/pam_effects.txt, line 1083 (23 lines). Parameters: $RITE$, $TENET$.
pam_personal_tenet_made_core_fulfillment_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1083 of its file. A call passes 2 parameters: RITE and 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$One of these
rite = $RITE$or
All of these
$RITE$.faith.main_rite = $RITE$- Their rite: The rite does not have the tenet $TENET$
- Their rite:
has_tenet_status = { tenet = $TENET$ status = core }
Then
- Spiritual fulfillment +10
• 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 (23 lines of game script)
pam_personal_tenet_made_core_fulfillment_effect = {
if = {
limit = {
has_personal_tenet = $TENET$
OR = {
rite = $RITE$
AND = {
$RITE$.faith.main_rite = $RITE$
rite = {
NOT = { rite_has_tenet = $TENET$ }
}
}
}
rite = {
has_tenet_status = {
tenet = $TENET$
status = core
}
}
}
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_made_core_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.