CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

spymaster_task_find_secrets_court_has_major_secrets_trigger

spymaster_task_find_secrets_court_has_major_secrets_trigger = yes

game/common/scripted_triggers/00_councillor_triggers.txt, line 918 (26 lines). No parameters.

spymaster_task_find_secrets_court_has_major_secrets_trigger is a scripted trigger in Crusader Kings III, written at line 918 of its file. It takes no parameters: spymaster_task_find_secrets_court_has_major_secrets_trigger = yes (or no). The game's script calls it in 5 places, among them Find Secrets (scheme), Minister: Find Secrets (scheme) and Find Secrets (council task). Patch 1.20.1.2, from game/common/scripted_triggers/00_councillor_triggers.txt.

What it checks

• 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 (26 lines of game script)
spymaster_task_find_secrets_court_has_major_secrets_trigger = {
	OR = {
		AND = {
			has_any_secrets = yes
			any_secret = {
				spymaster_task_find_secrets_suitable_major_secret_trigger = yes
			}
		}
		any_vassal = {
			has_any_secrets = yes
			this != scope:councillor_liege
			this != scope:councillor
			any_secret = {
				spymaster_task_find_secrets_suitable_major_secret_trigger = yes
			}
		}
		any_courtier_or_guest = {
			has_any_secrets = yes
			this != scope:councillor_liege
			this != scope:councillor
			any_secret = {
				spymaster_task_find_secrets_suitable_major_secret_trigger = yes
			}
		}
	}
}

As written in game/common/scripted_triggers/00_councillor_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls spymaster_task_find_secrets_court_has_major_secrets_trigger.

Schemes (2)

  • Find Secrets
  • Minister: Find Secrets

Council tasks (1)

  • Find Secrets

Source: game/common/scripted_triggers/00_councillor_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?