示例#1
0
 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();
 }
示例#2
0
            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);
            }