Scripted effect
hunt_murder_confession_opinion_effect
hunt_murder_confession_opinion_effect = yesgame/common/scripted_effects/00_hunt_effects.txt, line 3353 (37 lines). No parameters.
hunt_murder_confession_opinion_effect is a scripted effect in Crusader Kings III, written at line 3353 of its file. It takes no parameters: hunt_murder_confession_opinion_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
scope:activity:
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (37 lines of game script)
hunt_murder_confession_opinion_effect = {
scope:activity = {
every_attending_character = { #All honorable participants lose opinion
limit = {
this != root
this != scope:murder_target
is_alive = yes
ai_honor >= high_positive_honor
}
custom = hunt.1014.all_honorable_hunt_participants
add_opinion = {
modifier = opinion_acting_strange
target = root
}
}
every_attending_character = { #All evil participants gain opinion
limit = {
this != root
this != scope:murder_target
is_alive = yes
OR = {
has_trait = sadistic
opinion = {
target = scope:murder_target
value <= -30
}
}
}
custom = hunt.1014.all_who_dislike_or_are_evil
add_opinion = {
modifier = cruelty_opinion
target = root
opinion = 10
}
}
}
}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_murder_confession_opinion_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.