Decompiled source of MoreMegaStructure v1.8.9
MoreMegaStructure.dll
Decompiled 2 hours ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using System.Text; using BepInEx; using BepInEx.Configuration; using CommonAPI; using CommonAPI.Systems; using CommonAPI.Systems.ModLocalization; using HarmonyLib; using NGPT; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.Events; using UnityEngine.UI; using crecheng.DSPModSave; using xiaoye97; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("Water electrolysis")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Water electrolysis")] [assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("7c9af07a-64ff-409f-b5bc-b78e172b5e36")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] namespace MoreMegaStructure; [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("Gnimaerd.DSP.plugin.MMSBottleneckCompat", "MMSBottleneckCompat", "1.0")] public class MMSBottleneckCompat : BaseUnityPlugin { private static readonly List<int> StarAssemblyIndex = new List<int>(); public void Awake() { } } [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("Gnimaerd.DSP.plugin.MMSCCBSCompat", "MMSCCBSCompat", "1.0")] public class CustomCreateBirthStarCompat : BaseUnityPlugin { public static bool enabled; public void Awake() { enabled = true; } } [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("Gnimaerd.DSP.plugin.MMSGS2Compat", "MMSGS2Compat", "1.0")] public class GalacticScaleCompat : BaseUnityPlugin { public static bool enabled; public void Awake() { enabled = true; } } public class MegaButtonGroupBehaviour { private static bool cleared; private static float targetX; public static float currentX; public static void ShowSetMegaGroup() { targetX = 0f; if (UIRoot.instance?.uiGame?.dysonEditor?.selection != null && !cleared) { try { cleared = true; UIRoot.instance.uiGame.dysonEditor.selection.ClearAllSelection(); } catch (Exception) { } } } public static void HideSetMegaGroup() { targetX = -270f; cleared = false; } public static void SetMegaGroupMove() { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00c8: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_014c: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_012b: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Unknown result type (might be due to invalid IL or missing references) //IL_0137: Unknown result type (might be due to invalid IL or missing references) //IL_016e: Unknown result type (might be due to invalid IL or missing references) //IL_0174: Unknown result type (might be due to invalid IL or missing references) //IL_017a: Unknown result type (might be due to invalid IL or missing references) //IL_01d8: Unknown result type (might be due to invalid IL or missing references) //IL_0223: Unknown result type (might be due to invalid IL or missing references) bool flag = false; Transform transform = MoreMegaStructure.setMegaGroupObj.transform; Vector3 localPosition = transform.localPosition; if (MoreMegaStructure.NoUIAnimation.Value) { if (localPosition.x != targetX) { currentX = targetX; transform.localPosition = new Vector3(currentX, localPosition.y, localPosition.z); flag = true; } } else if (targetX > localPosition.x + 0.5f) { float num = targetX - localPosition.x; float num2 = Math.Max(num * 0.2f, 0.5f); currentX = localPosition.x + num2; transform.localPosition = new Vector3(currentX, localPosition.y, localPosition.z); flag = true; } else if (targetX < localPosition.x - 0.5f) { float num3 = targetX - localPosition.x; float num4 = Math.Min(num3 * 0.2f, -0.5f); currentX = localPosition.x + num4; transform.localPosition = new Vector3(currentX, localPosition.y, localPosition.z); flag = true; } else if (targetX != localPosition.x) { currentX = targetX; transform.localPosition = new Vector3(currentX, localPosition.y, localPosition.z); flag = true; } if (flag) { MoreMegaStructure.SetMegaStructureWarningText.text = Localization.Translate("鼠标触碰左侧黄条以规划巨构"); float num5 = (-200f - currentX) * 1f / 70f; ((Graphic)MoreMegaStructure.SetMegaStructureWarningText).color = new Color(1f, 1f, 0.57f, num5); float num6 = (0f - currentX) * 1f / 270f; if (num6 > 1f) { num6 = 1f; } MoreMegaStructure.LeftMegaBuildWarning.transform.localScale = new Vector3(num6, 1f, 1f); } } } internal static class MMSProtos { public class StringProto { public string Name { get; set; } public string ZHCN { get; set; } public string ENUS { get; set; } public void RegisterTranslation() { LocalizationModule.RegisterTranslation(Name, ENUS, ZHCN, ""); } } public static int StarCannonTechId = 1918; public static int componentId = 9500; internal static void RefreshInitAll() { ItemProto.InitFluids(); ItemProto.InitItemIds(); ItemProto.InitFuelNeeds(); ItemProto.InitItemIndices(); ItemProto.InitMechaMaterials(); } public static void ItemsDesc() { } internal static void AddNewItems() { //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0272: Unknown result type (might be due to invalid IL or missing references) //IL_0286: Unknown result type (might be due to invalid IL or missing references) //IL_0323: Unknown result type (might be due to invalid IL or missing references) //IL_0337: Unknown result type (might be due to invalid IL or missing references) //IL_03d6: Unknown result type (might be due to invalid IL or missing references) //IL_03ea: Unknown result type (might be due to invalid IL or missing references) //IL_045d: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Unknown result type (might be due to invalid IL or missing references) //IL_0520: Unknown result type (might be due to invalid IL or missing references) //IL_0534: Unknown result type (might be due to invalid IL or missing references) //IL_060b: Unknown result type (might be due to invalid IL or missing references) //IL_061f: Unknown result type (might be due to invalid IL or missing references) //IL_06e8: Unknown result type (might be due to invalid IL or missing references) //IL_06fc: Unknown result type (might be due to invalid IL or missing references) //IL_07a8: Unknown result type (might be due to invalid IL or missing references) //IL_07bc: Unknown result type (might be due to invalid IL or missing references) //IL_0868: Unknown result type (might be due to invalid IL or missing references) //IL_087c: Unknown result type (might be due to invalid IL or missing references) //IL_0928: Unknown result type (might be due to invalid IL or missing references) //IL_093c: Unknown result type (might be due to invalid IL or missing references) //IL_09ea: Unknown result type (might be due to invalid IL or missing references) //IL_09fe: Unknown result type (might be due to invalid IL or missing references) //IL_0a9d: Unknown result type (might be due to invalid IL or missing references) //IL_0aa2: Unknown result type (might be due to invalid IL or missing references) //IL_0b28: Unknown result type (might be due to invalid IL or missing references) int num = MoreMegaStructure.pagenum * 1000; int num2 = 0; bool flag = true; num = MoreMegaStructure.pagenum * 1000 + 100; num2 = -100; RecipeProto val = ((ProtoSet<RecipeProto>)(object)LDB.recipes).Select(51); RecipeProto val2 = MethedEx.Copy<RecipeProto>(val); if (MoreMegaStructure.GenesisCompatibility) { val2.Type = (ERecipeType)10; } ItemProto val3 = ((ProtoSet<ItemProto>)(object)LDB.items).Select(1303); int num3 = 0; if (MoreMegaStructure.GenesisCompatibility) { num3 = -200; } ProtoRegistry.RegisterItem(9480, Localization.Translate("引力发生装置"), Localization.Translate("引力发生装置描述"), "Assets/MegaStructureTab/gravitygenerator", 101 + num + num2, 100, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.2f, 0.9f, 0.3f))); ProtoRegistry.RegisterRecipe(num3 + 530, (ERecipeType)4, 180, new int[2] { 1107, 1127 }, new int[2] { 1, 1 }, new int[1] { 9480 }, new int[1] { 1 }, "引力发生装置描述", 1704, 101 + num + num2, "Assets/MegaStructureTab/gravitygenerator"); ProtoRegistry.RegisterItem(9481, Localization.Translate("位面约束环"), Localization.Translate("位面约束环描述"), "Assets/MegaStructureTab/constrainring", 102 + num + num2, 100, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.4f, 0.08f, 0.4f))); if (MoreMegaStructure.GenesisCompatibility) { ProtoRegistry.RegisterRecipe(num3 + 531, (ERecipeType)4, 180, new int[3] { 1205, 1119, 1126 }, new int[3] { 2, 1, 1 }, new int[1] { 9481 }, new int[1] { 2 }, "位面约束环描述", 1141, 102 + num + num2, "Assets/MegaStructureTab/constrainring"); } else { ProtoRegistry.RegisterRecipe(num3 + 531, (ERecipeType)4, 180, new int[2] { 1205, 1304 }, new int[2] { 2, 1 }, new int[1] { 9481 }, new int[1] { 2 }, "位面约束环描述", 1141, 102 + num + num2, "Assets/MegaStructureTab/constrainring"); } ProtoRegistry.RegisterItem(9482, Localization.Translate("引力钻头"), Localization.Translate("引力钻头描述"), "Assets/MegaStructureTab/gravitydrill2", 103 + num + num2, 50, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.black, new Color(0.3f, 0.9f, 0.3f))); ProtoRegistry.RegisterRecipe(num3 + 532, (ERecipeType)4, 180, new int[3] { 9480, 9481, 1209 }, new int[3] { 1, 1, 1 }, new int[1] { 9482 }, new int[1] { 1 }, "引力钻头描述", 1704, 103 + num + num2, "Assets/MegaStructureTab/gravitydrill2"); ProtoRegistry.RegisterItem(9483, Localization.Translate("隧穿激发装置"), Localization.Translate("隧穿激发装置描述"), "Assets/MegaStructureTab/tunnelingexciter2", 104 + num + num2, 200, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.2f, 0.1f, 0f))); ProtoRegistry.RegisterRecipe(num3 + 533, (ERecipeType)4, 360, new int[2] { 1303, 1014 }, new int[2] { 1, 2 }, new int[1] { 9483 }, new int[1] { 6 }, "隧穿激发装置描述", 1703, 104 + num + num2, "Assets/MegaStructureTab/tunnelingexciter2"); ProtoRegistry.RegisterItem(9484, Localization.Translate("谐振盘"), Localization.Translate("谐振盘描述"), "Assets/MegaStructureTab/resonancedisc", 105 + num + num2, 200, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.gray, new Color(0.4f, 0.4f, 0.8f))); ProtoRegistry.RegisterRecipe(num3 + 534, (ERecipeType)4, 240, new int[3] { 9483, 1113, 1305 }, new int[3] { 3, 2, 1 }, new int[1] { 9484 }, new int[1] { 1 }, "谐振盘描述", 1303, 105 + num + num2, "Assets/MegaStructureTab/resonancedisc"); IconDesc defaultIconDesc = ProtoRegistry.GetDefaultIconDesc(Color.gray, new Color(0.6f, 0.6f, 0.9f)); defaultIconDesc.solidAlpha = 0.1f; ProtoRegistry.RegisterItem(9485, Localization.Translate("光子探针"), Localization.Translate("光子探针描述"), "Assets/MegaStructureTab/photonprobeflipsmall", 106 + num + num2, 200, (EItemType)3, defaultIconDesc); ProtoRegistry.RegisterRecipe(num3 + 535, (ERecipeType)4, 240, new int[2] { 1404, 1208 }, new int[2] { 2, 1 }, new int[1] { 9485 }, new int[1] { 1 }, "光子探针描述", 1504, 106 + num + num2, "Assets/MegaStructureTab/photonprobeflipsmall"); IconDesc defaultIconDesc2 = ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0f, 0.7f, 1f)); defaultIconDesc2.solidAlpha = 0f; ProtoRegistry.RegisterItem(9486, Localization.Translate("量子计算机"), Localization.Translate("量子计算机描述"), "Assets/MegaStructureTab/quantumcomputer3", 107 + num + num2, 200, (EItemType)3, defaultIconDesc2); ProtoRegistry.RegisterRecipe(num3 + 536, (ERecipeType)4, 720, new int[3] { 1305, 1402, 9483 }, new int[3] { 3, 2, 1 }, new int[1] { 9486 }, new int[1] { 1 }, "量子计算机描述", 1303, 107 + num + num2, "Assets/MegaStructureTab/quantumcomputer3"); ProtoRegistry.RegisterItem(9487, Localization.Translate("星际组装厂组件"), Localization.Translate("星际组装厂组件描述"), "Assets/MegaStructureTab/iacomponent", 108 + num + num2, 200, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.7f, 0.2f, 0.7f))); ProtoRegistry.RegisterRecipe(num3 + 537, (ERecipeType)4, 480, new int[3] { 1125, 2305, 1143 }, new int[3] { 3, 3, 1 }, new int[1] { 9487 }, new int[1] { 1 }, "星际组装厂组件描述", 1303, 108 + num + num2, "Assets/MegaStructureTab/iacomponent"); RecipeProto val4 = ((ProtoSet<RecipeProto>)(object)LDB.recipes).Select(83); ItemProto val5 = ((ProtoSet<ItemProto>)(object)LDB.items).Select(1503); ProtoRegistry.RegisterItem(9488, Localization.Translate("物质解压器运载火箭"), Localization.Translate("物质解压器运载火箭描述"), "Assets/MegaStructureTab/rocketMatter", 201 + num, 20, (EItemType)4, ProtoRegistry.GetDefaultIconDesc(new Color(1f, 0.9f, 0.9f), new Color(0.7f, 0.2f, 0.2f))); RecipeProto val6 = ProtoRegistry.RegisterRecipe(num3 + 538, (ERecipeType)4, 480, new int[3] { 9482, 9484, 1802 }, new int[3] { 2, 1, 2 }, new int[1] { 9488 }, new int[1] { 1 }, "物质解压器运载火箭描述", 1522, 201 + num, "Assets/MegaStructureTab/rocketMatter"); ProtoRegistry.RegisterItem(9489, Localization.Translate("科学枢纽运载火箭"), Localization.Translate("科学枢纽运载火箭描述"), "Assets/MegaStructureTab/rocketScience", 202 + num, 20, (EItemType)4, ProtoRegistry.GetDefaultIconDesc(new Color(1f, 1f, 0.9f), new Color(0.7f, 0.7f, 0.2f))); RecipeProto val7 = ProtoRegistry.RegisterRecipe(num3 + 539, (ERecipeType)4, 480, new int[3] { 9481, 9486, 1802 }, new int[3] { 3, 1, 2 }, new int[1] { 9489 }, new int[1] { 1 }, "科学枢纽运载火箭描述", 1522, 202 + num, "Assets/MegaStructureTab/rocketScience"); ProtoRegistry.RegisterItem(9490, Localization.Translate("谐振发射器运载火箭"), Localization.Translate("谐振发射器运载火箭描述"), "Assets/MegaStructureTab/rocketWarp", 203 + num, 20, (EItemType)4, ProtoRegistry.GetDefaultIconDesc(new Color(0.9f, 1f, 0.9f), new Color(0.2f, 0.7f, 0.2f))); RecipeProto val8 = ProtoRegistry.RegisterRecipe(num3 + 540, (ERecipeType)4, 480, new int[3] { 9480, 9484, 1802 }, new int[3] { 1, 4, 2 }, new int[1] { 9490 }, new int[1] { 1 }, "谐振发射器运载火箭描述", 1522, 203 + num, "Assets/MegaStructureTab/rocketWarp"); ProtoRegistry.RegisterItem(9491, Localization.Translate("星际组装厂运载火箭"), Localization.Translate("星际组装厂运载火箭描述"), "Assets/MegaStructureTab/rocketAssembly", 204 + num, 20, (EItemType)4, ProtoRegistry.GetDefaultIconDesc(new Color(0.9f, 0.9f, 1f), new Color(0.1f, 0.5f, 0.7f))); RecipeProto val9 = ProtoRegistry.RegisterRecipe(num3 + 541, (ERecipeType)4, 480, new int[2] { 9487, 1802 }, new int[2] { 2, 2 }, new int[1] { 9491 }, new int[1] { 1 }, "星际组装厂运载火箭描述", 1522, 204 + num, "Assets/MegaStructureTab/rocketAssembly"); ProtoRegistry.RegisterItem(9492, Localization.Translate("晶体重构器运载火箭"), Localization.Translate("晶体重构器运载火箭描述"), "Assets/MegaStructureTab/rocketCrystal", 205 + num, 20, (EItemType)4, ProtoRegistry.GetDefaultIconDesc(new Color(1f, 0.9f, 1f), new Color(0.7f, 0.2f, 0.7f))); RecipeProto val10 = ProtoRegistry.RegisterRecipe(num3 + 542, (ERecipeType)4, 480, new int[3] { 9485, 1802, 1305 }, new int[3] { 1, 2, 2 }, new int[1] { 9492 }, new int[1] { 1 }, "晶体重构器运载火箭描述", 1522, 205 + num, "Assets/MegaStructureTab/rocketCrystal"); ProtoRegistry.RegisterItem(9500, Localization.Translate("多功能集成组件"), Localization.Translate("多功能集成组件描述"), "Assets/MegaStructureTab/integratedcomponents", 109 + num + num2, 1000, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, Color.white)); ProtoRegistry.RegisterRecipe(num3 + 550, (ERecipeType)4, 60, new int[1] { 9500 }, new int[1] { 1 }, new int[1] { 9500 }, new int[1] { 1 }, "多功能集成组件描述", 1203, 199 + num + num2, "Assets/MegaStructureTab/integratedcomponents"); RecipeProto val11 = ((ProtoSet<RecipeProto>)(object)LDB.recipes).Select(47); if (MoreMegaStructure.GenesisCompatibility) { val11.Type = (ERecipeType)10; } RecipeProto val12 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val12).ID = num3 + 551; ((Proto)val12).Name = "传送带 快速组装"; ((Proto)val12).name = Localization.Translate("传送带 快速组装"); val12.Description = "快速组装描述"; val12.description = Localization.Translate("快速组装描述"); val12.Items = new int[1] { 9500 }; val12.ItemCounts = new int[1] { 1 }; val12.Results = new int[1] { 2003 }; val12.ResultCounts = new int[1] { 60 }; val12.GridIndex = 401 + num; val12.TimeSpend = 6; Traverse.Create((object)val12).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickBelt); RecipeProto val13 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val13).ID = 552; ((Proto)val13).Name = "分拣器 快速组装"; ((Proto)val13).name = Localization.Translate("分拣器 快速组装"); val13.Description = "快速组装描述"; val13.description = Localization.Translate("快速组装描述"); val13.Items = new int[1] { 9500 }; val13.ItemCounts = new int[1] { 1 }; val13.Results = new int[1] { 2013 }; val13.ResultCounts = new int[1] { 10 }; val13.GridIndex = 402 + num; val13.TimeSpend = 6; Traverse.Create((object)val13).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickSorter); RecipeProto val14 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val14).ID = 553; ((Proto)val14).Name = "配电站 快速组装"; ((Proto)val14).name = Localization.Translate("配电站 快速组装"); val14.Description = "快速组装描述"; val14.description = Localization.Translate("快速组装描述"); val14.Items = new int[1] { 9500 }; val14.ItemCounts = new int[1] { 1 }; val14.Results = new int[1] { 2212 }; val14.ResultCounts = new int[1] { 5 }; val14.GridIndex = 403 + num; val14.TimeSpend = 6; Traverse.Create((object)val14).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickPower); RecipeProto val15 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val15).ID = 554; ((Proto)val15).Name = "制造台 快速组装"; ((Proto)val15).name = Localization.Translate("制造台 快速组装"); val15.Description = "快速组装描述"; val15.description = Localization.Translate("快速组装描述"); val15.Items = new int[1] { 9500 }; val15.ItemCounts = new int[1] { 1 }; val15.Results = new int[1] { 2305 }; val15.ResultCounts = new int[1] { 1 }; val15.GridIndex = 404 + num; val15.TimeSpend = 6; Traverse.Create((object)val15).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickAssembly); RecipeProto val16 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val16).ID = 555; ((Proto)val16).Name = "位面熔炉 快速组装"; ((Proto)val16).name = Localization.Translate("位面熔炉 快速组装"); val16.Description = "快速组装描述"; val16.description = Localization.Translate("快速组装描述"); val16.Items = new int[1] { 9500 }; val16.ItemCounts = new int[1] { 1 }; val16.Results = new int[1] { 2315 }; val16.ResultCounts = new int[1] { 1 }; val16.GridIndex = 405 + num; val16.TimeSpend = 6; Traverse.Create((object)val16).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickSmelter); RecipeProto val17 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val17).ID = 556; ((Proto)val17).Name = "化工厂 快速组装"; ((Proto)val17).name = Localization.Translate("化工厂 快速组装"); val17.Description = "快速组装描述"; val17.description = Localization.Translate("快速组装描述"); val17.Items = new int[1] { 9500 }; val17.ItemCounts = new int[1] { 2 }; val17.Results = new int[1] { 2317 }; val17.ResultCounts = new int[1] { 1 }; val17.GridIndex = 406 + num; val17.TimeSpend = 6; val17.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1305); Traverse.Create((object)val17).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickChemical); RecipeProto val18 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val18).ID = 557; ((Proto)val18).Name = "精炼厂 快速组装"; ((Proto)val18).name = Localization.Translate("精炼厂 快速组装"); val18.Description = "快速组装描述"; val18.description = Localization.Translate("快速组装描述"); val18.Items = new int[1] { 9500 }; val18.ItemCounts = new int[1] { 2 }; val18.Results = new int[2] { 2307, 2308 }; val18.ResultCounts = new int[2] { 1, 4 }; val18.GridIndex = 407 + num; val18.TimeSpend = 6; Traverse.Create((object)val18).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickRefinery); RecipeProto val19 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val19).ID = 558; ((Proto)val19).Name = "对撞机 快速组装"; ((Proto)val19).name = Localization.Translate("对撞机 快速组装"); val19.Description = "快速组装描述"; val19.description = Localization.Translate("快速组装描述"); val19.Items = new int[1] { 9500 }; val19.ItemCounts = new int[1] { 2 }; val19.Results = new int[1] { 2310 }; val19.ResultCounts = new int[1] { 1 }; val19.GridIndex = 408 + num; val19.TimeSpend = 6; Traverse.Create((object)val19).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickCollider); RecipeProto val20 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val20).ID = 559; ((Proto)val20).Name = "研究站 快速组装"; ((Proto)val20).name = Localization.Translate("研究站 快速组装"); val20.Description = "快速组装描述"; val20.description = Localization.Translate("快速组装描述"); val20.Items = new int[1] { 9500 }; val20.ItemCounts = new int[1] { 1 }; val20.Results = new int[1] { 2901 }; val20.ResultCounts = new int[1] { 2 }; val20.GridIndex = 409 + num; val20.TimeSpend = 6; Traverse.Create((object)val20).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickLab); RecipeProto val21 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val21).ID = 560; ((Proto)val21).Name = "人造恒星 快速组装"; ((Proto)val21).name = Localization.Translate("人造恒星 快速组装"); val21.Description = "快速组装描述"; val21.description = Localization.Translate("快速组装描述"); val21.Items = new int[1] { 9500 }; val21.ItemCounts = new int[1] { 5 }; val21.Results = new int[1] { 2210 }; val21.ResultCounts = new int[1] { 1 }; val21.GridIndex = 410 + num; val21.TimeSpend = 6; val21.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1144); Traverse.Create((object)val21).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickReactor); if (MoreMegaStructure.GenesisCompatibility) { val21.ItemCounts = new int[1] { 20 }; val21.Results = new int[1] { 6261 }; Traverse.Create((object)val21).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/Rreactor2")); } RecipeProto val22 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val22).ID = 561; ((Proto)val22).Name = "行星内物流 快速组装"; ((Proto)val22).name = Localization.Translate("行星内物流 快速组装"); val22.Description = "快速组装描述"; val22.description = Localization.Translate("快速组装描述"); val22.Items = new int[1] { 9500 }; val22.ItemCounts = new int[1] { 3 }; val22.Results = new int[2] { 2103, 5001 }; val22.ResultCounts = new int[2] { 1, 30 }; val22.GridIndex = 411 + num; val22.TimeSpend = 6; val22.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1604); Traverse.Create((object)val22).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickPLog); RecipeProto val23 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val23).ID = 562; ((Proto)val23).Name = "星际物流 快速组装"; ((Proto)val23).name = Localization.Translate("星际物流 快速组装"); val23.Description = "快速组装描述"; val23.description = Localization.Translate("快速组装描述"); val23.Items = new int[1] { 9500 }; val23.ItemCounts = new int[1] { 5 }; val23.Results = new int[2] { 2104, 5002 }; val23.ResultCounts = new int[2] { 1, 10 }; val23.GridIndex = 412 + num; val23.TimeSpend = 6; val23.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1605); Traverse.Create((object)val23).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconQuickILog); RecipeProto val24 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val24).ID = 352; ((Proto)val24).Name = "集装分拣器 快速组装"; ((Proto)val24).name = Localization.Translate("集装分拣器 快速组装"); val24.Description = "快速组装描述"; val24.description = Localization.Translate("快速组装描述"); val24.Items = new int[1] { 9500 }; val24.ItemCounts = new int[1] { 1 }; val24.Results = new int[1] { 2014 }; val24.ResultCounts = new int[1] { 4 }; val24.GridIndex = 501 + num; val24.TimeSpend = 6; val24.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1607); if (MoreMegaStructure.GenesisCompatibility) { val24.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1522); } Traverse.Create((object)val24).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/Rsorter4")); RecipeProto val25 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val25).ID = 353; ((Proto)val25).Name = "制造台4 快速组装"; ((Proto)val25).name = Localization.Translate("制造台4 快速组装"); val25.Description = "快速组装描述"; val25.description = Localization.Translate("快速组装描述"); val25.Items = new int[1] { 9500 }; val25.ItemCounts = new int[1] { 2 }; val25.Results = new int[1] { 2318 }; val25.ResultCounts = new int[1] { 1 }; val25.GridIndex = 502 + num; val25.TimeSpend = 6; val25.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1902); if (MoreMegaStructure.GenesisCompatibility) { val25.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1902); } Traverse.Create((object)val25).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/Rassembly4")); RecipeProto val26 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val26).ID = 354; ((Proto)val26).Name = "熔炉3 快速组装"; ((Proto)val26).name = Localization.Translate("熔炉3 快速组装"); val26.Description = "快速组装描述"; val26.description = Localization.Translate("快速组装描述"); val26.Items = new int[1] { 9500 }; val26.ItemCounts = new int[1] { 2 }; val26.Results = new int[1] { 2319 }; val26.ResultCounts = new int[1] { 1 }; val26.GridIndex = 503 + num; val26.TimeSpend = 6; val26.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1903); if (MoreMegaStructure.GenesisCompatibility) { val26.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1903); } Traverse.Create((object)val26).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/Rsmelter3")); RecipeProto val27 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val27).ID = 355; ((Proto)val27).Name = "实验室2 快速组装"; ((Proto)val27).name = Localization.Translate("实验室2 快速组装"); val27.Description = "快速组装描述"; val27.description = Localization.Translate("快速组装描述"); val27.Items = new int[1] { 9500 }; val27.ItemCounts = new int[1] { 1 }; val27.Results = new int[1] { 2902 }; val27.ResultCounts = new int[1] { 1 }; val27.GridIndex = 504 + num; val27.TimeSpend = 6; val27.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1901); if (MoreMegaStructure.GenesisCompatibility) { val27.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1901); } Traverse.Create((object)val27).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/Rlab2")); RecipeProto val28 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val28).ID = 356; ((Proto)val28).Name = "大矿机 快速组装"; ((Proto)val28).name = Localization.Translate("大矿机 快速组装"); val28.Description = "快速组装描述"; val28.description = Localization.Translate("快速组装描述"); val28.Items = new int[1] { 9500 }; val28.ItemCounts = new int[1] { 2 }; val28.Results = new int[1] { 2316 }; val28.ResultCounts = new int[1] { 1 }; val28.GridIndex = 505 + num; val28.TimeSpend = 6; val28.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1304); if (MoreMegaStructure.GenesisCompatibility) { val28.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1304); } Traverse.Create((object)val28).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/Rmining2")); RecipeProto val29 = MethedEx.Copy<RecipeProto>(val11); ((Proto)val29).ID = 357; ((Proto)val29).Name = "抽水泵 快速组装"; ((Proto)val29).name = Localization.Translate("抽水泵 快速组装"); val29.Description = "快速组装描述"; val29.description = Localization.Translate("快速组装描述"); val29.Items = new int[1] { 9500 }; val29.ItemCounts = new int[1] { 1 }; val29.Results = new int[1] { 2306 }; val29.ResultCounts = new int[1] { 5 }; val29.GridIndex = 506 + num; val29.TimeSpend = 6; val29.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1120); Traverse.Create((object)val29).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/Rpump")); if (MoreMegaStructure.GenesisCompatibility) { val29.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1304); val29.Results = new int[1] { 6266 }; val29.ResultCounts = new int[1] { 1 }; Traverse.Create((object)val29).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/Rpump2")); } if (MoreMegaStructure.GenesisCompatibility) { val14.GridIndex = 9999; val16.GridIndex = 9999; val15.GridIndex = 9999; val17.GridIndex = 9999; val18.GridIndex = 9999; val19.GridIndex = 9999; } if (MoreMegaStructure.StarCannonOnly.Value) { val6.GridIndex = 9999; val7.GridIndex = 9999; val8.GridIndex = 9999; val9.GridIndex = 9999; val10.GridIndex = 9999; } ((ProtoSet<ItemProto>)(object)LDB.items).Select(2003).recipes.Add(val12); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2013).recipes.Add(val13); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2305).recipes.Add(val15); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2315).recipes.Add(val16); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2317).recipes.Add(val17); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2212).recipes.Add(val14); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2308).recipes.Add(val18); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2307).recipes.Add(val18); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2310).recipes.Add(val19); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2901).recipes.Add(val20); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2210).recipes.Add(val21); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2103).recipes.Add(val22); ((ProtoSet<ItemProto>)(object)LDB.items).Select(5001).recipes.Add(val22); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2104).recipes.Add(val23); ((ProtoSet<ItemProto>)(object)LDB.items).Select(5002).recipes.Add(val23); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2014).recipes.Add(val24); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2318).recipes.Add(val25); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2319).recipes.Add(val26); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2902).recipes.Add(val27); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2316).recipes.Add(val28); ((ProtoSet<ItemProto>)(object)LDB.items).Select(2306).recipes.Add(val29); LDBTool.PostAddProto((Proto)(object)val15); LDBTool.PostAddProto((Proto)(object)val12); LDBTool.PostAddProto((Proto)(object)val17); LDBTool.PostAddProto((Proto)(object)val19); LDBTool.PostAddProto((Proto)(object)val23); LDBTool.PostAddProto((Proto)(object)val20); LDBTool.PostAddProto((Proto)(object)val22); LDBTool.PostAddProto((Proto)(object)val14); LDBTool.PostAddProto((Proto)(object)val21); LDBTool.PostAddProto((Proto)(object)val18); LDBTool.PostAddProto((Proto)(object)val16); LDBTool.PostAddProto((Proto)(object)val13); LDBTool.PostAddProto((Proto)(object)val24); LDBTool.PostAddProto((Proto)(object)val25); LDBTool.PostAddProto((Proto)(object)val26); LDBTool.PostAddProto((Proto)(object)val27); LDBTool.PostAddProto((Proto)(object)val28); LDBTool.PostAddProto((Proto)(object)val29); bool flag2 = true; LDBTool.SetBuildBar(6, 9, 9512); } public static void AddNewItems2() { //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_011f: Unknown result type (might be due to invalid IL or missing references) //IL_014d: Unknown result type (might be due to invalid IL or missing references) //IL_0161: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Unknown result type (might be due to invalid IL or missing references) //IL_01a3: Unknown result type (might be due to invalid IL or missing references) //IL_01d1: Unknown result type (might be due to invalid IL or missing references) //IL_01e5: Unknown result type (might be due to invalid IL or missing references) //IL_0213: Unknown result type (might be due to invalid IL or missing references) //IL_0227: Unknown result type (might be due to invalid IL or missing references) //IL_0255: Unknown result type (might be due to invalid IL or missing references) //IL_025a: Unknown result type (might be due to invalid IL or missing references) //IL_066a: Unknown result type (might be due to invalid IL or missing references) int num = MoreMegaStructure.pagenum * 1000; int num2 = 0; int num3 = 0; if (MoreMegaStructure.GenesisCompatibility) { num2 = -200; num3 = -8; } ProtoRegistry.RegisterItem(9503, "力场发生器", "力场发生器描述", "Assets/MegaStructureTab/forceGen", 201 + num, 20, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.2f, 0.7f, 0.7f))); ProtoRegistry.RegisterItem(9504, "复合态晶体", "复合态晶体描述", "Assets/MegaStructureTab/compoCrystal", 202 + num, 100, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.2f, 0.7f, 0.7f))); ProtoRegistry.RegisterItem(9505, "电磁力抑制器", "电磁力抑制器描述", "Assets/MegaStructureTab/elemaginhibitor2", 203 + num, 50, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.2f, 0.7f, 0.7f))); ProtoRegistry.RegisterItem(9506, "胶子发生器", "胶子发生器描述", "Assets/MegaStructureTab/gluonGen", 204 + num, 50, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.2f, 0.7f, 0.7f))); ProtoRegistry.RegisterItem(9507, "强力过载装置", "强力过载装置描述", "Assets/MegaStructureTab/strIntOverloader", 205 + num, 20, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.2f, 0.7f, 0.7f))); ProtoRegistry.RegisterItem(9508, "导流框架", "导流框架描述", "Assets/MegaStructureTab/starcannonframe", 206 + num, 20, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.2f, 0.7f, 0.7f))); ProtoRegistry.RegisterItem(9509, "恒星炮组件", "恒星炮组件描述", "Assets/MegaStructureTab/starcannoncompo", 207 + num, 20, (EItemType)3, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.3f, 0.3f, 0.9f))); ProtoRegistry.RegisterItem(9510, "恒星炮运载火箭", "恒星炮运载火箭描述", "Assets/MegaStructureTab/rocketStarcannon", 306 + num, 20, (EItemType)4, ProtoRegistry.GetDefaultIconDesc(Color.white, new Color(0.3f, 0.9f, 0.9f))); ItemProto val = ProtoRegistry.RegisterItem(9511, "水滴gm", "水滴描述gm", "Assets/MegaStructureTab/drop1", 707 + num, 10, (EItemType)4, ProtoRegistry.GetDefaultIconDesc(Color.white, Color.white)); ProtoRegistry.RegisterRecipe(565 + num2, (ERecipeType)4, 240, new int[2] { 9480, 9484 }, new int[2] { 1, 2 }, new int[1] { 9503 }, new int[1] { 1 }, "力场发生器描述", StarCannonTechId, 201 + num, "Assets/MegaStructureTab/forceGen"); RecipeProto val2 = ProtoRegistry.RegisterRecipe(566 + num2, (ERecipeType)5, 600, new int[5] { 5203, 1126, 1124, 1118, 1120 }, new int[5] { 1, 1, 1, 1, 1 }, new int[1] { 9504 }, new int[1] { 1 }, "复合态晶体描述", 1919, 202 + num, "Assets/MegaStructureTab/compoCrystal"); ProtoRegistry.RegisterRecipe(567 + num2, (ERecipeType)4, 360, new int[2] { 1305, 1205 }, new int[2] { 1, 2 }, new int[1] { 9505 }, new int[1] { 1 }, "电磁力抑制器描述", 1919, 203 + num, "Assets/MegaStructureTab/elemaginhibitor2"); RecipeProto val3 = ProtoRegistry.RegisterRecipe(568 + num2, (ERecipeType)4, 360, new int[3] { 9483, 1402, 1122 }, new int[3] { 1, 1, 2 }, new int[1] { 9506 }, new int[1] { 1 }, "胶子发生器描述", 1919, 204 + num, "Assets/MegaStructureTab/gluonGen"); RecipeProto val4 = ProtoRegistry.RegisterRecipe(569 + num2, (ERecipeType)4, 1200, new int[2] { 9506, 9486 }, new int[2] { 2, 2 }, new int[1] { 9507 }, new int[1] { 1 }, "强力过载装置描述", 1919, 205 + num, "Assets/MegaStructureTab/strIntOverloader"); ProtoRegistry.RegisterRecipe(570 + num2, (ERecipeType)4, 180, new int[3] { 1125, 9481, 9503 }, new int[3] { 3, 2, 3 }, new int[1] { 9508 }, new int[1] { 1 }, "导流框架描述", StarCannonTechId, 206 + num, "Assets/MegaStructureTab/starcannonframe"); ProtoRegistry.RegisterRecipe(571 + num2, (ERecipeType)4, 480, new int[2] { 1209, 9508 }, new int[2] { 3, 2 }, new int[1] { 9509 }, new int[1] { 1 }, "恒星炮组件描述", StarCannonTechId, 207 + num, "Assets/MegaStructureTab/starcannoncompo"); ProtoRegistry.RegisterRecipe(572 + num2, (ERecipeType)4, 360, new int[3] { 9509, 1802, 1305 }, new int[3] { 2, 2, 2 }, new int[1] { 9510 }, new int[1] { 1 }, "恒星炮运载火箭描述", StarCannonTechId, 306 + num, "Assets/MegaStructureTab/rocketStarcannon"); RecipeProto val5 = ProtoRegistry.RegisterRecipe(573 + num2, (ERecipeType)4, 3600, new int[3] { 9505, 9507, 9504 }, new int[3] { 20, 20, 100 }, new int[1] { 9511 }, new int[1] { 1 }, "水滴描述gm", 1919, 707 + num, "Assets/MegaStructureTab/drop1"); TechProto val6 = ProtoRegistry.RegisterTech(StarCannonTechId, "尼科尔戴森光束", "尼科尔戴森光束描述", "尼科尔戴森光束结论", "Assets/MegaStructureTab/starcannontech", new int[0], new int[1] { 5201 }, new int[1] { 200 }, 36000L, new int[4] { 570 + num2, 571 + num2, 572 + num2, 565 + num2 }, new Vector2((float)(65 + num3), -3f)); val6.PreTechsImplicit = new int[1] { 1522 }; val6.IsHiddenTech = true; val6.PreItem = new int[1] { 5201 }; val2.Handcraft = false; val3.Handcraft = false; val4.Handcraft = false; val5.Handcraft = false; } public static void EditOriRR(Proto proto) { } public static void AddGenesisRecipes() { if (MoreMegaStructure.GenesisCompatibility) { int num = MoreMegaStructure.pagenum * 1000 + 100; RecipeProto val = ProtoRegistry.RegisterRecipe(376, (ERecipeType)10, 6, new int[1] { 9500 }, new int[1] { 25 }, new int[1] { 6257 }, new int[1] { 1 }, "巨建快速组装描述", 1923, 403 + num, "Assets/MegaStructureTab/quick6257"); RecipeProto val2 = ProtoRegistry.RegisterRecipe(377, (ERecipeType)10, 6, new int[1] { 9500 }, new int[1] { 25 }, new int[1] { 6258 }, new int[1] { 1 }, "巨建快速组装描述", 1924, 404 + num, "Assets/MegaStructureTab/quick6258"); RecipeProto val3 = ProtoRegistry.RegisterRecipe(378, (ERecipeType)10, 6, new int[1] { 9500 }, new int[1] { 25 }, new int[1] { 6259 }, new int[1] { 1 }, "巨建快速组装描述", 1925, 405 + num, "Assets/MegaStructureTab/quick6259"); RecipeProto val4 = ProtoRegistry.RegisterRecipe(379, (ERecipeType)10, 6, new int[1] { 9500 }, new int[1] { 25 }, new int[1] { 6260 }, new int[1] { 1 }, "巨建快速组装描述", 1926, 406 + num, "Assets/MegaStructureTab/quick6260"); RecipeProto val5 = ProtoRegistry.RegisterRecipe(380, (ERecipeType)10, 6, new int[1] { 9500 }, new int[1] { 25 }, new int[1] { 6264 }, new int[1] { 1 }, "巨建快速组装描述", 1931, 407 + num, "Assets/MegaStructureTab/quick6264"); RecipeProto val6 = ProtoRegistry.RegisterRecipe(381, (ERecipeType)10, 6, new int[1] { 9500 }, new int[1] { 25 }, new int[1] { 6265 }, new int[1] { 1 }, "巨建快速组装描述", 1927, 408 + num, "Assets/MegaStructureTab/quick6265"); val._iconSprite = Resources.Load<Sprite>("Assets/MegaStructureTab/quick6257"); val2._iconSprite = Resources.Load<Sprite>("Assets/MegaStructureTab/quick6258"); val3._iconSprite = Resources.Load<Sprite>("Assets/MegaStructureTab/quick6259"); val4._iconSprite = Resources.Load<Sprite>("Assets/MegaStructureTab/quick6260"); val5._iconSprite = Resources.Load<Sprite>("Assets/MegaStructureTab/quick6264"); val6._iconSprite = Resources.Load<Sprite>("Assets/MegaStructureTab/quick6265"); LDBTool.PostAddProto((Proto)(object)val); LDBTool.PostAddProto((Proto)(object)val2); LDBTool.PostAddProto((Proto)(object)val3); LDBTool.PostAddProto((Proto)(object)val4); LDBTool.PostAddProto((Proto)(object)val5); LDBTool.PostAddProto((Proto)(object)val6); } } public static void AddReceivers() { int num = MoreMegaStructure.pagenum * 1000; bool flag = true; num = MoreMegaStructure.battlePagenum * 1000 + 100; int num2 = 0; if (MoreMegaStructure.GenesisCompatibility) { num2 = -200; } RecipeProto val = ((ProtoSet<RecipeProto>)(object)LDB.recipes).Select(41); ItemProto val2 = ((ProtoSet<ItemProto>)(object)LDB.items).Select(2208); ItemProto val3 = ((ProtoSet<ItemProto>)(object)LDB.items).Select(2104); RecipeProto val4 = MethedEx.Copy<RecipeProto>(val); ItemProto val5 = MethedEx.Copy<ItemProto>(val2); ((Proto)val4).ID = num2 + 543; ((Proto)val4).Name = "星际组装厂生产机器图标专用"; ((Proto)val4).name = Localization.Translate("星际组装厂生产机器图标专用"); val4.Description = ""; val4.description = ""; val4.Items = new int[4] { 1103, 1404, 1303, 9481 }; val4.ItemCounts = new int[4] { 20, 10, 5, 2 }; if (MoreMegaStructure.GenesisCompatibility) { val4.Items = new int[4] { 1103, 1014, 1303, 9481 }; val4.ItemCounts = new int[4] { 20, 20, 5, 2 }; } val4.Results = new int[1] { 9493 }; val4.ResultCounts = new int[1] { 1 }; val4.GridIndex = 9901 + num; val4.TimeSpend = 480; Traverse.Create((object)val4).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverIron); val4.preTech = null; if (MoreMegaStructure.isBattleActive) { val4.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1920); } ((Proto)val5).ID = 9493; ((Proto)val5).Name = "星际组装厂生产机器图标专用"; ((Proto)val5).name = Localization.Translate("星际组装厂生产机器图标专用"); val5.Description = ""; val5.description = Localization.Translate(""); val5.GridIndex = 9901 + num; val5.HeatValue = 0L; val5.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val5.prefabDesc.powerProductHeat = 6000000L; val5.prefabDesc.powerProductId = 1101; val5.handcraft = val4; val5.handcrafts = new List<RecipeProto> { val4 }; val5.maincraft = val4; val5.recipes = new List<RecipeProto> { val4 }; val5.Grade = 2; val5.Upgrades = new int[9] { 2208, 9493, 9494, 9495, 9496, 9497, 9501, 9498, 9502 }; val5._iconSprite = Resources.Load<Sprite>("ui/textures/sprites/starmap/planets-icon"); RecipeProto val6 = MethedEx.Copy<RecipeProto>(val); ItemProto val7 = MethedEx.Copy<ItemProto>(val2); ((Proto)val6).ID = num2 + 544; ((Proto)val6).Name = "铜金属重构装置"; ((Proto)val6).name = Localization.Translate("铜金属重构装置"); val6.Description = "接收重构装置描述"; val6.description = Localization.Translate("接收重构装置描述"); val6.Items = new int[4] { 1103, 1404, 1303, 9481 }; val6.ItemCounts = new int[4] { 20, 10, 5, 2 }; if (MoreMegaStructure.GenesisCompatibility) { val6.Items = new int[4] { 1103, 1014, 1303, 9481 }; val6.ItemCounts = new int[4] { 20, 20, 5, 2 }; } val6.Results = new int[1] { 9494 }; val6.ResultCounts = new int[1] { 1 }; val6.GridIndex = 9902 + num; val6.TimeSpend = 480; Traverse.Create((object)val6).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverCopper); val6.preTech = null; if (MoreMegaStructure.isBattleActive) { val6.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1920); } ((Proto)val7).ID = 9494; ((Proto)val7).Name = "铜金属重构装置"; ((Proto)val7).name = Localization.Translate("铜金属重构装置"); val7.Description = "接收重构装置描述"; val7.description = Localization.Translate("接收重构装置描述"); val7.GridIndex = 9902 + num; val7.HeatValue = 0L; val7.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val7.prefabDesc.powerProductHeat = 6000000L; val7.prefabDesc.powerProductId = 1104; val7.handcraft = val6; val7.handcrafts = new List<RecipeProto> { val6 }; val7.maincraft = val6; val7.recipes = new List<RecipeProto> { val6 }; val7.Grade = 3; val7.Upgrades = new int[9] { 2208, 9493, 9494, 9495, 9496, 9497, 9501, 9498, 9502 }; Traverse.Create((object)val7).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverCopper); RecipeProto val8 = MethedEx.Copy<RecipeProto>(val); ItemProto val9 = MethedEx.Copy<ItemProto>(val2); ((Proto)val8).ID = num2 + 545; ((Proto)val8).Name = "高纯硅重构装置"; ((Proto)val8).name = Localization.Translate("高纯硅重构装置"); val8.Description = "接收重构装置描述"; val8.description = Localization.Translate("接收重构装置描述"); val8.Items = new int[4] { 1103, 1404, 1303, 9481 }; val8.ItemCounts = new int[4] { 20, 10, 5, 2 }; if (MoreMegaStructure.GenesisCompatibility) { val8.Items = new int[4] { 1103, 1014, 1303, 9481 }; val8.ItemCounts = new int[4] { 20, 20, 5, 2 }; } val8.Results = new int[1] { 9495 }; val8.ResultCounts = new int[1] { 1 }; val8.GridIndex = 9903 + num; val8.TimeSpend = 480; Traverse.Create((object)val8).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverSilicon); val8.preTech = null; if (MoreMegaStructure.isBattleActive) { val8.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1920); } ((Proto)val9).ID = 9495; ((Proto)val9).Name = "高纯硅重构装置"; ((Proto)val9).name = Localization.Translate("高纯硅重构装置"); val9.Description = "接收重构装置描述"; val9.description = Localization.Translate("接收重构装置描述"); val9.GridIndex = 9903 + num; val9.HeatValue = 0L; val9.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val9.prefabDesc.powerProductHeat = 6000000L; val9.prefabDesc.powerProductId = 1105; val9.handcraft = val8; val9.handcrafts = new List<RecipeProto> { val8 }; val9.maincraft = val8; val9.recipes = new List<RecipeProto> { val8 }; val9.Grade = 4; val9.Upgrades = new int[9] { 2208, 9493, 9494, 9495, 9496, 9497, 9501, 9498, 9502 }; Traverse.Create((object)val9).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverSilicon); RecipeProto val10 = MethedEx.Copy<RecipeProto>(val); ItemProto val11 = MethedEx.Copy<ItemProto>(val2); ((Proto)val10).ID = num2 + 546; ((Proto)val10).Name = "钛金属重构装置"; ((Proto)val10).name = Localization.Translate("钛金属重构装置"); val10.Description = "接收重构装置描述"; val10.description = Localization.Translate("接收重构装置描述"); val10.Items = new int[4] { 1103, 1404, 1303, 9481 }; val10.ItemCounts = new int[4] { 20, 10, 5, 2 }; if (MoreMegaStructure.GenesisCompatibility) { val10.Items = new int[4] { 1103, 1014, 1303, 9481 }; val10.ItemCounts = new int[4] { 20, 20, 5, 2 }; } val10.Results = new int[1] { 9496 }; val10.ResultCounts = new int[1] { 1 }; val10.GridIndex = 9904 + num; val10.TimeSpend = 480; Traverse.Create((object)val10).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverTitanium); val10.preTech = null; if (MoreMegaStructure.isBattleActive) { val10.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1920); } ((Proto)val11).ID = 9496; ((Proto)val11).Name = "钛金属重构装置"; ((Proto)val11).name = Localization.Translate("钛金属重构装置"); val11.Description = "接收重构装置描述"; val11.description = Localization.Translate("接收重构装置描述"); val11.GridIndex = 9904 + num; val11.HeatValue = 0L; val11.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val11.prefabDesc.powerProductHeat = 6000000L; val11.prefabDesc.powerProductId = 1106; val11.handcraft = val10; val11.handcrafts = new List<RecipeProto> { val10 }; val11.maincraft = val10; val11.recipes = new List<RecipeProto> { val10 }; val11.Grade = 5; val11.Upgrades = new int[9] { 2208, 9493, 9494, 9495, 9496, 9497, 9501, 9498, 9502 }; Traverse.Create((object)val11).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverTitanium); RecipeProto val12 = MethedEx.Copy<RecipeProto>(val); ItemProto val13 = MethedEx.Copy<ItemProto>(val2); ((Proto)val12).ID = num2 + 547; ((Proto)val12).Name = "单极磁石重构装置"; ((Proto)val12).name = Localization.Translate("单极磁石重构装置"); val12.Description = "接收重构装置描述"; val12.description = Localization.Translate("接收重构装置描述"); val12.Items = new int[4] { 1103, 1404, 1303, 9481 }; val12.ItemCounts = new int[4] { 20, 10, 5, 2 }; if (MoreMegaStructure.GenesisCompatibility) { val12.Items = new int[4] { 1103, 1014, 1303, 9481 }; val12.ItemCounts = new int[4] { 20, 20, 5, 2 }; } val12.Results = new int[1] { 9497 }; val12.ResultCounts = new int[1] { 1 }; val12.GridIndex = 9905 + num; val12.TimeSpend = 480; Traverse.Create((object)val12).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverMagore); val12.preTech = null; if (MoreMegaStructure.isBattleActive) { val12.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1920); } ((Proto)val13).ID = 9497; ((Proto)val13).Name = "单极磁石重构装置"; ((Proto)val13).name = Localization.Translate("单极磁石重构装置"); val13.Description = "接收重构装置描述"; val13.description = Localization.Translate("接收重构装置描述"); val13.GridIndex = 9905 + num; val13.HeatValue = 0L; val13.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val13.prefabDesc.powerProductHeat = 6000000L; val13.prefabDesc.powerProductId = 1016; val13.handcraft = val12; val13.handcrafts = new List<RecipeProto> { val12 }; val13.maincraft = val12; val13.recipes = new List<RecipeProto> { val12 }; val13.Grade = 6; val13.Upgrades = new int[9] { 2208, 9493, 9494, 9495, 9496, 9497, 9501, 9498, 9502 }; Traverse.Create((object)val13).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverMagore); RecipeProto val14 = MethedEx.Copy<RecipeProto>(val); ItemProto val15 = MethedEx.Copy<ItemProto>(val2); ((Proto)val14).ID = num2 + 563; ((Proto)val14).Name = "石墨提炼装置"; ((Proto)val14).name = Localization.Translate("石墨提炼装置"); val14.Description = "接收重构装置描述"; val14.description = Localization.Translate("接收重构装置描述"); val14.Items = new int[4] { 1103, 1404, 1303, 9481 }; val14.ItemCounts = new int[4] { 20, 10, 5, 2 }; if (MoreMegaStructure.GenesisCompatibility) { val14.Items = new int[4] { 1103, 1014, 1303, 9481 }; val14.ItemCounts = new int[4] { 20, 20, 5, 2 }; } val14.Results = new int[1] { 9501 }; val14.ResultCounts = new int[1] { 1 }; val14.GridIndex = 9906 + num; val14.TimeSpend = 480; Traverse.Create((object)val14).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverCoal); val14.preTech = null; if (MoreMegaStructure.isBattleActive) { val14.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1920); } ((Proto)val15).ID = 9501; ((Proto)val15).Name = "石墨提炼装置"; ((Proto)val15).name = Localization.Translate("石墨提炼装置"); val15.Description = "接收重构装置描述"; val15.description = Localization.Translate("接收重构装置描述"); val15.GridIndex = 9906 + num; val15.HeatValue = 0L; val15.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val15.prefabDesc.powerProductHeat = 12000000L; val15.prefabDesc.powerProductId = 1109; val15.handcraft = val14; val15.handcrafts = new List<RecipeProto> { val14 }; val15.maincraft = val14; val15.recipes = new List<RecipeProto> { val14 }; val15.Grade = 7; val15.Upgrades = new int[9] { 2208, 9493, 9494, 9495, 9496, 9497, 9501, 9498, 9502 }; Traverse.Create((object)val15).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverCoal); RecipeProto val16 = MethedEx.Copy<RecipeProto>(val); ItemProto val17 = MethedEx.Copy<ItemProto>(val2); ((Proto)val16).ID = num2 + 548; ((Proto)val16).Name = "晶体接收器"; ((Proto)val16).name = Localization.Translate("晶体接收器"); val16.Description = "晶体接收器描述"; val16.description = Localization.Translate("晶体接收器描述"); val16.Items = new int[4] { 1107, 1404, 1303, 1206 }; val16.ItemCounts = new int[4] { 10, 10, 5, 5 }; if (MoreMegaStructure.GenesisCompatibility) { val16.Items = new int[3] { 1107, 1014, 1303 }; val16.ItemCounts = new int[3] { 10, 20, 10 }; } val16.Results = new int[1] { 9498 }; val16.ResultCounts = new int[1] { 1 }; val16.GridIndex = 9907 + num; val16.TimeSpend = 480; Traverse.Create((object)val16).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverCasimir); val16.preTech = null; if (MoreMegaStructure.isBattleActive) { val16.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1923); } ((Proto)val17).ID = 9498; ((Proto)val17).Name = "晶体接收器"; ((Proto)val17).name = Localization.Translate("晶体接收器"); val17.Description = "晶体接收器描述"; val17.description = Localization.Translate("晶体接收器描述"); val17.GridIndex = 9907 + num; val17.HeatValue = 0L; val17.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val17.prefabDesc.powerProductHeat = 120000000L; val17.prefabDesc.powerProductId = 1126; val17.handcraft = val16; val17.handcrafts = new List<RecipeProto> { val16 }; val17.maincraft = val16; val17.recipes = new List<RecipeProto> { val16 }; val17.Grade = 8; val17.Upgrades = new int[9] { 2208, 9493, 9494, 9495, 9496, 9497, 9501, 9498, 9502 }; Traverse.Create((object)val17).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverCasimir); RecipeProto val18 = MethedEx.Copy<RecipeProto>(val); ItemProto val19 = MethedEx.Copy<ItemProto>(val2); ((Proto)val18).ID = num2 + 564; ((Proto)val18).Name = "光栅晶体接收器"; ((Proto)val18).name = Localization.Translate("光栅晶体接收器"); val18.Description = "晶体接收器描述"; val18.description = Localization.Translate("晶体接收器描述"); val18.Items = new int[4] { 1107, 1404, 1303, 1206 }; val18.ItemCounts = new int[4] { 10, 10, 5, 5 }; if (MoreMegaStructure.GenesisCompatibility) { val18.Items = new int[3] { 1107, 1014, 1303 }; val18.ItemCounts = new int[3] { 10, 20, 10 }; } val18.Results = new int[1] { 9502 }; val18.ResultCounts = new int[1] { 1 }; val18.GridIndex = 9908 + num; val18.TimeSpend = 480; Traverse.Create((object)val18).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverGrating); val18.preTech = null; if (MoreMegaStructure.isBattleActive) { val18.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1923); } ((Proto)val19).ID = 9502; ((Proto)val19).Name = "光栅晶体接收器"; ((Proto)val19).name = Localization.Translate("光栅晶体接收器"); val19.Description = "晶体接收器描述"; val19.description = Localization.Translate("晶体接收器描述"); val19.GridIndex = 9908 + num; val19.HeatValue = 0L; val19.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val19.prefabDesc.powerProductHeat = 12000000L; val19.prefabDesc.powerProductId = 1014; val19.handcraft = val18; val19.handcrafts = new List<RecipeProto> { val18 }; val19.maincraft = val18; val19.recipes = new List<RecipeProto> { val18 }; val19.Grade = 9; val19.Upgrades = new int[9] { 2208, 9493, 9494, 9495, 9496, 9497, 9501, 9498, 9502 }; Traverse.Create((object)val19).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverGrating); RecipeProto val20 = MethedEx.Copy<RecipeProto>(val); ItemProto val21 = MethedEx.Copy<ItemProto>(val2); ((Proto)val20).ID = num2 + 549; ((Proto)val20).Name = "组件集成装置"; ((Proto)val20).name = Localization.Translate("组件集成装置"); val20.Description = "组件集成装置描述"; val20.description = Localization.Translate("组件集成装置描述"); val20.Items = new int[4] { 1125, 1404, 1303, 1206 }; val20.ItemCounts = new int[4] { 10, 10, 5, 5 }; if (MoreMegaStructure.GenesisCompatibility) { val20.Items = new int[3] { 1125, 1014, 1303 }; val20.ItemCounts = new int[3] { 10, 20, 10 }; } val20.Results = new int[1] { 9499 }; val20.ResultCounts = new int[1] { 1 }; val20.GridIndex = 9902 + num; val20.TimeSpend = 480; Traverse.Create((object)val20).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverIC); val20.preTech = null; if (MoreMegaStructure.isBattleActive) { val20.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1922); } if (MoreMegaStructure.GenesisCompatibility) { val20.preTech = ((ProtoSet<TechProto>)(object)LDB.techs).Select(1504); } ((Proto)val21).ID = 9499; ((Proto)val21).Name = "组件集成装置"; ((Proto)val21).name = Localization.Translate("组件集成装置"); val21.Description = "组件集成装置描述"; val21.description = Localization.Translate("组件集成装置描述"); val21.GridIndex = 9902 + num; val21.HeatValue = 0L; val21.prefabDesc = MethedEx.Copy<PrefabDesc>(val2.prefabDesc); val21.prefabDesc.powerProductHeat = MoreMegaStructure.multifunctionComponentHeat; val21.prefabDesc.powerProductId = 9500; val21.handcraft = val20; val21.handcrafts = new List<RecipeProto> { val20 }; val21.maincraft = val20; val21.recipes = new List<RecipeProto> { val20 }; Traverse.Create((object)val21).Field("_iconSprite").SetValue((object)MoreMegaStructure.iconReceiverIC); ItemProto val22 = MethedEx.Copy<ItemProto>(val3); ((Proto)val22).ID = 9512; ((Proto)val22).Name = "物资交换器"; ((Proto)val22).name = Localization.Translate("物资交换器"); val22.Description = "物资交换器描述"; val22.description = Localization.Translate("物资交换器描述"); val22.GridIndex = 309 + num; val22.HeatValue = 0L; val22.prefabDesc = MethedEx.Copy<PrefabDesc>(val3.prefabDesc); LDBTool.PreAddProto((Proto)(object)val22); Traverse.Create((object)val22).Field("_iconSprite").SetValue((object)Resources.Load<Sprite>("Assets/MegaStructureTab/exchangeLS")); RecipeProto val23 = (val22.handcraft = ((!MoreMegaStructure.isBattleActive) ? ProtoRegistry.RegisterRecipe(575 + num2, (ERecipeType)4, 480, new int[2] { 2104, 2208 }, new int[2] { 1, 1 }, new int[1] { 9512 }, new int[1] { 1 }, "物资交换器描述", 1504, 309 + num, "物资交换器", "Assets/MegaStructureTab/exchangeLS") : ProtoRegistry.RegisterRecipe(575 + num2, (ERecipeType)4, 480, new int[2] { 2104, 2208 }, new int[2] { 1, 1 }, new int[1] { 9512 }, new int[1] { 1 }, "物资交换器描述", 1922, 309 + num, "物资交换器", "Assets/MegaStructureTab/exchangeLS"))); val22.handcrafts = new List<RecipeProto> { val23 }; val22.maincraft = val23; val22.recipes = new List<RecipeProto> { val23 }; LDBTool.PostAddProto((Proto)(object)val5); LDBTool.PostAddProto((Proto)(object)val4); LDBTool.PostAddProto((Proto)(object)val7); LDBTool.PostAddProto((Proto)(object)val6); LDBTool.PostAddProto((Proto)(object)val9); LDBTool.PostAddProto((Proto)(object)val8); LDBTool.PostAddProto((Proto)(object)val11); LDBTool.PostAddProto((Proto)(object)val10); LDBTool.PostAddProto((Proto)(object)val13); LDBTool.PostAddProto((Proto)(object)val12); LDBTool.PostAddProto((Proto)(object)val17); LDBTool.PostAddProto((Proto)(object)val16); LDBTool.PostAddProto((Proto)(object)val21); LDBTool.PostAddProto((Proto)(object)val20); LDBTool.PostAddProto((Proto)(object)val15); LDBTool.PostAddProto((Proto)(object)val14); LDBTool.PostAddProto((Proto)(object)val19); LDBTool.PostAddProto((Proto)(object)val18); } public static void AddTranslateUILabel() { StringProto stringProto = new StringProto(); stringProto.Name = "巨构建筑"; stringProto.ZHCN = "巨构建筑"; stringProto.ENUS = "Megastructure"; stringProto.RegisterTranslation(); StringProto stringProto2 = new StringProto(); stringProto2.Name = "规划巨构建筑类型"; stringProto2.ZHCN = "规划巨构建筑类型"; stringProto2.ENUS = "Plan Megastructure"; stringProto2.RegisterTranslation(); StringProto stringProto3 = new StringProto(); stringProto3.Name = "自由组件"; stringProto3.ZHCN = "自由组件"; stringProto3.ENUS = "Floating components "; stringProto3.RegisterTranslation(); StringProto stringProto4 = new StringProto(); stringProto4.Name = "工作效率"; stringProto4.ZHCN = "工作效率"; stringProto4.ENUS = "Capacity"; stringProto4.RegisterTranslation(); StringProto stringProto5 = new StringProto(); stringProto5.Name = "自由组件数量"; stringProto5.ZHCN = "自由组件数量"; stringProto5.ENUS = "Floating components in total"; stringProto5.RegisterTranslation(); StringProto stringProto6 = new StringProto(); stringProto6.Name = "自由组件云"; stringProto6.ZHCN = "自由组件云"; stringProto6.ENUS = "Components Swarm"; stringProto6.RegisterTranslation(); StringProto stringProto7 = new StringProto(); stringProto7.Name = "组件云蓝图"; stringProto7.ZHCN = "组件云蓝图"; stringProto7.ENUS = "Swarm Blueprint"; stringProto7.RegisterTranslation(); StringProto stringProto8 = new StringProto(); stringProto8.Name = "锚定结构"; stringProto8.ZHCN = "锚定结构"; stringProto8.ENUS = "Anchored Structure"; stringProto8.RegisterTranslation(); StringProto stringProto9 = new StringProto(); stringProto9.Name = "结构层级"; stringProto9.ZHCN = "结构层级"; stringProto9.ENUS = "Structure Layers"; stringProto9.RegisterTranslation(); StringProto stringProto10 = new StringProto(); stringProto10.Name = "锚定结构蓝图"; stringProto10.ZHCN = "锚定结构蓝图"; stringProto10.ENUS = "Anchored Structure Blueprint"; stringProto10.RegisterTranslation(); StringProto stringProto11 = new StringProto(); stringProto11.Name = "恒星功效系数"; stringProto11.ZHCN = "恒星功效系数"; stringProto11.ENUS = "Star Efficiency"; stringProto11.RegisterTranslation(); StringProto stringProto12 = new StringProto(); stringProto12.Name = "最大工作效率"; stringProto12.ZHCN = "最大工作效率"; stringProto12.ENUS = "Capacity"; stringProto12.RegisterTranslation(); StringProto stringProto13 = new StringProto(); stringProto13.Name = "巨构建筑蓝图"; stringProto13.ZHCN = "巨构建筑蓝图"; stringProto13.ENUS = "Structure Blueprint"; stringProto13.RegisterTranslation(); StringProto stringProto14 = new StringProto(); stringProto14.Name = "自由组件寿命分布"; stringProto14.ZHCN = "自由组件寿命分布"; stringProto14.ENUS = "Life Distribution of Floating Components"; stringProto14.RegisterTranslation(); StringProto stringProto15 = new StringProto(); stringProto15.Name = "自由组件状态统计"; stringProto15.ZHCN = "自由组件状态统计"; stringProto15.ENUS = "Floating Components Status Statistics"; stringProto15.RegisterTranslation(); StringProto stringProto16 = new StringProto(); stringProto16.Name = "自由组件工作效率"; stringProto16.ZHCN = "自由组件工作效率"; stringProto16.ENUS = "Generation of Floating Components"; stringProto16.RegisterTranslation(); StringProto stringProto17 = new StringProto(); stringProto17.Name = "锚定结构工作效率"; stringProto17.ZHCN = "锚定结构工作效率"; stringProto17.ENUS = "Generation of Anchored Structure"; stringProto17.RegisterTranslation(); StringProto stringProto18 = new StringProto(); stringProto18.Name = "研究效率"; stringProto18.ZHCN = "研究效率"; stringProto18.ENUS = "Research Capacity"; stringProto18.RegisterTranslation(); StringProto stringProto19 = new StringProto(); stringProto19.Name = "折跃场加速"; stringProto19.ZHCN = "折跃场加速"; stringProto19.ENUS = "Warp Acceleration"; stringProto19.RegisterTranslation(); } public static void AddTranslateStructureName() { StringProto stringProto = new StringProto(); stringProto.Name = "规划"; stringProto.ZHCN = "规划"; stringProto.ENUS = "Plan "; stringProto.RegisterTranslation(); StringProto stringProto2 = new StringProto(); stringProto2.Name = "戴森球jinx"; stringProto2.ZHCN = "戴森球"; stringProto2.ENUS = "Dyson Sphere"; stringProto2.RegisterTranslation(); StringProto stringProto3 = new StringProto(); stringProto3.Name = "物质解压器"; stringProto3.ZHCN = "物质解压器"; stringProto3.ENUS = "Matter Decompressor"; stringProto3.RegisterTranslation(); StringProto stringProto4 = new StringProto(); stringProto4.Name = "科学枢纽"; stringProto4.ZHCN = "科学枢纽"; stringProto4.ENUS = "Science Nexus"; stringProto4.RegisterTranslation(); StringProto stringProto5 = new StringProto(); stringProto5.Name = "折跃场广播阵列"; stringProto5.ZHCN = "折跃场广播阵列"; stringProto5.ENUS = "Warp Field Broadcast Array"; stringProto5.RegisterTranslation(); StringProto stringProto6 = new StringProto(); stringProto6.Name = "星际组装厂"; stringProto6.ZHCN = "星际组装厂"; stringProto6.ENUS = "Interstellar Assembly"; stringProto6.RegisterTranslation(); StringProto stringProto7 = new StringProto(); stringProto7.Name = "晶体重构器"; stringProto7.ZHCN = "晶体重构器"; stringProto7.ENUS = "Crystal Reconstructor"; stringProto7.RegisterTranslation(); StringProto stringProto8 = new StringProto(); stringProto8.Name = "警告最多一个"; stringProto8.ZHCN = "折跃场广播阵列最多建造一个,请检查星系:"; stringProto8.ENUS = "You can only build one Wrapfield broadcast array, please check:"; stringProto8.RegisterTranslation(); StringProto stringProto9 = new StringProto(); stringProto9.Name = "警告先拆除"; stringProto9.ZHCN = "你必须先拆除所有锚定结构(节点)再规划不同的巨构建筑。"; stringProto9.ENUS = "You have to remove all anchor structures (nodes) before planning different megastructures."; stringProto9.RegisterTranslation(); StringProto stringProto10 = new StringProto(); stringProto10.Name = "警告仅黑洞"; stringProto10.ZHCN = "物质解压器只能在黑洞上建造。"; stringProto10.ENUS = "Matter decompressors can only be built on black holes."; stringProto10.RegisterTranslation(); StringProto stringProto11 = new StringProto(); stringProto11.Name = "警告仅中子星白矮星"; stringProto11.ZHCN = "晶体重构器只能在中子星或白矮星上建造。"; stringProto11.ENUS = "Crystal reconstructors can only be built on neutron stars or white drawf."; stringProto11.RegisterTranslation(); StringProto stringProto12 = new StringProto(); stringProto12.Name = "当前"; stringProto12.ZHCN = "当前"; stringProto12.ENUS = "Currently"; stringProto12.RegisterTranslation(); StringProto stringProto13 = new StringProto(); stringProto13.Name = "警告未知错误"; stringProto13.ZHCN = "设置异常失败,请像mod作者反馈该问题。"; stringProto13.ENUS = "The setting fails abnormally, please report this problem."; stringProto13.RegisterTranslation(); StringProto stringProto14 = new StringProto(); stringProto14.Name = "MegaStructures"; stringProto14.ZHCN = "巨构"; stringProto14.ENUS = "Megastructures"; stringProto14.RegisterTranslation(); StringProto stringProto15 = new StringProto(); stringProto15.Name = "物质合成"; stringProto15.ZHCN = "物质合成"; stringProto15.ENUS = "Substance Generation"; stringProto15.RegisterTranslation(); StringProto stringProto16 = new StringProto(); stringProto16.Name = "原矿模式"; stringProto16.ZHCN = "原矿输出"; stringProto16.ENUS = "Ore Generation"; stringProto16.RegisterTranslation(); StringProto stringProto17 = new StringProto(); stringProto17.Name = "原矿模式提示"; stringProto17.ZHCN = "在原矿输出模式下,产物将直接重构为原矿。"; stringProto17.ENUS = "In Ore Generation mode, the receiver will receive product delivered by the megastructure and directly convert it into the raw ore."; stringProto17.RegisterTranslation(); StringProto stringProto18 = new StringProto(); stringProto18.Name = "恒星炮"; stringProto18.ZHCN = "恒星炮"; stringProto18.ENUS = "Star cannon"; stringProto18.RegisterTranslation(); StringProto stringProto19 = new StringProto(); stringProto19.Name = "警告最多一个恒星炮"; stringProto19.ZHCN = "恒星炮最多建造一个,请检查星系:"; stringProto19.ENUS = "You can only build one Star cannon, please check:"; stringProto19.RegisterTranslation(); } public static void AddTranslateProtoNames1() { StringProto stringProto = new StringProto(); stringProto.Name = "引力发生装置"; stringProto.ZHCN = "引力发生装置"; stringProto.ENUS = "Gravity generator"; stringProto.RegisterTranslation(); StringProto stringProto2 = new StringProto(); stringProto2.Name = "引力发生装置描述"; stringProto2.ZHCN = "引导临界光子轰击奇异物质即可激发引力波。恒星附近能够获取大量的临界光子,从而能够使引力发生装置高效地运行。"; stringProto2.ENUS = "Gravitational waves can be excited by directing critical photons to hit strange matter. A large number of critical photons can be obtained near the star, allowing the gravitational generator to operate efficiently."; stringProto2.RegisterTranslation(); StringProto stringProto3 = new StringProto(); stringProto3.Name = "位面约束环"; stringProto3.ZHCN = "位面约束环"; stringProto3.ENUS = "Plane constraint ring"; stringProto3.RegisterTranslation(); StringProto stringProto4 = new StringProto(); stringProto4.Name = "位面约束环描述"; stringProto4.ZHCN = "位面约束环能够协同引力透镜引导并操纵引力,也是构建科学枢纽所需的恒星级粒子加速器的必要组件。"; stringProto4.ENUS = "Plane constraint ring can guide and manipulate gravity with graviton lens, and it is also an essential component of the stellar-scale particle accelerators which are needed to build science nexus."; stringProto4.RegisterTranslation(); StringProto stringProto5 = new StringProto(); stringProto5.Name = "引力钻头"; stringProto5.ZHCN = "引力钻头"; stringProto5.ENUS = "Graviton drill"; stringProto5.RegisterTranslation(); StringProto stringProto6 = new StringProto(); stringProto6.Name = "引力钻头描述"; stringProto6.ZHCN = "借助黑洞本身的引力,引力钻头能够将物质从黑洞中取出,这还包括吸积盘中大量的单极磁石。借助谐振盘,黑洞原质将能够被解压并在星系内输送。"; stringProto6.ENUS = "The graviton drill can pull matter out of the black hole using the gravity of the black hole itself, which also includes the unipolar magnets in the accretion disk. With the help of the resonant disc, the matter from the black hole will be able to be decompressed and transported within the galaxy."; stringProto6.RegisterTranslation(); StringProto stringProto7 = new StringProto(); stringProto7.Name = "隧穿激发装置"; stringProto7.ZHCN = "隧穿激发装置"; stringProto7.ENUS = "Tunneling exciter"; stringProto7.RegisterTranslation(); StringProto stringProto8 = new StringProto(); stringProto8.Name = "隧穿激发装置描述"; stringProto8.ZHCN = "隧穿激发装置可以完美地掌控量子隧穿效应,常被用来强化量子芯片的处理能力和纠错能力。通过量子隧穿效应还能够轻易突破弯曲空间的能量势垒,使得在任意远的空间打开裂口成为可能。"; stringProto8.ENUS = "Tunneling exciters can perfectly control the quantum tunneling effect, and are often used to enhance the processing and error correction capabilities of quantum chips. The quantum tunneling effect can also easily break through the energy barrier of the curved space, making it possible to open the warp crack in any space far away."; stringProto8.RegisterTranslation(); StringProto stringProto9 = new StringProto(); stringProto9.Name = "谐振盘"; stringProto9.ZHCN = "谐振盘"; stringProto9.ENUS = "Resonant disc"; stringProto9.RegisterTranslation(); StringProto stringProto10 = new StringProto(); stringProto10.Name = "谐振盘描述"; stringProto10.ZHCN = "谐振盘仅通过恒星级别的能量就可以产生跨越恒星系的空间波动能量束。如果将谐振盘组成阵列,理论上可以形成覆盖全宇宙的折跃能量场。"; stringProto10.ENUS = "The resonant disc can generate interstellar-scale space-wave energy beams from only stellar-scale energy. If the resonant discs are formed into an array, a warp field covering the entire universe can theoretically be formed."; stringProto10.RegisterTranslation(); StringProto stringProto11 = new StringProto(); stringProto11.Name = "光子探针"; stringProto11.ZHCN = "光子探针"; stringProto11.ENUS = "Photon probe"; stringProto11.RegisterTranslation(); StringProto stringProto12 = new StringProto(); stringProto12.Name = "光子探针描述"; stringProto12.ZHCN = "将临界光子变频后发射并引导晶体重构,发射的光子还能被回收。"; stringProto12.ENUS = "The critical photons are frequency-converted and emitted, thereby guiding the crystal reconstruction. The photons can also be recovered."; stringProto12.RegisterTranslation(); StringProto stringProto13 = new StringProto(); stringProto13.Name = "量子计算机"; stringProto13.ZHCN = "量子计算机"; stringProto13.ENUS = "Quantum computer"; stringProto13.RegisterTranslation(); StringProto stringProto14 = new StringProto(); stringProto14.Name = "量子计算机描述"; stringProto14.ZHCN = "只要供给足够的能量,量子计算机的运算时钟能够无限逼近普朗克时间。通过量子比特协同,其潜在的单线程运算速率还能突破物理极限,并可以无限提升。现在,限制其计算速度的将只有能量输入水平。"; stringProto14.ENUS = "As long as enough energy is supplied, the computing clock of a quantum computer can approach Planck time indefinitely. Through the cooperation of qubits, its potential single-threaded operation rate can also break through the physical limit and can be infinitely improved. Now, it will only be the level of energy input that will limit its computational speed."; stringProto14.RegisterTranslation(); StringProto stringProto15 = new StringProto(); stringProto15.Name = "星际组装厂组件"; stringProto15.ZHCN = "星际组装厂组件"; stringProto15.ENUS = "Interstellar assembly component"; stringProto15.RegisterTranslation(); StringProto stringProto16 = new StringProto(); stringProto16.Name = "星际组装厂组件描述"; stringProto16.ZHCN = "使用微型火箭将组件运载到恒星附近并构建星际组装厂的节点和框架。"; stringProto16.ENUS = "Use a small carrier rocket to the planned Interstellar assembly to form the nodes and frames of Interstellar assembly."; stringProto16.RegisterTranslation(); StringProto stringProto17 = new StringProto(); stringProto17.Name = "物质解压器运载火箭"; stringProto17.ZHCN = "物质解压器运载火箭"; stringProto17.ENUS = "Matter decompressor carrier rocket"; stringProto17.RegisterTranslation(); StringProto stringProto18 = new StringProto(); stringProto18.Name = "物质解压器运载火箭描述"; stringProto18.ZHCN = "物质解压器相关组件的运载工具。"; stringProto18.ENUS = "The delivery vehicle for the components of the Matter decompressor."; stringProto18.RegisterTranslation(); StringProto stringProto19 = new StringProto(); stringProto19.Name = "科学枢纽运载火箭"; stringProto19.ZHCN = "科学枢纽运载火箭"; stringProto19.ENUS = "Science nexus carrier rocket"; stringProto19.RegisterTranslation(); StringProto stringProto20 = new StringProto(); stringProto20.Name = "科学枢纽运载火箭描述"; stringProto20.ZHCN = "科学枢纽相关组件的运载工具。"; stringProto20.ENUS = "The delivery vehicle for the components of the Science nexus."; stringProto20.RegisterTranslation(); } public static void AddTranslateProtoNames2() { StringProto stringProto = new StringProto(); stringProto.Name = "谐振发射器运载火箭"; stringProto.ZHCN = "谐振发射器运载火箭"; stringProto.ENUS = "Resonant generator carrier rocket"; stringProto.RegisterTranslation(); StringProto stringProto2 = new StringProto(); stringProto2.Name = "谐振发射器运载火箭描述"; stringProto2.ZHCN = "大量谐振发射器将组成阵列并向全星系广播折跃能量场。"; stringProto2.ENUS = "A large number of resonant generators will form an array and broadcast the warp energy field to the entire galaxy."; stringProto2.RegisterTranslation(); StringProto stringProto3 = new StringProto(); stringProto3.Name = "星际组装厂运载火箭"; stringProto3.ZHCN = "星际组装厂运载火箭"; stringProto3.ENUS = "Interstellar assembly carrier rocket"; stringProto3.RegisterTranslation(); StringProto stringProto4 = new StringProto(); stringProto4.Name = "星际组装厂运载火箭描述"; stringProto4.ZHCN = "星际组装厂组件的运载工具。"; stringProto4.ENUS = "The delivery vehicle of Interstellar assembly components."; stringProto4.RegisterTranslation(); StringProto stringProto5 = new StringProto(); stringProto5.Name = "晶体重构器运载火箭"; stringProto5.ZHCN = "晶体重构器运载火箭"; stringProto5.ENUS = "Crystal reconstructor carrier rocket"; stringProto5.RegisterTranslation(); StringProto stringProto6 = new StringProto(); stringProto6.Name = "晶体重构器运载火箭描述"; stringProto6.ZHCN = "晶体重构器相关组件的运载工具。"; stringProto6.ENUS = "The delivery vehicle for the components of the Crystal reconstructor."; stringProto6.RegisterTranslation(); StringProto stringProto7 = new StringProto(); stringProto7.Name = "铁金属重构装置"; stringProto7.ZHCN = "铁金属重构装置"; stringProto7.ENUS = "Iron reconstruct receiver"; stringProto7.RegisterTranslation(); StringProto stringProto8 = new StringProto(); stringProto8.Name = "铜金属重构装置"; stringProto8.ZHCN = "铜金属重构装置"; stringProto8.ENUS = "Copper reconstruct receiver"; stringProto8.RegisterTranslation(); StringProto stringProto9 = new StringProto(); stringProto9.Name = "高纯硅重构装置"; stringProto9.ZHCN = "高纯硅重构装置"; stringProto9.ENUS = "Silicon reconstruct receiver"; stringProto9.RegisterTranslation(); StringProto stringProto10 = new StringProto(); stringProto10.Name = "钛金属重构装置"; stringProto10.ZHCN = "钛金属重构装置"; stringProto10.ENUS = "Titanium reconstruct receiver"; stringProto10.RegisterTranslation(); StringProto stringProto11 = new StringProto(); stringProto11.Name = "单极磁石重构装置"; stringProto11.ZHCN = "单极磁石重构装置"; stringProto11.ENUS = "Unipolar magnet receiver"; stringProto11.RegisterTranslation(); StringProto stringProto12 = new StringProto(); stringProto12.Name = "接收重构装置描述"; stringProto12.ZHCN = "从黑洞中解压出的亚稳态物质被接收后经过处理,重构为可直接使用的稳定材料。"; stringProto12.ENUS = "The metastable matter decompressed from the black hole is received, processed, and reconstructed into stable material that can be used directly."; stringProto12.RegisterTranslation(); StringProto stringProto13 = new StringProto(); stringProto13.Name = "晶体接收器"; stringProto13.ZHCN = "晶体接收器"; stringProto13.ENUS = "Crystal receiver"; stringProto13.RegisterTranslation(); StringProto stringProto14 = new StringProto(); stringProto14.Name = "晶体接收器描述"; stringProto14.ZHCN = "从晶体重构器中合成的卡西米尔晶体前导微晶流将在此经过自发β衰变并形成完美的卡西米尔晶体。接收器也可以转而富集该过程的副产物——光栅石。"; stringProto14.ENUS = "The Casimir crystal precursor crystallite flow synthesized from the Crystal reconstructor will undergo spontaneous β decay here and form perfect casimir crystals. The receivers can also in turn enrich for optical grating crystals, the by-product of the process."; stringProto14.RegisterTranslation(); StringProto stringProto15 = new StringProto(); stringProto15.Name = "组件集成装置"; stringProto15.ZHCN = "组件集成装置"; stringProto15.ENUS = "Component integration station"; stringProto15.RegisterTranslation(); StringProto stringProto16 = new StringProto(); stringProto16.Name = "组件集成装置描述"; stringProto16.ZHCN = "将星际组装厂的高集成配件进行预解压,形成可被快速组装的多功能集成组件。"; stringProto16.ENUS = "Pre-decompress the high-integration parts from the Interstellar assembly, to form multi-functional integrated components that can be quickly assembled."; stringProto16.RegisterTranslation(); StringProto stringProto17 = new StringProto(); stringProto17.Name = "多功能集成组件"; stringProto17.ZHCN = "多功能集成组件"; stringProto17.ENUS = "Multi-functional integrated components"; stringProto17.RegisterTranslation(); StringProto stringProto18 = new StringProto(); stringProto18.Name = "多功能集成组件描述"; stringProto18.ZHCN = "超高集成度使其可以迅速地组装成多种生产建筑和物流组件,却仅占用极小的空间。"; stringProto18.ENUS = "The high level of integration makes it possible to quickly assemble a variety of production building and logistics components, while occupying very little space."; stringProto18.RegisterTranslation(); StringProto stringProto19 = new StringProto(); stringProto19.Name = "光栅晶体接收器"; stringProto19.ZHCN = "光栅晶体接收器"; stringProto19.ENUS = "Optical crystal receiver"; stringProto19.RegisterTranslation(); StringProto stringProto20 = new StringProto(); stringProto20.Name = "石墨提炼装置"; stringProto20.ZHCN = "石墨提炼装置"; stringProto20.ENUS = "Graphite extraction receiver"; stringProto20.RegisterTranslation(); } public static void AddTranslateProtoNames3() { StringProto stringProto = new StringProto(); stringProto.Name = "传送带 快速组装"; stringProto.ZHCN = "传送带 快速组装"; stringProto.ENUS = "Conveyor belt - quick assembly"; stringProto.RegisterTranslation(); StringProto stringProto2 = new StringProto(); stringProto2.Name = "分拣器 快速组装"; stringProto2.ZHCN = "分拣器 快速组装"; stringProto2.ENUS = "Sorter - quick assembly"; stringProto2.RegisterTranslation(); StringProto stringProto3 = new StringProto(); stringProto3.Name = "配电站 快速组装"; stringProto3.ZHCN = "配电站 快速组装"; stringProto3.ENUS = "Substation - quick assembly"; stringProto3.RegisterTranslation(); StringProto stringProto4 = new StringProto(); stringProto4.Name = "制造台 快速组装"; stringProto4.ZHCN = "制造台 快速组装"; stringProto4.ENUS = "Assembling machine - quick assembly"; stringProto4.RegisterTranslation(); StringProto stringProto5 = new StringProto(); stringProto5.Name = "位面熔炉 快速组装"; stringProto5.ZHCN = "位面熔炉 快速组装"; stringProto5.ENUS = "Plane smelter - quick assembly"; stringProto5.RegisterTranslation(); StringProto stringProto6 = new StringProto(); stringProto6.Name = "化工厂 快速组装"; stringProto6.ZHCN = "化工厂 快速组装"; stringProto6.ENUS = "Chemical plant - quick assembly"; stringProto6.RegisterTranslation(); StringProto stringProto7 = new StringProto(); stringProto7.Name = "精炼厂 快速组装"; stringProto7.ZHCN = "精炼厂 快速组装"; stringProto7.ENUS = "Refinery - quick assembly"; stringProto7.RegisterTranslation(); StringProto stringProto8 = new StringProto(); stringProto8.Name = "对撞机 快速组装"; stringProto8.ZHCN = "对撞机 快速组装"; stringProto8.ENUS = "Collider - quick assembly"; stringProto8.RegisterTranslation(); StringProto stringProto9 = new StringProto(); stringProto9.Name = "研究站 快速组装"; stringProto9.ZHCN = "研究站 快速组装"; stringProto9.ENUS = "Lab - quick assembly"; stringProto9.RegisterTranslation(); StringProto stringProto10 = new StringProto(); stringProto10.Name = "人造恒星 快速组装"; stringProto10.ZHCN = "人造恒星 快速组装"; stringProto10.ENUS = "Artificial star - quick assembly"; stringProto10.RegisterTranslation(); StringProto stringProto11 = new StringProto(); stringProto11.Name = "行星内物流 快速组装"; stringProto11.ZHCN = "行星内物流 快速组装"; stringProto11.ENUS = "Planetary logistics - quick assembly"; stringProto11.RegisterTranslation(); StringProto stringProto12 = new StringProto(); stringProto12.Name = "星际物流 快速组装"; stringProto12.ZHCN = "星际物流 快速组装"; stringProto12.ENUS = "Interstellar logistics - quick assembly"; stringProto12.RegisterTranslation(); StringProto stringProto13 = new StringProto(); stringProto13.Name = "快速组装描述"; stringProto13.ZHCN = "使用多功能集成组件快速递组装成目标物品。"; stringProto13.ENUS = "Quickly assemble target items using multi-functional integrated components."; stringProto13.RegisterTranslation(); } public static void AddTranslateProtoNames4() { LocalizationModule.RegisterTranslation("每秒伤害gm", "Base Damage", "基础伤害", ""); LocalizationModule.RegisterTranslation("最大生产速度gm", "Production speed", "生产速度", ""); LocalizationModule.RegisterTranslation("阶段", "stage", "阶段", ""); LocalizationModule.RegisterTranslation("连续开火次数", "Aim targets", "射击目标数", ""); LocalizationModule.RegisterTranslation("最大射程", "Maximum fire range", "最大射程", ""); LocalizationModule.RegisterTranslation("伤害削减", "Damage reduction", "伤害削减", ""); LocalizationModule.RegisterTranslation("当前能量水平", "Current capacity", "当前能量水平", ""); LocalizationModule.RegisterTranslation("请拆除接收站", "Please remove all receivers", "请拆除本星系的接收站", ""); LocalizationModule.RegisterTranslation("下一阶段所需能量水平", "Next stage required capacity", "下一阶段所需能量水平", ""); LocalizationModule.RegisterTranslation("冷却及充能时间", "Charge duration", "充能时间", ""); LocalizationModule.RegisterTranslation("修建进度", "\nProgress to\nnext stage", "修建进度", ""); LocalizationModule.RegisterTranslation("最终阶段", "Final stage", "最终阶段", ""); LocalizationModule.RegisterTranslation("节点总数(已规划)gm", "Nodes in total(Planned)", "节点总数(已规划)", ""); LocalizationModule.RegisterTranslation("请求功率gm", "Requested power", "请求功率", ""); LocalizationModule.RegisterTranslation("无限制gm", "Infinite", "无限制", ""); LocalizationModule.RegisterTranslation("警告巨构科技未解锁", "You must unlock the Mission complete technology to unlock the science nexus", "你必须先解锁通关游戏才能解锁科学枢纽", ""); LocalizationModule.RegisterTranslation("游戏提示mms", "Message", "游戏提示", ""); LocalizationModule.RegisterTranslation("力场发生器", "Force field generator", "力场发生器", ""); LocalizationModule.RegisterTranslation("力场发生器描述", "With the help of the gravity generator, the force field generator can multiply the gravitational force in a fixed resonance field and give it a highly controllable directivity. If the energy supply is sufficient, the force field generator is able to deflects or even reverses the direction of the force field, making it possible to encode the resonant frequency of the force field.", "借助引力发生装置,力场发生器可以将引力在固定的谐振场域成倍放大,并赋予其高度可控的指向性。如果能量供应足够,力场发生器快速偏折甚至掉转力场方向,这使得对力场谐振频率进行编码成为可能。", ""); LocalizationModule.RegisterTranslation("复合态晶体", "Compound cyrstal", "复合态晶体", ""); LocalizationModule.RegisterTranslation("复合态晶体描述", "This single-molecule crystal has a normal density like ordinary matter, but can be reshaped into a material with extremely high hardness under the constraints of strong interaction force, so this material is also called strong interaction material (SIM).", "这种单分子晶体像普通物质一样拥有正常的密度,但能够在强相互作用力的束缚下,被重塑为硬度极高的物质,因此这种物质又被称为强相互作用力材料(SIM)。", ""); LocalizationModule.RegisterTranslation("电磁力抑制器", "Electromagnetic force suppressor", "电磁力抑制器", ""); LocalizationModule.RegisterTranslation("电磁力抑制器描述", "By eliminating the electromagnetic force between atomic nucleus, it allows the range of the strong interaction force to overflow the nucleus and expand to atom scope, providing the conditions for precise control of the strong interaction force. The suppressed electromagnetic force can also be redirected to create a vacuum Valsex field vortex ring.", "通过消除原子核之间的电磁力,允许强相互作用力的范围溢出原子核,并扩展到原子大小,为精确控制强力提供了条件。被抑制的电磁力还可以被引导至特定方向用以产生真空瓦尔塞克斯电场涡环。", ""); LocalizationModule.RegisterTranslation("胶子发生器", "Gluon generator", "胶子发生器", ""); LocalizationModule.RegisterTranslation("胶子发生器描述", "Generate controllable gluons to limit or expand the strength and scope of the strong interaction. The gluon generator must be controlled by quantum computers, so as to precisely control the arrangement of atoms on the quantum scale.", "产生可控胶子,以此限制或扩大强相互作用力的强度和作用范围。胶子发生器必须在量子计算机的协助下才能提高控制的精准程度,从而在量子尺度上精确控制原子排布。", ""); LocalizationModule.RegisterTranslation("强力过载装置", "Strong interaction overload device", "强力过载装置", ""); LocalizationModule.RegisterTranslation("强力过载装置描述", "The SIO device can make the repulsive and the attractive force peak to coincide precisely at a specific point, so that any deviation of the nucleus will be pulled back by the strong interaction force. If electromagnetic interference is removed, the nucleus will be fully anchored.", "强力过载装置可以使强力的排斥力峰值和吸引力峰值在特定的点精准重合,因而原子核的任何偏离都会被强力拉回。如果剔除了电磁力干扰,原子核将被完全锚定。", ""); LocalizationModule.RegisterTranslation("导流框架", "Flow guide frame", "导流框架", ""); LocalizationModule.RegisterTranslation("导流框架描述", "Storing, directing and guiding the energy of stars in a specific direction, creating high power directional energy resonance.", "将恒星的能量存储并引导、集中至特定方向,创造极高功率的定向能量谐振。", ""); LocalizationModule.RegisterTranslation("恒星炮组件", "Star cannon component", "恒星炮组件", ""); LocalizationModule.RegisterTranslation("恒星炮组件描述", "The star cannon can store the energy of the star to stimulate another star's energy surge, guiding its own energy to attack the dark fog. The time for the star cannon to fire is limited, and it needs to be recharged after firing.", "恒星炮能够储存恒星的能量,用以激发另一个恒星的能量涌动,引导其自身的能量攻击其所在星系的黑雾巢穴。恒星炮每次开火的时间有限,开火后需要重新充能。", ""); LocalizationModule.RegisterTranslation("恒星炮运载火箭", "Star cannon carrier rocket", "恒星炮运载火箭", ""); LocalizationModule.RegisterTranslation("恒星炮运载火箭描述", "The delivery vehicle for the components of the Star cannon.", "恒星炮相关组件的运载工具。", ""); LocalizationModule.RegisterTranslation("水滴gm", "Droplet", "水滴", ""); LocalizationModule.RegisterTranslation("水滴描述gm", "Droplets can fight as Icarus' space fleet. It uses extremely solid surface to hit key structures. Precise control of the droplet's propulsion and steering requires powerful remote computing power, as well as a remote supply of Mecha energy to control it. If the launch them manually, they will use 10 times as much energy to attack all enemies in the entire star system, not just those within 1 AU. Although the damage efficiency of the droplet is limited by its attack mode, its structure of strongly interacting materials allows it to withstand unlimited damage. You neet to set the space fleet type to droplet type to use the droplet.", "水滴可以作为伊卡洛斯的空中舰队进行作战,并使用极其坚硬的表面撞击敌人的关键结构。精确地控制水滴的推进和转向需要强大的远端运算能力,且发射水滴和操控也需要机甲能量的远程供给。如果主动发射水滴,其还可以消耗10倍的能量来攻击整个星系内的敌人,而不仅仅是1AU以内的敌人。虽然水滴的输出效率受其攻击方式限制,但其由强相互作用力材料组成的结构可以使其承受无限的伤害。你需要将太空编队的类型设置为水滴编队,以此放入水滴。", ""); LocalizationModule.RegisterTranslation("恒星炮设计说明题目", "Design Instructions", "恒星炮设计说明", ""); LocalizationModule.RegisterTranslation("恒星炮设计说明文本", "1. When the star cannon fires, the rotation axes of all layers will overlap, and the north pole will point to the target, so please design the north pole of each layer's grid as the center of the muzzle;\n2. When the star cannon fires, 12 random nodes on the 1st layer will emit a laser to the muzzle. For aesthetic reasons, please try to make the first layer only contain up to 12 nodes, and try to make them symmetrical to each other;\n3. The construction of the star cannon needs to go through multiple stages. And at the same time, the star cannon can increase its damage, max fire target count, and charging speed several times. After reaching the final stage, continue to build shells will continuously increase the damage;\n4. After built the star cannon, select a star system or a space dark fog hive in starmap mode, then launch the star cannon. Star cannon can NOT fire at its own star system.", "1.恒星炮开火时所有层级的旋转轴将重叠,并且让北极指向目标开火,因此设计时请以各层网格自身的北极点为炮口中心;\n2.恒星炮开火时,第1层的随机12个节点将发射出激光指向炮口,为美观考虑,请尽量使得第1层只包含12个(或更少的)节点,并使其相互对称。\n3.恒星炮建造需要经过多个阶段,随着各建造阶段完成,恒星炮能数次提高伤害、同时射击的目标数和充能速度等属性。在达到最终阶段后,继续修建壳层可以不断提高伤害。\n4.建造恒星炮后,在星图模式中选择一个恒星系或太空黑雾巢穴进行开火。恒星炮无法向自身所在星系开火。", ""); LocalizationModule.RegisterTranslation("恒星炮开火按钮文本", "Launch Star Cannon (R)", " 启动恒星炮 (R)", ""); LocalizationModule.RegisterTranslation("恒星炮开火标题", "Launch Star Cannon", "启动恒星炮", ""); LocalizationModule.RegisterTranslation("恒星炮开火描述", "Attack the space dark fog hive in the selected star system by the Star Cannon.", "使用恒星炮射击该星系内的太空黑雾巢穴。", ""); LocalizationModule.RegisterTranslation("选中黑雾巢穴时的恒星炮开火描述", "Attack the selected dark fog hive in the selected star system by the Star Cannon. Then attack other hives in that star system.", "使用恒星炮向该黑雾巢穴开火,而后继续射击该星系的其他太空黑雾巢穴。", ""); LocalizationModule.RegisterTranslation("优先射击按钮文本", "Prioritize attack (R)", " 优先射击 (R)", ""); LocalizationModule.RegisterTranslation("优先射击标题", "Prioritize attack", "优先射击", ""); LocalizationModule.RegisterTranslation("优先射击描述", "Star Cannon will turn to attack structures of this selected hive immediately.", "恒星炮将立刻开始转而攻击选中的黑雾巢穴结构。", ""); LocalizationModule.RegisterTranslation("恒星炮未规划按钮文本", "Star Cannon not planned", "恒星炮未规划", ""); LocalizationModule.RegisterTranslation("恒星炮建设中按钮文本", "Star Cannon Construction in Progress", "恒星炮建设中", ""); LocalizationModule.RegisterTranslation("恒星炮正在瞄准按钮文本", "Aiming", "瞄准中", ""); LocalizationModule.RegisterTranslation("恒星炮预热中按钮文本", "Guiding", "引导中", ""); LocalizationModule.RegisterTranslation("恒星炮开火中按钮文本", "Firing", "开火中", ""); LocalizationModule.RegisterTranslation("恒星炮冷却中按钮文本", "Cooling down", "冷却中", ""); LocalizationModule.RegisterTranslation("恒星炮充能中按钮文本", "Charging", "充能中", ""); Locali