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

Scripted trigger

is_diff_faith_or_culture_trigger

is_diff_faith_or_culture_trigger = { CHAR = … STATUS = … }

game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt, line 80 (8 lines). Parameters: $CHAR$, $STATUS$.

is_diff_faith_or_culture_trigger is a scripted trigger in Crusader Kings III, written at line 80 of its file. A call passes 2 parameters: CHAR and STATUS. The game's script calls it in 12 places, among them Grant Appointment (interaction), Grant Titles (interaction) and Modify … Administration (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.

What it checks

  • Not all of these

    • culture = $CHAR$.culture
    • faith = $CHAR$.faith
  • $CHAR$ = { … }

• 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 (8 lines of game script)
is_diff_faith_or_culture_trigger = {
	NAND = {
		culture = $CHAR$.culture
		faith = $CHAR$.faith
	}
	$CHAR$ = { any_character_struggle = { involvement = $STATUS$ } }
	# Removed the check for what struggle it is
}

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

Where it is used

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

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