-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invention mappings for The Fallen Eagle mod and improved compatibilit…
- Loading branch information
1 parent
b3b82b8
commit fd808fa
Showing
15 changed files
with
5,147 additions
and
726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 (win-x64)
Check warning on line 218 in ImperatorToCK3/CK3/Cultures/CultureCollection.cs GitHub Actions / Upload development build (linux-x64)
|
||
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); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.