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

Scripted trigger

guardian_or_court_tutor_trait_trigger

guardian_or_court_tutor_trait_trigger = { TRAIT = … }

game/common/scripted_triggers/00_childhood_triggers.txt, line 359 (23 lines). Parameters: $TRAIT$.

guardian_or_court_tutor_trait_trigger is a scripted trigger in Crusader Kings III, written at line 359 of its file. A call passes 1 parameter: TRAIT. The game's script calls it in 45 places, among them A Feast for the Senses (event child_personality.0008), A Friend to Animals (event child_personality.7300) and A Judgment (event child_personality.0007). Patch 1.20.1.2, from game/common/scripted_triggers/00_childhood_triggers.txt.

What it checks

  • If any relation › Any relation: Has the Trait: …
  • Otherwise:
    • One of these

      • court_owner.court_position:court_tutor_court_position ?= { has_trait = $TRAIT$ }
      • or

        court_owner.court_position:court_guru_court_position ?= { has_trait = $TRAIT$ }

• 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 (23 lines of game script)
guardian_or_court_tutor_trait_trigger = {
	trigger_if = {
		limit = {
			any_relation = {
				type = guardian
			}
		}
		any_relation = {
			type = guardian
			has_trait = $TRAIT$
		}
	}
	trigger_else = {
		OR = {
			court_owner.court_position:court_tutor_court_position ?= {
				has_trait = $TRAIT$
			}
			court_owner.court_position:court_guru_court_position ?= {
				has_trait = $TRAIT$
			}
		}
	}
}

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

Where it is used

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

Events (45)

39 more

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