Scripted trigger
is_available_allow_travelling
is_available_allow_travelling = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 73 (35 lines). No parameters.
is_available_allow_travelling is a scripted trigger in Crusader Kings III, written at line 73 of its file. It takes no parameters: is_available_allow_travelling = yes (or no). The game's script calls it in 103 places, among them Desperate Measures — Butcher Animals (decision), Gather Provisions (decision) and Cease Paying Tribute (interaction). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_available_for_events_triggers.txt.
What it checks
- Is available (not imprisoned, not incapable, not in an army)
has_contagious_deadly_disease_trigger = no- Busy participating in an Activity
- You are already planning another Activity
- You are currently busy in a Mandala succession
• 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 (35 lines of game script)
is_available_allow_travelling = {
is_available_quick = {
alive = yes
imprisoned = no
incapable = no
in_army = 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
name = merchant_var # only added here since they should always be travelling
}
is_being_visited_on_tour_strict = yes
}
}
custom_description = {
text = ALREADY_PLANNING_ACTIVITY
NOT = { has_character_flag = planning_an_activity }
}
# Variable set on Mandala succession
custom_tooltip = {
text = busy_in_mandala_succession
NOT = { has_variable = busy_in_mandala_succession }
}
}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_allow_travelling.
Character interactions (4)
Activities (2)
Travel (1)
- Tutoring Trip
Task contracts (1)
- laamp_transport_explorer
Important actions (1)
- Betrothed can Marry in Grand Wedding
Events (83)
- A Barren Trail
migration_events.1030 - A Faithful Visitor
ep3_laamps.5005 - A Feast for Falcons
travel_events_fp3.0031 - A Foreign …
travel_events.4024 - A Friendly Clamor
ep3_laamp_flavour_ewan.0051 - A Guide to ...
ep3_laamp_flavour_ewan.3061
77 more
- A Little Follower
ep3_laamp_flavour_ewan.0021 - A Master for Shepherds
migration_events.1020 - A Matter of Theology: …
laamp_base_learning_contract_events.4015 - A Matter of Theology: Setting Out
laamp_base_learning_contract_events.4011 - A Morsel of Meat
mpo_events_anna.0015 - A Nose for Trouble
ep3_laamp_flavour_ewan.1111 - A Party of Peasants
bp2_adult_education.9100 - A Rare Orepportunity
ep3_laamps.8030 - A Special Tax: …
laamp_base_contract_schemes.2781 - A Spot of Larceny: Just a Little More
laamp_base_contract_schemes.3781 - A Strange Sailor
ep3_laamps.8080 - A Teaching Moment: The Diplomatic Approach
laamp_base_learning_contract_events.4100 - A Well-Oiled Machine
ep3_laamp_flavour_ewan.2081 - Aches and Pains
ep3_laamps.5010 - An Unexpected Faire
ep3_laamp_flavour_ewan.0061 - Arguing the Toss
ep3_laamp_flavour_ewan.3011 - At the Edge of Camp
ep3_laamp_flavour_ewan.1071 - Builder, Buyer, Landholder
ep3_governor_yearly.3001 - Camp Gossip
ep3_laamp_flavour_ewan.2011 - Decapitation
mpo_nomad_events.1011 - ep3_laamp_flavour_ewan.1102
- ep3_laamp_flavour_ewan.2002
- ep3_laamp_flavour_ewan.2022
- ep3_laamp_flavour_ewan.2042
- ep3_laamp_flavour_ewan.2062
- ep3_laamp_flavour_ewan.2093
- ep3_laamp_flavour_ewan.9541
- ep3_laamp_flavour_ewan.9551
- Every Parent's Duty
ep3_laamp_flavour_ewan.1091 - Fire & Friends
ep3_laamp_flavour_ewan.0011 - Foreign Fruits
ep3_laamps.8070 - Friends in Low Places
ep3_laamp_flavour_ewan.1001 - Grand Wedding: Betrothal Expired
ep2_wedding.0001 - Growing Up
ep3_laamp_flavour_ewan.1081 - Heard of You
ep3_laamp_flavour_ewan.3001 - Helping Out: Personal Rituals
ep3_laamp_flavour_ewan.1103 - Incendiary Talk: …
laamp_base_contract_schemes.3661 - Inns and Outs
ep3_laamps.5030 - It Isn't Fair
ep3_laamp_flavour_ewan.1051 - Lay of the Land
ep3_laamps.5035 - Learning from Example
ep3_laamp_flavour_ewan.1011 - Let Sleeping Dogs Lie
ep3_laamps.8040 - Lost Lordling
ep3_laamp_flavor.0040 - Love at First Camp
ep3_laamp_flavour_ewan.1021 - Making a Record: …
laamp_base_contract_schemes.2541 - Map Painting
ep3_laamp_flavour_ewan.3051 - Means to an End?
ep3_laamps.5025 - Mine by Right
ep3_laamp_flavour_ewan.3031 - Nary a Drop
ep3_laamps.8060 - Nurture
ep3_laamp_flavour_ewan.1031 - Over the Horizon
ep3_laamp_flavour_ewan.3021 - People from a Better Time
ep3_laamp_flavour_ewan.3041 - Pinkish Hues
ep3_laamp_flavour_ewan.0001 - Pounding Hooves
ep3_laamp_flavour_ewan.0071 - Quick Study
ep3_laamp_flavour_ewan.1061 - Rallying the Tribes
mpo_decisions_events.0001 - Render Unto …: …
laamp_base_contract_schemes.2311 - Ruin Rambling
ep3_laamps.5040 - Second-in-Command
ep3_laamp_flavour_ewan.2071 - Starving Soldiers
ep3_laamps.5015 - Sweet Dreams
ep3_laamp_flavor.0030 - Temptations of the Purse
laamp_base_contract_schemes.0781 - The Art of Delegation
laamp_base_contract_schemes.0791 - The Corridors of Power
ep3_laamps.5045 - The Distant Shores
ep3_laamps.8090 - The Journey of a Lifetime
ep3_laamps.8020 - The Law in …
ep3_laamp_flavour_ewan.3071 - The Necromancer
ep3_laamp_flavor.0050 - The Old Country
ep3_laamp_flavour_ewan.1041 - The Truth
ep3_laamps.8000 - Through with You
ep3_laamp_flavour_ewan.2031 - Tumbling Down
ep3_laamp_flavour_ewan.0031 - Unfamiliar Rations
ep3_laamps.5020 - What's the Point?
ep3_laamp_flavour_ewan.2051 - Why Trot When You Can Ride?
migration_events.1010 - Without Friends or Protection
ep3_laamps.8050 - Wrestle for It
ep3_laamp_flavour_ewan.3081
Scripted effects inside an event file (3)
- ep3_laamp_flavour_ewan_1011_nab_court_position_effect
- laamp_base_contract_schemes_2301_nab_quartermaster_effect
- laamp_base_contract_schemes_2661_immediate_effect
Scripted triggers inside an event file (5)
- ep3_laamp_flavour_ewan_1101_valid_starting_child_trigger
- ep3_laamp_flavour_ewan_9541_suitable_courtier_trigger
- ep3_laamp_flavour_ewan_available_anybody_trigger
- ep3_laamp_flavour_ewan_available_child_trigger
- ep3_laamp_flavour_ewan_available_courtier_trigger
Scripted rules (1)
- can_be_activity_guest
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.