Scripted trigger · By God Alone files
pam_tenet_ai_should_purge_trigger
pam_tenet_ai_should_purge_trigger = { CHARACTER = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 2706 (8 lines). Parameters: $CHARACTER$.
pam_tenet_ai_should_purge_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 2706 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 2 places, among them Forbid a Tenet (decision) and Forbid a Tenet (decision). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
Phase first: this runs per candidate tenet, so outside Reform the global lookup ends it at once
What it checks
- The Christian Church:
situation_current_phase = reform_phase
One of these
$CHARACTER$.faith = { has_tenet_popularity_trigger = yes }
• 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 (8 lines of game script)
pam_tenet_ai_should_purge_trigger = {
situation:the_christian_church ?= { situation_current_phase = reform_phase }
OR = {
pam_tenet_is_christian_vice_trigger = yes
pam_tenet_is_christian_abomination_trigger = yes
}
$CHARACTER$.faith = { has_tenet_popularity_trigger = yes }
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_tenet_ai_should_purge_trigger.
Decisions (2)
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.