Example #1
0
            public static void Prefix()
            {
                StringUtils.AddBuildingStrings(
                    InfiniteLiquidSourceConfig.ID,
                    InfiniteLiquidSourceConfig.DisplayName,
                    InfiniteLiquidSourceConfig.Description,
                    InfiniteLiquidSourceConfig.Effect);
                StringUtils.AddBuildingStrings(
                    InfiniteLiquidSinkConfig.ID,
                    InfiniteLiquidSinkConfig.DisplayName,
                    InfiniteLiquidSinkConfig.Description,
                    InfiniteLiquidSinkConfig.Effect);
                StringUtils.AddBuildingStrings(
                    InfiniteGasSourceConfig.ID,
                    InfiniteGasSourceConfig.DisplayName,
                    InfiniteGasSourceConfig.Description,
                    InfiniteGasSourceConfig.Effect);
                StringUtils.AddBuildingStrings(
                    InfiniteGasSinkConfig.ID,
                    InfiniteGasSinkConfig.DisplayName,
                    InfiniteGasSinkConfig.Description,
                    InfiniteGasSinkConfig.Effect);

                Strings.Add($"STRINGS.UI.UISIDESCREENS.INFINITESOURCE.FLOW.TITLE", InfiniteSourceControl.Title);
                Strings.Add($"STRINGS.UI.UISIDESCREENS.INFINITESOURCE.FLOW.TOOLTIP", InfiniteSourceControl.Tooltip);
                Strings.Add($"STRINGS.UI.UISIDESCREENS.INFINITESOURCE.TEMP.TITLE", InfiniteSourceTempControl.Title);
                Strings.Add($"STRINGS.UI.UISIDESCREENS.INFINITESOURCE.TEMP.TOOLTIP", InfiniteSourceTempControl.Tooltip);
            }
Example #2
0
        private static void Prefix()
        {
            Debug.Log("FanTiles: Adding strings...");

            StringUtils.AddBuildingStrings(
                GasFanConfig.Id,
                GasFanConfig.DisplayName,
                GasFanConfig.Description,
                GasFanConfig.Effect);

            StringUtils.AddBuildingStrings(
                HighPressureGasFan.Id,
                HighPressureGasFan.DisplayName,
                HighPressureGasFan.Description,
                HighPressureGasFan.Effect);

            StringUtils.AddBuildingStrings(
                CompressorGasFanConfig.Id,
                CompressorGasFanConfig.DisplayName,
                CompressorGasFanConfig.Description,
                CompressorGasFanConfig.Effect);

            StringUtils.AddBuildingStrings(
                CompressorLiquidFanConfig.Id,
                CompressorLiquidFanConfig.DisplayName,
                CompressorLiquidFanConfig.Description,
                CompressorLiquidFanConfig.Effect);

            StringUtils.AddBuildingStrings(
                LiquidFanConfig.Id,
                LiquidFanConfig.DisplayName,
                LiquidFanConfig.Description,
                LiquidFanConfig.Effect);
        }
Example #3
0
        public static void Prefix()
        {
            Debug.Log("Logic Schedule Sensor: Adding strings...");

            StringUtils.AddBuildingStrings(
                LogicScheduleSensorConfig.ID,
                ModStrings.STRINGS.BUILDINGS.LOGICSCHEDULESENSOR.NAME,
                ModStrings.STRINGS.BUILDINGS.LOGICSCHEDULESENSOR.DESC,
                ModStrings.STRINGS.BUILDINGS.LOGICSCHEDULESENSOR.EFFECT);
        }
Example #4
0
        public static void Prefix()
        {
            Debug.Log("TEC Tile: Adding strings...");

            StringUtils.AddBuildingStrings(
                TECTileConfig.ID,
                TECTileConfig.Name,
                TECTileConfig.Desc,
                TECTileConfig.Effect);
        }
Example #5
0
        public static void Prefix()
        {
            Debug.Log("Piped Deodorizer: Adding strings...");

            StringUtils.AddBuildingStrings(
                PipedDeodorizerConfig.ID,
                ModStrings.STRINGS.BUILDINGS.PIPEDDEODORIZER.NAME,
                ModStrings.STRINGS.BUILDINGS.PIPEDDEODORIZER.DESC,
                ModStrings.STRINGS.BUILDINGS.PIPEDDEODORIZER.EFFECT);

            StringUtils.ExportTranslationTemplates();
        }
        public override void OnLoad(Harmony harmony)
        {
            BuildingUtils.AddBuildingToPlanScreen(GameStrings.PlanMenuCategory.Power, SmallTransformerConfig.Id);

            StringUtils.AddBuildingStrings(
                SmallTransformerConfig.Id,
                SmallTransformerConfig.DisplayName,
                SmallTransformerConfig.Description,
                SmallTransformerConfig.Effect
                );
            base.OnLoad(harmony);
        }
        public override void OnLoad(Harmony harmony)
        {
            ModUtil.AddBuildingToPlanScreen(GameStrings.PlanMenuCategory.Furniture, ClothingLockerConfig.Id);

            StringUtils.AddBuildingStrings(
                ClothingLockerConfig.Id,
                ClothingLockerConfig.Name,
                ClothingLockerConfig.Desc,
                ClothingLockerConfig.Effect
                );

            base.OnLoad(harmony);
        }
