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

Scripted trigger

study_faith_has_anything_to_learn_trigger

study_faith_has_anything_to_learn_trigger = { RITE = … }

game/common/scripted_triggers/passive_rite_learning_triggers.txt, line 303 (15 lines). Parameters: $RITE$.

study_faith_has_anything_to_learn_trigger is a scripted trigger in Crusader Kings III, written at line 303 of its file. A call passes 1 parameter: RITE. The game's script calls it in 5 places, among them Study Rite (Scheme) (interaction), Study Rite: A Breakthrough (event study_faith_outcome.1000) and Study Rite: Beyond My Reach (event study_faith_outcome.1500). Patch 1.20.1.2, from game/common/scripted_triggers/passive_rite_learning_triggers.txt.

What it checks

• 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 (15 lines of game script)
study_faith_has_anything_to_learn_trigger = {
	OR = {
		any_character_tenet = {
			knowledge_filter = unknown
			passive_rite_learning_candidate_tenet_is_core_trigger = { RITE = $RITE$ }
			count >= 1
		}
		any_character_doctrine = {
			knowledge_filter = unknown
			passive_rite_learning_candidate_doctrine_is_core_trigger = { RITE = $RITE$ }
			passive_rite_learning_doctrine_is_learnable_trigger = yes
			count >= 1
		}
	}
}

As written in game/common/scripted_triggers/passive_rite_learning_triggers.txt.

Where it is used

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

Character interactions (1)

Events (3)

On actions (the game's own hooks) (1)

  • study_faith_failure

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