Scripted effect
hunt_participant_to_blame_effect
hunt_participant_to_blame_effect = yesgame/common/scripted_effects/00_hunt_effects.txt, line 3295 (57 lines). No parameters.
hunt_participant_to_blame_effect is a scripted effect in Crusader Kings III, written at line 3295 of its file. It takes no parameters: hunt_participant_to_blame_effect = yes. The game's script calls it in 2 places, among them A Spear for … (event hunt.1006) and An Arrow for … (event hunt.1014). Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (57 lines of game script)
hunt_participant_to_blame_effect = {
scope:activity = {
if = {
limit = {
any_attending_character = {
NOR = {
this = root
this = scope:murder_target
}
is_alive = yes
}
}
every_attending_character = {
limit = {
NOR = {
this = root
this = scope:murder_target
}
is_alive = yes
}
add_to_list = potential_blamees
}
random_in_list = {
list = potential_blamees
limit = { #Blame someone you don't like!
OR = {
has_relation_rival = root
has_relation_potential_rival = root
reverse_opinion = {
target = root
value <= -30
}
}
}
alternative_limit = {
reverse_opinion = {
target = root
value <= -10
}
}
alternative_limit = { always = yes } #Just pick whomever at this stage
weight = {
base = 10
modifier = {
add = -9
OR = {
has_relation_friend = root
has_relation_potential_friend = root
has_relation_lover = root
}
}
}
save_scope_as = participant_to_blame
}
}
}
}As written in game/common/scripted_effects/00_hunt_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls hunt_participant_to_blame_effect.
Events (2)
- A Spear for …
hunt.1006 - An Arrow for …
hunt.1014
Source: game/common/scripted_effects/00_hunt_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.