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 `has_dlc_feature` in triggers.log
84pub const DLC_FEATURES_CK3: &[&str] = &[
85    "garments_of_the_hre",
86    "fashion_of_the_abbasid_court",
87    "the_northern_lords",
88    "hybridize_culture",
89    "diverge_culture",
90    "royal_court",
91    "reform_culture",
92    "court_artifacts",
93    "the_fate_of_iberia",
94    "friends_and_foes",
95    "tours_and_tournaments",
96    "advanced_activities",
97    "accolades",
98    "legacy_of_persia",
99    "elegance_of_the_empire",
100    "wards_and_wardens",
101    "legends_of_the_dead",
102    "legends",
103    "north_african_attire",
104    "couture_of_the_capets",
105    "landless_playable",
106    "admin_gov",
107    "roads_to_power",
108    "court_room_view",
109    "wandering_nobles",
110    "west_slavic_attire",
111    "medieval_monuments",
112    "khans_of_the_steppe",
113    "nomads",
114    "arctic_attire",
115    "crowns_of_the_world",
116    "landless_adventurer",
117    "coronations",
118    "all_under_heaven",
119    "merit_admin",
120    "advanced_aspirations",
121    "barter_troops",
122    "high_medieval_warfare_attire",
123    "holy_buildings",
124];
125
126/// A list of music provided by DLCs, for people who don't have them
127/// LAST UPDATED CK3 VERSION 1.12.1
128pub const DLC_MUSIC: &[&str] = &[
129    // FP1
130    "mx_raid",
131    "mx_drakkar",
132    "mx_scandinavia",
133    "mx_thefeast",
134    // EP1
135    "middleeasterncourt_cue",
136    "europeancourt_cue",
137    "indiancourt_cue",
138    "mediterraneancourt_cue",
139    "mep1_mood_01",
140    "mep1_mood_02",
141    "mep1_mood_03",
142    "mep1_mood_04",
143    "group_roco",
144    // FP2
145    "mx_IberiaWar",
146    "mx_Struggle_ending_compromise",
147    "mx_Struggle_ending_conciliation",
148    "mx_Struggle_ending_hostility",
149    "mx_Struggle_Opening",
150    "mx_iberian_moodTrack1",
151    "mx_iberian_moodTrack2",
152    "mx_iberian_moodTrack3",
153    "group_foi",
154    // BP1
155    "mx_BP1Mood_Generic",
156    "mx_BP1Mood_Western",
157    "mx_BP1Mood_MiddleEastern",
158    "group_bp1",
159    // EP2
160    "tournamentwest_cue",
161    "tournamentmena_cue",
162    "tournamentindia_cue",
163    "tournamentend_cue",
164    "tourwest_cue",
165    "tourmena_cue",
166    "tourindia_cue",
167    "tourend_cue",
168    "weddingwest_cue",
169    "weddingmena_cue",
170    "weddingindia_cue",
171    "weddingend_cue",
172    "grandfeast_cue",
173    "murderfeast_event_cue",
174    "murderfest_cue",
175    "india_arrival_neutral_cue",
176    "india_arrival_suspicious_cue",
177    "india_arrival_welcome_cue",
178    "mena_arrival_neutral_cue",
179    "mena_arrival_suspicious_cue",
180    "mena_arrival_welcome_cue",
181    "west_arrival_neutral_cue",
182    "west_arrival_suspicious_cue",
183    "west_arrival_welcome_cue",
184    "mep2_mood_01",
185    "mep2_mood_02",
186    "mep2_mood_03",
187    "mep2_mood_04",
188    "group_ep2_cuetrack",
189    "group_ep2_moodtrack",
190    "mx_cue_tournament_win",
191    "mx_cue_tournament_lose",
192    "mx_cue_tournament_brawl",
193    "mx_cue_tournament_horse",
194    "mx_cue_tournament_mind",
195    "mx_cue_armorer",
196    "mx_cue_visitor_camp",
197    "mx_cue_farrier",
198    "mx_cue_fletcher",
199    "mx_cue_tourney_grounds",
200    "mx_cue_settlement",
201    "mx_cue_tailor",
202    "mx_cue_tavern",
203    "mx_cue_temple",
204    "mx_cue_weaponsmith",
205    // BP2
206    "mbp2_mood_01",
207    "mbp2_mood_02",
208    "mbp2_mood_03",
209    "mbp2_mood_04",
210    "group_bp2_moodtrack",
211    // FP3
212    "strugglestart_cue",
213    "struggleend_cue",
214    "strugglewar_cue",
215    "mfp3_mood_01",
216    "mfp3_mood_02",
217    "mfp3_mood_03",
218    "mfp3_mood_04",
219    "mfp3_mood_05",
220    "group_fp3_cuetrack",
221    "group_fp3_moodtrack",
222    // CE1 (documented as fp4)
223    "apocalyptic_plague",
224    "black_death",
225    "legend_begins",
226    "mfp4_mood_epidemics_01",
227    "mfp4_mood_epidemics_02",
228    "mfp4_mood_legends_01",
229    "mfp4_mood_legends_02",
230    "group_fp4_cuetrack",
231    "group_fp4_moodtrack",
232];
233
234// LAST UPDATED CK3 VERSION 1.13.0.1
235// taken from the governments .info file
236pub const GOVERNMENT_RULES: &[&str] = &[
237    "create_cadet_branches",
238    "religious",
239    "court_generate_spouses",
240    "council",
241    "rulers_should_have_dynasty",
242    "regiments_prestige_as_gold",
243    "dynasty_named_realms",
244    "legitimacy",
245    "administrative",
246    "admin_allows_holding_multiple_primary_tier_titles",
247    "landless_playable",
248    "allow_out_of_realm_inheritance",
249    "use_as_base_on_landed",
250    "use_as_base_on_rank_up",
251    "conditional_maa_refill",
252    "mercenary",
253    "state_faith",
254    "treasury",
255    "merit",
256    "uses_county_fertility",
257    "replenishes_county_fertility",
258    "obedience",
259    "uses_culture_and_house_head_named_realms",
260    "sticky_government",
261    "subject_men_at_arms",
262    "use_title_tier_modifiers",
263    "inherit_from_dynastic_government",
264    "dynasty_named_realms",
265    "deny_powerful_vassal",
266    "use_maa_maintenance",
267    "no_capital_movement_cooldown",
268    "redirects_wars_to_overlord",
269    "noble_families",
270    "house_aspirations",
271    "replace_gold_cost_by_treasury",
272    "block_alliance_child_marriage",
273    "block_alliance_non_dominant_gender_child_marriage",
274    "always_use_patronym",
275    "affected_by_development",
276    "considers_piety_for_title_creation",
277    "ask_for_tribute",
278    "barter",
279    "buildings",
280    "count_tributaries_for_title_requirements",
281    "radiance",
282    "disable_regnal_numbers",
283    // undocumented
284    "gain_legitimacy_becoming_tributary",
285    "regiments_use_barter_goods_as_gold",
286    "government_ignores_rightful_liege_penalties",
287    "dynasty_named_non_independent_landed_rulers",
288];
289
290// LAST UPDATED CK3 VERSION 1.12.1
291pub const LEGEND_QUALITY: &[&str] = &["famed", "illustrious", "mythical"];
292
293// LAST UPDATED CK3 VERSION 1.12.1
294// Gathered from vanilla game files
295pub const REWARD_ITEMS: &[&str] = &["newsletter_crown"];
296
297// LAST UPDATED CK3 VERSION 1.12.1
298// Gathered from vanilla game files
299pub const PRISON_TYPES: &[&str] = &["dungeon", "house_arrest"];
300
301// Gathered from common/activities/activity_types/_activity_type.info
302pub const PROVINCE_FILTERS: &[&str] = &[
303    "capital",
304    "domain",
305    "realm",
306    "top_realm",
307    "holy_sites",
308    "holy_sites_domain",
309    "holy_sites_realm",
310    "domicile",
311    "domicile_domain",
312    "domicile_realm",
313    "top_liege_border_inner",
314    "top_liege_border_outer",
315    "landed_title",
316    "geographical_region",
317    "all",
318];
319
320// LAST UPDATED CK3 VERSION 1.12.1
321pub const SKILLS: &[&str] =
322    &["diplomacy", "intrigue", "learning", "martial", "prowess", "stewardship"];
323
324// LAST UPDATED CK3 VERSION 1.12.1
325pub const SEXUALITIES: &[&str] = &["heterosexual", "homosexual", "bisexual", "asexual", "none"];
326
327// LAST UPDATED CK3 VERSION 1.15
328// Taken from gfx/court_scene/scene_settings/scene_settings_indian_1_g1.txt
329pub const SUPPORT_TYPES: &[&str] =
330    &["lectern", "tall", "short_pillow", "tall_pillow", "armorstand", "short"];
331
332// LAST UPDATED CK3 VERSION 1.13.0.1
333// Taken from recent_history description in triggers.log
334pub const TITLE_HISTORY_TYPES: &[&str] = &[
335    "conquest",
336    "conquest_holy_war",
337    "conquest_claim",
338    "conquest_populist",
339    "election",
340    "inheritance",
341    "abdication",
342    "created",
343    "destroyed",
344    "usurped",
345    "granted",
346    "revoked",
347    "independency",
348    "leased_out",
349    "lease_revoked",
350    "returned",
351    "faction_demand",
352    "swear_fealty",
353    "stepped_down",
354    "appointment",
355    "appointment_succession",
356    // undocumented
357    "migration",
358];
359
360// LAST UPDATED CK3 VERSION 1.16
361// These are the types that can't be used in `create_title_and_vassal_change`.
362// Taken from an error.log message.
363pub const BANNED_TITLE_HISTORY_TYPES: &[&str] =
364    &["inheritance", "abdication", "appointment_succession"];
365
366// LAST UPDATED CK3 VERSION 1.12.1
367// Gathered from vanilla common/traits/
368pub const TRAIT_CATEGORIES: &[&str] = &[
369    "childhood",
370    "commander",
371    "court_type",
372    "education",
373    "fame",
374    "health",
375    "lifestyle",
376    "personality",
377    "winter_commander",
378];
379
380// LAST UPDATED CK3 VERSION 1.12.1
381// Gathered from vanilla game files, both the use of the `travel_danger_type` trigger and what's in
382// the localization files for `travel_danger_type_*`
383pub const DANGER_TYPES: &[&str] = &[
384    "default",
385    "battle",
386    "raid",
387    "siege",
388    "army",
389    "occupation",
390    "county_control",
391    "county_opinion",
392    "owner_opinion",
393    "epidemic",
394];
395
396// LAST UPDATED CK3 VERSION 1.12.1
397pub const ARTIFACT_RARITIES: &[&str] = &["common", "masterwork", "famed", "illustrious"];
398
399// LAST UPDATED CK3 VERSION 1.12.1
400pub const OUTBREAK_INTENSITIES: &[&str] = &["minor", "major", "apocalyptic"];
401
402// LAST UPDATED CK3 VERSION 1.17.0
403pub const COMMON_DIRS: &[&str] = &[
404    "common/accolade_icons",
405    "common/accolade_names",
406    "common/accolade_types",
407    "common/achievements",
408    "common/activities/activity_group_types",
409    "common/activities/activity_locales",
410    "common/activities/activity_types",
411    "common/activities/guest_invite_rules",
412    "common/activities/intents",
413    "common/activities/pulse_actions",
414    "common/ai_goaltypes",
415    "common/ai_war_stances",
416    "common/artifacts/blueprints",
417    "common/artifacts/feature_groups",
418    "common/artifacts/features",
419    "common/artifacts/slots",
420    "common/artifacts/templates",
421    "common/artifacts/types",
422    "common/artifacts/visuals",
423    "common/bookmark_portraits",
424    "common/bookmarks/bookmarks",
425    "common/bookmarks/challenge_characters",
426    "common/bookmarks/groups",
427    "common/buildings",
428    "common/casus_belli_groups",
429    "common/casus_belli_types",
430    "common/character_backgrounds",
431    "common/character_interaction_categories",
432    "common/character_interactions",
433    "common/character_memory_types",
434    "common/coat_of_arms/coat_of_arms",
435    "common/coat_of_arms/dynamic_definitions",
436    "common/coat_of_arms/options",
437    "common/coat_of_arms/template_lists",
438    "common/combat_effects",
439    "common/combat_phase_events",
440    "common/confederation_types",
441    "common/connection_arrows",
442    "common/console_groups",
443    "common/council_positions",
444    "common/council_tasks",
445    "common/court_amenities",
446    "common/court_positions/tasks",
447    "common/court_positions/types",
448    "common/court_types",
449    "common/courtier_guest_management",
450    "common/culture/aesthetics_bundles",
451    "common/culture/creation_names",
452    "common/culture/cultures",
453    "common/culture/eras",
454    "common/culture/innovations",
455    "common/culture/name_equivalency",
456    "common/culture/name_lists",
457    "common/culture/pillars",
458    "common/culture/traditions",
459    "common/customizable_localization",
460    "common/deathreasons",
461    "common/decision_group_types",
462    "common/decisions",
463    "common/defines",
464    "common/diarchies/diarchy_mandates",
465    "common/diarchies/diarchy_types",
466    "common/dna_data",
467    "common/domiciles/buildings",
468    "common/domiciles/types",
469    "common/dynasties",
470    "common/dynasty_house_motto_inserts",
471    "common/dynasty_house_mottos",
472    "common/dynasty_houses",
473    "common/dynasty_legacies",
474    "common/dynasty_perks",
475    "common/effect_localization",
476    "common/epidemics",
477    "common/ethnicities",
478    "common/event_2d_effects",
479    "common/event_backgrounds",
480    "common/event_themes",
481    "common/event_transitions",
482    "common/factions",
483    "common/flavorization",
484    "common/focuses",
485    "common/game_concepts",
486    "common/game_rules",
487    "common/genes",
488    "common/governments",
489    "common/graphical_unit_types",
490    "common/great_projects/types",
491    "common/guest_system",
492    "common/holdings",
493    "common/hook_types",
494    "common/house_aspirations",
495    "common/house_relation_types",
496    "common/house_unities",
497    "common/important_actions",
498    "common/inspirations",
499    "common/landed_titles",
500    "common/laws",
501    "common/lease_contracts",
502    "common/legends/chronicles",
503    "common/legends/legend_seeds",
504    "common/legends/legend_types",
505    "common/legitimacy",
506    "common/lifestyle_perks",
507    "common/lifestyles",
508    "common/men_at_arms_types",
509    "common/message_filter_types",
510    "common/message_group_types",
511    "common/messages",
512    "common/modifier_definition_formats",
513    "common/modifier_icons",
514    "common/modifiers",
515    "common/named_colors",
516    "common/nicknames",
517    "common/on_action",
518    "common/opinion_modifiers",
519    "common/playable_difficulty_infos",
520    "common/pool_character_selectors",
521    "common/portrait_types",
522    "common/province_terrain",
523    "common/raids/intents",
524    "common/religion/doctrines",
525    "common/religion/fervor_modifiers",
526    "common/religion/holy_sites",
527    "common/religion/religion_families",
528    "common/religion/religions",
529    "common/ruler_objective_advice_types",
530    "common/schemes/agent_types",
531    "common/schemes/pulse_actions",
532    "common/schemes/scheme_countermeasures",
533    "common/schemes/scheme_types",
534    "common/script_values",
535    "common/scripted_animations",
536    "common/scripted_character_templates",
537    "common/scripted_costs",
538    "common/scripted_effects",
539    "common/scripted_guis",
540    "common/scripted_lists",
541    "common/scripted_modifiers",
542    "common/scripted_relations",
543    "common/scripted_rules",
544    "common/scripted_triggers",
545    "common/secret_types",
546    "common/situation/catalysts",
547    "common/situation/situation_group_types",
548    "common/situation/situations",
549    "common/story_cycles",
550    "common/struggle/catalysts",
551    "common/struggle/struggles",
552    "common/subject_contracts/contracts",
553    "common/subject_contracts/groups",
554    "common/succession_appointment",
555    "common/succession_election",
556    "common/suggestions",
557    "common/task_contracts",
558    "common/tax_slots/obligations",
559    "common/tax_slots/types",
560    "common/terrain_types",
561    "common/traits",
562    "common/travel/point_of_interest_types",
563    "common/travel/travel_options",
564    "common/trigger_localization",
565    "common/tutorial_lesson_chains",
566    "common/tutorial_lessons",
567    "common/vassal_stances",
568];
569
570// LAST UPDATED CK3 VERSION 1.13
571// As of 1.13, all common dirs can have subdirectories.
572pub const COMMON_SUBDIRS_OK: &[&str] = COMMON_DIRS;