Scripted trigger
torture_secret_trigger
torture_secret_trigger = { PARTICIPANT = … }game/common/scripted_triggers/00_scripted_triggers.txt, line 169 (20 lines). Parameters: $PARTICIPANT$.
torture_secret_trigger is a scripted trigger in Crusader Kings III, written at line 169 of its file. A call passes 1 parameter: PARTICIPANT. The game's script calls it in 2 places, among them Torture (interaction) and Truth or Torment (event prison.1001). Patch 1.20.1.2, from game/common/scripted_triggers/00_scripted_triggers.txt.
What it checks
If
a check the game hides
Then
NOT = { is_known_by = scope:puppet_or_actor }One of these
is_blackmailable_secret_trigger = { BLACKMAILER = scope:puppet_or_actor PARTICIPANT = $PARTICIPANT$ }or
secret_is_always_interesting_trigger = yes
Otherwise
NOT = { is_known_by = scope:actor }One of these
is_blackmailable_secret_trigger = { BLACKMAILER = scope:actor PARTICIPANT = $PARTICIPANT$ }or
secret_is_always_interesting_trigger = yes
NOT = { secret_target ?= scope:recipient }
• 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 (20 lines of game script)
torture_secret_trigger = {
trigger_if = {
limit = { exists = scope:puppet_or_actor }
NOT = { is_known_by = scope:puppet_or_actor }
OR = {
is_blackmailable_secret_trigger = { BLACKMAILER = scope:puppet_or_actor PARTICIPANT = $PARTICIPANT$ }
secret_is_always_interesting_trigger = yes
}
}
trigger_else = {
NOT = { is_known_by = scope:actor }
OR = {
is_blackmailable_secret_trigger = { BLACKMAILER = scope:actor PARTICIPANT = $PARTICIPANT$ }
secret_is_always_interesting_trigger = yes
}
}
NOT = {
secret_target ?= scope:recipient
}
}As written in game/common/scripted_triggers/00_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls torture_secret_trigger.
Character interactions (1)
Events (1)
- Truth or Torment
prison.1001
Source: game/common/scripted_triggers/00_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.