Scripted trigger
is_available_adult
is_available_adult = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 442 (31 lines). No parameters.
is_available_adult is a scripted trigger in Crusader Kings III, written at line 442 of its file. It takes no parameters: is_available_adult = yes (or no). The game's script calls it in 687 places, among them … Cannibalism (decision), Abandon the Bureaucracy (decision) and Abbasid Humiliation (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)
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 (31 lines of game script)
is_available_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_adult — the first 120 of 687.
Decisions (120)
- … Cannibalism
- Abandon the Bureaucracy
- Abbasid Humiliation
- Accuse the Krstjani of Heresy
- Adopt a Kennel Dog
- Adopt Meritocratic Government
114 more
- Adopt the Nomadic Ways
- Agitate the Local Populace
- Assert Regional Dominion
- Assume the Conqueror's Mantle
- Author Book
- Become a Meritocratic Khanate
- Become Adventurer
- Begin the Restoration War
- Begin the Revolution
- Bolster Estate Security
- Build a Glass Monument
- Call …
- Call for an Assembly
- Change … Aspirations
- Choose an Opponent
- Claim the Mantle of Maitreya
- Commission Epic
- Consecrate a New Kingdom
- Consult Heaven
- Consult the Skies
- Create Cadet Branch
- Create Travel Itinerary
- Curse an Enemy
- Declare a Rite Heretical
- Declare a Rite Heretical
- Declare an Anti…
- Declare Stance in the Iranian Intermezzo
- Desperate Times
- Destroy the Caliphate
- Educate your Clerical Court
- Elevate Confederation
- Embellish Capital
- Embrace English Culture
- Embrace Natural Freedom
- Enact a Bull
- Establish Sōryō Administration
- Establish Sōryō Fief
- Establish the Darussalam
- Evangelize Personal Tenet
- Evangelize the Faith
- Expand Duchy
- Expand the Assassins
- Extort Subjects
- Favor Skilled Outsiders
- Forbid a Tenet
- Forbid a Tenet
- Forge the Jomsvikings
- Form the Kingdom of Cumbria
- Formalize … Shōgunate
- Formalize the Daneland
- Found a New Duchy
- Found a New Empire
- Found a New Kingdom
- Found a Ryukyuan Empire
- Found Kingdom of Bosnia
- Found Military Order
- Found Monastic Order
- Found the Assassins
- Found the Empire of Brunei
- Found the Empire of Hindustan
- Found the Kingdom of Albania
- Found the Majapahit Empire
- Found the Siam Kingdom
- Found the Viet Empire
- Found University
- Governorship Confirmation
- Guide the Christian Church
- Hire Agents
- Hold Court
- Hold Mystical Communion
- Integrate English Duchy
- Iranian Resurgence
- Kowtow to China
- Legacy of …
- Make Movement Petition
- Make Movement Petition
- Master the Art of Command
- Meditate in Seclusion
- Move the … Court
- Negotiate the Danelaw
- Patronize Monastic Movement
- Pay Homage
- Pay Tribute to …
- Pay Tribute to Dar al-Islam
- Pay Tribute to Eastern Roman Empire
- Pay Tribute to India
- Pay Tribute to Roman Empire
- Peace of the Great Khan
- Perform a Ritual Sacrifice
- Perform Tea Ceremony
- Permit a Tenet
- Permit a Tenet
- Persecute Tenet
- Petition the …
- Petition the Ceremonial Monarch
- Pledge Loyalty to the …
- Pray to Protective Amulet
- Prepare the Holy Myron
- Prepare to Cross the Carpathians
- Preserve the Wilderness
- Proclaim Terra Mariana
- Proclaim the Age of Crusades
- Proclaim the Living Word
- Proclaim Yourself Anti…
- Promote Cultural Governors
- Promote Persian Scriptures
- Raise a Khachkar
- Raise Runestone
- Reclaim Britannia
- Relocate De Jure Capital
- Renewed Caliphate
- Request Royal Honsei
- Restore a Yamato Ten'nō
- Restore Carantanian Rule
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.