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

Scripted trigger

shared_faith_or_hof_trigger

shared_faith_or_hof_trigger = { ACTOR = … RECIPIENT = … }

game/common/scripted_triggers/00_religious_triggers.txt, line 1583 (10 lines). Parameters: $ACTOR$, $RECIPIENT$.

shared_faith_or_hof_trigger is a scripted trigger in Crusader Kings III, written at line 1583 of its file. A call passes 2 parameters: ACTOR and RECIPIENT. The game's script calls it in 1 place, among them Discharge Entrenched Regent (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

What it checks

  • One of these

    • $ACTOR$.faith = $RECIPIENT$.faith
    • or

      All of these

      • exists = $ACTOR$.faith.religious_head
      • exists = $RECIPIENT$.faith.religious_head
      • $ACTOR$.faith.religious_head = $RECIPIENT$.faith.religious_head

• 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)
shared_faith_or_hof_trigger = {
	OR = {
		$ACTOR$.faith = $RECIPIENT$.faith
		AND = {
			exists = $ACTOR$.faith.religious_head
			exists = $RECIPIENT$.faith.religious_head
			$ACTOR$.faith.religious_head = $RECIPIENT$.faith.religious_head
		}
	}
}

As written in game/common/scripted_triggers/00_religious_triggers.txt.

Where it is used

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

Character interactions (1)

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