Scripted trigger
basic_is_available_ai
basic_is_available_ai = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 32 (9 lines). No parameters.
basic_is_available_ai is a scripted trigger in Crusader Kings III, written at line 32 of its file. It takes no parameters: basic_is_available_ai = yes (or no). The game's script calls it in 94 places, among them A Green Spot (event migration_events.1000), A Heavy Crown (event learning_medicine.2030) and A Message From Beyond (event trait_specific_ongoing.2001). Patch 1.20.1.2, from game/common/scripted_triggers/00_available_for_events_triggers.txt.
What it checks
- Is available (not imprisoned, not 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 (9 lines of game script)
basic_is_available_ai = {
is_available_quick = {
ai = yes
alive = yes
imprisoned = no
incapable = no
}
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 basic_is_available_ai.
Events (43)
- A Green Spot
migration_events.1000 - A Heavy Crown
learning_medicine.2030 - A Message From Beyond
trait_specific_ongoing.2001 - A New Monastic Order
holy_order.2010 - An Impression Twice Made
yearly.3012 - An Impression Twice Made
yearly.3013
37 more
- An Impression Twice Made
yearly.3014 - By … Be Healed
trait_specific_ongoing.2015 - Grand Cathedral: A Higher Calling
pam_great_projects_events.0013 - Grand Cathedral: His Unfailing Love
pam_great_projects_events.0012 - Grand Cathedral: Holy Frescoes for …
pam_great_projects_events.0002 - Grand Cathedral: Painted Light Over …
pam_great_projects_events.0003 - Grand Cathedral: The Crowning of the Spires
pam_great_projects_events.0020 - Grand Cathedral: The First Stone Laid
pam_great_projects_events.0005 - Great Still, But Less A Khan
mpo_greatest_of_khans.0041 - Holmgang
tribal.1101 - Incognito
martial_authority_special.1100 - Isolation
epidemic_events.0100 - Last Rites: My Final Hour
pam_decision_events.0005 - Mind and Body
learning_medicine.2040 - Murders At Court: Escalation
murders_at_court.2001 - Murders At Court: Murder in the Morning
murders_at_court.1002 - Murders At Court: My Child
murders_at_court.1004 - Murders At Court: One Step Ahead
murders_at_court.2002 - Murders At Court: Til Death Do Us Part
murders_at_court.1003 - Nowhere To Hide
trait_specific_ongoing.2025 - On the March
martial_strategy_special.1401 - Passing Like Fire
migration_events.1050 - Romance: A Rare Flower
court_ongoing.1050 - Roughhousing
yearly.4021 - Secrets of Nature
learning_medicine.2002 - Slow as the Sheep
migration_events.1060 - Tent Camp: Stealing a Moment
ep2_locale_events.3001 - The … …
hunt_mystical_animal.1008 - The … Intercessor
coronation_events.6150 - The Birth of a …
mpo_decisions_events.0005 - The Duelist Returns
yearly.1051 - The Eternal …
mpo_greatest_of_khans.0030 - The Great, Limp Purse
ach_yearly_events.1004 - The Three Assents
coronation_events.6123 - Thick as Thieves
yearly.4011 - Welcomed in …
migration_events.1040 - yearly.4001
Scripted effects inside an event file (1)
- pam_cathedral_save_architect_scope_effect
Scripted triggers inside an event file (47)
- available_other_romance_suitor_trigger
- coronation_events_0200_available_chaplain_trigger
- coronation_events_6150_neighbor_trigger
- coronation_events_6150_vassal_trigger
- court_5060_knight_trigger
- court_ongoing_1010_insulter_trigger
41 more
- court_ongoing_1020_necklace_owner_trigger
- court_ongoing_1110_can_court_target_trigger
- court_ongoing_1120_unpleasant_guest_trigger
- diplomacy_foreign_1100_valid_heir_trigger
- diplomacy_foreign_1100_valid_neighbor_trigger
- diplomacy_foreign_1200_valid_neighbor_trigger
- diplomacy_majesty_1020_vassal_trigger
- feast_default_2007_lover_basic_trigger
- hold_court_1011_valid_neighbour_claimant_trigger
- hold_court_3000_vassal_trigger
- hold_court_3020_peasant_trigger
- hold_court_3060_county_and_holder_trigger
- hold_court_3060_replacement_candidate_trigger
- hold_court_6070_valid_betrothed_trigger
- intrigue_scheme_ongoing_3003_hunter_friend_trigger
- intrigue_scheme_ongoing_3003_hunter_trigger
- intrigue_scheme_ongoing_3005_elope_agent_trigger
- intrigue_scheme_ongoing_3005_other_agent_trigger
- leaning_medicine_2030_potential_confider_friend_trigger
- learning_scholarship_1201_friendly_ruler_trigger
- mpo_greatest_of_khans_0101_uninvolved_vassal_trigger
- murders_at_court_2101_victim_trigger
- pam_cathedral_has_architect_character_trigger
- pam_generic_events_0002_valid_child_trigger
- pam_generic_events_0011_valid_sinner_trigger
- stewardship_duty_0001_could_argue_with_arguer_1
- trait_specific_ongoing_3015_unsympathetic_trigger
- tribal_1101_victim_trigger
- witch_4020_prayer_friend_trigger
- witch_4030_convince_trigger
- witch_4030_friend_trigger
- yearly_1010_abductee_trigger
- yearly_1010_abductor_trigger
- yearly_1020_vip_enemy_trigger
- yearly_1020_vip_trigger
- yearly_1080_available_target_trigger
- yearly_3001_neighbor_trigger
- yearly_3001_vassal_still_available_trigger
- yearly_4001_neighboring_ruler_trigger
- yearly_4011_vassal_trigger
- yearly_4021_basic_child_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.