Skip to main content

tiger_lib/ck3/tables/
misc.rs

1//! Miscellaneous tables used to back `Item` variants.
2
3// LAST UPDATED CK3 VERSION 1.16
4// Taken from common/character_interactions/_character_interactions.info
5pub const AI_TARGETS: &[&str] = &[
6    "known_secrets",
7    "scheme_targets",
8    "hooked_characters",
9    "neighboring_rulers",
10    "neighboring_rulers_including_tributary_borders",
11    "neighboring_top_overlords_including_tributary_borders",
12    "neighboring_top_overlords_connected_by_land",
13    "peer_vassals",
14    "guests",
15    "dynasty",
16    "courtiers",
17    "councillors",
18    "prisoners",
19    "confederation_house_heads",
20    "sub_realm_characters",
21    "realm_characters",
22    "vassals",
23    "tributaries",
24    "liege",
25    "top_liege",
26    "suzerain",
27    "top_suzerain",
28    "self",
29    "head_of_faith",
30    "spouses",
31    "family",
32    "children",
33    "primary_war_enemies",
34    "war_enemies",
35    "war_allies",
36    "scripted_relations",
37    "activity_host",
38    "activity_guests",
39    "contacts",
40    "domicile_location_top_ruler",
41    "domicile_location_top_realm_vassals",
42    "domicile_location_neighboring_top_rulers",
43    "domicile_location_neighboring_top_realm_vassals",
44    "top_realm_domicile_owners",
45    "sub_realm_domicile_owners",
46    "nearby_domicile_owners",
47    "situation_participant_group",
48    // undocumented
49    "diarch",
50];
51
52// LAST UPDATED CK3 VERSION 1.11.3
53pub const ACTIVITY_STATES: &[&str] = &["passive", "travel", "active"];
54
55// LAST UPDATED CK3 VERSION 1.13.0.1
56// Taken from the agent_slot_has_contribution_type trigger doc
57pub const AGENT_SLOT_CONTRIBUTION_TYPE: &[&str] =
58    &["secrecy", "success_chance", "success_chance_growth", "success_chance_max", "speed"];
59
60// LAST UPDATED CK3 VERSION 1.12.1
61// Taken from the create_artifact description in effects.log
62pub const ARTIFACT_HISTORY: &[&str] = &[
63    "created_before_history",
64    "created",
65    "prize_created",
66    "discovered",
67    "creator_discovered",
68    "claimed_by_house",
69    "given",
70    "stolen",
71    "inherited",
72    "conquest",
73    "taken_in_siege",
74    "taken_in_battle",
75    "won_in_duel",
76    "purchased",
77    "prize_awarded",
78    "ransomed",
79    "reforged",
80];
81
82/// LAST UPDATED CK3 VERSION 1.18.3
83/// Taken from `AccessBreakdownTooltip` usage in `gui/shared/value_breakdown.gui`
84pub const CURRENCIES_CK3: &[&str] = &[
85    "piety",
86    "prestige",
87    "renown",
88    "gold",
89    "influence",
90    "herd",
91    "treasury",
92    "merit",
93    "barter_goods",
94];
95
96// LAST UPDATED CK3 VERSION 1.18.3
97// Taken from the Faith.random_ values in `data_types_uncategorized.txt`
98pub const CUSTOM_RELIGION_LOCAS: &[&str] = &[
99    "AltPriestTermPlural",
100    "BishopFemale",
101    "BishopFemalePlural",
102    "BishopMale",
103    "BishopMalePlural",
104    "BishopNeuter",
105    "BishopNeuterPlural",
106    "CreatorHerHim",
107    "CreatorHerHis",
108    "CreatorName",
109    "CreatorNamePossessive",
110    "CreatorSheHe",
111    "DeathDeityHerHim",
112    "DeathDeityHerHis",
113    "DeathDeityName",
114    "DeathDeityNamePossessive",
115    "DeathDeitySheHe",
116    "DevilHerHis",
117    "DevilHerselfHimself",
118    "DevilName",
119    "DevilNamePossessive",
120    "DevilSheHe",
121    "DevoteeFemale",
122    "DevoteeFemalePlural",
123    "DevoteeMale",
124    "DevoteeMalePlural",
125    "DevoteeNeuter",
126    "DevoteeNeuterPlural",
127    "DivineRealm",
128    "DivineRealm2",
129    "DivineRealm3",
130    "EvilGodNames",
131    "FateGodHerHim",
132    "FateGodHerHis",
133    "FateGodName",
134    "FateGodNamePossessive",
135    "FateGodSheHe",
136    "FertilityGodHerHim",
137    "FertilityGodHerHis",
138    "FertilityGodName",
139    "FertilityGodNamePossessive",
140    "FertilityGodSheHe",
141    "GHWName",
142    "GHWNamePlural",
143    "GoodGodNames",
144    "HealthGodHerHim",
145    "HealthGodHerHis",
146    "HealthGodName",
147    "HealthGodNamePossessive",
148    "HealthGodSheHe",
149    "HighGodHerHis",
150    "HighGodHerselfHimself",
151    "HighGodName",
152    "HighGodName2",
153    "HighGodNameAlternate",
154    "HighGodNameAlternatePossessive",
155    "HighGodNamePossessive",
156    "HighGodNameSheHe",
157    "HouseOfWorship",
158    "HouseOfWorship2",
159    "HouseOfWorship3",
160    "HouseOfWorshipPlural",
161    "HouseholdGodHerHim",
162    "HouseholdGodHerHis",
163    "HouseholdGodName",
164    "HouseholdGodNamePossessive",
165    "HouseholdGodSheHe",
166    "KnowledgeGodHerHim",
167    "KnowledgeGodHerHis",
168    "KnowledgeGodName",
169    "KnowledgeGodNamePossessive",
170    "KnowledgeGodSheHe",
171    "NegativeAfterLife",
172    "NegativeAfterLife2",
173    "NegativeAfterLife3",
174    "NightGodHerHim",
175    "NightGodHerHis",
176    "NightGodName",
177    "NightGodNamePossessive",
178    "NightGodSheHe",
179    "PantheonTerm",
180    "PantheonTerm2",
181    "PantheonTerm3",
182    "PantheonTermHasHave",
183    "PositiveAfterLife",
184    "PositiveAfterLife2",
185    "PositiveAfterLife3",
186    "PriestFemale",
187    "PriestFemalePlural",
188    "PriestMale",
189    "PriestMalePlural",
190    "PriestNeuter",
191    "PriestNeuterPlural",
192    "ReligiousHeadName",
193    "ReligiousHeadTitleName",
194    "ReligiousSymbol",
195    "ReligiousSymbol2",
196    "ReligiousSymbol3",
197    "ReligiousText",
198    "ReligiousText2",
199    "ReligiousText3",
200    "TricksterGodHerHim",
201    "TricksterGodHerHis",
202    "TricksterGodName",
203    "TricksterGodNamePossessive",
204    "TricksterGodSheHe",
205    "WarGodHerHim",
206    "WarGodHerHis",
207    "WarGodName",
208    "WarGodNamePossessive",
209    "WarGodSheHe",
210    "WaterGodHerHim",
211    "WaterGodHerHis",
212    "WaterGodName",
213    "WaterGodNamePossessive",
214    "WaterGodSheHe",
215    "WealthGodHerHim",
216    "WealthGodHerHis",
217    "WealthGodName",
218    "WealthGodNamePossessive",
219    "WealthGodSheHe",
220    "WitchGodHerHim",
221    "WitchGodHerHis",
222    "WitchGodMistressMaster",
223    "WitchGodMotherFather",
224    "WitchGodName",
225    "WitchGodNamePossessive",
226    "WitchGodSheHe",
227];
228
229/// LAST UPDATED CK3 VERSION 1.19.0
230/// Taken from `has_dlc_feature` in triggers.log
231pub const DLC_FEATURES_CK3: &[&str] = &[
232    "garments_of_the_hre",
233    "fashion_of_the_abbasid_court",
234    "the_northern_lords",
235    "hybridize_culture",
236    "diverge_culture",
237    "royal_court",
238    "reform_culture",
239    "court_artifacts",
240    "the_fate_of_iberia",
241    "friends_and_foes",
242    "tours_and_tournaments",
243    "advanced_activities",
244    "accolades",
245    "legacy_of_persia",
246    "elegance_of_the_empire",
247    "wards_and_wardens",
248    "legends_of_the_dead",
249    "legends",
250    "north_african_attire",
251    "couture_of_the_capets",
252    "landless_playable",
253    "admin_gov",
254    "roads_to_power",
255    "court_room_view",
256    "wandering_nobles",
257    "west_slavic_attire",
258    "medieval_monuments",
259    "khans_of_the_steppe",
260    "nomads",
261    "arctic_attire",
262    "crowns_of_the_world",
263    "landless_adventurer",
264    "coronations",
265    "all_under_heaven",
266    "merit_admin",
267    "advanced_aspirations",
268    "barter_troops",
269    "high_medieval_warfare_attire",
270    "holy_buildings",
271    "north_pacific_attire",
272    "east_asian_wonders",
273    "celestial_court_attire",
274    "symbols_of_authority",
275    "songs_of_the_realm",
276];
277
278/// A list of music provided by DLCs, for people who don't have them
279/// LAST UPDATED CK3 VERSION 1.12.1
280pub const DLC_MUSIC: &[&str] = &[
281    // FP1
282    "mx_raid",
283    "mx_drakkar",
284    "mx_scandinavia",
285    "mx_thefeast",
286    // EP1
287    "middleeasterncourt_cue",
288    "europeancourt_cue",
289    "indiancourt_cue",
290    "mediterraneancourt_cue",
291    "mep1_mood_01",
292    "mep1_mood_02",
293    "mep1_mood_03",
294    "mep1_mood_04",
295    "group_roco",
296    // FP2
297    "mx_IberiaWar",
298    "mx_Struggle_ending_compromise",
299    "mx_Struggle_ending_conciliation",
300    "mx_Struggle_ending_hostility",
301    "mx_Struggle_Opening",
302    "mx_iberian_moodTrack1",
303    "mx_iberian_moodTrack2",
304    "mx_iberian_moodTrack3",
305    "group_foi",
306    // BP1
307    "mx_BP1Mood_Generic",
308    "mx_BP1Mood_Western",
309    "mx_BP1Mood_MiddleEastern",
310    "group_bp1",
311    // EP2
312    "tournamentwest_cue",
313    "tournamentmena_cue",
314    "tournamentindia_cue",
315    "tournamentend_cue",
316    "tourwest_cue",
317    "tourmena_cue",
318    "tourindia_cue",
319    "tourend_cue",
320    "weddingwest_cue",
321    "weddingmena_cue",
322    "weddingindia_cue",
323    "weddingend_cue",
324    "grandfeast_cue",
325    "murderfeast_event_cue",
326    "murderfest_cue",
327    "india_arrival_neutral_cue",
328    "india_arrival_suspicious_cue",
329    "india_arrival_welcome_cue",
330    "mena_arrival_neutral_cue",
331    "mena_arrival_suspicious_cue",
332    "mena_arrival_welcome_cue",
333    "west_arrival_neutral_cue",
334    "west_arrival_suspicious_cue",
335    "west_arrival_welcome_cue",
336    "mep2_mood_01",
337    "mep2_mood_02",
338    "mep2_mood_03",
339    "mep2_mood_04",
340    "group_ep2_cuetrack",
341    "group_ep2_moodtrack",
342    "mx_cue_tournament_win",
343    "mx_cue_tournament_lose",
344    "mx_cue_tournament_brawl",
345    "mx_cue_tournament_horse",
346    "mx_cue_tournament_mind",
347    "mx_cue_armorer",
348    "mx_cue_visitor_camp",
349    "mx_cue_farrier",
350    "mx_cue_fletcher",
351    "mx_cue_tourney_grounds",
352    "mx_cue_settlement",
353    "mx_cue_tailor",
354    "mx_cue_tavern",
355    "mx_cue_temple",
356    "mx_cue_weaponsmith",
357    // BP2
358    "mbp2_mood_01",
359    "mbp2_mood_02",
360    "mbp2_mood_03",
361    "mbp2_mood_04",
362    "group_bp2_moodtrack",
363    // FP3
364    "strugglestart_cue",
365    "struggleend_cue",
366    "strugglewar_cue",
367    "mfp3_mood_01",
368    "mfp3_mood_02",
369    "mfp3_mood_03",
370    "mfp3_mood_04",
371    "mfp3_mood_05",
372    "group_fp3_cuetrack",
373    "group_fp3_moodtrack",
374    // CE1 (documented as fp4)
375    "apocalyptic_plague",
376    "black_death",
377    "legend_begins",
378    "mfp4_mood_epidemics_01",
379    "mfp4_mood_epidemics_02",
380    "mfp4_mood_legends_01",
381    "mfp4_mood_legends_02",
382    "group_fp4_cuetrack",
383    "group_fp4_moodtrack",
384];
385
386// LAST UPDATED CK3 VERSION 1.13.0.1
387// taken from the governments .info file
388pub const GOVERNMENT_RULES: &[&str] = &[
389    "create_cadet_branches",
390    "religious",
391    "court_generate_spouses",
392    "council",
393    "rulers_should_have_dynasty",
394    "regiments_prestige_as_gold",
395    "dynasty_named_realms",
396    "legitimacy",
397    "administrative",
398    "admin_allows_holding_multiple_primary_tier_titles",
399    "landless_playable",
400    "allow_out_of_realm_inheritance",
401    "use_as_base_on_landed",
402    "use_as_base_on_rank_up",
403    "conditional_maa_refill",
404    "mercenary",
405    "state_faith",
406    "treasury",
407    "merit",
408    "uses_county_fertility",
409    "replenishes_county_fertility",
410    "obedience",
411    "uses_culture_and_house_head_named_realms",
412    "sticky_government",
413    "subject_men_at_arms",
414    "use_title_tier_modifiers",
415    "inherit_from_dynastic_government",
416    "dynasty_named_realms",
417    "deny_powerful_vassal",
418    "use_maa_maintenance",
419    "no_capital_movement_cooldown",
420    "redirects_wars_to_overlord",
421    "noble_families",
422    "house_aspirations",
423    "replace_gold_cost_by_treasury",
424    "block_alliance_child_marriage",
425    "block_alliance_non_dominant_gender_child_marriage",
426    "always_use_patronym",
427    "affected_by_development",
428    "considers_piety_for_title_creation",
429    "ask_for_tribute",
430    "barter",
431    "buildings",
432    "count_tributaries_for_title_requirements",
433    "radiance",
434    "disable_regnal_numbers",
435    // undocumented
436    "gain_legitimacy_becoming_tributary",
437    "regiments_use_barter_goods_as_gold",
438    "government_ignores_rightful_liege_penalties",
439    "dynasty_named_non_independent_landed_rulers",
440    "allow_accolades",
441    "allow_as_base_for_baronies",
442];
443
444// LAST UPDATED CK3 VERSION 1.12.1
445pub const LEGEND_QUALITY: &[&str] = &["famed", "illustrious", "mythical"];
446
447// LAST UPDATED CK3 VERSION 1.12.1
448// Gathered from vanilla game files
449pub const REWARD_ITEMS: &[&str] = &["newsletter_crown"];
450
451// LAST UPDATED CK3 VERSION 1.12.1
452// Gathered from vanilla game files
453pub const PRISON_TYPES: &[&str] = &["dungeon", "house_arrest"];
454
455// Gathered from common/activities/activity_types/_activity_type.info
456pub const PROVINCE_FILTERS: &[&str] = &[
457    "capital",
458    "domain",
459    "realm",
460    "top_realm",
461    "holy_sites",
462    "holy_sites_domain",
463    "holy_sites_realm",
464    "domicile",
465    "domicile_domain",
466    "domicile_realm",
467    "top_liege_border_inner",
468    "top_liege_border_outer",
469    "landed_title",
470    "geographical_region",
471    "all",
472];
473
474// LAST UPDATED CK3 VERSION 1.12.1
475pub const SKILLS: &[&str] =
476    &["diplomacy", "intrigue", "learning", "martial", "prowess", "stewardship"];
477
478// LAST UPDATED CK3 VERSION 1.12.1
479pub const SEXUALITIES: &[&str] = &["heterosexual", "homosexual", "bisexual", "asexual", "none"];
480
481// LAST UPDATED CK3 VERSION 1.15
482// Taken from gfx/court_scene/scene_settings/scene_settings_indian_1_g1.txt
483pub const SUPPORT_TYPES: &[&str] =
484    &["lectern", "tall", "short_pillow", "tall_pillow", "armorstand", "short"];
485
486// LAST UPDATED CK3 VERSION 1.13.0.1
487// Taken from recent_history description in triggers.log
488pub const TITLE_HISTORY_TYPES: &[&str] = &[
489    "conquest",
490    "conquest_holy_war",
491    "conquest_claim",
492    "conquest_populist",
493    "election",
494    "inheritance",
495    "abdication",
496    "created",
497    "destroyed",
498    "usurped",
499    "granted",
500    "revoked",
501    "independency",
502    "leased_out",
503    "lease_revoked",
504    "returned",
505    "faction_demand",
506    "swear_fealty",
507    "stepped_down",
508    "appointment",
509    "appointment_succession",
510    // undocumented
511    "migration",
512];
513
514// LAST UPDATED CK3 VERSION 1.16
515// These are the types that can't be used in `create_title_and_vassal_change`.
516// Taken from an error.log message.
517pub const BANNED_TITLE_HISTORY_TYPES: &[&str] =
518    &["inheritance", "abdication", "appointment_succession"];
519
520// LAST UPDATED CK3 VERSION 1.12.1
521// Gathered from vanilla common/traits/
522pub const TRAIT_CATEGORIES: &[&str] = &[
523    "childhood",
524    "commander",
525    "court_type",
526    "education",
527    "fame",
528    "health",
529    "lifestyle",
530    "personality",
531    "winter_commander",
532];
533
534// LAST UPDATED CK3 VERSION 1.12.1
535// Gathered from vanilla game files, both the use of the `travel_danger_type` trigger and what's in
536// the localization files for `travel_danger_type_*`
537pub const DANGER_TYPES: &[&str] = &[
538    "default",
539    "battle",
540    "raid",
541    "siege",
542    "army",
543    "occupation",
544    "county_control",
545    "county_opinion",
546    "owner_opinion",
547    "epidemic",
548];
549
550// LAST UPDATED CK3 VERSION 1.12.1
551pub const ARTIFACT_RARITIES: &[&str] = &["common", "masterwork", "famed", "illustrious"];
552
553// LAST UPDATED CK3 VERSION 1.12.1
554pub const OUTBREAK_INTENSITIES: &[&str] = &["minor", "major", "apocalyptic"];
555
556// LAST UPDATED CK3 VERSION 1.19.0
557pub const COMMON_DIRS: &[&str] = &[
558    "common/accolade_icons",
559    "common/accolade_names",
560    "common/accolade_types",
561    "common/achievements",
562    "common/activities/activity_group_types",
563    "common/activities/activity_locales",
564    "common/activities/activity_types",
565    "common/activities/guest_invite_rules",
566    "common/activities/intents",
567    "common/activities/pulse_actions",
568    "common/ai_goaltypes",
569    "common/ai_war_stances",
570    "common/artifacts/blueprints",
571    "common/artifacts/feature_groups",
572    "common/artifacts/features",
573    "common/artifacts/slots",
574    "common/artifacts/templates",
575    "common/artifacts/types",
576    "common/artifacts/visuals",
577    "common/bookmark_portraits",
578    "common/bookmarks/bookmarks",
579    "common/bookmarks/challenge_characters",
580    "common/bookmarks/groups",
581    "common/buildings",
582    "common/casus_belli_groups",
583    "common/casus_belli_types",
584    "common/character_backgrounds",
585    "common/character_interaction_categories",
586    "common/character_interactions",
587    "common/character_memory_types",
588    "common/coat_of_arms/coat_of_arms",
589    "common/coat_of_arms/dynamic_definitions",
590    "common/coat_of_arms/options",
591    "common/coat_of_arms/template_lists",
592    "common/combat_effects",
593    "common/combat_phase_events",
594    "common/confederation_types",
595    "common/connection_arrows",
596    "common/console_groups",
597    "common/council_positions",
598    "common/council_tasks",
599    "common/court_amenities",
600    "common/court_positions/tasks",
601    "common/court_positions/types",
602    "common/court_types",
603    "common/courtier_guest_management",
604    "common/culture/aesthetics_bundles",
605    "common/culture/creation_names",
606    "common/culture/cultures",
607    "common/culture/eras",
608    "common/culture/innovations",
609    "common/culture/name_equivalency",
610    "common/culture/name_lists",
611    "common/culture/pillars",
612    "common/culture/traditions",
613    "common/customizable_localization",
614    "common/deathreasons",
615    "common/decision_group_types",
616    "common/decisions",
617    "common/defines",
618    "common/diarchies/diarchy_mandates",
619    "common/diarchies/diarchy_types",
620    "common/dna_data",
621    "common/domiciles/buildings",
622    "common/domiciles/types",
623    "common/dynasties",
624    "common/dynasty_house_motto_inserts",
625    "common/dynasty_house_mottos",
626    "common/dynasty_houses",
627    "common/dynasty_legacies",
628    "common/dynasty_perks",
629    "common/effect_localization",
630    "common/epidemics",
631    "common/ethnicities",
632    "common/event_2d_effects",
633    "common/event_backgrounds",
634    "common/event_themes",
635    "common/event_transitions",
636    "common/factions",
637    "common/flavorization",
638    "common/focuses",
639    "common/game_concepts",
640    "common/game_rules",
641    "common/genes",
642    "common/governments",
643    "common/graphical_unit_types",
644    "common/great_projects/types",
645    "common/guest_system",
646    "common/holdings",
647    "common/hook_types",
648    "common/house_aspirations",
649    "common/house_relation_types",
650    "common/house_unities",
651    "common/important_actions",
652    "common/inspirations",
653    "common/landed_titles",
654    "common/laws",
655    "common/lease_contracts",
656    "common/legends/chronicles",
657    "common/legends/legend_seeds",
658    "common/legends/legend_types",
659    "common/legitimacy",
660    "common/lifestyle_perks",
661    "common/lifestyles",
662    "common/men_at_arms_types",
663    "common/message_filter_types",
664    "common/message_group_types",
665    "common/messages",
666    "common/modifier_definition_formats",
667    "common/modifier_icons",
668    "common/modifiers",
669    "common/named_colors",
670    "common/nicknames",
671    "common/on_action",
672    "common/opinion_modifiers",
673    "common/playable_difficulty_infos",
674    "common/pool_character_selectors",
675    "common/portrait_types",
676    "common/province_terrain",
677    "common/raids/intents",
678    "common/religion/doctrine_group_types",
679    "common/religion/doctrine_types",
680    "common/religion/holy_site_types",
681    "common/religion/religion_family_types",
682    "common/religion/religion_types",
683    "common/ruler_objective_advice_types",
684    "common/schemes/agent_types",
685    "common/schemes/pulse_actions",
686    "common/schemes/scheme_countermeasures",
687    "common/schemes/scheme_types",
688    "common/script_values",
689    "common/scripted_animations",
690    "common/scripted_character_templates",
691    "common/scripted_costs",
692    "common/scripted_effects",
693    "common/scripted_guis",
694    "common/scripted_lists",
695    "common/scripted_modifiers",
696    "common/scripted_relations",
697    "common/scripted_rules",
698    "common/scripted_triggers",
699    "common/secret_types",
700    "common/situation/catalysts",
701    "common/situation/situation_group_types",
702    "common/situation/situations",
703    "common/story_cycles",
704    "common/struggle/catalysts",
705    "common/struggle/struggles",
706    "common/subject_contracts/contracts",
707    "common/subject_contracts/groups",
708    "common/succession_appointment",
709    "common/succession_election",
710    "common/suggestions",
711    "common/task_contracts",
712    "common/tax_slots/obligations",
713    "common/tax_slots/types",
714    "common/terrain_types",
715    "common/traits",
716    "common/travel/point_of_interest_types",
717    "common/travel/travel_options",
718    "common/trigger_localization",
719    "common/tutorial_lesson_chains",
720    "common/tutorial_lessons",
721    "common/vassal_stances",
722];
723
724// LAST UPDATED CK3 VERSION 1.13
725// As of 1.13, all common dirs can have subdirectories.
726pub const COMMON_SUBDIRS_OK: &[&str] = COMMON_DIRS;