Scripted trigger
is_available_healthy_adult
is_available_healthy_adult = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 509 (31 lines). No parameters.
is_available_healthy_adult is a scripted trigger in Crusader Kings III, written at line 509 of its file. It takes no parameters: is_available_healthy_adult = yes (or no). The game's script calls it in 106 places, among them Delve into Spiritual Mysteries (decision), Embrace Responsibilities (decision) and Hold a Triumph (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)
is_healthy = yes- 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_healthy_adult = {
is_available_quick = {
adult = yes
alive = yes
travel = no
in_army = no
imprisoned = no
incapable = no
}
is_healthy = yes
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_healthy_adult.
Decisions (9)
Important actions (1)
- Recent Sighting
Events (82)
- …: All Ore Nothing?
pet_rock.0108 - …: Betrayal!
pet_animal.0203 - …: Drunk Scheming
tour_general.4006 - …: Sediment-al Value
pet_rock.0100 - …: Squeaky Clean
pet_rock.0102 - …: Taken for Granite
pet_rock.0107
76 more
- …: Teetering
pet_animal.0201 - …: the …
ep3_laamp_decision_event.1025 - …: the …
ep3_laamp_decision_event.1030 - …: the Castle
ep3_laamp_decision_event.1050 - …: the Recruits
ep3_laamp_decision_event.1033 - …: Thunk!
pet_rock.0106 - …: Thunk!
pet_animal.0200 - …: Trust No One
councillor_spouse_intrigue.1001 - 'Haunted' Manor
travel_events.2017 - A Friend of a Friend
spouse.0007 - A Friend till the End
bp1_yearly.1021 - A Language for the … Court
court_events.3100 - A Little Tickle
epidemic_events.5907 - A New Research Project
fp3_scholarship.8000 - A Proper Paymaster
fp3_clan.8011 - A Ride At Midnight
martial_chivalry.4000 - A Study in Martial
travel_events.2003 - Among the Blossoms
tgp_japan_yearly_events.0021 - An Acidic Accident
fp3_yearly.8021 - Annoying Company
bp1_yearly.1050 - Architect's Digest
travel_events.2028 - Auspicious Avarice
fp3_clan.8012 - Awakening
travel_events.2029 - Bleeding Them Dry
fp3_clan.8008 - Blissful Harmony
pam_theocratic_ruler_events.0007 - Border Crossings
epidemic_events.5902 - Camel Again?
travel_events.2006 - Competent Qadis
fp3_clan.8010 - Death of a Pilgrim
pilgrimage.0500 - diplomacy_foreign_special.1018
- Doomsday Preachers
epidemic_events.5904 - Elbow Deep
epidemic_events.5901 - Even … Fears Me
intrigue_dread.2001 - Executions Could Be Better
intrigue_dread.2401 - Fair When …'s Angry
bp1_yearly.5704 - Feud: Desperate Measures
bp1_house_feud.0200 - Findings Published
fp3_scholarship.2030 - Fortified Knowledge
travel_events.2013 - Into the …
martial_chivalry.6000 - Mandala Succession: Tranquil as a Pond
tgp_east_asia_mandala_events.8510 - Meddling in Marriage
rivalry.1030 - Nine Hundred and Ninety Chapters of Gold
fp3_yearly.8027 - One Herb for You...
travel_events.2032 - Other People's Pastures
travel_events.2005 - Peat, Tell Me More...
travel_events.2015 - Picture Pasture
travel_events.2004 - Popular with the People
fp3_clan.8009 - Power of the Written Word
fp3_scholarship.8600 - Quarry Quarrel
travel_events.2027 - Reflection of Pure Land
tgp_japan_yearly_events.0036 - Refuge of Light
fp3_yearly.8019 - Rumors About …
intrigue_dread.2101 - Show Them Who You Are
intrigue_dread.2301 - Simple Pleasures, Discarded
epidemic_events.5903 - Something in Common
bp1_yearly.1040 - Spiteful Acts
rivalry.1010 - Spreading Joy
tgp_japan_yearly_events.0001 - Spreading Nerves
epidemic_events.5905 - Tales of the Tengu
tgp_japan_yearly_events.0026 - The Chaos of Battle
martial_chivalry.1021 - The City of the Mouthless
fp3_yearly.8036 - The Fate of the Dead
fp3_yearly.8050 - The Gracious Host
travel_events.2025 - The Heart and the Creator
fp3_yearly.8035 - The Lady of the Land
fp3_yearly.8020 - The Lure of Gold
fp3_scholarship.8500 - The Purest Fire
fp3_yearly.8051 - The Shining Walls
hajj.0500 - The Time We Spend Together
spouse.1001 - The Time We Spend Together
spouse.1003 - The Womb Of The Earth
travel_events.2031 - Thieves in the Night
travel_events.2300 - Till the Bitter End
bp1_yearly.1031 - Tip the Host
travel_events.2026 - Too Scared to Speak … Mind
intrigue_dread.2201 - Unfounded Rumors
martial_chivalry.5000
Scripted triggers inside an event file (10)
- councillor_spouse_intrigue_0005_target_trigger
- diplomacy_foreign_special_1022_possible_interesting_relation_trigger
- diplomacy_majesty_special_1010_debater
- martial_authority_2040_first_trigger
- martial_authority_2040_second_trigger
- martial_chivalry_3000_is_valid_commander_trigger
4 more
- spouse_0005_disagreeing_spouse_trigger
- tour_general_3001_courtier_to_steal_exists
- tour_general_3001_delectable_courtier_to_steal_exists
- yearly_1060_joker_trigger
Scripted effects (1)
Script values (3)
- hunt_entourage_base_set_weighting_value
- hunt_entourage_extras_set_weighting_value
- hunt_entourage_sodding_everyone_set_weighting_value
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.