Scripted trigger
is_available_in_activity_trigger
is_available_in_activity_trigger = yesgame/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)
- A Delightful Treat
ach_coronation.0027 - A Divine Right Unearned
ach_coronation.0017 - A Loyal Reminder
cultural_festival.3020 - A Marvelous Spring
cultural_festival.3010 - Dynastic Duties
ach_coronation.0018 - Legitimate Stupors
ach_coronation.0028
6 more
- On the Precipice of Chaos
ach_coronation.0014 - Scandalous Movements
cultural_festival.2050 - The Crown-…
ach_coronation.0020 - The Grand Play
cultural_festival.3000 - To the Prettiest!
cultural_festival.3030 - Uncultured Festival...?
cultural_festival.2040
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.