public static void Prefix() { Strings.Add("STRINGS.BUILDINGS.PREFABS.BUFFERSTORAGELOCKER.NAME", "Storage Buffer"); Strings.Add("STRINGS.BUILDINGS.PREFABS.BUFFERSTORAGELOCKER.DESC", "Stores large amounts of materials. Will stop delivering when nearly full"); Strings.Add("STRINGS.BUILDINGS.PREFABS.BUFFERSTORAGELOCKER.EFFECT", "Will stop delivering when nearly full"); ModUtil.AddBuildingToPlanScreen("Base", "BufferStorageLocker"); }
private static void Prefix() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{GemTileConfig.Id.ToUpperInvariant()}.NAME", GemTileConfig.DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{GemTileConfig.Id.ToUpperInvariant()}.DESC", GemTileConfig.Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{GemTileConfig.Id.ToUpperInvariant()}.EFFECT", GemTileConfig.Effect); ModUtil.AddBuildingToPlanScreen("Plumbing", GemTileConfig.Id); }
private static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Rocketry", UltraLightConfig.ID); }
private static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Oxygen", CoalScrubberPipedConfig.ID); }
// Token: 0x0600002C RID: 44 RVA: 0x000024B8 File Offset: 0x000006B8 public static void Prefix() { Debug.Log("HeavyBatteries - Prefix: "); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYBATTERY.NAME", "Heavy Battery"); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYBATTERY.DESC", "Heavy batteries hold lots of power and keep systems running longer before recharging."); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYBATTERY.EFFECT", "Stores most runoff " + UI.FormatAsLink("Power", "POWER") + " from generators, but loses charge over time."); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYSMARTBATTERY.NAME", "Heavy Smart Battery"); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYSMARTBATTERY.DESC", "Heavy smart batteries can send an automation signal while they require charging."); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYSMARTBATTERY.EFFECT", string.Concat("Stores most runoff ", UI.FormatAsLink("Power", "POWER"), " from generators, but loses charge over time.\n\nSends an ", UI.FormatAsLink("Active", "LOGIC"), " or ", UI.FormatAsLink("Standby", "LOGIC"), " signal based on the configuration of the Logic Activation Parameters.")); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYTRANSFORMER.NAME", "Heavy Transformer"); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYTRANSFORMER.DESC", "DO NOT TOUCH! SERIOUSLY!!!"); Strings.Add("STRINGS.BUILDINGS.PREFABS.HEAVYTRANSFORMER.EFFECT", string.Concat("Protects circuits from overloading by increasing or decreasing ", UI.FormatAsLink("Power", "POWER"), " flow.\n\nStores a great deal of ", UI.FormatAsLink("Power", "POWER"), ".")); bool emergencyBatteryEnabled = ConfigFile.config.emergencyBatteryEnabled; if (emergencyBatteryEnabled) { Strings.Add("STRINGS.BUILDINGS.PREFABS.EMERGENCYBATTERY.NAME", "Emergency Battery"); Strings.Add("STRINGS.BUILDINGS.PREFABS.EMERGENCYBATTERY.DESC", "Emergency batteries can send an automation signal while they require charging."); Strings.Add("STRINGS.BUILDINGS.PREFABS.EMERGENCYBATTERY.EFFECT", string.Concat("Stores half of runoff ", UI.FormatAsLink("Power", "POWER"), " from generators, but never loses charge.\n\nSends an ", UI.FormatAsLink("Active", "LOGIC"), " or ", UI.FormatAsLink("Standby", "LOGIC"), " signal based on the configuration of the Logic Activation Parameters.")); ModUtil.AddBuildingToPlanScreen("Power", "EmergencyBattery"); } ModUtil.AddBuildingToPlanScreen("Power", "HeavyBattery"); ModUtil.AddBuildingToPlanScreen("Power", "HeavySmartBattery"); ModUtil.AddBuildingToPlanScreen("Power", "HeavyTransformer"); }
private static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Utilities", UniversalCoolerConfig.ID); }
private static void Prefix() { Strings.Add("STRINGS.BUILDINGS.PREFABS.TRELLIS.NAME", "Trellis"); Strings.Add("STRINGS.BUILDINGS.PREFABS.TRELLIS.DESC", "Used to plant trees."); Strings.Add("STRINGS.BUILDINGS.PREFABS.TRELLIS.EFFECT", "For when you want to grow your very own tree."); Strings.Add("STRINGS.CREATURES.SPECIES.SEEDS.PALMERATREEPLANT.NAME", PalmeraTreeConfig.SeedName); Strings.Add("STRINGS.CREATURES.SPECIES.SEEDS.PALMERATREEPLANT.DESC", PalmeraTreeConfig.SeedDesc); Strings.Add("STRINGS.CREATURES.SPECIES.PALMERATREEPLANT.NAME", PalmeraTreeConfig.Name); Strings.Add("STRINGS.CREATURES.SPECIES.PALMERATREEPLANT.DESC", PalmeraTreeConfig.Desc); Strings.Add("STRINGS.CREATURES.SPECIES.PALMERATREEPLANT.DOMESTICATEDDESC", PalmeraTreeConfig.DomesticatedDesc); Strings.Add("STRINGS.ITEMS.FOOD." + SteamedPalmeraBerryConfig.ID.ToUpper() + ".NAME", SteamedPalmeraBerryConfig.NameStr); Strings.Add("STRINGS.ITEMS.FOOD." + SteamedPalmeraBerryConfig.ID.ToUpper() + ".DESC", SteamedPalmeraBerryConfig.Desc); Strings.Add("STRINGS.ITEMS.FOOD." + SteamedPalmeraBerryConfig.ID.ToUpper() + ".RECIPEDESC", SteamedPalmeraBerryConfig.RecipeDesc); Strings.Add("STRINGS.ITEMS.FOOD." + PalmeraBerryConfig.ID.ToUpper() + ".NAME", PalmeraBerryConfig.NameStr); Strings.Add("STRINGS.ITEMS.FOOD." + PalmeraBerryConfig.ID.ToUpper() + ".DESC", PalmeraBerryConfig.Desc); ModUtil.AddBuildingToPlanScreen("Food", TrellisConfig.ID); CROPS.CROP_TYPES.Add(new Crop.CropVal(PalmeraBerryConfig.ID, 12000f, 10)); }
private static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Refining", HeliumExtractorConfig.ID); }
static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Base", SmartGasReservoirConfig.ID); }
static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Oxygen", PollutedElectrolyserConfig.ID); }
private static void Prefix() { Debug.Log(" === GeneratedBuildings Prefix === " + InverseElectrolyzerConfig.ID); Strings.Add("STRINGS.BUILDINGS.PREFABS.INVERSEELECTROLYZER.NAME", "Burner 1IN"); Strings.Add("STRINGS.BUILDINGS.PREFABS.INVERSEELECTROLYZER.DESC", "Hydrogen and oxygen goes in, water comes out"); Strings.Add("STRINGS.BUILDINGS.PREFABS.INVERSEELECTROLYZER.EFFECT", "Converts " + STRINGS.UI.FormatAsLink("Oxygen", "OXYGEN") + " and " + STRINGS.UI.FormatAsLink("Hydrogen", "HYDROGEN") + " into " + STRINGS.UI.FormatAsLink("Water", "WATER") + ".\n\nGets oxygen from the environment."); ModUtil.AddBuildingToPlanScreen("Utilities", InverseElectrolyzerConfig.ID); Debug.Log(" === GeneratedBuildings Prefix === " + InverseElectrolyzerAltConfig.ID); Strings.Add("STRINGS.BUILDINGS.PREFABS.INVERSEELECTROLYZERALT.NAME", "Burner 2IN"); Strings.Add("STRINGS.BUILDINGS.PREFABS.INVERSEELECTROLYZERALT.DESC", "Hydrogen and oxygen goes in, water comes out"); Strings.Add("STRINGS.BUILDINGS.PREFABS.INVERSEELECTROLYZERALT.EFFECT", "Converts " + STRINGS.UI.FormatAsLink("Oxygen", "OXYGEN") + " and " + STRINGS.UI.FormatAsLink("Hydrogen", "HYDROGEN") + " into " + STRINGS.UI.FormatAsLink("Water", "WATER") + ".\n\nGets oxygen from an input."); ModUtil.AddBuildingToPlanScreen("Utilities", InverseElectrolyzerAltConfig.ID); /* * List<string> ls = new List<string>((string[])TUNING.BUILDINGS.PLANORDER[10].data); * ls.Add(InverseElectrolyzerConfig.ID); * TUNING.BUILDINGS.PLANORDER[10].data = (string[]) ls.ToArray(); * * TUNING.BUILDINGS.COMPONENT_DESCRIPTION_ORDER.Add(InverseElectrolyzerConfig.ID); */ /* * List<string> category = (List<string>)TUNING.BUILDINGS.PLANORDER.First(po => po.category == (HashedString) "Utilities").data; * category.Add(InverseElectrolyzerConfig.ID); */ }
static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Refining", BleachStoneRefineryConfig.ID); }
private static void Prefix() { LocString.CreateLocStringKeys(typeof(PREFABS), "STRINGS.BUILDINGS."); ModUtil.AddBuildingToPlanScreen("Base", HyperbaricLiquidReservoirConfig.ID); ModUtil.AddBuildingToPlanScreen("Base", HyperbaricGasReservoirConfig.ID); }
public static void Prefix() { var tech = "ImprovedCombustion"; var buildingId = GeneticSamplerConfig.ID; var techList = new List <string>(Database.Techs.TECH_GROUPING[tech]) { buildingId }; Database.Techs.TECH_GROUPING[tech] = techList.ToArray(); var category = "Refining"; //string addAfterBuildingId = null; ModUtil.AddBuildingToPlanScreen(category, buildingId); /* var index = TUNING.BUILDINGS.PLANORDER.FindIndex(x => x.category == category); * if (index == -1) * return; * var planOrderList = TUNING.BUILDINGS.PLANORDER[index].data as IList<string>; * if (planOrderList == null) * { * return; * } * var neighborIdx = planOrderList.IndexOf(addAfterBuildingId); * if (neighborIdx != -1) * planOrderList.Insert(neighborIdx + 1, buildingId); * else * planOrderList.Add(buildingId);*/ }
private static void Prefix() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteLiquidSinkConfig.Id.ToUpperInvariant()}.NAME", InfiniteLiquidSinkConfig.DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteLiquidSinkConfig.Id.ToUpperInvariant()}.DESC", InfiniteLiquidSinkConfig.Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteLiquidSinkConfig.Id.ToUpperInvariant()}.EFFECT", InfiniteLiquidSinkConfig.Effect); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteLiquidSourceConfig.Id.ToUpperInvariant()}.NAME", InfiniteLiquidSourceConfig.DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteLiquidSourceConfig.Id.ToUpperInvariant()}.DESC", InfiniteLiquidSourceConfig.Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteLiquidSourceConfig.Id.ToUpperInvariant()}.EFFECT", InfiniteLiquidSourceConfig.Effect); Strings.Add($"STRINGS.UI.UISIDESCREENS.{InfiniteLiquidSourceConfig.Id.ToUpperInvariant()}.TITLE", InfiniteLiquidSourceConfig.TemperatureSliderTitle); Strings.Add($"STRINGS.UI.UISIDESCREENS.{InfiniteLiquidSourceConfig.Id.ToUpperInvariant()}.TOOLTIP", InfiniteLiquidSourceConfig.TemperatureSliderTooltip); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteGasSinkConfig.Id.ToUpperInvariant()}.NAME", InfiniteGasSinkConfig.DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteGasSinkConfig.Id.ToUpperInvariant()}.DESC", InfiniteGasSinkConfig.Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteGasSinkConfig.Id.ToUpperInvariant()}.EFFECT", InfiniteGasSinkConfig.Effect); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteGasSourceConfig.Id.ToUpperInvariant()}.NAME", InfiniteGasSourceConfig.DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteGasSourceConfig.Id.ToUpperInvariant()}.DESC", InfiniteGasSourceConfig.Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{InfiniteGasSourceConfig.Id.ToUpperInvariant()}.EFFECT", InfiniteGasSourceConfig.Effect); Strings.Add($"STRINGS.UI.UISIDESCREENS.{InfiniteGasSourceConfig.Id.ToUpperInvariant()}.TITLE", InfiniteGasSourceConfig.TemperatureSliderTitle); Strings.Add($"STRINGS.UI.UISIDESCREENS.{InfiniteGasSourceConfig.Id.ToUpperInvariant()}.TOOLTIP", InfiniteGasSourceConfig.TemperatureSliderTooltip); Strings.Add($"STRINGS.UI.UISIDESCREENS.INFINITESOURCE.FLOW.TITLE", InfiniteSourceFlowControl.FlowTitle); Strings.Add($"STRINGS.UI.UISIDESCREENS.INFINITESOURCE.FLOW.TOOLTIP", InfiniteSourceFlowControl.FlowTooltip); ModUtil.AddBuildingToPlanScreen("Plumbing", InfiniteLiquidSinkConfig.Id); ModUtil.AddBuildingToPlanScreen("Plumbing", InfiniteLiquidSourceConfig.Id); ModUtil.AddBuildingToPlanScreen("HVAC", InfiniteGasSinkConfig.Id); ModUtil.AddBuildingToPlanScreen("HVAC", InfiniteGasSourceConfig.Id); }
private static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Food", MyCreatureFeederConfig.ID); }
static void Prefix() { Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Conveyance", AdvancedSolidConduitElementSensorConfig.ID); }
public static void Prefix() { string str = "STRINGS.BUILDINGS.PREFABS."; LogicGateDiodeBuildingPatch.SetString(str + LogicGateDiodeBuildingPatch.ID_UPPER, LogicGateDiodeBuildingPatch.NAME, LogicGateDiodeBuildingPatch.DESC, LogicGateDiodeBuildingPatch.EFFC); ModUtil.AddBuildingToPlanScreen("Automation", "LogicDiodeGate"); }
private static void Prefix() { Strings.Add("STRINGS.BUILDINGS.PREFABS.COUCH.NAME", "Couch"); Strings.Add("STRINGS.BUILDINGS.PREFABS.COUCH.DESC", "Comfier than it looks!"); Strings.Add("STRINGS.BUILDINGS.PREFABS.COUCH.EFFECT", "Perfect for some relaxation."); ModUtil.AddBuildingToPlanScreen("Furniture", CouchConfig.ID); }
public static void Setup() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{ID.ToUpperInvariant()}.NAME", "<link=\"" + ID + "\">" + Name + "</link>"); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{ID.ToUpperInvariant()}.DESC", Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{ID.ToUpperInvariant()}.EFFECT", Effect); ModUtil.AddBuildingToPlanScreen("Base", ID); }
private static void Prefix() { Strings.Add("STRINGS.BUILDINGS.PREFABS.ALGAEGROWER.NAME", "Algae Grower"); Strings.Add("STRINGS.BUILDINGS.PREFABS.ALGAEGROWER.DESC", "Algae colony, Duplicant colony... we're more alike than we are different."); Strings.Add("STRINGS.BUILDINGS.PREFABS.ALGAEGROWER.EFFECT", "Consumes " + ELEMENTS.FERTILIZER.NAME + ", " + ELEMENTS.CARBONDIOXIDE.NAME + " and " + ELEMENTS.WATER.NAME + " to grow " + ELEMENTS.ALGAE.NAME + " and emit some " + ELEMENTS.OXYGEN.NAME + ".\n\nRequires " + UI.FormatAsLink("Light", "LIGHT") + " to grow."); ModUtil.AddBuildingToPlanScreen("Oxygen", AlgaeGrowerConfig.ID); }
public static LocString LOGIC_PORT_INACTIVE = "Otherwise, sends a " + UI.FormatAsAutomationState(UI.LOGIC_PORTS.GATE_SINGLE_INPUT_ONE_INACTIVE, UI.AutomationState.Standby); //"Red Signal" static void Prefix() { Debug.Log("Prefix"); Strings.Add(NAME.key.String, NAME.text); Strings.Add(DESC.key.String, DESC.text); Strings.Add(EFFECT.key.String, EFFECT.text); ModUtil.AddBuildingToPlanScreen("Conveyance", AdvancedSolidConduitTemperatureSensorConfig.ID);//Shipping }
public static void Prefix() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{PipedAlgaeTerrariumConfig.Id.ToUpperInvariant()}.NAME", PipedAlgaeTerrariumConfig.DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{PipedAlgaeTerrariumConfig.Id.ToUpperInvariant()}.DESC", PipedAlgaeTerrariumConfig.Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{PipedAlgaeTerrariumConfig.Id.ToUpperInvariant()}.EFFECT", PipedAlgaeTerrariumConfig.Effect); ModUtil.AddBuildingToPlanScreen("Oxygen", PipedAlgaeTerrariumConfig.Id); }
private static void Prefix() { Strings.Add("STRINGS.BUILDINGS.PREFABS.SOLIDCONDUITSHUTOFF.NAME", "Conveyor Rail Shutoff"); Strings.Add("STRINGS.BUILDINGS.PREFABS.SOLIDCONDUITSHUTOFF.DESC", "Your items won't go anywhere unless you let them."); Strings.Add("STRINGS.BUILDINGS.PREFABS.SOLIDCONDUITSHUTOFF.EFFECT", "Automatically turns flow of objects on the Conveyor Rail on or off using Automation technology."); ModUtil.AddBuildingToPlanScreen("Conveyance", SolidConduitShutoffConfig.ID); }
private static void Prefix() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{Id.ToUpperInvariant()}.NAME", DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{Id.ToUpperInvariant()}.DESC", Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{Id.ToUpperInvariant()}.EFFECT", Effect); ModUtil.AddBuildingToPlanScreen("HVAC", Id); }
private static void Prefix() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{CoalCompConfig.ID.ToUpper()}.NAME", UI.FormatAsLink("Coal Compactinator", CoalCompConfig.ID)); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{CoalCompConfig.ID.ToUpper()}.EFFECT", string.Concat("Uses piped input to Convert ", UI.FormatAsLink("Carbon Dioxide", "CARBONDIOXIDE"), " to ", UI.FormatAsLink("Coal", "CARBON"), " with ", UI.FormatAsLink("Oxygen", "OXYGEN"), " Piped out")); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{CoalCompConfig.ID.ToUpper()}.DESC", string.Concat("A piped version of the ", UI.FormatAsLink("Coal Synthisizer", CoalSynthConfig.ID), " able to Compress Carbon from CO2 Back into Coal with some Bonus Oxgyen")); ModUtil.AddBuildingToPlanScreen("Oxygen", CoalCompConfig.ID); }
public static void Prefix() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{DNAStatueConfig.Id.ToUpperInvariant()}.NAME", DNAStatueConfig.DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{DNAStatueConfig.Id.ToUpperInvariant()}.DESC", DNAStatueConfig.Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{DNAStatueConfig.Id.ToUpperInvariant()}.EFFECT", DNAStatueConfig.Effect); ModUtil.AddBuildingToPlanScreen("Furniture", DNAStatueConfig.Id); }
private static void Prefix() { Strings.Add("STRINGS.BUILDINGS.PREFABS.ALGAEHABITATPIPED.NAME", "Piped Algae Terrarium"); Strings.Add("STRINGS.BUILDINGS.PREFABS.ALGAEHABITATPIPED.DESC", "Algae colony, Duplicant colony... we're more alike than we are different."); Strings.Add("STRINGS.BUILDINGS.PREFABS.ALGAEHABITATPIPED.EFFECT", "Consumes " + (string)ELEMENTS.ALGAE.NAME + " to produce " + (string)ELEMENTS.OXYGEN.NAME + " and remove some " + (string)ELEMENTS.CARBONDIOXIDE.NAME + ".\n\nGains a 10 % efficiency boost in direct " + UI.FormatAsLink("Light", "LIGHT") + "."); ModUtil.AddBuildingToPlanScreen("Oxygen", PipedAlgaeTerrariumConfig.ID); }
private static void Prefix() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{FusionReactorConfig.ID.ToUpper()}.NAME", string.Concat("Fusion ", UI.FormatAsLink("\"Stellarator\"", FusionReactorConfig.ID), " Reactor")); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{FusionReactorConfig.ID.ToUpper()}.EFFECT", string.Concat("Smashing Atoms together")); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{FusionReactorConfig.ID.ToUpper()}.DESC", string.Concat("This Fusion Reactor is a Highly Powerful Generator that Gets really Hot.\nit's based on the Stellarator fusion reactor and uses Stellar nucleosynthesis to create Metal from Hydrogen")); ModUtil.AddBuildingToPlanScreen("Power", FusionReactorConfig.ID); }
public static void Prefix() { Strings.Add($"STRINGS.BUILDINGS.PREFABS.{RadiumFuelRodConfig.Id.ToUpperInvariant()}.NAME", RadiumFuelRod.DisplayName); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{RadiumFuelRodConfig.Id.ToUpperInvariant()}.DESC", RadiumFuelRod.Description); Strings.Add($"STRINGS.BUILDINGS.PREFABS.{RadiumFuelRodConfig.Id.ToUpperInvariant()}.EFFECT", RadiumFuelRod.Effect); ModUtil.AddBuildingToPlanScreen(RadiumFuelRod.BuildTab, RadiumFuelRodConfig.Id); }