Scripted effect · By God Alone files
pam_challenge_hof_war_persist_scopes_effect
pam_challenge_hof_war_persist_scopes_effect = { OUTCOME = … }game/common/scripted_effects/pam_antipope_effects.txt, line 551 (39 lines). Parameters: $OUTCOME$.
pam_challenge_hof_war_persist_scopes_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 551 of its file. A call passes 1 parameter: OUTCOME. The game's script calls it in 2 places, among them pam_antipope_challenge_hof_defeat_effect (scripted effect) and pam_antipope_challenge_hof_victory_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_antipope_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (39 lines of game script)
pam_challenge_hof_war_persist_scopes_effect = {
if = {
limit = { exists = scope:pam_ch_hof_attacker }
set_variable = {
name = pam_ch_hof_attacker
value = scope:pam_ch_hof_attacker
days = 30
}
}
if = {
limit = { exists = scope:pam_ch_hof_old_hof }
set_variable = {
name = pam_ch_hof_old_hof
value = scope:pam_ch_hof_old_hof
days = 30
}
}
if = {
limit = { exists = scope:pam_ch_hof_challenger }
set_variable = {
name = pam_ch_hof_challenger
value = scope:pam_ch_hof_challenger
days = 30
}
}
if = {
limit = { exists = scope:pam_ch_hof_sponsor }
set_variable = {
name = pam_ch_hof_sponsor
value = scope:pam_ch_hof_sponsor
days = 30
}
}
set_variable = {
name = pam_ch_hof_outcome
value = $OUTCOME$
days = 30
}
}As written in game/common/scripted_effects/pam_antipope_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_challenge_hof_war_persist_scopes_effect.
Source: game/common/scripted_effects/pam_antipope_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.