Skip to content

Commit babf592

Browse files
authored
Remove support for the Asia Expansion Project mod which won't be updated past CK3 1.15 (#2594) #major
AEP won't support CK3 versions > 1.15: > AEP: Final Release MP Checksum for 1.15.* (Crown): 28e1 https://steamcommunity.com/sharedfiles/filedetails/?id=2970440958 closes #2588
1 parent d2779a5 commit babf592

File tree

12 files changed

+5
-8167
lines changed

12 files changed

+5
-8167
lines changed

ImperatorToCK3/CK3/World.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,13 +460,10 @@ private void LoadCorrectProvinceMappingsFile(Imperator.World irWorld, Configurat
460460
bool irHasTI = irWorld.TerraIndomitaDetected;
461461

462462
bool ck3HasRajasOfAsia = config.RajasOfAsiaEnabled;
463-
bool ck3HasAEP = config.AsiaExpansionProjectEnabled;
464463

465464
string mappingsToUse;
466465
if (irHasTI && ck3HasRajasOfAsia) {
467466
mappingsToUse = "terra_indomita_to_rajas_of_asia";
468-
} else if (irHasTI && ck3HasAEP) {
469-
mappingsToUse = "terra_indomita_to_aep";
470467
} else if (irWorld.InvictusDetected) {
471468
mappingsToUse = "imperator_invictus";
472469
} else {

ImperatorToCK3/Configuration.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public sealed class Configuration {
3131
public bool FallenEagleEnabled { get; private set; }
3232
public bool WhenTheWorldStoppedMakingSenseEnabled { get; private set; }
3333
public bool RajasOfAsiaEnabled { get; private set; }
34-
public bool AsiaExpansionProjectEnabled { get; private set; }
3534

3635
public bool OutputCCUParameters => WhenTheWorldStoppedMakingSenseEnabled || FallenEagleEnabled || RajasOfAsiaEnabled;
3736

@@ -320,17 +319,16 @@ public void DetectSpecificCK3Mods(ICollection<Mod> loadedMods) {
320319
WhenTheWorldStoppedMakingSenseEnabled = true;
321320
Logger.Info($"WtWSMS detected: {wtwsmsMod.Name}");
322321
}
323-
322+
324323
var roaMod = loadedMods.FirstOrDefault(m => m.Name.StartsWith("Rajas of Asia", StringComparison.Ordinal));
325324
if (roaMod is not null) {
326325
RajasOfAsiaEnabled = true;
327326
Logger.Info($"RoA detected: {roaMod.Name}");
328327
}
329-
328+
330329
var aepMod = loadedMods.FirstOrDefault(m => m.Name.StartsWith("Asia Expansion Project", StringComparison.Ordinal));
331330
if (aepMod is not null) {
332-
AsiaExpansionProjectEnabled = true;
333-
Logger.Info($"AEP detected: {aepMod.Name}");
331+
throw new UserErrorException("Asia Expansion Project is no longer supported because it's not updated for the current version of CK3. See AEP's description on Steam Workshop.");
334332
}
335333
}
336334

@@ -340,7 +338,6 @@ public OrderedDictionary<string, bool> GetCK3ModFlags() {
340338
["tfe"] = FallenEagleEnabled,
341339
["wtwsms"] = WhenTheWorldStoppedMakingSenseEnabled,
342340
["roa"] = RajasOfAsiaEnabled,
343-
["aep"] = AsiaExpansionProjectEnabled,
344341
};
345342

346343
flags["vanilla"] = !flags.Any(f => f.Value);

ImperatorToCK3/Data_Files/configurables/converter_cultures.txt

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,7 @@ qin = {
110110
}
111111

112112
MOD_DEPENDENT = {
113-
IF aep = {
114-
ethnicities = {
115-
10 = east_asian_chinese_north
116-
}
117-
}
118-
ELSE_IF roa = {
113+
IF roa = {
119114
# copied from han
120115
ethnicities = {
121116
2 = east_asian_han_1
@@ -132,19 +127,7 @@ qin = {
132127
}
133128

134129
MOD_DEPENDENT = {
135-
IF aep = {
136-
coa_gfx = {
137-
chinese_group_coa_gfx
138-
}
139-
building_gfx = {
140-
chinese_building_gfx
141-
}
142-
clothing_gfx = {
143-
chinese_clothing_gfx
144-
}
145-
unit_gfx = { chinese_unit_gfx }
146-
}
147-
ELSE_IF tfe = {
130+
IF tfe = {
148131
# copied from han
149132
coa_gfx = { chinese_group_coa_gfx }
150133
building_gfx = { chinese_building_gfx indian_building_gfx }

ImperatorToCK3/Data_Files/configurables/cultural_pillars/IRToCK3_heritage.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ heritage_palaungic = {
323323
heritage_mon_khmer = { # from Rajas of Asia
324324
REPLACED_BY = {
325325
roa = { heritage_mon_khmer }
326-
aep = { heritage_khmer }
327326
wtwsms = { heritage_burman } # In WtWSMS, heritage_burman is localized as "Southeast Asian"
328327
}
329328
type = heritage

ImperatorToCK3/Data_Files/configurables/inventions_to_innovations_map.liquid

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# Supported CK3 mod flags for conditional blocks:
1313
# tfe (The Fallen Eagle)
1414
# wtwsms (When the World Stopped Making Sense)
15-
# aep (Asia Expansion Project)
1615
# vanilla (Vanilla CK3)
1716

1817

ImperatorToCK3/Data_Files/configurables/province_mappings/terra_indomita_to_aep.txt

Lines changed: 0 additions & 7988 deletions
This file was deleted.

ImperatorToCK3/Data_Files/configurables/removable_file_blocks_aep.txt

Lines changed: 0 additions & 105 deletions
This file was deleted.

ImperatorToCK3/Data_Files/configurables/replaceable_file_blocks_aep.txt

Lines changed: 0 additions & 27 deletions
This file was deleted.

ImperatorToCK3/Data_Files/configurables/succession_law_map.liquid

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# Supported CK3 mod flags for conditional blocks:
1919
# tfe (The Fallen Eagle)
2020
# wtwsms (When the World Stopped Making Sense)
21-
# aep (Asia Expansion Project)
2221
# vanilla (Vanilla CK3)
2322

2423

ImperatorToCK3/Data_Files/converter_globals/FAQ.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ A: The converter officially supports these Imperator mods:
2727
The converter also supports these CK3 mods:
2828
- The Fallen Eagle (https://steamcommunity.com/sharedfiles/filedetails/?id=2243307127)
2929
- When the World Stopped Making Sense (https://steamcommunity.com/sharedfiles/filedetails/?id=2858562094)
30-
- Asia Expansion Project (https://steamcommunity.com/workshop/filedetails/?id=2970440958)
3130
As for other mods, unless they change the map or how cultures, religions or flags work, you can probably use them.
3231
Total map overhauls are not supported (of course), and whatever new cultures and religions are brought by the mod - you'll have to add manually in the files in configurables folder.
3332

0 commit comments

Comments
 (0)