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

Scripted trigger

portrait_religious_faith_or_foundational_trigger

portrait_religious_faith_or_foundational_trigger = { FAITH = … }

game/common/scripted_triggers/00_clothing_triggers.txt, line 3252 (6 lines). Parameters: $FAITH$.

portrait_religious_faith_or_foundational_trigger is a scripted trigger in Crusader Kings III, written at line 3252 of its file. A call passes 1 parameter: FAITH. The game's script calls it in 7 places, among them …… Council of Toledo: Debate (event fp2_other_decisions.0702), …… Council of Toledo: Organization (event fp2_other_decisions.0700) and Bhakti (event religious_decision.0101). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.

What it checks

  • One of these

    • this = $FAITH$
    • or

      Foundational faith is $FAITH$

• 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 (6 lines of game script)
portrait_religious_faith_or_foundational_trigger = {
	OR = {
		this = $FAITH$
		var:foundational_faith ?= $FAITH$
	}
}

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

Where it is used

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

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