
Crusader Kings III 1.20.1.2 · for modders
Scripted triggers
The 3,878 named conditions of common/scripted_triggers: type one's ID to see its parameters, what it checks in words, the script as written and every place in the game that calls it.
Crusader Kings III has 3,878 scripted triggers in 148 files of common/scripted_triggers; 931 take parameters and 3,265 are called somewhere in the script, the most often is_available (980 places), is_available_ai_adult (850 places) and building_requirement_tribal (803 places). Patch 1.20.1.2, from game/common/scripted_triggers.
This section as JSON: /raw/scripted-triggers.json
Every one, by letter
Called the most
- is_available980 places
- is_available_ai_adult850 places
- building_requirement_tribal803 places
- is_available_adult687 places
- building_requirement_castle_city_church573 places
- is_playable_character564 places
- has_ep3_dlc_trigger349 places
- is_available_healthy_ai_adult298 places
- is_location_valid_for_travel_event_on_land298 places
- scheme_apa_apply_modifier_trigger297 places
- has_tgp_dlc_trigger290 places
- has_pam_dlc_trigger283 places
- has_graphical_east_asia_culture_group_trigger273 places
- can_be_combatant_based_on_gender_trigger256 places
- is_landed_or_landless_administrative_or_theocratic253 places
- has_graphical_india_culture_group_trigger240 places
- is_physically_able_ai_adult228 places
- has_graphical_mena_culture_group_trigger218 places
- is_landless_adventurer210 places
- has_graphical_steppe_culture_group_trigger204 places
- has_any_bad_relationship_with_character_trigger199 places
- is_house_head194 places
- might_cheat_on_every_partner_trigger190 places
- artifact_value_trigger184 places
- has_mpo_dlc_trigger184 places
- is_governor182 places
- culture_tradition_reduction_trigger180 places
- is_available_travelling_adult177 places
- has_graphical_african_culture_group_trigger170 places
- has_any_good_relationship_with_character_trigger164 places
With text the player sees
Ones whose body carries the game's own tooltip or description texts, the most called first.
- is_available2 texts
- is_available_ai_adult1 text
- is_available_adult1 text
- is_playable_character1 text
- is_available_healthy_ai_adult1 text
- is_healthy1 text
- has_no_particular_noble_roots_trigger1 text
- is_available_at_peace_adult1 text
- is_available_healthy_adult1 text
- is_available_allow_travelling2 texts
- valid_laamp_basic_trigger2 texts
- is_available_ai1 text
- rule_title_creation_imperial_power_projection_title_creation_trigger7 texts
- drinks_alcohol_trigger1 text
- base_court_position_validity_trigger2 texts
- tgp_is_ceremonial_liege_trigger1 text
- is_available_child1 text
- court_position_does_not_already_have_a_job_trigger1 text
- is_available_child_allow_travel1 text
- tgp_realm_has_ceremonial_liege_trigger1 text
- is_available_even_at_war_adult1 text
- valid_governor_contract_basic_trigger1 text
- tgp_natural_disaster_councillor_available_for_task_trigger1 text
- tgp_japan_offensive_wars_ban_trigger1 text
- is_available_ai_child1 text
- tgp_is_in_ceremonial_house_trigger1 text
- is_in_pro_hegemon_or_hegemon_movement1 text
- can_set_own_countermeasures_trigger1 text
- culture_not_pacifistic_trigger1 text
- tgp_has_ceremonial_liege_title_trigger2 texts
Who calls them
- Events10,604
- Scripted triggers2,469
- Character interactions2,294
- Buildings1,956
- Scripted triggers inside an event file1,821
- Scripted effects1,611
- Domiciles1,470
- Decisions1,367
- Script values952
- Event backgrounds796
- Task contracts691
- Activities686
- Customizable localization613
- Artifacts548
- On actions (the game's own hooks)545
- Schemes531
- Court positions428
- Cultural traditions350
- Important actions288
- Laws261
- Casus belli261
- Activity pulse actions228
- Scripted modifiers (AI weights)227
- Scripted effects inside an event file219
- Culture173
- Council tasks169
- Religion168
- Factions112
- Activities103
- Great projects97
- Landed titles86
- Dynasty legacies77
- Men at arms types75
- Story cycles73
- Lifestyle perks66
- Accolade types64
- History files (the start of the game)58
- House aspirations54
- Casus belli groups53
- Scripted rules51
- Secret types51
- Buttons of the game's windows (scripted GUIs)49
- Council positions49
- Activity intents40
- Legends37
- Travel35
- Focuses34
- Inspirations27
- Achievements26
- Pool character selectors25
- Succession election25
- Courtier guest management25
- Court position tasks24
- Subject contracts22
- Scripted animations22
- Combat phase events16
- Epidemics16
- Puppets16
- Suggestions15
- Governments15
- Succession appointment13
- Confederation types12
- Event themes9
- Situations9
- Scripted character templates8
- Legitimacy8
- Court amenities8
- Diarchies7
- Court types7
- Accolade names5
- Tax slots4
- Struggles3
- Raids3
- Tutorial lessons3
- Scripted costs2
- Lease contracts2
- Character memory types2
- House relation types2
- Ruler objective advice types1
- Vassal stances1
- Hook types1
- House unities1
Files
148 files in common/scripted_triggers
00_activity_triggers.txt4300_adultery_triggers.txt400_ai_acceptance_triggers.txt100_ai_value_triggers.txt1400_artifact_badge_triggers.txt100_artifact_triggers.txt22500_auto_character_triggers.txt300_available_for_events_triggers.txt5300_bastard_triggers.txt700_birth_triggers.txt500_board_game_scripted_triggers.txt900_building_requirement_triggers.txt6900_childhood_triggers.txt2400_clan_triggers.txt200_clothing_triggers.txt23400_coa_triggers.txt3500_commander_triggers.txt100_compliment_triggers.txt100_councillor_triggers.txt7400_county_corruption_triggers.txt300_court_position_triggers.txt11200_court_role_triggers.txt900_court_scheme_triggers.txt100_courtier_guest_management_triggers.txt2600_crime_triggers.txt1000_crypto_religionist_triggers.txt200_cultural_heritage_triggers.txt2300_cultural_triggers.txt3600_death_management_triggers.txt300_diarchy_scripted_triggers.txt5500_distance_triggers.txt200_dynasty_triggers.txt800_economic_triggers.txt400_education_triggers.txt3100_elective_triggers.txt1100_empire_faith_gate_triggers.txt1700_faction_triggers.txt1500_family_triggers.txt2500_feast_activity_triggers.txt700_food_scripted_triggers.txt1100_funeral_and_body_disposal_triggers.txt200_game_rule_triggers.txt1000_general_trait_triggers.txt2300_generic_event_sensibility_triggers.txt300_generic_struggle_scripted_triggers.txt4000_government_triggers.txt500_great_holy_war_triggers.txt1000_has_dlc_scripted_triggers.txt2800_hunt_triggers.txt7600_illustration_triggers.txt5100_important_actions_triggers.txt200_interaction_triggers.txt2400_journey_triggers.txt700_laamp_triggers.txt5400_law_triggers.txt6100_legal_triggers.txt800_lifestyle_perk_triggers.txt700_lifestyle_triggers.txt1200_major_decision_triggers.txt2500_marriage_triggers.txt3000_military_triggers.txt300_opinion_scripted_triggers.txt1200_personality_trait_triggers.txt200_personality_triggers.txt2400_pet_triggers.txt1500_physical_appearance_triggers.txt300_pilgrimage_triggers.txt1200_playdate_activity_triggers.txt200_province_triggers.txt100_relation_triggers.txt7300_religion_faith_rite_triggers.txt1400_religious_triggers.txt16500_rich_presence_triggers.txt100_roaming_activity_triggers.txt1100_romance_and_seduction_triggers.txt2800_scheme_befriend_triggers.txt300_scheme_triggers.txt10500_scripted_rule_triggers.txt900_scripted_triggers.txt4300_secret_triggers.txt1500_secret_type_triggers.txt4500_sibling_triggers.txt100_single_combat_scripted_triggers.txt500_statecraft_lifestyle_triggers.txt100_stress_triggers.txt2400_succession_triggers.txt800_task_contract_triggers.txt1400_terrain_triggers.txt1000_title_triggers.txt600_travel_triggers.txt1000_tutorial_triggers.txt200_vassal_stance_triggers.txt400_war_and_peace_triggers.txt4000_weather_triggers.txt2700_witch_triggers.txt301_bp1_filippa_scripted_triggers.txt101_building_upgrade_triggers.txt101_fp1_scripted_triggers.txt3102_ep1_scripted_triggers.txt2903_bp1_scripted_triggers.txt1203_bp2_scripted_triggers.txt703_fp2_scripted_triggers.txt5604_ep2_accolade_triggers.txt7004_ep2_tour_triggers.txt504_ep2_tournament_triggers.txt3704_ep2_wedding_triggers.txt805_bp2_hostage_triggers.txt1405_bp2_scripted_triggers.txt205_bp2_triggers.txt306_bp3_triggers.txt1006_ce1_epidemic_triggers.txt406_ce1_legend_triggers.txt906_ce1_legitimacy_triggers.txt406_fp3_scripted_triggers.txt3207_ep3_petition_triggers.txt1607_ep3_triggers.txt11807_frankokratia_triggers.txt1608_bp3_triggers.txt109_mpo_greatest_of_khans_triggers.txt1709_mpo_settlement_issue_triggers.txt410_ach_scripted_triggers.txt2210_tgp_dynastic_cycle_triggers.txt3210_tgp_house_bloc_triggers.txt310_tgp_house_relation_triggers.txt310_tgp_japan_triggers.txt5610_tgp_korea_triggers.txt110_tgp_natural_disaster_triggers.txt1010_tgp_triggers.txt7411_petition_head_of_faith_triggers.txt3020_health_balancing_triggers.txt520_health_triggers.txt49clerical_chastity_triggers.txt4great_project_triggers.txt2mpo_scripted_triggers.txt60music_triggers.txt14pam_antipope_triggers.txt15pam_heresy_triggers.txt47pam_saint_triggers.txt17pam_scripted_triggers.txt370pam_secular_faith_triggers.txt7pam_spread_tenet_triggers.txt3passive_rite_learning_triggers.txt10sanctify_artifact_triggers.txt1tgp_imperial_examination_triggers.txt18tgp_mandala_task_contract_triggers.txt5tgp_mandala_triggers.txt59tgp_silk_road_triggers.txt3tgp_tribute_mission_triggers.txt16
Source: game/common/scripted_triggers and every file of common/, events/ and history/ that calls them, Crusader Kings III 1.20.1.2. Scripted triggers an event file defines for itself (scripted_trigger x = { }) are not listed.