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

Scripted trigger

knows_about_character_being_witch_trigger

knows_about_character_being_witch_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_witch_triggers.txt, line 9 (9 lines). Parameters: $CHARACTER$.

knows_about_character_being_witch_trigger is a scripted trigger in Crusader Kings III, written at line 9 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 3 places, among them Reveal As Witch (interaction), Grand Rite (activity) and potential_witch_friend_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_witch_triggers.txt.

What it checks

  • One of these

    • $CHARACTER$ = { has_trait = witch }
    • or

      Any known secret:
      • secret_owner = $CHARACTER$
      • secret_type = secret_witch

• 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 (9 lines of game script)
knows_about_character_being_witch_trigger = {
	OR = {
		$CHARACTER$ = { has_trait = witch }
		any_known_secret = {
			secret_owner = $CHARACTER$
			secret_type = secret_witch
		}
	}
}

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

Where it is used

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

Character interactions (1)

Activities (1)

Scripted triggers (1)

Source: game/common/scripted_triggers/00_witch_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?