Scripted trigger
is_healthy
is_healthy = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 21 (10 lines). No parameters.
is_healthy is a scripted trigger in Crusader Kings III, written at line 21 of its file. It takes no parameters: is_healthy = yes (or no). The game's script calls it in 144 places, among them Force Abdication (interaction), Host as Honored Guest (interaction) and Camp Revelry (activity). 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.
What it checks
- Health is Poor or lower
- Has none of the traits: Ill, Severely Injured, Brutally Mauled, Infirm, Withering Mind, Clouded Eyes, Faltering Heart, Fragile Bones, Incapable
has_contagious_deadly_disease_trigger = no
• 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 (10 lines of game script)
is_healthy = {
custom_tooltip = {
text = not_poor_health_tt
health >= fine_health
}
NOT = {
has_trait_with_flag = is_healthy_trigger_flag
}
has_contagious_deadly_disease_trigger = no
}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_healthy — the first 120 of 144.
Character interactions (2)
Activities (8)
Activity intents (1)
- Triumph
Buttons of the game's windows (scripted GUIs) (1)
- tournament_is_player_available_to_compete_martial
Events (65)
- … Struggle
travel_events.4032 - …: A Famous Adversary
ep2_tournament_events.1011 - …: A Lucky …
tournament_events.1405 - …: Honor Defended
tournament_events.1407 - …: One to Root For
tournament_events.1409 - …: Riders
ep2_tournament_events.4500
59 more
- …: Slaked
tournament_events.1408 - …: Small Tales
tournament_events.1400 - …: Tall Tales
tournament_events.1401 - …: The Cat Doctor
pet_animal.0204 - …: The High Ground
ep2_tournament_events.1013 - …: Unhappy Fans
tournament_events.1410 - …: Wasted Concessions
tournament_events.1402 - A Duel Demanded
travel_events.2200 - A Glorious Guest
tournament_events.1310 - A Ryukyuan Heirloom
major_decisions.6000 - A Traitor's Comfort
ep3_story_cycle_harrying.3020 - A Wandering Mi—
stress_trait_ongoing.0516 - A Way Out
ep3_story_cycle_harrying.3011 - Aggravating Attractions
seduce_ongoing.5011 - An Unfortunate Village
tour_travel.3040 - Change of Plans
hunt.0081 - Confronting a Viper
ep3_story_cycle_harrying.3021 - Danger: Under the Weather
travel_danger_events.6040 - Down...
chariot_race.4050 - Dynastic Doubts
ep2_wedding.3500 - Fit to Lead?
tgp_japan_yearly_events.1210 - Foreign Flair
tournament_events.1312 - From The Sea
ep3_story_cycle_harrying.3015 - Frontier Fortress Benefactor
fp3_yearly.8001 - Frozen Delights
fp3_yearly.8033 - Good Doctor …
court.8190 - Handling Oneself
court.8195 - Healing Hands
epidemic_events.5003 - Hungriest Among the Brood
mpo_nomad_events.1020 - Hunting Prowess
tour_grounds_events.3002 - Into the Night
ep2_wedding.3420 - Keen as Blade's Edge
ep2_accolade_events.0200 - Mandala Ritual: Cursed Fields
tgp_east_asia_mandala_task_contract_events.1900 - Mandala Ritual: Midwives' Dream
tgp_east_asia_mandala_task_contract_events.1500 - marshal_task.0305
- Masters of the Desert
jason_locale_events.210 - Muddled Up
tournament_events.1311 - My Arm Against Yours
fp1_yearly.0561 - My Beloved's Balcony
seduce_ongoing.4101 - Not Quite the …
ep3_wedding.0001 - Religious Reproach
tournament_events.1200 - Relinquishing Rights
hold_court.8300 - Shaku of the Emperor
major_decisions.6001 - Shelter from the Storm
bp1_yearly.0100 - Sparklingly Clean
fp1_yearly.1071 - Tailor: A Pope-priate Clothing
ep2_locale_events.2501 - The Burden of Tax Farming
fp3_clan.8013 - The Crowd-Pleaser's Creed
ep2_accolade_events.0300 - The Dragon's Crown
major_decisions.6002 - The Great and the Good
ep3_story_cycle_violet_poet.1030 - The Great Wall
playdate.5005 - The Hephthalite Hoard
fp3_yearly.8034 - The Hippodrome's Refreshments
chariot_race.4030 - The Hunter's Art
ep2_accolade_events.0100 - tournament_events.1110
- Tourney Grounds: Impressed?
ep2_locale_events.5020 - Vile Gathering
feast.2001 - Well Looked After
court.8193 - Your Money or Your Life
ep3_story_cycle_harrying.3010
Scripted triggers inside an event file (43)
- 1051_can_sparr_trigger
- chariot_race_4030_john_trigger
- coronation_events_6011_trigger
- councillor_spouse_martial_0009_child_trigger
- court_8001_child_trigger
- court_8195_employed_booner_sparist_trigger
37 more
- court_events_1010_ais_courtier_trigger
- court_events_1010_players_nobody_trigger
- diplomacy_foreign_1102_valid_heir_trigger
- ep2_accolade_events_0100_hunting_knight_trigger
- ep2_accolade_events_0200_blademaster_knight_trigger
- ep2_accolade_events_0300_reveler_knight_trigger
- ep3_governor_yearly_8090_house_member_trigger
- ep3_story_cycle_admin_eunuch_family_protege_trigger
- ep3_story_cycle_admin_eunuch_student_trigger
- ep3_story_cycle_admin_eunuch_valid_eunuch_trigger
- ep3_story_cycle_admin_eunuch_valid_family_member_trigger
- feast_default_1030_basic_minstrel_trigger
- fp1_0071_loveli_lakes_trigger
- fp3_loves_faloodeh_trigger
- jason_locale_events_0220_senior_knight
- jason_locale_events_100_knight_trigger
- jason_locale_events_200_extra_knight_trigger
- jason_locale_events_200_knight_trigger
- laamp_base_contract_schemes_1782_valid_target_char_trigger
- laamp_base_contract_schemes_5901_valid_victims_trigger
- migration_events_1020_valid_aspirant_trigger
- mpo_nomad_events_1011_rowdy_boy_trigger
- pilgrimage_2020_suitable_thief
- prelude_events_0001_appropriate_guest
- prelude_events_0010_appropriate_guest
- prelude_events_0020_appropriate_guest
- prelude_events_0030_appropriate_guest
- prelude_events_0040_appropriate_guest
- prelude_events_0050_family_member
- prelude_events_0080_appropriate_courtier
- prelude_events_0080_appropriate_guest
- prelude_events_0090_appropriate_guest
- prelude_events_0100_appropriate_vassal
- prelude_events_0110_appropriate_guest
- prelude_events_0120_appropriate_guest
- prelude_events_0150_appropriate_guest
- prelude_events_0190_appropriate_councillor
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.