Scripted effect
stress_get_victim_in_court_effect
stress_get_victim_in_court_effect = yesgame/common/scripted_effects/00_stress_effects.txt, line 424 (30 lines). No parameters.
stress_get_victim_in_court_effect is a scripted effect in Crusader Kings III, written at line 424 of its file. It takes no parameters: stress_get_victim_in_court_effect = yes. The game's script calls it in 2 places, among them Mental Break: Ingratitude (event stress_threshold.2001) and Mental Break: Wrongdoing (event stress_threshold.3101). Patch 1.20.1.2, from game/common/scripted_effects/00_stress_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (30 lines of game script)
stress_get_victim_in_court_effect = {
if = {
limit = {
any_courtier = {
exists = this
is_imprisoned = no
}
}
random_courtier = {
limit = {
is_imprisoned = no
exists = root.player_heir
this = root.player_heir
}
alternative_limit = {
is_imprisoned = no
is_child_of = root
}
alternative_limit = {
is_imprisoned = no
is_spouse_of = root
}
alternative_limit = {
is_imprisoned = no
}
save_scope_as = victim
}
}
}As written in game/common/scripted_effects/00_stress_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls stress_get_victim_in_court_effect.
Events (2)
- Mental Break: Ingratitude
stress_threshold.2001 - Mental Break: Wrongdoing
stress_threshold.3101
Source: game/common/scripted_effects/00_stress_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.