Пример #1
0
        public static void Prefix()
        {
            Debug.Log(" === WallPumps v. 2.2 LoadGeneratedBuildings === ");

            AddTags.AddStrings(WallPumps.WallMachineRefinedMetals, "Wall Machine Refined Metals");
            AddTags.AddStrings(WallPumps.WallMachineMetals, "Wall Machine Metals");
            WallPumpsConfig config = WallPumpsConfig.GetConfig();

            GasWallPump.Setup();
            LiquidWallPump.Setup();
            GasWallVent.Setup();
            GasWallVentHighPressure.Setup();
            LiquidWallVent.Setup();
        }
Пример #2
0
        public static void Postfix()
        {
            Debug.Log(" === WallPumps v. 2.6 Db_Initialize Postfix === ");
            // Add buildings
            GasWallPump.Setup();
            LiquidWallPump.Setup();
            GasWallVent.Setup();
            GasWallVentHighPressure.Setup();
            LiquidWallVent.Setup();

            // Add tech tree/building menu entries
            GasWallPump.AddToMenus();
            LiquidWallPump.AddToMenus();
            GasWallVent.AddToMenus();
            GasWallVentHighPressure.AddToMenus();
            LiquidWallVent.AddToMenus();
        }