Scripted effect · By God Alone files
pam_evangelize_personal_tenet_effect
pam_evangelize_personal_tenet_effect = yesgame/common/scripted_effects/pam_effects.txt, line 14662 (48 lines). No parameters.
pam_evangelize_personal_tenet_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 14662 of its file. It takes no parameters: pam_evangelize_personal_tenet_effect = yes. The game's script calls it in 2 places, among them Evangelize Personal Tenet (interaction) and Evangelize Personal Tenet (interaction). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
scope:recipient:pam_replace_personal_tenet_effect = { TENET = scope:pam_evangelize_tenet }
If
scope:hook = yeshas_usable_hook = scope:recipient
Then
use_hook = scope:recipient
- Spiritual fulfillment +1
pam_tenet_popularity_on_evangelized_tenet_effect = { TENET = scope:pam_evangelize_tenet CHANGE = scope:recipient.pam_evangelize_tenet_popularity_gain }If
faith.main_rite = { … }
Then
- Every secret:
- Where:
NOT = { is_known_by = scope:recipient }
reveal_to = scope:recipient
- Where:
scope:recipient:add_secret = { type = secret_forbidden_personal_tenet }- Every secret:
reveal_to = scope:actor
• 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 (48 lines of game script)
pam_evangelize_personal_tenet_effect = {
scope:recipient = {
pam_replace_personal_tenet_effect = { TENET = scope:pam_evangelize_tenet }
}
if = {
limit = {
scope:hook = yes
has_usable_hook = scope:recipient
}
use_hook = scope:recipient
}
change_spiritual_fulfillment = miniscule_spiritual_fulfillment_value
pam_tenet_popularity_on_evangelized_tenet_effect = {
TENET = scope:pam_evangelize_tenet
CHANGE = scope:recipient.pam_evangelize_tenet_popularity_gain
}
if = {
limit = {
faith.main_rite = {
has_tenet_status = {
tenet = scope:pam_evangelize_tenet
status = prohibited
}
}
}
every_secret = {
type = secret_forbidden_personal_tenet
limit = { NOT = { is_known_by = scope:recipient } }
reveal_to = scope:recipient
}
show_as_tooltip = {
scope:recipient = {
add_secret = { type = secret_forbidden_personal_tenet }
every_secret = {
type = secret_forbidden_personal_tenet
reveal_to = scope:actor
}
}
}
scope:recipient = {
set_variable = {
name = tenet_evangelized_by
value = scope:actor
days = 1
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_evangelize_personal_tenet_effect.
Character interactions (2)
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.