Scripted trigger
is_available_even_at_war_adult
is_available_even_at_war_adult = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 722 (32 lines). No parameters.
is_available_even_at_war_adult is a scripted trigger in Crusader Kings III, written at line 722 of its file. It takes no parameters: is_available_even_at_war_adult = yes (or no). The game's script calls it in 44 places, among them A Game of Riddles (event fp1_yearly.0101), A Life to Remember: … (event fp1_yearly.1062) and A Life to Remember: … (event fp1_yearly.1063). 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. Meaning you may be at war, but you're still located in your capital.
What it checks
- Is available (an adult, not in an army, not imprisoned, not incapable)
has_contagious_deadly_disease_trigger = no- 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 (32 lines of game script)
is_available_even_at_war_adult = {
is_available_quick = {
adult = yes
alive = yes
travel = no
in_army = no
imprisoned = no
incapable = 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
}
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_even_at_war_adult.
Events (43)
- A Game of Riddles
fp1_yearly.0101 - A Life to Remember: …
fp1_yearly.1062 - A Life to Remember: …
fp1_yearly.1063 - A Slippery Slope
fp1_yearly.0671 - A Vessel fit for a …
fp1_yearly.0091 - Accursed
fp1_yearly.0111
37 more
- An Unexpected Move
fp2_yearly.3002 - An Unexpected Visit
blotsven.0001 - As I Lay Dying
fp2_yearly.3001 - Blood on the Snow
fp1_yearly.0521 - Calls for … to be Declared Nithing
fp1_yearly.0011 - Damsels in Distress
fp2_struggle.3011 - Escaped Thrall
fp1_yearly.0001 - Explorer from the West
fp1_yearly.1081 - Explorers from the South
fp1_yearly.0041 - Fishy Business
fp1_yearly.0551 - In the Deep Places of the World
fp1_yearly.0071 - In the Deep Places of the World: Rabid Death
fp1_yearly.0083 - In the Deep Places of the World: Rampaging Death
fp1_yearly.0085 - In the Deep Places of the World: Silent Death
fp1_yearly.0084 - In the Deep Places of the World: Swift Death
fp1_yearly.0082 - In the Deep Places of the World: Towering Death
fp1_yearly.0081 - Leading by Example
fp1_yearly.0611 - Leviathan
fp1_yearly.0651 - Out for a Sail
fp1_yearly.0501 - Petty Vandalism
fp1_yearly.0571 - Raised Voices at the Ting-Meet
fp1_yearly.0591 - Stranger at Court
fp1_yearly.1001 - Tall Tales at the Table
fp1_yearly.0031 - The … Family on Ice
fp1_yearly.0531 - The Beast of …
fp1_yearly.0541 - The Hardest Part of Ruling
fp1_yearly.0601 - The Price of War
fp2_struggle.3001 - The Stench of Success
fp1_yearly.0511 - The Unquiet Dead
fp1_yearly.0051 - The Unquiet Dead: Bear
fp1_yearly.0062 - The Unquiet Dead: Nithing
fp1_yearly.0063 - The Unquiet Dead: Orphan
fp1_yearly.0064 - The Unquiet Dead: Quiet After All
fp1_yearly.0065 - The Unquiet Dead: Wolves
fp1_yearly.0061 - The Wrath of Heaven
fp2_struggle.3021 - When I Grow Up
fp1_yearly.0581 - Worthy of the Ocean
fp1_yearly.0641
Scripted triggers inside an event file (1)
- fp1_funeral_longship_generic_mourner_trigger
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.