Scripted effect · By God Alone files
ecumenical_council_personal_tenet_fulfillment_effect
ecumenical_council_personal_tenet_fulfillment_effect = { PROPOSAL = … RITE = … SWAPPED = … TOPIC = … }game/common/scripted_effects/pam_ecumenical_council_effects.txt, line 785 (25 lines). Parameters: $PROPOSAL$, $RITE$, $SWAPPED$, $TOPIC$.
ecumenical_council_personal_tenet_fulfillment_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 785 of its file. A call passes 4 parameters: PROPOSAL, RITE, SWAPPED and TOPIC. The game's script calls it in 2 places, among them ecumenical_council_events.0082 (event) and ecumenical_council_current_debate_personal_tenet_fulfillment_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_ecumenical_council_effects.txt.
What it does
If
$PROPOSAL$ ?= flag:make_core
Then
pam_personal_tenet_made_core_fulfillment_effect = { TENET = $TOPIC$ RITE = $RITE$ }If
a check the game hides
Then
pam_personal_tenet_lost_core_fulfillment_effect = { TENET = $SWAPPED$ RITE = $RITE$ }
Else if
One of these
$PROPOSAL$ ?= flag:permitor
$PROPOSAL$ ?= flag:prohibit
Then
pam_personal_tenet_status_change_fulfillment_effect = { TENET = $TOPIC$ }
• 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 (25 lines of game script)
ecumenical_council_personal_tenet_fulfillment_effect = {
if = {
limit = { $PROPOSAL$ ?= flag:make_core }
pam_personal_tenet_made_core_fulfillment_effect = {
TENET = $TOPIC$
RITE = $RITE$
}
if = {
limit = { exists = $SWAPPED$ }
pam_personal_tenet_lost_core_fulfillment_effect = {
TENET = $SWAPPED$
RITE = $RITE$
}
}
}
else_if = {
limit = {
OR = {
$PROPOSAL$ ?= flag:permit
$PROPOSAL$ ?= flag:prohibit
}
}
pam_personal_tenet_status_change_fulfillment_effect = { TENET = $TOPIC$ }
}
}As written in game/common/scripted_effects/pam_ecumenical_council_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls ecumenical_council_personal_tenet_fulfillment_effect.
Events (1)
Scripted effects (1)
Source: game/common/scripted_effects/pam_ecumenical_council_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.