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_ecclesiastical_superior_or_subordinate_trigger

pam_ecclesiastical_superior_or_subordinate_trigger = { ACTOR = … RECIPIENT = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1484 (24 lines). Parameters: $ACTOR$, $RECIPIENT$.

pam_ecclesiastical_superior_or_subordinate_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1484 of its file. A call passes 2 parameters: ACTOR and RECIPIENT. The game's script calls it in 1 place, among them Request Church Treasury (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

  • None of these

    • $ACTOR$ = $RECIPIENT$
    • All of these

      • exists = $ACTOR$.religious_head_or_challenger
      • exists = $RECIPIENT$.religious_head_or_challenger
      • $ACTOR$.religious_head_or_challenger != $RECIPIENT$.religious_head_or_challenger
  • One of these

    • $ACTOR$ = { … }
    • or

      $RECIPIENT$ = { … }

• 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 (24 lines of game script)
pam_ecclesiastical_superior_or_subordinate_trigger = {
	NOR = {
		$ACTOR$ = $RECIPIENT$
		AND = {
			exists = $ACTOR$.religious_head_or_challenger
			exists = $RECIPIENT$.religious_head_or_challenger
			$ACTOR$.religious_head_or_challenger != $RECIPIENT$.religious_head_or_challenger
		}
	}
	OR = {
		$ACTOR$ = {
			OR = {
				superior ?= $RECIPIENT$
				superior.superior ?= $RECIPIENT$
			}
		}
		$RECIPIENT$ = {
			OR = {
				superior ?= $ACTOR$
				superior.superior ?= $ACTOR$
			}
		}
	}
}

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_ecclesiastical_superior_or_subordinate_trigger.

Character interactions (1)

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?