Skip to content

Commit ad9c957

Browse files
Updates for RoA and TFE Beta versions compatible with CK3 1.17 (#2757) #minor
I *think* everything should be updated for the latest versions of RoA and TFE Beta. Converting the TFE Beta will still give warnings during conversion, but those are mainly about the languages/heritages not having CCU parameters (but it is fixed in the output mod), and titles not having proper capitals, but that's just TFE being TFE. I'd make sure to note down in any patch notes/announcements that this requires the [The Fallen Eagle - OPEN BETA](https://steamcommunity.com/workshop/filedetails/?id=3515718688) mod, not the normal TFE mod. --------- Co-authored-by: IhateTrains <IhateTrains@users.noreply.github.com>
1 parent 3cbbf32 commit ad9c957

File tree

10 files changed

+2462
-1252
lines changed

10 files changed

+2462
-1252
lines changed

ImperatorToCK3/Data_Files/configurables/ccu_language_parameters.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ language_families = {
3030
language_family_gutian
3131
language_family_pre_greek
3232
language_family_hatti
33+
language_family_burushaski
3334
}
3435
}
3536
}
@@ -78,6 +79,7 @@ language_groups = {
7879
language_group_gutian
7980
language_group_pre_greek
8081
language_group_hatti
82+
language_group_burusho
8183
} ELSE_IF wtwsms = {
8284
language_group_sabellic
8385
language_group_celto_italic

ImperatorToCK3/Data_Files/configurables/cultural_pillars/IRToCK3_heritage.txt

Lines changed: 107 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ heritage_anatolian = {
5858
audio_parameter = european
5959
}
6060

61+
# TFE added their own version of this heritage, but left out the heritage family parameter, so adding it here to get rid of converter error until TFE fixes it.
6162
heritage_gaulish = {
6263
REPLACED_BY = {
63-
tfe = { heritage_gaulish }
6464
vanilla = { heritage_gaulish }
6565
}
6666
MOD_DEPENDENT = {
@@ -69,6 +69,11 @@ heritage_gaulish = {
6969
heritage_group_celtic = yes
7070
heritage_family_european = yes
7171
}
72+
} ELSE_IF tfe = {
73+
parameters = {
74+
heritage_group_latin = yes
75+
heritage_family_mediterranean = yes
76+
}
7277
}
7378
}
7479
type = heritage
@@ -577,4 +582,104 @@ heritage_caucasian = {
577582
}
578583
}
579584
audio_parameter = european
580-
}
585+
}
586+
587+
# TFE doesn't give group/family parameters for this heritage, despite using it in code, so set this up to replace TFE's definition with one that mimics the Turkic heritage, which their base game Hun culture uses. Just adding this to get rid of converter error until TFE handles it.
588+
heritage_hunnic = {
589+
REPLACED_BY = {
590+
roa = { heritage_hunnic }
591+
wtwsms = { heritage_hunnic }
592+
vanilla = { heritage_hunnic }
593+
}
594+
type = heritage
595+
is_shown = {
596+
heritage_is_shown_trigger = {
597+
HERITAGE = heritage_hunnic
598+
}
599+
}
600+
audio_parameter = european
601+
602+
MOD_DEPENDENT = {
603+
IF tfe = {
604+
parameters = {
605+
heritage_group_turkic = yes
606+
heritage_family_steppe = yes
607+
}
608+
}
609+
}
610+
}
611+
612+
# TFE added this heritage but forgot to give it a family parameter, so adding it here to get rid of converter error. Replacing with heritage_latin when not using TFE to prevent a random unused heritage from being loaded.
613+
heritage_gallo_rhaetian_latin = {
614+
REPLACED_BY = {
615+
roa = { heritage_latin }
616+
wtwsms = { heritage_latin }
617+
vanilla = { heritage_latin }
618+
}
619+
type = heritage
620+
is_shown = {
621+
heritage_is_shown_trigger = {
622+
HERITAGE = heritage_gallo_rhaetian_latin
623+
}
624+
}
625+
audio_parameter = european
626+
627+
MOD_DEPENDENT = {
628+
IF tfe = {
629+
parameters = {
630+
heritage_group_latin = yes
631+
heritage_family_mediterranean = yes
632+
}
633+
}
634+
}
635+
}
636+
637+
# TFE added this heritage but forgot to give it a family parameter, so adding it here to get rid of converter error. Replacing with heritage_latin when not using TFE to prevent a random unused heritage from being loaded.
638+
heritage_british_latin = {
639+
REPLACED_BY = {
640+
roa = { heritage_latin }
641+
wtwsms = { heritage_latin }
642+
vanilla = { heritage_latin }
643+
}
644+
type = heritage
645+
is_shown = {
646+
heritage_is_shown_trigger = {
647+
HERITAGE = heritage_british_latin
648+
}
649+
}
650+
audio_parameter = european
651+
652+
MOD_DEPENDENT = {
653+
IF tfe = {
654+
parameters = {
655+
heritage_group_latin = yes
656+
heritage_family_mediterranean = yes
657+
}
658+
}
659+
}
660+
}
661+
662+
# TFE added this heritage but forgot to give it a family parameter, so adding it here to get rid of converter error. Replacing with heritage_latin when not using TFE to prevent a random unused heritage from being loaded.
663+
heritage_occitan = {
664+
REPLACED_BY = {
665+
roa = { heritage_latin }
666+
wtwsms = { heritage_latin }
667+
vanilla = { heritage_latin }
668+
}
669+
type = heritage
670+
is_shown = {
671+
heritage_is_shown_trigger = {
672+
HERITAGE = heritage_occitan
673+
}
674+
}
675+
audio_parameter = european
676+
677+
MOD_DEPENDENT = {
678+
IF tfe = {
679+
parameters = {
680+
heritage_group_latin = yes
681+
heritage_family_mediterranean = yes
682+
}
683+
}
684+
}
685+
}

