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_healthy_adult

is_available_healthy_adult = yes

game/common/scripted_triggers/00_available_for_events_triggers.txt, line 509 (31 lines). No parameters.

is_available_healthy_adult is a scripted trigger in Crusader Kings III, written at line 509 of its file. It takes no parameters: is_available_healthy_adult = yes (or no). The game's script calls it in 106 places, among them Delve into Spiritual Mysteries (decision), Embrace Responsibilities (decision) and Hold a Triumph (decision). 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 (an adult, not in an army, not imprisoned, not incapable)
  • is_healthy = yes
  • 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_healthy_adult = {
	is_available_quick = {
		adult = yes
		alive = yes
		travel = no
		in_army = no
		imprisoned = no
		incapable = no
	}
	is_healthy = yes
	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_healthy_adult.

Important actions (1)

  • Recent Sighting

Events (82)

76 more

Scripted triggers inside an event file (10)

  • councillor_spouse_intrigue_0005_target_trigger
  • diplomacy_foreign_special_1022_possible_interesting_relation_trigger
  • diplomacy_majesty_special_1010_debater
  • martial_authority_2040_first_trigger
  • martial_authority_2040_second_trigger
  • martial_chivalry_3000_is_valid_commander_trigger
4 more
  • spouse_0005_disagreeing_spouse_trigger
  • tour_general_3001_courtier_to_steal_exists
  • tour_general_3001_delectable_courtier_to_steal_exists
  • yearly_1060_joker_trigger

Script values (3)

  • hunt_entourage_base_set_weighting_value
  • hunt_entourage_extras_set_weighting_value
  • hunt_entourage_sodding_everyone_set_weighting_value

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?