Scripted effect · All Under Heaven files
successful_coup_ceremonial_liege_opinion_effect
successful_coup_ceremonial_liege_opinion_effect = { PLOTTER = … VICTIM = … }game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3756 (51 lines). Parameters: $PLOTTER$, $VICTIM$.
successful_coup_ceremonial_liege_opinion_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3756 of its file. A call passes 2 parameters: PLOTTER and VICTIM. The game's script calls it in 1 place, among them coup_ceremonial_liege_scheme_success_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (51 lines of game script)
successful_coup_ceremonial_liege_opinion_effect = {
$VICTIM$ = {
if = {
limit = { is_alive = yes }
add_opinion = {
target = $PLOTTER$
modifier = seized_my_throne_crime
}
set_relation_rival = {
target = scope:owner
reason = rival_seized_throne_reason
}
}
every_spouse = {
limit = {
NOR = {
this = $PLOTTER$
is_spouse_of = $PLOTTER$
is_close_family_of = $PLOTTER$
}
}
add_to_temporary_list = close_family_coup_ceremonial_liege_opinion_list
}
every_close_family_member = {
limit = {
NOR = {
this = $PLOTTER$
is_spouse_of = $PLOTTER$
is_close_family_of = $PLOTTER$
}
}
add_to_temporary_list = close_family_coup_ceremonial_liege_opinion_list
}
every_in_list = {
list = close_family_coup_ceremonial_liege_opinion_list
limit = { top_liege = scope:owner.top_liege }
rightfully_imprison_character_less_verbose_effect = {
TARGET = this
IMPRISONER = scope:owner
}
}
every_in_list = {
list = close_family_coup_ceremonial_liege_opinion_list
custom = all_close_family_and_spouses
add_opinion = {
target = $PLOTTER$
modifier = seized_close_family_throne_crime
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls successful_coup_ceremonial_liege_opinion_effect.
Scripted effects (1)
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.