-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
…ings
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -215,11 +215,11 @@ public void LoadInnovationIds(ModFilesystem ck3ModFS) { | |
return cultureMapper.Match(irCulture, ck3ProvinceId, irProvinceId, country.HistoricalTag); | ||
} | ||
|
||
public void ImportTechnology(CountryCollection countries, CultureMapper cultureMapper, ProvinceMapper provinceMapper, InventionsDB inventionsDB, LocDB irLocDB) { // TODO: add tests for this | ||
public void ImportTechnology(CountryCollection countries, CultureMapper cultureMapper, ProvinceMapper provinceMapper, InventionsDB inventionsDB, LocDB irLocDB, OrderedDictionary<string, bool> ck3ModFlags) { // TODO: add tests for this | ||
Check warning on line 218 in ImperatorToCK3/CK3/Cultures/CultureCollection.cs GitHub Actions / Upload development build (linux-x64)
Check warning on line 218 in ImperatorToCK3/CK3/Cultures/CultureCollection.cs GitHub Actions / Upload development build (win-x64)
Check warning on line 218 in ImperatorToCK3/CK3/Cultures/CultureCollection.cs GitHub Actions / build (self-hosted, linux)
Check warning on line 218 in ImperatorToCK3/CK3/Cultures/CultureCollection.cs GitHub Actions / build (macos-14)
Check warning on line 218 in ImperatorToCK3/CK3/Cultures/CultureCollection.cs GitHub Actions / test (macos-14)
Check warning on line 218 in ImperatorToCK3/CK3/Cultures/CultureCollection.cs GitHub Actions / test_and_check_coverage
|
||
Logger.Info("Converting Imperator inventions to CK3 innovations..."); | ||
|
||
var innovationMapper = new InnovationMapper(); | ||
innovationMapper.LoadLinksAndBonuses("configurables/inventions_to_innovations_map.txt"); | ||
innovationMapper.LoadLinksAndBonuses("configurables/inventions_to_innovations_map.liquid", ck3ModFlags); | ||
innovationMapper.LogUnmappedInventions(inventionsDB, irLocDB); | ||
innovationMapper.RemoveMappingsWithInvalidInnovations(InnovationIds); | ||
|
||
|