Scripted effect · By God Alone files
pam_mark_recent_same_faith_clerical_expansion_effect
pam_mark_recent_same_faith_clerical_expansion_effect = { ARCHBISHOP = … TITLE = … }game/common/scripted_effects/pam_effects.txt, line 7820 (19 lines). Parameters: $ARCHBISHOP$, $TITLE$.
pam_mark_recent_same_faith_clerical_expansion_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 7820 of its file. A call passes 2 parameters: ARCHBISHOP and TITLE. The game's script calls it in 2 places, among them Request Clerical Title Expansion (interaction) and pam_expand_ecclesiastical_title_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Remember a same-faith expansion outside the see's home kingdom so later petitions are harder to accept
What it does
If
pam_expand_target_is_same_faith_outside_home_kingdom_trigger = { TITLE = $TITLE$ ARCHBISHOP = $ARCHBISHOP$ }
Then
$ARCHBISHOP$ = { … }
• 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 (19 lines of game script)
pam_mark_recent_same_faith_clerical_expansion_effect = {
if = {
limit = {
exists = $TITLE$
pam_expand_target_is_same_faith_outside_home_kingdom_trigger = {
TITLE = $TITLE$
ARCHBISHOP = $ARCHBISHOP$
}
}
$ARCHBISHOP$ = {
hidden_effect = {
add_character_flag = {
flag = pam_recently_expanded_same_faith
years = pam_expand_same_faith_recent_years
}
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_mark_recent_same_faith_clerical_expansion_effect.
Character interactions (1)
Scripted effects (1)
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.