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)
- 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_effects/00_childhood_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.