Scripted effect
elope_opinion_list_builder_effect
elope_opinion_list_builder_effect = { LIST_NAME = … OWNER = … TARGET = … }game/common/scripted_effects/00_scheme_scripted_effects.txt, line 14972 (25 lines). Parameters: $LIST_NAME$, $OWNER$, $TARGET$.
elope_opinion_list_builder_effect is a scripted effect in Crusader Kings III, written at line 14972 of its file. A call passes 3 parameters: LIST_NAME, OWNER and TARGET. The game's script calls it in 2 places, among them elope_failure_discovered_effect (scripted effect) and elope_success_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (25 lines of game script)
elope_opinion_list_builder_effect = {
$OWNER$ = {
every_spouse = {
limit = { NOT = { this = $TARGET$ } }
add_to_temporary_list = $LIST_NAME$
}
}
$TARGET$ = {
every_spouse = {
limit = { NOT = { this = $OWNER$ } }
add_to_temporary_list = $LIST_NAME$
}
liege = {
if = {
limit = {
NOR = {
is_in_list = $LIST_NAME$
this = $OWNER$
}
}
add_to_temporary_list = $LIST_NAME$
}
}
}
}As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls elope_opinion_list_builder_effect.
Scripted effects (2)
Source: game/common/scripted_effects/00_scheme_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.