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_in_activity_trigger

is_available_in_activity_trigger = yes

game/common/scripted_triggers/00_activity_triggers.txt, line 32 (9 lines). No parameters.

is_available_in_activity_trigger is a scripted trigger in Crusader Kings III, written at line 32 of its file. It takes no parameters: is_available_in_activity_trigger = yes (or no). The game's script calls it in 17 places, among them A Delightful Treat (event ach_coronation.0027), A Divine Right Unearned (event ach_coronation.0017) and A Loyal Reminder (event cultural_festival.3020). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.

What it checks

  • Is available (an adult, not imprisoned)
  • 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 (9 lines of game script)
is_available_in_activity_trigger = {
	is_available_quick = {
		activity = yes
		adult = yes
		at_war = no
		imprisoned = no
	}
	is_healthy = yes
}

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

Events (12)

6 more

Scripted triggers inside an event file (5)

  • ach_coronation_0014_random_attendee_trigger
  • ach_coronation_0018_eligible_family_member_trigger
  • ach_coronation_0023_eligible_clergy_trigger
  • ach_coronation_0029_friend_trigger
  • eligible_to_join_stoner_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?