Scripted effect
attempted_abduction_opinion_effect
attempted_abduction_opinion_effect = { ABDUCTER = … VICTIM = … }game/common/scripted_effects/00_murder_effects.txt, line 792 (46 lines). Parameters: $ABDUCTER$, $VICTIM$.
attempted_abduction_opinion_effect is a scripted effect in Crusader Kings III, written at line 792 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 (46 lines of game script)
attempted_abduction_opinion_effect = {
$VICTIM$ = {
if = {
limit = { is_alive = yes }
add_opinion = {
target = $ABDUCTER$
modifier = attempted_abduct_me_crime
}
hidden_effect = {
add_opinion = {
target = $ABDUCTER$
modifier = murder_personal_grudge_opinion
years = 2
}
}
}
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 = attempted_abduct_close_family_crime
years = 20
}
}
}
}
}As written in game/common/scripted_effects/00_murder_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls attempted_abduction_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.