Ejemplo n.º 1
0
 public static void Prefix()
 {
     BuildingUtils.AddBuildingToPlanScreen("Power", JacketedWireConfig.ID);
     BuildingUtils.AddBuildingToPlanScreen("Power", JacketedWireBridgeConfig.ID);
     BuildingUtils.AddBuildingToPlanScreen("Power", MegawattWireConfig.ID);
     BuildingUtils.AddBuildingToPlanScreen("Power", MegawattWireBridgeConfig.ID);
     BuildingUtils.AddBuildingToPlanScreen("Power", PowerTransformer100kWConfig.ID);
     BuildingUtils.AddBuildingToPlanScreen("Power", GigawattWireConfig.ID);
     BuildingUtils.AddBuildingToPlanScreen("Power", GigawattWireBridgeConfig.ID);
     BuildingUtils.AddBuildingToPlanScreen("Power", PowerTransformer2MWConfig.ID);
 }
Ejemplo n.º 2
0
            public static void Prefix()
            {
                // New strings
                Strings.Add("STRINGS.BUILDINGS.PREFABS.JACKETEDWIRE.NAME", UI.FormatAsLink("Insulated Wire", "JACKETEDWIRE"));
                Strings.Add("STRINGS.BUILDINGS.PREFABS.JACKETEDWIRE.EFFECT", "Connects buildings to " + UI.FormatAsLink("Wattage", "POWER") + " sources.\n\nCan be run through wall and floor tile.");
                Strings.Add("STRINGS.BUILDINGS.PREFABS.JACKETEDWIRE.DESC", "By coating the wires in plastic they suddenly became much safer.");

                Strings.Add("STRINGS.BUILDINGS.PREFABS.JACKETEDWIREBRIDGE.NAME", UI.FormatAsLink("Insulated Wire Bridge", "JACKETEDWIREBRIDGE"));
                Strings.Add("STRINGS.BUILDINGS.PREFABS.JACKETEDWIREBRIDGE.EFFECT", "Carries even more " + UI.FormatAsLink("Wattage", "POWER") + " than a " + UI.FormatAsLink("Conductive Wire Bridge", "WIREREFINEDBRIDGE") + " without overloading.\n\nRuns one wire section over another without joining them.\n\nCan be run through wall and floor tile.");
                Strings.Add("STRINGS.BUILDINGS.PREFABS.JACKETEDWIREBRIDGE.DESC", "By coating the wires in plastic they suddenly became much safer.");

                Strings.Add("STRINGS.BUILDINGS.PREFABS.MEGAWATTWIRE.NAME", UI.FormatAsLink("Mega-Watt Wire", "MEGAWATTWIRE"));
                Strings.Add("STRINGS.BUILDINGS.PREFABS.MEGAWATTWIRE.EFFECT", "Carries even more " + UI.FormatAsLink("Wattage", "POWER") + " than a " + UI.FormatAsLink("Conductive Wire Bridge", "WIREREFINEDHIGHWATTAGE") + " Heavi-Watt Conductive Wire\n\nCannot be run through wall and floor tile.");
                Strings.Add("STRINGS.BUILDINGS.PREFABS.MEGAWATTWIRE.DESC", "By coating the wires in plastic they suddenly became much safer.");

                Strings.Add("STRINGS.BUILDINGS.PREFABS.MEGAWATTWIREBRIDGE.NAME", UI.FormatAsLink("Mega-Watt Joint Plate", "MEGAWATTWIREBRIDGE"));
                Strings.Add("STRINGS.BUILDINGS.PREFABS.MEGAWATTWIREBRIDGE.EFFECT", "Carries even more " + UI.FormatAsLink("Wattage", "POWER") + " than a " + UI.FormatAsLink("Heavi-Watt Conductive Joint Plate", "WIREREFINEDBRIDGEHIGHWATTAGE") + "\n\nAllows " + UI.FormatAsLink("Mega-Watt Wire", "MEGAWATTWIRE") + " to be run through wall and floor tile.");
                Strings.Add("STRINGS.BUILDINGS.PREFABS.MEGAWATTWIREBRIDGE.DESC", "Joint plates can run Mega-Watt wires through walls without leaking gas or liquid.");

                Strings.Add("STRINGS.BUILDINGS.PREFABS.GIGAWATTWIRE.NAME", UI.FormatAsLink("Giga-Watt Wire", "GIGAWATTWIRE"));
                Strings.Add("STRINGS.BUILDINGS.PREFABS.GIGAWATTWIRE.EFFECT", "Carries even more " + UI.FormatAsLink("Wattage", "POWER") + "  han a " + UI.FormatAsLink("Mega-Watt Wire", "MEGAWATTWIRE") + "\n\nCannot be run through wall and floor tile.");
                Strings.Add("STRINGS.BUILDINGS.PREFABS.GIGAWATTWIRE.DESC", "By using special superconductive materials and low temperatures this wire can carry up to 1000 MW.");

                Strings.Add("STRINGS.BUILDINGS.PREFABS.GIGAWATTWIREBRIDGE.NAME", UI.FormatAsLink("Giga-Watt Joint Plate", "GIGAWATTWIREBRIDGE"));
                Strings.Add("STRINGS.BUILDINGS.PREFABS.GIGAWATTWIREBRIDGE.EFFECT", "Carries even more " + UI.FormatAsLink("Wattage", "POWER") + " than a " + UI.FormatAsLink("Mega-Watt Conductive Joint Plate", "MEGAWATTWIREBRIDGE") + "\n\nAllows " + UI.FormatAsLink("Giga-Watt Wire", "GIGAWATTWIRE") + " to be run through wall and floor tile.");
                Strings.Add("STRINGS.BUILDINGS.PREFABS.GIGAWATTWIREBRIDGE.DESC", "Joint plates can run Giga-Watt wires through walls without leaking gas or liquid.");

                Strings.Add("STRINGS.BUILDINGS.PREFABS.POWERTRANSFORMER100KW.NAME", UI.FormatAsLink("100 kW Power Transformer", "POWERTRANSFORMER100KW"));
                Strings.Add("STRINGS.BUILDINGS.PREFABS.POWERTRANSFORMER100KW.EFFECT", "Limits " + UI.FormatAsLink("Wattage", "POWER") + " flowing through the Transformer to 100 kW.");
                Strings.Add("STRINGS.BUILDINGS.PREFABS.POWERTRANSFORMER100KW.DESC", "For those times you need a really big transformer.");

                Strings.Add("STRINGS.BUILDINGS.PREFABS.POWERTRANSFORMER2MW.NAME", UI.FormatAsLink("2 MW Power Transformer", "POWERTRANSFORMER2MW"));
                Strings.Add("STRINGS.BUILDINGS.PREFABS.POWERTRANSFORMER2MW.EFFECT", "Limits " + UI.FormatAsLink("Wattage", "POWER") + " flowing through the Transformer to 2 MW.");
                Strings.Add("STRINGS.BUILDINGS.PREFABS.POWERTRANSFORMER2MW.DESC", "For those times you need a really big transformer.");

                Strings.Add("STRINGS.UI.UNITSUFFIXES.ELECTRICAL.MEGAWATT", "MW");
                Strings.Add("STRINGS.UI.UNITSUFFIXES.ELECTRICAL.GIGAWATT", "GW");
                Strings.Add("STRINGS.UI.UNITSUFFIXES.ELECTRICAL.TERAWATT", "TW");
                Strings.Add("STRINGS.MISC.TAGS.CONDUCTOR", "Conductor");

                BuildingUtils.AddBuildingToTechnology("PowerRegulation", JacketedWireConfig.ID);
                BuildingUtils.AddBuildingToTechnology("PowerRegulation", JacketedWireBridgeConfig.ID);
                BuildingUtils.AddBuildingToTechnology("PowerRegulation", MegawattWireConfig.ID);
                BuildingUtils.AddBuildingToTechnology("PowerRegulation", MegawattWireBridgeConfig.ID);
                BuildingUtils.AddBuildingToTechnology("PowerRegulation", GigawattWireConfig.ID);
                BuildingUtils.AddBuildingToTechnology("PowerRegulation", GigawattWireBridgeConfig.ID);
                BuildingUtils.AddBuildingToTechnology("PowerRegulation", PowerTransformer100kWConfig.ID);
                BuildingUtils.AddBuildingToTechnology("PowerRegulation", PowerTransformer2MWConfig.ID);
            }