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_for_child_activity_trigger

is_available_for_child_activity_trigger = yes

game/common/scripted_triggers/00_activity_triggers.txt, line 15 (16 lines). No parameters.

is_available_for_child_activity_trigger is a scripted trigger in Crusader Kings III, written at line 15 of its file. It takes no parameters: is_available_for_child_activity_trigger = yes (or no). The game's script calls it in 4 places, among them Meet Peers (activity), playdate.1001 (event) and playdate.1002 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.

What it checks

  • Is available (a child, not imprisoned)
  • Is at least 4 years old
  • Is under 14 years old
  • is_healthy = yes

• 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 (16 lines of game script)
is_available_for_child_activity_trigger = {
	is_available_quick = {
		adult = no
		at_war = no
		imprisoned = no
		activity = no
		hostage = no
	}
	age >= 4
	age < less_than_two_years_to_adulthood_value #To avoid being away when Coming of Age-event triggers
	is_healthy = yes
	NOR = {
		exists = var:hostage_travelling_to_warden
		exists = var:ward_travelling_to_guardian
	}
}

As written in game/common/scripted_triggers/00_activity_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls is_available_for_child_activity_trigger.

Source: game/common/scripted_triggers/00_activity_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?