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

Scripted trigger

is_available_allow_travelling

is_available_allow_travelling = yes

game/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

• 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.

Travel (1)

  • Tutoring Trip

Task contracts (1)

  • laamp_transport_explorer

Important actions (1)

  • Betrothed can Marry in Grand Wedding

Events (83)

77 more

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.

Spotted a mistake on this page?