Scripted trigger
is_available_child_allow_travel
is_available_child_allow_travel = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 308 (31 lines). No parameters.
is_available_child_allow_travel is a scripted trigger in Crusader Kings III, written at line 308 of its file. It takes no parameters: is_available_child_allow_travel = yes (or no). The game's script calls it in 48 places, among them Offer Guardianship (interaction), A Feast for the Senses (event child_personality.0008) and A Friend to Animals (event child_personality.7300). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_available_for_events_triggers.txt.
The comment above it in the file
If you update one of the available triggers, update all of them. It's a lot better for performance to not have scripted triggers within scripted triggers when they're checked as often as these ones are.
What it checks
- Is available (a child, not in an army, not imprisoned, not incapable)
has_contagious_deadly_disease_trigger = no- Busy participating in an Activity
- You are already planning another Activity
• 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 (31 lines of game script)
is_available_child_allow_travel = {
is_available_quick = {
adult = no
alive = yes
in_army = no
imprisoned = no
incapable = no
}
has_contagious_deadly_disease_trigger = no
custom_description = {
text = ALREADY_IN_ACTIVITY
NOR = {
exists = involved_activity
has_variable = {
name = homage_liege_scope
name = meditation_character_flag
name = local_shrine_rite
name = petition_liege_character_flag
name = petition_head_of_faith_petitioner
name = holding_court_character_flag
name = gone_adventuring
}
is_being_visited_on_tour_strict = yes
}
}
custom_description = {
text = ALREADY_PLANNING_ACTIVITY
NOT = { has_character_flag = planning_an_activity }
}
}As written in game/common/scripted_triggers/00_available_for_events_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_available_child_allow_travel.
Character interactions (1)
Events (46)
- A Feast for the Senses
child_personality.0008 - A Friend to Animals
child_personality.7300 - A Guardian's Influence
child_personality.0061 - A Judgment
child_personality.0007 - A Lesson in Charity
child_personality.7080 - A Lesson in Lucre
child_personality.7050
40 more
- A Life in My Hands
child_personality.0010 - 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
Scripted triggers inside an event file (1)
- child_personality_0009_child_preacher_trigger
Source: game/common/scripted_triggers/00_available_for_events_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.