Example #1
0
    public void RemoveSolveBasedModules()
    {
        if (removedSolveBasedModules)
        {
            return;
        }
        removedSolveBasedModules = true;

        foreach (var module in Modules.Where(x => !x.Solved && solveBased.Contains(x.BombComponent.GetModuleDisplayName())))
        {
            ComponentSolver.HandleForcedSolve(module);

            module.Unsupported = true;
            if (module.Solver != null)
            {
                module.Solver.UnsupportedModule = true;
            }
        }
    }
Example #2
0
    public void SolveBossModules()
    {
        if (solveBossModules)
        {
            return;
        }
        solveBossModules = true;

        foreach (var module in Modules.Where(x => !x.Solved && x.BombComponent.GetModuleID().IsBossMod()))
        {
            ComponentSolver.HandleForcedSolve(module);

            module.Unsupported = true;
            if (module.Solver != null)
            {
                module.Solver.UnsupportedModule = true;
            }
        }
    }