ImperatorToCK3/Data_Files/configurables/cultural_pillars/IRToCK3_language.txt

Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2750,3 +2750,231 @@ language_illyrian = {
27502750

27512751
color = rgb { 246 223 15 }
27522752
}
2753+
2754+
# TFE doesn't give this language group/family parameters, so I'm adding them here just to get rid of the converter errors. Group parameter given isn't accurate, but there's no need to go through the process of adding new parameters for a language that doesn't seem to actually get used in the mod.
2755+
language_sabaki = {
2756+
REPLACED_BY = {
2757+
wtwsms = { language_sabaki }
2758+
roa = { language_sabaki }
2759+
vanilla = { language_sabaki }
2760+
}
2761+
type = language
2762+
is_shown = {
2763+
language_is_shown_trigger = {
2764+
LANGUAGE = language_sabaki
2765+
}
2766+
}
2767+
2768+
MOD_DEPENDENT = {
2769+
IF tfe = {
2770+
parameters = {
2771+
language_group_cushitic = yes
2772+
language_family_atlantic_congo = yes
2773+
}
2774+
}
2775+
}
2776+
2777+
MOD_DEPENDENT = {
2778+
IF tfe = {
2779+
ai_will_do = {
2780+
value = 10
2781+
if = {
2782+
limit = { has_cultural_pillar = language_sabaki }
2783+
multiply = 10
2784+
}
2785+
else_if = {
2786+
limit = { has_cultural_parameter = language_group_cushitic }
2787+
multiply = 5
2788+
}
2789+
else_if = {
2790+
limit = { has_cultural_parameter = language_family_atlantic_congo }
2791+
multiply = 2.5
2792+
}
2793+
}
2794+
}
2795+
ELSE = {
2796+
ai_will_do = {
2797+
value = 10
2798+
if = {
2799+
limit = { has_cultural_pillar = language_sabaki }
2800+
multiply = 10
2801+
}
2802+
}
2803+
}
2804+
}
2805+
2806+
2807+
2808+
color = hsv{ 0.6 0.5 0.7 }
2809+
}
2810+
2811+
# TFE doesn't give this language group/family parameters, so I'm adding them here just to get rid of the converter errors.
2812+
language_north_dravidian = {
2813+
REPLACED_BY = {
2814+
wtwsms = { language_north_dravidian }
2815+
roa = { language_north_dravidian }
2816+
vanilla = { language_north_dravidian }
2817+
}
2818+
type = language
2819+
is_shown = {
2820+
language_is_shown_trigger = {
2821+
LANGUAGE = language_north_dravidian
2822+
}
2823+
}
2824+
2825+
MOD_DEPENDENT = {
2826+
IF tfe = {
2827+
parameters = {
2828+
language_group_north_dravidian = yes
2829+
language_family_dravidian = yes
2830+
}
2831+
}
2832+
}
2833+
2834+
MOD_DEPENDENT = {
2835+
IF tfe = {
2836+
ai_will_do = {
2837+
value = 10
2838+
if = {
2839+
limit = { has_cultural_pillar = language_north_dravidian }
2840+
multiply = 10
2841+
}
2842+
else_if = {
2843+
limit = { has_cultural_parameter = language_group_north_dravidian }
2844+
multiply = 5
2845+
}
2846+
else_if = {
2847+
limit = { has_cultural_parameter = language_family_dravidian }
2848+
multiply = 2.5
2849+
}
2850+
}
2851+
}
2852+
ELSE = {
2853+
ai_will_do = {
2854+
value = 10
2855+
if = {
2856+
limit = { has_cultural_pillar = language_north_dravidian }
2857+
multiply = 10
2858+
}
2859+
}
2860+
}
2861+
}
2862+
2863+
2864+
2865+
color = brahui
2866+
}
2867+
2868+
# TFE doesn't give this language group/family parameters, so I'm adding them here just to get rid of the converter errors.
2869+
language_burusho = {
2870+
REPLACED_BY = {
2871+
wtwsms = { language_burusho }
2872+
roa = { language_burusho }
2873+
vanilla = { language_burusho }
2874+
}
2875+
type = language
2876+
is_shown = {
2877+
language_is_shown_trigger = {
2878+
LANGUAGE = language_burusho
2879+
}
2880+
}
2881+
2882+
MOD_DEPENDENT = {
2883+
IF tfe = {
2884+
parameters = {
2885+
language_group_burusho = yes
2886+
language_family_burushaski = yes
2887+
}
2888+
}
2889+
}
2890+
2891+
MOD_DEPENDENT = {
2892+
IF tfe = {
2893+
ai_will_do = {
2894+
value = 10
2895+
if = {
2896+
limit = { has_cultural_pillar = language_burusho }
2897+
multiply = 10
2898+
}
2899+
else_if = {
2900+
limit = { has_cultural_parameter = language_group_burusho }
2901+
multiply = 5
2902+
}
2903+
else_if = {
2904+
limit = { has_cultural_parameter = language_family_burushaski }
2905+
multiply = 2.5
2906+
}
2907+
}
2908+
}
2909+
ELSE = {
2910+
ai_will_do = {
2911+
value = 10
2912+
if = {
2913+
limit = { has_cultural_pillar = language_burusho }
2914+
multiply = 10
2915+
}
2916+
}
2917+
}
2918+
}
2919+
2920+
2921+
2922+
color = { 0.39 0.19 0.09 }
2923+
}
2924+
2925+
# TFE doesn't give this language group/family parameters, so I'm adding them here just to get rid of the converter errors.
2926+
language_kordofanian = {
2927+
REPLACED_BY = {
2928+
wtwsms = { language_kordofanian }
2929+
roa = { language_kordofanian }
2930+
vanilla = { language_kordofanian }
2931+
}
2932+
type = language
2933+
is_shown = {
2934+
language_is_shown_trigger = {
2935+
LANGUAGE = language_kordofanian
2936+
}
2937+
}
2938+
2939+
MOD_DEPENDENT = {
2940+
IF tfe = {
2941+
parameters = {
2942+
language_group_sudanic = yes
2943+
language_family_nilo_saharan = yes
2944+
}
2945+
}
2946+
}
2947+
2948+
MOD_DEPENDENT = {
2949+
IF tfe = {
2950+
ai_will_do = {
2951+
value = 10
2952+
if = {
2953+
limit = { has_cultural_pillar = language_kordofanian }
2954+
multiply = 10
2955+
}
2956+
else_if = {
2957+
limit = { has_cultural_parameter = language_group_sudanic }
2958+
multiply = 5
2959+
}
2960+
else_if = {
2961+
limit = { has_cultural_parameter = language_family_nilo_saharan }
2962+
multiply = 2.5
2963+
}
2964+
}
2965+
}
2966+
ELSE = {
2967+
ai_will_do = {
2968+
value = 10
2969+
if = {
2970+
limit = { has_cultural_pillar = language_kordofanian }
2971+
multiply = 10
2972+
}
2973+
}
2974+
}
2975+
}
2976+
2977+
2978+
2979+
color = { 96 55 48 }
2980+
}

