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_senior_cleric_of_character_trigger

pam_is_senior_cleric_of_character_trigger = { CHARACTER = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1307 (10 lines). Parameters: $CHARACTER$.

pam_is_senior_cleric_of_character_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1307 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 3 places, among them clerical_kill_memory_effect (scripted effect), clerical_kill_piety_effect (scripted effect) and execute_prisoner_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

A cardinal, Head of Rite, or archbishop of $CHARACTER$'s faith

What it checks

  • Their religion is Christianity
  • faith = $CHARACTER$.faith
  • One of these

    • exists = clerical_elector_title
    • or

      $CHARACTER$.rite.head_of_rite ?= this
    • or

      Any held title: Is a Clerical Title

• 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 (10 lines of game script)
pam_is_senior_cleric_of_character_trigger = {
	has_pam_dlc_trigger = yes
	religion = religion:christianity_religion
	faith = $CHARACTER$.faith
	OR = {
		exists = clerical_elector_title
		$CHARACTER$.rite.head_of_rite ?= this
		any_held_title = { has_clerical_region = 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_is_senior_cleric_of_character_trigger.

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.

Spotted a mistake on this page?