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_has_trait_trigger

portrait_has_trait_trigger = { TRAIT = … }

game/common/scripted_triggers/00_clothing_triggers.txt, line 479 (3 lines). Parameters: $TRAIT$.

portrait_has_trait_trigger is a scripted trigger in Crusader Kings III, written at line 479 of its file. A call passes 1 parameter: TRAIT. The game's script calls it in 8 places, among them portrait_beggar_trigger (scripted trigger), portrait_can_use_noble_headgear_trigger (scripted trigger) and portrait_religious_devoted_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.

What it checks

Every line of it is script with no tooltip text: the script is below.

The script as written (3 lines of game script)
portrait_has_trait_trigger = {
	trait:$TRAIT$ = { is_in_list = traits }
}

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_has_trait_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?