Scripted effect
abduct_opinion_effect
abduct_opinion_effect = { ABDUCTER = … VICTIM = … }game/common/scripted_effects/00_murder_effects.txt, line 718 (73 lines). Parameters: $ABDUCTER$, $VICTIM$.
abduct_opinion_effect is a scripted effect in Crusader Kings III, written at line 718 of its file. A call passes 2 parameters: ABDUCTER and VICTIM. The game's script calls it in 2 places, among them … of Opportunity (event hunt.7411) and … of Opportunity (event hunt.7412). Patch 1.20.1.2, from game/common/scripted_effects/00_murder_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (73 lines of game script)
abduct_opinion_effect = {
$VICTIM$ = {
add_opinion = {
target = $ABDUCTER$
modifier = abducted_me_crime
}
#Victim's family
every_spouse = {
limit = { NOT = { this = $ABDUCTER$ } }
add_to_temporary_list = close_family_abduct_opinion_list
}
every_close_family_member = {
limit = { NOT = { this = $ABDUCTER$ } }
add_to_temporary_list = close_family_abduct_opinion_list
}
if = {
limit = {
any_in_list = {
list = close_family_abduct_opinion_list
always = yes
}
}
every_in_list = {
list = close_family_abduct_opinion_list
custom = all_close_family_and_spouses
add_opinion = {
target = $ABDUCTER$
modifier = abducted_close_family_crime
}
}
}
#Victim's friends and lovers
every_relation = {
type = friend
limit = {
NOR = {
this = $ABDUCTER$
is_in_list = close_family_abduct_opinion_list
}
}
add_to_list = victim_close_relations_list
}
every_relation = {
type = lover
limit = {
NOR = {
this = $VICTIM$
is_in_list = close_family_abduct_opinion_list
is_in_list = victim_close_relations_list
}
}
add_to_list = victim_close_relations_list
}
if = {
limit = {
any_in_list = {
list = victim_close_relations_list
always = yes
}
}
every_in_list = {
list = victim_close_relations_list
custom = all_friends_and_lovers
add_opinion = {
target = $ABDUCTER$
modifier = abducted_close_relation_opinion
}
}
}
}
}As written in game/common/scripted_effects/00_murder_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls abduct_opinion_effect.
Events (2)
- … of Opportunity
hunt.7411 - … of Opportunity
hunt.7412
Source: game/common/scripted_effects/00_murder_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.