示例#1
0
        /// <summary>
        /// Alters the tech tree for MD-471618 changes.
        /// </summary>
        internal static void TechTreeFix()
        {
            var  techs             = Db.Get().Techs;
            Tech solidTransport    = techs.TryGet("SolidTransport"),
                 solidSpace        = techs.TryGet("SolidSpace"),
                 roboticTools      = techs.TryGet("RoboticTools"),
                 improvedGasPiping = techs.TryGet("ImprovedGasPiping"),
                 portableGases     = techs.TryGet("PortableGasses"),
                 distillation      = techs.TryGet("Distillation"),
                 renaissanceArt    = techs.TryGet("RenaissanceArt"),
                 monuments         = techs.TryGet("Monuments"),
                 highTempForging   = techs.TryGet("HighTempForging");

            solidTransport.AddUnlockedItemIDs(SolidConduitOutboxConfig.ID,
                                              SolidLogicValveConfig.ID, AutoMinerConfig.ID);
            solidSpace.RemoveUnlockedItemIDs(SolidLogicValveConfig.ID,
                                             SolidConduitOutboxConfig.ID);
            improvedGasPiping.AddUnlockedItemIDs(GasBottlerConfig.ID);
            roboticTools.RemoveUnlockedItemIDs(AutoMinerConfig.ID);
            portableGases.RemoveUnlockedItemIDs(GasBottlerConfig.ID);
            distillation.AddUnlockedItemIDs(BottleEmptierGasConfig.ID);
            portableGases.RemoveUnlockedItemIDs(BottleEmptierGasConfig.ID);
            renaissanceArt.AddUnlockedItemIDs(MonumentBottomConfig.ID, MonumentMiddleConfig.ID,
                                              MonumentTopConfig.ID);
            monuments.RemoveUnlockedItemIDs(MonumentBottomConfig.ID, MonumentMiddleConfig.ID,
                                            MonumentTopConfig.ID);
            highTempForging.RemoveUnlockedItemIDs(GantryConfig.ID);
        }