示例#1
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);
            }
示例#2
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);
        }