Scripted effect
torturer_interaction_recipient_effect
torturer_interaction_recipient_effect = yesgame/common/scripted_effects/00_interaction_effects.txt, line 392 (62 lines). No parameters.
torturer_interaction_recipient_effect is a scripted effect in Crusader Kings III, written at line 392 of its file. It takes no parameters: torturer_interaction_recipient_effect = yes. The game's script calls it in 5 places, among them Torture (event prison.1003), Torture (event prison.1010) and Torture (event prison.1011). Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.
What it does
scope:recipient:- Gains the modifier “Recently Tortured” for 5 years
- Health -0.75
If
One of these
- Their rite: The rite has Adherents take no Stress from being tortured, and gain Spiritual Fulfillment from the ordeal
or
The Personal Tenets unlock reduced stress from torture
Then
Otherwise
- Stress and fulfillment impact: by trait: Craven +150, Brave +40
torture_memory_effect = { VICTIM = scope:recipient TORTURER = scope:puppet_or_actor TYPE = torture }
- Gains the modifier “Recently Tortured” for 5 years
• 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 (62 lines of game script)
torturer_interaction_recipient_effect = {
scope:recipient = {
add_character_modifier = {
modifier = recently_tortured
years = 5
}
# Poetry does not cause lunacy.
if = {
limit = {
NOT = { scope:torture_method = flag:poetry }
}
random = {
chance = 5
modifier = {
scope:puppet_or_actor = { has_trait = torturer }
add = 10
}
add_trait = lunatic_1
}
}
if = {
limit = {
OR = {
rite ?= { rite_has_parameter = reduced_stress_from_torture }
has_personal_tenet_flag = reduced_stress_from_torture
}
}
if = {
limit = { is_playable_character = yes } # Only playable characters have spiritual fulfillment
change_spiritual_fulfillment = medium_spiritual_fulfillment_value
}
}
else_if = {
limit = {
NOR = {
has_trait = craven
has_trait = brave
}
}
add_stress = massive_stress_impact_gain
}
else = {
stress_and_fulfillment_impact = {
craven = monumental_stress_gain
brave = medium_stress_impact_gain
}
}
if = { # Remove the flag blocking other prison interactions
limit = { has_character_flag = is_being_tortured }
remove_character_flag = is_being_tortured
}
torture_memory_effect = {
VICTIM = scope:recipient
TORTURER = scope:puppet_or_actor
TYPE = torture
}
}
}As written in game/common/scripted_effects/00_interaction_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls torturer_interaction_recipient_effect.
Events (5)
- Torture
prison.1003 - Torture
prison.1010 - Torture
prison.1011 - Truth or Torment
prison.1001 - Truth or Torment
prison.1002
Source: game/common/scripted_effects/00_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.