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

Scripted effect

guardian_or_court_tutor_trigger_event_effect

guardian_or_court_tutor_trigger_event_effect = { EVENT = … }

game/common/scripted_effects/00_childhood_effects.txt, line 753 (26 lines). Parameters: $EVENT$.

guardian_or_court_tutor_trigger_event_effect is a scripted effect in Crusader Kings III, written at line 753 of its file. A call passes 1 parameter: EVENT. 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_effects/00_childhood_effects.txt.

What it does

  • If any relation › One random relation: Event $EVENT$
  • Else, if (a hidden condition):
    • court_owner.court_position:court_guru_court_position = { trigger_event = $EVENT$ }
  • Otherwise:
    • court_owner.court_position:court_tutor_court_position ?= { trigger_event = $EVENT$ }

• 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 (26 lines of game script)
guardian_or_court_tutor_trigger_event_effect = {
	if = {
		limit = {
			any_relation = {
				type = guardian
			}
		}
		random_relation = {
			type = guardian
			trigger_event = $EVENT$
		}
	}
	else_if = {
		limit = {
			exists = court_owner.court_position:court_guru_court_position
		}
		court_owner.court_position:court_guru_court_position = {
			trigger_event = $EVENT$
		}	
	}
	else = {
		court_owner.court_position:court_tutor_court_position ?= {
			trigger_event = $EVENT$
		}
	}
}

As written in game/common/scripted_effects/00_childhood_effects.txt.

Where it is used

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

Events (45)

39 more

Source: game/common/scripted_effects/00_childhood_effects.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?