Ejemplo n.º 1
0
        internal static void CreateStatusItems()
        {
            const string Category = "BUILDING", NoGasMatch = "NoGasMatchToPump",
                         NoLiquidMatch = "NoLiquidMatchToPump";

            PUtil.AddStatusItemStrings(NoGasMatch, Category, SmartPumpsStrings.
                                       NOGASTOPUMP_NAME, SmartPumpsStrings.NOGASTOPUMP_DESC);
            PUtil.AddStatusItemStrings(NoLiquidMatch, Category, SmartPumpsStrings.
                                       NOLIQUIDTOPUMP_NAME, SmartPumpsStrings.NOLIQUIDTOPUMP_DESC);
            // String add must occur first
            NO_GAS_MATCH_TO_PUMP = new StatusItem(NoGasMatch, Category,
                                                  "status_item_no_gas_to_pump", StatusItem.IconType.Custom,
                                                  NotificationType.Neutral, false, OverlayModes.GasConduits.ID);
            NO_LIQUID_MATCH_TO_PUMP = new StatusItem(NoLiquidMatch, Category,
                                                     "status_item_no_liquid_to_pump", StatusItem.IconType.Custom,
                                                     NotificationType.Neutral, false, OverlayModes.LiquidConduits.ID);
        }