Example #8
0
        public static void Prefix()
        {
            Debug.Log("Germicidal Lamps: Adding strings...");

            StringUtils.AddBuildingStrings(
                GermicideLampConfig.ID,
                ModStrings.STRINGS.BUILDINGS.GERMICIDELAMP.NAME,
                ModStrings.STRINGS.BUILDINGS.GERMICIDELAMP.DESC,
                ModStrings.STRINGS.BUILDINGS.GERMICIDELAMP.EFFECT);
            StringUtils.AddBuildingStrings(
                CeilingGermicideLampConfig.ID,
                ModStrings.STRINGS.BUILDINGS.CEILINGGERMICIDELAMP.NAME,
                ModStrings.STRINGS.BUILDINGS.CEILINGGERMICIDELAMP.DESC,
                ModStrings.STRINGS.BUILDINGS.CEILINGGERMICIDELAMP.EFFECT);
        }
Example #9
0
            public static void Prefix()
            {
                Debug.Log("Plastic Door: Adding strings...");

                StringUtils.AddBuildingStrings(
                    PlasticCurtainConfig.ID,
                    STRINGS.BUILDINGS.PREFABS.AC_PLASTICCURTAIN.NAME,
                    STRINGS.BUILDINGS.PREFABS.AC_PLASTICCURTAIN.DESC,
                    STRINGS.BUILDINGS.PREFABS.AC_PLASTICCURTAIN.EFFECT);

                StringUtils.AddStatusItemStrings(
                    STRINGS.BUILDING.STATUSITEMS.CHANGECURTAINCONTROLSTATE.ID,
                    "BUILDING",
                    STRINGS.BUILDING.STATUSITEMS.CHANGECURTAINCONTROLSTATE.NAME,
                    STRINGS.BUILDING.STATUSITEMS.CHANGECURTAINCONTROLSTATE.TOOLTIP);
            }
Example #10
0
        public static void Prefix()
        {
            Debug.Log("New Lights: Adding strings...");

            StringUtils.AddBuildingStrings(
                PlasticMeshTileConfig.ID,
                PlasticMeshTileConfig.Name,
                PlasticMeshTileConfig.Desc,
                PlasticMeshTileConfig.Effect
                );

            StringUtils.AddBuildingStrings(
                PlasticMembraneTileConfig.ID,
                PlasticMembraneTileConfig.Name,
                PlasticMembraneTileConfig.Desc,
                PlasticMembraneTileConfig.Effect);

            StringUtils.ExportTranslationTemplates();
        }
Example #11
0
        public static void Prefix()
        {
            Debug.Log("Stirling Engine: Adding strings...");

            StringUtils.AddBuildingStrings(
                StirlingEngineConfig.ID,
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE.NAME,
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE.DESC,
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE.EFFECT);

            StringUtils.AddStatusItemStrings(
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_ACTIVE.ID,
                "BUILDING",
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_ACTIVE.NAME,
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_ACTIVE.TOOLTIP);

            StringUtils.AddStatusItemStrings(
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_NO_HEAT_GRADIENT.ID,
                "BUILDING",
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_NO_HEAT_GRADIENT.NAME,
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_NO_HEAT_GRADIENT.TOOLTIP);

            StringUtils.AddStatusItemStrings(
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_TOO_HOT.ID,
                "BUILDING",
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_TOO_HOT.NAME,
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_TOO_HOT.TOOLTIP);

            StringUtils.AddStatusItemStrings(
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_ACTIVE_WATTAGE.ID,
                "BUILDING",
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_ACTIVE_WATTAGE.NAME,
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_ACTIVE_WATTAGE.TOOLTIP);

            StringUtils.AddStatusItemStrings(
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_HEAT_PUMPED.ID,
                "BUILDING",
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_HEAT_PUMPED.NAME,
                ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE_HEAT_PUMPED.TOOLTIP);
        }
Example #12
0
        public static void Prefix()
        {
            Debug.Log("Threshold Walls: Adding strings...");

            StringUtils.AddBuildingStrings(
                ThresholdWallConfig.ID,
                ThresholdWallConfig.Name,
                ThresholdWallConfig.Desc,
                ThresholdWallConfig.Effect);
            StringUtils.AddBuildingStrings(
                CautionThresholdWallConfig.ID,
                CautionThresholdWallConfig.Name,
                CautionThresholdWallConfig.Desc,
                CautionThresholdWallConfig.Effect);
            StringUtils.AddBuildingStrings(
                MetalThresholdWallConfig.ID,
                MetalThresholdWallConfig.Name,
                MetalThresholdWallConfig.Desc,
                MetalThresholdWallConfig.Effect);

            StringUtils.ExportTranslationTemplates();
        }
 public static void Prefix()
 {
     StringUtils.AddBuildingStrings(ConveyorFilterConfig.Id, ConveyorFilterConfig.DisplayName,
                                    ConveyorFilterConfig.Description, ConveyorFilterConfig.Effect);
     BuildingUtils.AddBuildingToPlanScreen(GameStrings.PlanMenuCategory.Shipping, ConveyorFilterConfig.Id);
 }
Example #14
0
 public static void Prefix()
 {
     StringUtils.AddBuildingStrings(SteelLadderConfig.Id, SteelLadderConfig.DisplayName, SteelLadderConfig.Description, SteelLadderConfig.Effect);
     AddBuildingToPlanScreen(PlanMenuCategory.Base, SteelLadderConfig.Id, LadderFastConfig.ID);
 }