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

Scripted trigger · By God Alone files

pam_is_canonization_candidate_trigger

pam_is_canonization_candidate_trigger = { CANONIZER = … }

game/common/scripted_triggers/pam_saint_triggers.txt, line 63 (15 lines). Parameters: $CANONIZER$.

pam_is_canonization_candidate_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 63 of its file. A call passes 1 parameter: CANONIZER. The game's script calls it in 2 places, among them … … (decision) and … … (decision). Patch 1.20.1.2, from game/common/scripted_triggers/pam_saint_triggers.txt.

The comment above it in the file

Can this dead ancestor be canonized? CANONIZER is passed in because the picker runs with root = none; virtue/sin are judged by the canonizer's rite.

What it checks

  • Does not have the Trait: Venerated Ancestor
  • faith ?= $CANONIZER$.faith
  • dynasty ?= $CANONIZER$.dynasty
  • num_virtuous_traits = { value >= 1 target = this.rite }
  • num_sinful_traits = { value = 0 target = this.rite }

• 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 (15 lines of game script)
pam_is_canonization_candidate_trigger = {
	is_alive = no
	NOT = { has_trait = saint }
	faith ?= $CANONIZER$.faith
	dynasty ?= $CANONIZER$.dynasty
	# Saintly life: at least one virtue and no sins by our rite's reckoning.
	num_virtuous_traits = {
		value >= 1
		target = this.rite
	}
	num_sinful_traits = {
		value = 0
		target = this.rite
	}
}

As written in game/common/scripted_triggers/pam_saint_triggers.txt.

Where it is used

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

Decisions (2)

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