ImperatorToCK3/Data_Files/configurables/localization/tfe/english/ccu_language_parameters_l_english.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
culture_parameter_language_group_gutian: "#P +[EmptyScope.ScriptValue('same_language_group_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Gutian [language_group|E]"
99
culture_parameter_language_group_pre_greek: "#P +[EmptyScope.ScriptValue('same_language_group_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Pre-Greek [language_group|E]"
1010
culture_parameter_language_group_hatti: "#P +[EmptyScope.ScriptValue('same_language_group_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Hattian [language_group|E]"
11+
culture_parameter_language_group_burusho: "#P +[EmptyScope.ScriptValue('same_language_group_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Burusho [language_group|E]"
12+
1113

1214
# Language families
1315
culture_parameter_language_family_paleo_sardinian: "#P +[EmptyScope.ScriptValue('same_language_family_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Paleo-Sardinian [language_family|E]"
@@ -17,4 +19,5 @@
1719
culture_parameter_language_family_gutian: "#P +[EmptyScope.ScriptValue('same_language_family_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Gutian [language_family|E]"
1820
culture_parameter_language_family_pre_greek: "#P +[EmptyScope.ScriptValue('same_language_family_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Pre-Greek [language_family|E]"
1921
culture_parameter_language_family_hatti: "#P +[EmptyScope.ScriptValue('same_language_family_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Hattian [language_family|E]"
22+
culture_parameter_language_family_burushaski: "#P +[EmptyScope.ScriptValue('same_language_family_cultural_acceptance')|0]#! [cultural_acceptance_baseline|E] with Cultures sharing the Burushaski [language_family|E]"
2023

0 commit comments

Comments
 (0)