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_find_secrets_secret_target_is_interesting_to_me_trigger

spymaster_find_secrets_secret_target_is_interesting_to_me_trigger = yes

game/common/scripted_triggers/00_councillor_triggers.txt, line 961 (22 lines). No parameters.

spymaster_find_secrets_secret_target_is_interesting_to_me_trigger is a scripted trigger in Crusader Kings III, written at line 961 of its file. It takes no parameters: spymaster_find_secrets_secret_target_is_interesting_to_me_trigger = yes (or no). The game's script calls it in 6 places, among them laamp_extra_contract_schemes.0020 (event), laamp_extra_contract_schemes.0021 (event) and scheme_critical_moments.8068 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_councillor_triggers.txt.

What it checks

  • If

    a check the game hides

    Then

    • secret_target = { … }

    Otherwise

    • Never

• 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 (22 lines of game script)
spymaster_find_secrets_secret_target_is_interesting_to_me_trigger = {
	scope:councillor_liege = {
		save_temporary_scope_as = me
	}
	trigger_if = {
		limit = {
			exists = secret_target
		}
		secret_target = {
			OR = {
				is_close_or_extended_family_of = scope:me
				is_courtier_of = scope:me
				has_relation_rival = scope:me
				has_relation_lover = scope:me
				is_player_heir_of = scope:me
			}
		}
	}
	trigger_else = {
		always = no
	}
}

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_find_secrets_secret_target_is_interesting_to_me_trigger.

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?