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)
- A Feast for the Senses
child_personality.0008 - A Friend to Animals
child_personality.7300 - A Judgment
child_personality.0007 - A Lesson in Charity
child_personality.7080 - A Lesson in Lucre
child_personality.7050 - A Life in My Hands
child_personality.0010
39 more
- A Mess of a Feast
child_personality.0012 - A Threatening Figure
child_personality.0001 - Absent Instruction
tgp_child_personality.0004 - Alone in the Kitchen
child_personality.7030 - An Honest Mistake
tgp_child_personality.7090 - An Unexpected Discovery
tgp_child_personality.7040 - Armory Break-in
child_personality.7100 - Blood and Spit
child_personality.7070 - Broken Wings
tgp_child_personality.7300 - Caught!
child_personality.0003 - Constant Inquiry
tgp_child_personality.7100 - Courtly Inspiration
child_personality.0004 - Delicious Excess
tgp_child_personality.7080 - Diminished Circumstances
tgp_child_personality.0002 - Dogged Determination
tgp_child_personality.7200 - Generous Praise
tgp_child_personality.7060 - Harsh Words
tgp_child_personality.7070 - Heart-wrenching Rejection
child_personality.0006 - Hide and Peek
child_personality.7040 - Lost and Found
tgp_child_personality.7050 - Mysteries of the …
child_personality.7060 - Nocturnal Noises
tgp_child_personality.0009 - Object of My Desire
child_personality.0011 - Open Schedule
tgp_child_personality.7000 - Overburdened
tgp_child_personality.7030 - Playtime
child_personality.0005 - The Beating
child_personality.7020 - The Burden of Expectations
tgp_child_personality.0010 - The Child Preacher
child_personality.0009 - The Criminal
child_personality.0002 - The Dark Cave
child_personality.7200 - The Finer Points of Diplomacy
child_personality.7090 - The Sermon
child_personality.7010 - The Stolen Keg
child_personality.7000 - To Game or To Ride?
child_personality.7400 - Twisted Words
tgp_child_personality.7010 - Unearned Honor
tgp_child_personality.0003 - Unequal Portions
tgp_child_personality.0007 - Unknown Intentions
tgp_child_personality.7020
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.