Scripted effect
attempted_murder_opinion_effect
attempted_murder_opinion_effect = { MURDERER = … VICTIM = … }game/common/scripted_effects/00_murder_effects.txt, line 641 (76 lines). Parameters: $MURDERER$, $VICTIM$.
attempted_murder_opinion_effect is a scripted effect in Crusader Kings III, written at line 641 of its file. A call passes 2 parameters: MURDERER and VICTIM. The game's script calls it in 23 places, among them … Guile (event bp1_yearly.8131), …: Murder Rival (event tournament_events.6011) and …: Murder Rival (event tournament_events.6012). 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 (76 lines of game script)
attempted_murder_opinion_effect = {
$VICTIM$ = {
if = {
limit = { is_alive = yes }
add_opinion = {
target = $MURDERER$
modifier = attempted_murder_me_crime
}
hidden_effect = {
add_opinion = {
target = $MURDERER$
modifier = murder_personal_grudge_opinion
years = 2
}
}
}
every_spouse = {
limit = { NOT = { this = $MURDERER$ } }
add_to_temporary_list = close_family_murder_opinion_list
}
every_close_family_member = {
limit = { NOT = { this = $MURDERER$ } }
add_to_temporary_list = close_family_murder_opinion_list
}
if = {
limit = {
any_in_list = {
list = close_family_murder_opinion_list
count >= 1
NOT = {
is_scheming_against = {
target = $VICTIM$
type = murder
}
}
}
}
every_in_list = {
list = close_family_murder_opinion_list
limit = {
NOT = {
is_scheming_against = {
target = $VICTIM$
type = murder
}
}
}
custom = all_close_family_and_spouses
add_opinion = {
target = $MURDERER$
modifier = attempted_murder_close_family_crime
years = 20
}
}
}
if = {
limit = {
exists = house
exists = $MURDERER$.house
}
house = {
change_house_relation_effect = {
HOUSE = $MURDERER$.house
VALUE = house_relation_damage_medium_value
REASON = murder_attempt
CHAR = $MURDERER$
TARGET_CHAR = $VICTIM$
TITLE = scope:dummy_gender
}
}
}
}
}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_murder_opinion_effect.
Events (18)
- … Guile
bp1_yearly.8131 - …: Murder Rival
tournament_events.6011 - …: Murder Rival
tournament_events.6012 - …: Murder Rival
tournament_events.6013 - …: Murder Rival
tournament_events.6014 - A Fiery Night
ep2_wedding.3040
12 more
- Challenge Met: House …
fp3_misc_decisions.0041 - Challenge Met: House …
fp3_misc_decisions.0042 - Down to Bottomless Perdition
chariot_race.4051 - Down...
chariot_race.4050 - From Nowhere
hunt.7801 - Involvement Discovered
hostile_scheme_discovery.3003 - Not Quite Alone
hunt.1081 - Schemer Discovered!
hostile_scheme_discovery.1002 - The Real Game
hunt.7211 - The Real Game
hunt.7212 - What Hangs Above
ep2_wedding.3050 - … …: … and …
contest_events.0810
Scripted effects inside an event file (1)
- yearly_1081_reveal_guilt_effect
History files (the start of the game) (1)
- easteregg_fenni_johansson (characters)
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.