Scripted trigger
is_witch_known_by_trigger
is_witch_known_by_trigger = { CHARACTER = … }game/common/scripted_triggers/00_crime_triggers.txt, line 17 (14 lines). Parameters: $CHARACTER$.
is_witch_known_by_trigger is a scripted trigger in Crusader Kings III, written at line 17 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 2 places, among them Found Witch Coven (decision) and activity_witch_ritual_valid_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_crime_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 (14 lines of game script)
is_witch_known_by_trigger = {
OR = {
has_trait = witch
custom_description = {
text = has_a_witch_secret_known_by_character
subject = this
object = $CHARACTER$
any_secret = {
type = secret_witch
is_known_by = $CHARACTER$
}
}
}
}As written in game/common/scripted_triggers/00_crime_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_witch_known_by_trigger.
Decisions (1)
Scripted triggers (1)
Source: game/common/scripted_triggers/00_crime_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.