Scripted effect · Roads to Power files
attempted_seize_realm_opinion_effect
attempted_seize_realm_opinion_effect = { PLOTTER = … VICTIM = … }game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 2254 (34 lines). Parameters: $PLOTTER$, $VICTIM$.
attempted_seize_realm_opinion_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 2254 of its file. A call passes 2 parameters: PLOTTER and VICTIM. The game's script calls it in 1 place, among them seize_realm_scheme_failure_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (34 lines of game script)
attempted_seize_realm_opinion_effect = {
$VICTIM$ = {
if = {
limit = { is_alive = yes }
add_opinion = {
target = $PLOTTER$
modifier = attempted_to_seize_my_realm_crime
}
}
every_spouse = {
limit = { NOT = { this = $PLOTTER$ } }
add_to_temporary_list = close_family_seize_realm_opinion_list
}
every_close_family_member = {
limit = { NOT = { this = $PLOTTER$ } }
add_to_temporary_list = close_family_seize_realm_opinion_list
}
if = {
limit = {
any_in_list = { list = close_family_seize_realm_opinion_list }
}
every_in_list = {
list = close_family_seize_realm_opinion_list
custom = all_close_family_and_spouses
add_opinion = {
target = $PLOTTER$
modifier = attempted_to_seize_realm_close_family_crime
}
}
}
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls attempted_seize_realm_opinion_effect.
Scripted effects (1)
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.