Scripted trigger
expose_secret_scope_saving_trigger
expose_secret_scope_saving_trigger = { CHARACTER = … SECRET = … }game/common/scripted_triggers/00_secret_triggers.txt, line 266 (13 lines). Parameters: $CHARACTER$, $SECRET$.
expose_secret_scope_saving_trigger is a scripted trigger in Crusader Kings III, written at line 266 of its file. A call passes 2 parameters: CHARACTER and SECRET. The game's script calls it in 2 places, among them show_me_exposed_secret_event_trigger (scripted trigger) and show_me_exposed_secret_feed_message_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_secret_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (13 lines of game script)
expose_secret_scope_saving_trigger = { #Because we save the same scopes in two triggers that need to be the same
save_temporary_scope_as = show_me
$CHARACTER$ = {
save_temporary_scope_as = exposed_secret_character #Most of the time this is owner, but for secrets with targets/other involved parties it can also be them
}
$SECRET$ = {
secret_owner = { save_temporary_scope_as = exposed_secret_owner }
trigger_if = {
limit = { exists = secret_target }
secret_target = { save_temporary_scope_as = exposed_secret_target }
}
}
}As written in game/common/scripted_triggers/00_secret_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls expose_secret_scope_saving_trigger.
Scripted triggers (2)
Source: game/common/scripted_triggers/00_secret_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.