protected override void ProcessMods() { _additional = new List <IAbsoluteDirectoryPath>(); _additionalAiA = new List <IAbsoluteDirectoryPath>(); _ifa = IfaState.None; _nonAiaMods = InputMods.Where(x => !IsAiaMod(x) && !IsAiaSAMod(x)).ToArray(); ProcessIronFrontMods(); AddPrimaryGameFolders(); ProcessAndAddNormalModsWithAdditionalGameRequirements(); AddNormalMods(); ProcessAndAddAiaMods(); }
void ProcessAndAddAiaMods() { //foreach (var mod in InputMods.Where(IsAiaMod)) //ProcessModIfHasAdditionalGameRequirements(mod); foreach (var mod in InputMods.Where(IsAiaSAMod)) { ProcessAiaLiteMod(mod); } // problematic? //OutputMods.RemoveAll(x => x..Split('/', '\\').First().Equals("@allinarma", StringComparison.CurrentCultureIgnoreCase)); OutputMods.RemoveAll(x => _additionalAiA.Contains(x)); OutputMods.AddRange(_additionalAiA); }