Please disclose if your mod was created primarily using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of RtDVines v0.1.2
RtDVines.dll
Decompiled 2 months agousing System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Configuration; using Jotunn.Configs; using Jotunn.Entities; using Jotunn.Managers; using Jotunn.Utils; using Microsoft.CodeAnalysis; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("RtDVines")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("RtDVines")] [assembly: AssemblyTitle("RtDVines")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace RtDVines { [BepInPlugin("Soloredis.RtDVines", "RtDVines", "0.1.2")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] public class RtDVines : BaseUnityPlugin { public const string PluginGUID = "Soloredis.RtDVines"; public const string PluginName = "RtDVines"; public const string PluginVersion = "0.1.2"; public static bool isModded = true; public ConfigEntry<bool> LoggingEnable; private CustomLocalization Localization; public AssetBundle MyAssets; private void Awake() { CreateConfigs(); LoadBundle(); AddLocalizations(); CreateRecipes(); LoadTranslations(); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogWarning((object)"Logging is enabled in the config."); } } private void LoadBundle() { try { MyAssets = AssetUtils.LoadAssetBundleFromResources("rtdvines", Assembly.GetExecutingAssembly()); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}"); } } public void CreateConfigs() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Expected O, but got Unknown //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Expected O, but got Unknown try { ((BaseUnityPlugin)this).Config.SaveOnConfigSet = true; LoggingEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Logging", "Enable", false, new ConfigDescription("Enables logging.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = false } })); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}"); } } private void LoadTranslations() { TextAsset[] array = MyAssets.LoadAllAssets<TextAsset>(); TextAsset[] array2 = array; foreach (TextAsset val in array2) { string text = ((Object)val).name.Replace("_RtDAdditions.json", null); Localization.AddJsonFile(text, ((object)val).ToString()); } } public void CreateRecipes() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Expected O, but got Unknown //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Expected O, but got Unknown //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Expected O, but got Unknown //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Expected O, but got Unknown //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Expected O, but got Unknown //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Expected O, but got Unknown //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Expected O, but got Unknown //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00e6: Expected O, but got Unknown //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_011d: Expected O, but got Unknown //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Expected O, but got Unknown //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Expected O, but got Unknown //IL_014f: Unknown result type (might be due to invalid IL or missing references) //IL_0155: Expected O, but got Unknown //IL_0182: Unknown result type (might be due to invalid IL or missing references) //IL_018c: Expected O, but got Unknown //IL_0196: Unknown result type (might be due to invalid IL or missing references) //IL_01a0: Expected O, but got Unknown //IL_01b3: Unknown result type (might be due to invalid IL or missing references) //IL_01bd: Expected O, but got Unknown //IL_01be: Unknown result type (might be due to invalid IL or missing references) //IL_01c5: Expected O, but got Unknown //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Expected O, but got Unknown //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0215: Expected O, but got Unknown //IL_0229: Unknown result type (might be due to invalid IL or missing references) //IL_0233: Expected O, but got Unknown //IL_0234: Unknown result type (might be due to invalid IL or missing references) //IL_023b: Expected O, but got Unknown //IL_026c: Unknown result type (might be due to invalid IL or missing references) //IL_0276: Expected O, but got Unknown //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028b: Expected O, but got Unknown //IL_029f: Unknown result type (might be due to invalid IL or missing references) //IL_02a9: Expected O, but got Unknown //IL_02aa: Unknown result type (might be due to invalid IL or missing references) //IL_02b1: Expected O, but got Unknown //IL_02e2: Unknown result type (might be due to invalid IL or missing references) //IL_02ec: Expected O, but got Unknown //IL_02f7: Unknown result type (might be due to invalid IL or missing references) //IL_0301: Expected O, but got Unknown //IL_0315: Unknown result type (might be due to invalid IL or missing references) //IL_031f: Expected O, but got Unknown //IL_0320: Unknown result type (might be due to invalid IL or missing references) //IL_0327: Expected O, but got Unknown //IL_0358: Unknown result type (might be due to invalid IL or missing references) //IL_0362: Expected O, but got Unknown //IL_036d: Unknown result type (might be due to invalid IL or missing references) //IL_0377: Expected O, but got Unknown //IL_038a: Unknown result type (might be due to invalid IL or missing references) //IL_0394: Expected O, but got Unknown //IL_0395: Unknown result type (might be due to invalid IL or missing references) //IL_039c: Expected O, but got Unknown //IL_03cd: Unknown result type (might be due to invalid IL or missing references) //IL_03d7: Expected O, but got Unknown //IL_03e2: Unknown result type (might be due to invalid IL or missing references) //IL_03ec: Expected O, but got Unknown //IL_0400: Unknown result type (might be due to invalid IL or missing references) //IL_040a: Expected O, but got Unknown //IL_040b: Unknown result type (might be due to invalid IL or missing references) //IL_0412: Expected O, but got Unknown //IL_0443: Unknown result type (might be due to invalid IL or missing references) //IL_044d: Expected O, but got Unknown //IL_0458: Unknown result type (might be due to invalid IL or missing references) //IL_0462: Expected O, but got Unknown //IL_0476: Unknown result type (might be due to invalid IL or missing references) //IL_0480: Expected O, but got Unknown //IL_0481: Unknown result type (might be due to invalid IL or missing references) //IL_0488: Expected O, but got Unknown //IL_04b9: Unknown result type (might be due to invalid IL or missing references) //IL_04c3: Expected O, but got Unknown //IL_04ce: Unknown result type (might be due to invalid IL or missing references) //IL_04d8: Expected O, but got Unknown //IL_04ec: Unknown result type (might be due to invalid IL or missing references) //IL_04f6: Expected O, but got Unknown //IL_04f7: Unknown result type (might be due to invalid IL or missing references) //IL_04fe: Expected O, but got Unknown //IL_052f: Unknown result type (might be due to invalid IL or missing references) //IL_0539: Expected O, but got Unknown //IL_0544: Unknown result type (might be due to invalid IL or missing references) //IL_054e: Expected O, but got Unknown //IL_0562: Unknown result type (might be due to invalid IL or missing references) //IL_056c: Expected O, but got Unknown //IL_056d: Unknown result type (might be due to invalid IL or missing references) //IL_0574: Expected O, but got Unknown //IL_05a5: Unknown result type (might be due to invalid IL or missing references) //IL_05af: Expected O, but got Unknown //IL_05ba: Unknown result type (might be due to invalid IL or missing references) //IL_05c4: Expected O, but got Unknown //IL_05d8: Unknown result type (might be due to invalid IL or missing references) //IL_05e2: Expected O, but got Unknown //IL_05e3: Unknown result type (might be due to invalid IL or missing references) //IL_05ea: Expected O, but got Unknown //IL_061b: Unknown result type (might be due to invalid IL or missing references) //IL_0625: Expected O, but got Unknown //IL_0630: Unknown result type (might be due to invalid IL or missing references) //IL_063a: Expected O, but got Unknown //IL_064e: Unknown result type (might be due to invalid IL or missing references) //IL_0658: Expected O, but got Unknown //IL_0659: Unknown result type (might be due to invalid IL or missing references) //IL_0660: Expected O, but got Unknown //IL_0691: Unknown result type (might be due to invalid IL or missing references) //IL_069b: Expected O, but got Unknown //IL_06a6: Unknown result type (might be due to invalid IL or missing references) //IL_06b0: Expected O, but got Unknown //IL_06c4: Unknown result type (might be due to invalid IL or missing references) //IL_06ce: Expected O, but got Unknown //IL_06cf: Unknown result type (might be due to invalid IL or missing references) //IL_06d6: Expected O, but got Unknown //IL_0707: Unknown result type (might be due to invalid IL or missing references) //IL_0711: Expected O, but got Unknown //IL_071c: Unknown result type (might be due to invalid IL or missing references) //IL_0726: Expected O, but got Unknown //IL_073a: Unknown result type (might be due to invalid IL or missing references) //IL_0744: Expected O, but got Unknown //IL_0745: Unknown result type (might be due to invalid IL or missing references) //IL_074c: Expected O, but got Unknown //IL_077d: Unknown result type (might be due to invalid IL or missing references) //IL_0787: Expected O, but got Unknown //IL_0792: Unknown result type (might be due to invalid IL or missing references) //IL_079c: Expected O, but got Unknown //IL_07b0: Unknown result type (might be due to invalid IL or missing references) //IL_07ba: Expected O, but got Unknown //IL_07bb: Unknown result type (might be due to invalid IL or missing references) //IL_07c2: Expected O, but got Unknown //IL_07f3: Unknown result type (might be due to invalid IL or missing references) //IL_07fd: Expected O, but got Unknown //IL_0808: Unknown result type (might be due to invalid IL or missing references) //IL_0812: Expected O, but got Unknown //IL_0826: Unknown result type (might be due to invalid IL or missing references) //IL_0830: Expected O, but got Unknown //IL_0831: Unknown result type (might be due to invalid IL or missing references) //IL_0838: Expected O, but got Unknown //IL_0869: Unknown result type (might be due to invalid IL or missing references) //IL_0873: Expected O, but got Unknown //IL_087e: Unknown result type (might be due to invalid IL or missing references) //IL_0888: Expected O, but got Unknown //IL_089c: Unknown result type (might be due to invalid IL or missing references) //IL_08a6: Expected O, but got Unknown //IL_08a7: Unknown result type (might be due to invalid IL or missing references) //IL_08ae: Expected O, but got Unknown //IL_08df: Unknown result type (might be due to invalid IL or missing references) //IL_08e9: Expected O, but got Unknown //IL_08f4: Unknown result type (might be due to invalid IL or missing references) //IL_08fe: Expected O, but got Unknown //IL_0912: Unknown result type (might be due to invalid IL or missing references) //IL_091c: Expected O, but got Unknown //IL_091d: Unknown result type (might be due to invalid IL or missing references) //IL_0924: Expected O, but got Unknown //IL_0955: Unknown result type (might be due to invalid IL or missing references) //IL_095f: Expected O, but got Unknown //IL_096a: Unknown result type (might be due to invalid IL or missing references) //IL_0974: Expected O, but got Unknown //IL_0988: Unknown result type (might be due to invalid IL or missing references) //IL_0992: Expected O, but got Unknown //IL_0993: Unknown result type (might be due to invalid IL or missing references) //IL_099a: Expected O, but got Unknown //IL_09cb: Unknown result type (might be due to invalid IL or missing references) //IL_09d5: Expected O, but got Unknown //IL_09e0: Unknown result type (might be due to invalid IL or missing references) //IL_09ea: Expected O, but got Unknown //IL_09fe: Unknown result type (might be due to invalid IL or missing references) //IL_0a08: Expected O, but got Unknown //IL_0a09: Unknown result type (might be due to invalid IL or missing references) //IL_0a10: Expected O, but got Unknown //IL_0a41: Unknown result type (might be due to invalid IL or missing references) //IL_0a4b: Expected O, but got Unknown //IL_0a56: Unknown result type (might be due to invalid IL or missing references) //IL_0a60: Expected O, but got Unknown //IL_0a74: Unknown result type (might be due to invalid IL or missing references) //IL_0a7e: Expected O, but got Unknown //IL_0a7f: Unknown result type (might be due to invalid IL or missing references) //IL_0a86: Expected O, but got Unknown //IL_0ab7: Unknown result type (might be due to invalid IL or missing references) //IL_0ac1: Expected O, but got Unknown //IL_0acc: Unknown result type (might be due to invalid IL or missing references) //IL_0ad6: Expected O, but got Unknown //IL_0aea: Unknown result type (might be due to invalid IL or missing references) //IL_0af4: Expected O, but got Unknown //IL_0af5: Unknown result type (might be due to invalid IL or missing references) //IL_0afc: Expected O, but got Unknown //IL_0b2d: Unknown result type (might be due to invalid IL or missing references) //IL_0b37: Expected O, but got Unknown //IL_0b42: Unknown result type (might be due to invalid IL or missing references) //IL_0b4c: Expected O, but got Unknown //IL_0b60: Unknown result type (might be due to invalid IL or missing references) //IL_0b6a: Expected O, but got Unknown //IL_0b6b: Unknown result type (might be due to invalid IL or missing references) //IL_0b72: Expected O, but got Unknown //IL_0ba3: Unknown result type (might be due to invalid IL or missing references) //IL_0bad: Expected O, but got Unknown //IL_0bb8: Unknown result type (might be due to invalid IL or missing references) //IL_0bc2: Expected O, but got Unknown //IL_0bd6: Unknown result type (might be due to invalid IL or missing references) //IL_0be0: Expected O, but got Unknown //IL_0be1: Unknown result type (might be due to invalid IL or missing references) //IL_0be8: Expected O, but got Unknown //IL_0c19: Unknown result type (might be due to invalid IL or missing references) //IL_0c23: Expected O, but got Unknown //IL_0c2e: Unknown result type (might be due to invalid IL or missing references) //IL_0c38: Expected O, but got Unknown //IL_0c4c: Unknown result type (might be due to invalid IL or missing references) //IL_0c56: Expected O, but got Unknown //IL_0c57: Unknown result type (might be due to invalid IL or missing references) //IL_0c5e: Expected O, but got Unknown //IL_0c8f: Unknown result type (might be due to invalid IL or missing references) //IL_0c99: Expected O, but got Unknown //IL_0ca4: Unknown result type (might be due to invalid IL or missing references) //IL_0cae: Expected O, but got Unknown //IL_0cc2: Unknown result type (might be due to invalid IL or missing references) //IL_0ccc: Expected O, but got Unknown //IL_0ccd: Unknown result type (might be due to invalid IL or missing references) //IL_0cd4: Expected O, but got Unknown //IL_0d05: Unknown result type (might be due to invalid IL or missing references) //IL_0d0f: Expected O, but got Unknown //IL_0d1a: Unknown result type (might be due to invalid IL or missing references) //IL_0d24: Expected O, but got Unknown //IL_0d38: Unknown result type (might be due to invalid IL or missing references) //IL_0d42: Expected O, but got Unknown //IL_0d43: Unknown result type (might be due to invalid IL or missing references) //IL_0d4a: Expected O, but got Unknown //IL_0d7b: Unknown result type (might be due to invalid IL or missing references) //IL_0d85: Expected O, but got Unknown //IL_0d90: Unknown result type (might be due to invalid IL or missing references) //IL_0d9a: Expected O, but got Unknown //IL_0dae: Unknown result type (might be due to invalid IL or missing references) //IL_0db8: Expected O, but got Unknown //IL_0db9: Unknown result type (might be due to invalid IL or missing references) //IL_0dc0: Expected O, but got Unknown //IL_0df1: Unknown result type (might be due to invalid IL or missing references) //IL_0dfb: Expected O, but got Unknown //IL_0e06: Unknown result type (might be due to invalid IL or missing references) //IL_0e10: Expected O, but got Unknown //IL_0e24: Unknown result type (might be due to invalid IL or missing references) //IL_0e2e: Expected O, but got Unknown //IL_0e2f: Unknown result type (might be due to invalid IL or missing references) //IL_0e36: Expected O, but got Unknown //IL_0e67: Unknown result type (might be due to invalid IL or missing references) //IL_0e71: Expected O, but got Unknown //IL_0e7c: Unknown result type (might be due to invalid IL or missing references) //IL_0e86: Expected O, but got Unknown //IL_0e9a: Unknown result type (might be due to invalid IL or missing references) //IL_0ea4: Expected O, but got Unknown //IL_0ea5: Unknown result type (might be due to invalid IL or missing references) //IL_0eac: Expected O, but got Unknown //IL_0edd: Unknown result type (might be due to invalid IL or missing references) //IL_0ee7: Expected O, but got Unknown //IL_0ef2: Unknown result type (might be due to invalid IL or missing references) //IL_0efc: Expected O, but got Unknown //IL_0f10: Unknown result type (might be due to invalid IL or missing references) //IL_0f1a: Expected O, but got Unknown //IL_0f1b: Unknown result type (might be due to invalid IL or missing references) //IL_0f22: Expected O, but got Unknown //IL_0f53: Unknown result type (might be due to invalid IL or missing references) //IL_0f5d: Expected O, but got Unknown //IL_0f68: Unknown result type (might be due to invalid IL or missing references) //IL_0f72: Expected O, but got Unknown //IL_0f86: Unknown result type (might be due to invalid IL or missing references) //IL_0f90: Expected O, but got Unknown //IL_0f91: Unknown result type (might be due to invalid IL or missing references) //IL_0f98: Expected O, but got Unknown //IL_0fc9: Unknown result type (might be due to invalid IL or missing references) //IL_0fd3: Expected O, but got Unknown //IL_0fde: Unknown result type (might be due to invalid IL or missing references) //IL_0fe8: Expected O, but got Unknown //IL_0ffc: Unknown result type (might be due to invalid IL or missing references) //IL_1006: Expected O, but got Unknown //IL_1007: Unknown result type (might be due to invalid IL or missing references) //IL_100e: Expected O, but got Unknown //IL_103f: Unknown result type (might be due to invalid IL or missing references) //IL_1049: Expected O, but got Unknown //IL_1054: Unknown result type (might be due to invalid IL or missing references) //IL_105e: Expected O, but got Unknown //IL_1072: Unknown result type (might be due to invalid IL or missing references) //IL_107c: Expected O, but got Unknown //IL_107d: Unknown result type (might be due to invalid IL or missing references) //IL_1084: Expected O, but got Unknown //IL_10b5: Unknown result type (might be due to invalid IL or missing references) //IL_10bf: Expected O, but got Unknown //IL_10ca: Unknown result type (might be due to invalid IL or missing references) //IL_10d4: Expected O, but got Unknown //IL_10e8: Unknown result type (might be due to invalid IL or missing references) //IL_10f2: Expected O, but got Unknown //IL_10f3: Unknown result type (might be due to invalid IL or missing references) //IL_10fa: Expected O, but got Unknown //IL_112b: Unknown result type (might be due to invalid IL or missing references) //IL_1135: Expected O, but got Unknown //IL_1140: Unknown result type (might be due to invalid IL or missing references) //IL_114a: Expected O, but got Unknown //IL_115e: Unknown result type (might be due to invalid IL or missing references) //IL_1168: Expected O, but got Unknown //IL_1169: Unknown result type (might be due to invalid IL or missing references) //IL_1170: Expected O, but got Unknown //IL_11a1: Unknown result type (might be due to invalid IL or missing references) //IL_11ab: Expected O, but got Unknown //IL_11b6: Unknown result type (might be due to invalid IL or missing references) //IL_11c0: Expected O, but got Unknown //IL_11d4: Unknown result type (might be due to invalid IL or missing references) //IL_11de: Expected O, but got Unknown //IL_11df: Unknown result type (might be due to invalid IL or missing references) //IL_11e6: Expected O, but got Unknown //IL_1217: Unknown result type (might be due to invalid IL or missing references) //IL_1221: Expected O, but got Unknown //IL_122c: Unknown result type (might be due to invalid IL or missing references) //IL_1236: Expected O, but got Unknown //IL_124a: Unknown result type (might be due to invalid IL or missing references) //IL_1254: Expected O, but got Unknown //IL_1255: Unknown result type (might be due to invalid IL or missing references) //IL_125c: Expected O, but got Unknown //IL_128d: Unknown result type (might be due to invalid IL or missing references) //IL_1297: Expected O, but got Unknown //IL_12a2: Unknown result type (might be due to invalid IL or missing references) //IL_12ac: Expected O, but got Unknown //IL_12c0: Unknown result type (might be due to invalid IL or missing references) //IL_12ca: Expected O, but got Unknown //IL_12cb: Unknown result type (might be due to invalid IL or missing references) //IL_12d2: Expected O, but got Unknown //IL_1303: Unknown result type (might be due to invalid IL or missing references) //IL_130d: Expected O, but got Unknown //IL_1318: Unknown result type (might be due to invalid IL or missing references) //IL_1322: Expected O, but got Unknown //IL_1336: Unknown result type (might be due to invalid IL or missing references) //IL_1340: Expected O, but got Unknown //IL_1341: Unknown result type (might be due to invalid IL or missing references) //IL_1348: Expected O, but got Unknown //IL_1379: Unknown result type (might be due to invalid IL or missing references) //IL_1383: Expected O, but got Unknown //IL_138e: Unknown result type (might be due to invalid IL or missing references) //IL_1398: Expected O, but got Unknown //IL_13ac: Unknown result type (might be due to invalid IL or missing references) //IL_13b6: Expected O, but got Unknown //IL_13b7: Unknown result type (might be due to invalid IL or missing references) //IL_13be: Expected O, but got Unknown //IL_13ef: Unknown result type (might be due to invalid IL or missing references) //IL_13f9: Expected O, but got Unknown //IL_1404: Unknown result type (might be due to invalid IL or missing references) //IL_140e: Expected O, but got Unknown //IL_1422: Unknown result type (might be due to invalid IL or missing references) //IL_142c: Expected O, but got Unknown //IL_142d: Unknown result type (might be due to invalid IL or missing references) //IL_1434: Expected O, but got Unknown //IL_1465: Unknown result type (might be due to invalid IL or missing references) //IL_146f: Expected O, but got Unknown //IL_147a: Unknown result type (might be due to invalid IL or missing references) //IL_1484: Expected O, but got Unknown //IL_1498: Unknown result type (might be due to invalid IL or missing references) //IL_14a2: Expected O, but got Unknown //IL_14a3: Unknown result type (might be due to invalid IL or missing references) //IL_14aa: Expected O, but got Unknown //IL_14db: Unknown result type (might be due to invalid IL or missing references) //IL_14e5: Expected O, but got Unknown //IL_14f0: Unknown result type (might be due to invalid IL or missing references) //IL_14fa: Expected O, but got Unknown //IL_150e: Unknown result type (might be due to invalid IL or missing references) //IL_1518: Expected O, but got Unknown //IL_1519: Unknown result type (might be due to invalid IL or missing references) //IL_1520: Expected O, but got Unknown //IL_1551: Unknown result type (might be due to invalid IL or missing references) //IL_155b: Expected O, but got Unknown //IL_1566: Unknown result type (might be due to invalid IL or missing references) //IL_1570: Expected O, but got Unknown //IL_1584: Unknown result type (might be due to invalid IL or missing references) //IL_158e: Expected O, but got Unknown //IL_158f: Unknown result type (might be due to invalid IL or missing references) //IL_1596: Expected O, but got Unknown //IL_15c7: Unknown result type (might be due to invalid IL or missing references) //IL_15d1: Expected O, but got Unknown //IL_15dc: Unknown result type (might be due to invalid IL or missing references) //IL_15e6: Expected O, but got Unknown //IL_15fa: Unknown result type (might be due to invalid IL or missing references) //IL_1604: Expected O, but got Unknown //IL_1605: Unknown result type (might be due to invalid IL or missing references) //IL_160c: Expected O, but got Unknown //IL_163d: Unknown result type (might be due to invalid IL or missing references) //IL_1647: Expected O, but got Unknown //IL_1652: Unknown result type (might be due to invalid IL or missing references) //IL_165c: Expected O, but got Unknown //IL_1670: Unknown result type (might be due to invalid IL or missing references) //IL_167a: Expected O, but got Unknown //IL_167b: Unknown result type (might be due to invalid IL or missing references) //IL_1682: Expected O, but got Unknown //IL_16b3: Unknown result type (might be due to invalid IL or missing references) //IL_16bd: Expected O, but got Unknown //IL_16c8: Unknown result type (might be due to invalid IL or missing references) //IL_16d2: Expected O, but got Unknown //IL_16e6: Unknown result type (might be due to invalid IL or missing references) //IL_16f0: Expected O, but got Unknown //IL_16f1: Unknown result type (might be due to invalid IL or missing references) //IL_16f8: Expected O, but got Unknown //IL_1729: Unknown result type (might be due to invalid IL or missing references) //IL_1733: Expected O, but got Unknown //IL_173e: Unknown result type (might be due to invalid IL or missing references) //IL_1748: Expected O, but got Unknown //IL_175c: Unknown result type (might be due to invalid IL or missing references) //IL_1766: Expected O, but got Unknown //IL_1767: Unknown result type (might be due to invalid IL or missing references) //IL_176e: Expected O, but got Unknown //IL_179f: Unknown result type (might be due to invalid IL or missing references) //IL_17a9: Expected O, but got Unknown //IL_17b4: Unknown result type (might be due to invalid IL or missing references) //IL_17be: Expected O, but got Unknown //IL_17d2: Unknown result type (might be due to invalid IL or missing references) //IL_17dc: Expected O, but got Unknown //IL_17dd: Unknown result type (might be due to invalid IL or missing references) //IL_17e4: Expected O, but got Unknown //IL_1815: Unknown result type (might be due to invalid IL or missing references) //IL_181f: Expected O, but got Unknown //IL_182a: Unknown result type (might be due to invalid IL or missing references) //IL_1834: Expected O, but got Unknown //IL_1848: Unknown result type (might be due to invalid IL or missing references) //IL_1852: Expected O, but got Unknown //IL_1853: Unknown result type (might be due to invalid IL or missing references) //IL_185a: Expected O, but got Unknown //IL_188b: Unknown result type (might be due to invalid IL or missing references) //IL_1895: Expected O, but got Unknown //IL_18a0: Unknown result type (might be due to invalid IL or missing references) //IL_18aa: Expected O, but got Unknown //IL_18be: Unknown result type (might be due to invalid IL or missing references) //IL_18c8: Expected O, but got Unknown //IL_18c9: Unknown result type (might be due to invalid IL or missing references) //IL_18d0: Expected O, but got Unknown //IL_1901: Unknown result type (might be due to invalid IL or missing references) //IL_190b: Expected O, but got Unknown //IL_1916: Unknown result type (might be due to invalid IL or missing references) //IL_1920: Expected O, but got Unknown //IL_1934: Unknown result type (might be due to invalid IL or missing references) //IL_193e: Expected O, but got Unknown //IL_193f: Unknown result type (might be due to invalid IL or missing references) //IL_1946: Expected O, but got Unknown //IL_1977: Unknown result type (might be due to invalid IL or missing references) //IL_1981: Expected O, but got Unknown //IL_198c: Unknown result type (might be due to invalid IL or missing references) //IL_1996: Expected O, but got Unknown //IL_19aa: Unknown result type (might be due to invalid IL or missing references) //IL_19b4: Expected O, but got Unknown //IL_19b5: Unknown result type (might be due to invalid IL or missing references) //IL_19bc: Expected O, but got Unknown //IL_19ed: Unknown result type (might be due to invalid IL or missing references) //IL_19f7: Expected O, but got Unknown //IL_1a02: Unknown result type (might be due to invalid IL or missing references) //IL_1a0c: Expected O, but got Unknown //IL_1a20: Unknown result type (might be due to invalid IL or missing references) //IL_1a2a: Expected O, but got Unknown //IL_1a2b: Unknown result type (might be due to invalid IL or missing references) //IL_1a32: Expected O, but got Unknown //IL_1a63: Unknown result type (might be due to invalid IL or missing references) //IL_1a6d: Expected O, but got Unknown //IL_1a78: Unknown result type (might be due to invalid IL or missing references) //IL_1a82: Expected O, but got Unknown //IL_1a96: Unknown result type (might be due to invalid IL or missing references) //IL_1aa0: Expected O, but got Unknown //IL_1aa1: Unknown result type (might be due to invalid IL or missing references) //IL_1aa8: Expected O, but got Unknown //IL_1ad9: Unknown result type (might be due to invalid IL or missing references) //IL_1ae3: Expected O, but got Unknown //IL_1aee: Unknown result type (might be due to invalid IL or missing references) //IL_1af8: Expected O, but got Unknown //IL_1b0c: Unknown result type (might be due to invalid IL or missing references) //IL_1b16: Expected O, but got Unknown //IL_1b17: Unknown result type (might be due to invalid IL or missing references) //IL_1b1e: Expected O, but got Unknown //IL_1b4f: Unknown result type (might be due to invalid IL or missing references) //IL_1b59: Expected O, but got Unknown //IL_1b64: Unknown result type (might be due to invalid IL or missing references) //IL_1b6e: Expected O, but got Unknown //IL_1b82: Unknown result type (might be due to invalid IL or missing references) //IL_1b8c: Expected O, but got Unknown //IL_1b8d: Unknown result type (might be due to invalid IL or missing references) //IL_1b94: Expected O, but got Unknown //IL_1bc5: Unknown result type (might be due to invalid IL or missing references) //IL_1bcf: Expected O, but got Unknown //IL_1bda: Unknown result type (might be due to invalid IL or missing references) //IL_1be4: Expected O, but got Unknown //IL_1bf8: Unknown result type (might be due to invalid IL or missing references) //IL_1c02: Expected O, but got Unknown //IL_1c03: Unknown result type (might be due to invalid IL or missing references) //IL_1c0a: Expected O, but got Unknown //IL_1c3b: Unknown result type (might be due to invalid IL or missing references) //IL_1c45: Expected O, but got Unknown //IL_1c50: Unknown result type (might be due to invalid IL or missing references) //IL_1c5a: Expected O, but got Unknown //IL_1c6e: Unknown result type (might be due to invalid IL or missing references) //IL_1c78: Expected O, but got Unknown //IL_1c79: Unknown result type (might be due to invalid IL or missing references) //IL_1c80: Expected O, but got Unknown //IL_1cb1: Unknown result type (might be due to invalid IL or missing references) //IL_1cbb: Expected O, but got Unknown //IL_1cc6: Unknown result type (might be due to invalid IL or missing references) //IL_1cd0: Expected O, but got Unknown //IL_1ce4: Unknown result type (might be due to invalid IL or missing references) //IL_1cee: Expected O, but got Unknown //IL_1cef: Unknown result type (might be due to invalid IL or missing references) //IL_1cf6: Expected O, but got Unknown //IL_1d27: Unknown result type (might be due to invalid IL or missing references) //IL_1d31: Expected O, but got Unknown //IL_1d3c: Unknown result type (might be due to invalid IL or missing references) //IL_1d46: Expected O, but got Unknown //IL_1d5a: Unknown result type (might be due to invalid IL or missing references) //IL_1d64: Expected O, but got Unknown //IL_1d65: Unknown result type (might be due to invalid IL or missing references) //IL_1d6c: Expected O, but got Unknown //IL_1d9d: Unknown result type (might be due to invalid IL or missing references) //IL_1da7: Expected O, but got Unknown //IL_1db2: Unknown result type (might be due to invalid IL or missing references) //IL_1dbc: Expected O, but got Unknown //IL_1dd0: Unknown result type (might be due to invalid IL or missing references) //IL_1dda: Expected O, but got Unknown //IL_1ddb: Unknown result type (might be due to invalid IL or missing references) //IL_1de2: Expected O, but got Unknown //IL_1e13: Unknown result type (might be due to invalid IL or missing references) //IL_1e1d: Expected O, but got Unknown //IL_1e28: Unknown result type (might be due to invalid IL or missing references) //IL_1e32: Expected O, but got Unknown //IL_1e46: Unknown result type (might be due to invalid IL or missing references) //IL_1e50: Expected O, but got Unknown //IL_1e51: Unknown result type (might be due to invalid IL or missing references) //IL_1e58: Expected O, but got Unknown //IL_1e89: Unknown result type (might be due to invalid IL or missing references) //IL_1e93: Expected O, but got Unknown //IL_1e9e: Unknown result type (might be due to invalid IL or missing references) //IL_1ea8: Expected O, but got Unknown //IL_1ebc: Unknown result type (might be due to invalid IL or missing references) //IL_1ec6: Expected O, but got Unknown //IL_1ec7: Unknown result type (might be due to invalid IL or missing references) //IL_1ece: Expected O, but got Unknown //IL_1eff: Unknown result type (might be due to invalid IL or missing references) //IL_1f09: Expected O, but got Unknown //IL_1f14: Unknown result type (might be due to invalid IL or missing references) //IL_1f1e: Expected O, but got Unknown //IL_1f32: Unknown result type (might be due to invalid IL or missing references) //IL_1f3c: Expected O, but got Unknown //IL_1f3d: Unknown result type (might be due to invalid IL or missing references) //IL_1f44: Expected O, but got Unknown //IL_1f75: Unknown result type (might be due to invalid IL or missing references) //IL_1f7f: Expected O, but got Unknown //IL_1f8a: Unknown result type (might be due to invalid IL or missing references) //IL_1f94: Expected O, but got Unknown //IL_1fa8: Unknown result type (might be due to invalid IL or missing references) //IL_1fb2: Expected O, but got Unknown //IL_1fb3: Unknown result type (might be due to invalid IL or missing references) //IL_1fba: Expected O, but got Unknown //IL_1feb: Unknown result type (might be due to invalid IL or missing references) //IL_1ff5: Expected O, but got Unknown //IL_2000: Unknown result type (might be due to invalid IL or missing references) //IL_200a: Expected O, but got Unknown //IL_201e: Unknown result type (might be due to invalid IL or missing references) //IL_2028: Expected O, but got Unknown //IL_2029: Unknown result type (might be due to invalid IL or missing references) //IL_2030: Expected O, but got Unknown //IL_2061: Unknown result type (might be due to invalid IL or missing references) //IL_206b: Expected O, but got Unknown //IL_2076: Unknown result type (might be due to invalid IL or missing references) //IL_2080: Expected O, but got Unknown //IL_2094: Unknown result type (might be due to invalid IL or missing references) //IL_209e: Expected O, but got Unknown //IL_209f: Unknown result type (might be due to invalid IL or missing references) //IL_20a6: Expected O, but got Unknown //IL_20d7: Unknown result type (might be due to invalid IL or missing references) //IL_20e1: Expected O, but got Unknown //IL_20ec: Unknown result type (might be due to invalid IL or missing references) //IL_20f6: Expected O, but got Unknown //IL_210a: Unknown result type (might be due to invalid IL or missing references) //IL_2114: Expected O, but got Unknown //IL_2115: Unknown result type (might be due to invalid IL or missing references) //IL_211c: Expected O, but got Unknown //IL_214d: Unknown result type (might be due to invalid IL or missing references) //IL_2157: Expected O, but got Unknown //IL_2162: Unknown result type (might be due to invalid IL or missing references) //IL_216c: Expected O, but got Unknown //IL_2180: Unknown result type (might be due to invalid IL or missing references) //IL_218a: Expected O, but got Unknown //IL_218b: Unknown result type (might be due to invalid IL or missing references) //IL_2192: Expected O, but got Unknown //IL_21c3: Unknown result type (might be due to invalid IL or missing references) //IL_21cd: Expected O, but got Unknown //IL_21d8: Unknown result type (might be due to invalid IL or missing references) //IL_21e2: Expected O, but got Unknown //IL_21f6: Unknown result type (might be due to invalid IL or missing references) //IL_2200: Expected O, but got Unknown //IL_2201: Unknown result type (might be due to invalid IL or missing references) //IL_2208: Expected O, but got Unknown //IL_2239: Unknown result type (might be due to invalid IL or missing references) //IL_2243: Expected O, but got Unknown //IL_224e: Unknown result type (might be due to invalid IL or missing references) //IL_2258: Expected O, but got Unknown //IL_226c: Unknown result type (might be due to invalid IL or missing references) //IL_2276: Expected O, but got Unknown //IL_2277: Unknown result type (might be due to invalid IL or missing references) //IL_227e: Expected O, but got Unknown //IL_22af: Unknown result type (might be due to invalid IL or missing references) //IL_22b9: Expected O, but got Unknown //IL_22c4: Unknown result type (might be due to invalid IL or missing references) //IL_22ce: Expected O, but got Unknown //IL_22e2: Unknown result type (might be due to invalid IL or missing references) //IL_22ec: Expected O, but got Unknown //IL_22ed: Unknown result type (might be due to invalid IL or missing references) //IL_22f4: Expected O, but got Unknown //IL_2325: Unknown result type (might be due to invalid IL or missing references) //IL_232f: Expected O, but got Unknown //IL_233a: Unknown result type (might be due to invalid IL or missing references) //IL_2344: Expected O, but got Unknown //IL_2358: Unknown result type (might be due to invalid IL or missing references) //IL_2362: Expected O, but got Unknown //IL_2363: Unknown result type (might be due to invalid IL or missing references) //IL_236a: Expected O, but got Unknown //IL_239b: Unknown result type (might be due to invalid IL or missing references) //IL_23a5: Expected O, but got Unknown //IL_23b0: Unknown result type (might be due to invalid IL or missing references) //IL_23ba: Expected O, but got Unknown //IL_23ce: Unknown result type (might be due to invalid IL or missing references) //IL_23d8: Expected O, but got Unknown //IL_23d9: Unknown result type (might be due to invalid IL or missing references) //IL_23e0: Expected O, but got Unknown //IL_2411: Unknown result type (might be due to invalid IL or missing references) //IL_241b: Expected O, but got Unknown //IL_2426: Unknown result type (might be due to invalid IL or missing references) //IL_2430: Expected O, but got Unknown //IL_2444: Unknown result type (might be due to invalid IL or missing references) //IL_244e: Expected O, but got Unknown //IL_244f: Unknown result type (might be due to invalid IL or missing references) //IL_2456: Expected O, but got Unknown //IL_2487: Unknown result type (might be due to invalid IL or missing references) //IL_2491: Expected O, but got Unknown //IL_249c: Unknown result type (might be due to invalid IL or missing references) //IL_24a6: Expected O, but got Unknown //IL_24ba: Unknown result type (might be due to invalid IL or missing references) //IL_24c4: Expected O, but got Unknown //IL_24c5: Unknown result type (might be due to invalid IL or missing references) //IL_24cc: Expected O, but got Unknown //IL_24fd: Unknown result type (might be due to invalid IL or missing references) //IL_2507: Expected O, but got Unknown //IL_2512: Unknown result type (might be due to invalid IL or missing references) //IL_251c: Expected O, but got Unknown //IL_2530: Unknown result type (might be due to invalid IL or missing references) //IL_253a: Expected O, but got Unknown //IL_253b: Unknown result type (might be due to invalid IL or missing references) //IL_2542: Expected O, but got Unknown //IL_2573: Unknown result type (might be due to invalid IL or missing references) //IL_257d: Expected O, but got Unknown //IL_2588: Unknown result type (might be due to invalid IL or missing references) //IL_2592: Expected O, but got Unknown //IL_25a6: Unknown result type (might be due to invalid IL or missing references) //IL_25b0: Expected O, but got Unknown //IL_25b1: Unknown result type (might be due to invalid IL or missing references) //IL_25b8: Expected O, but got Unknown //IL_25e9: Unknown result type (might be due to invalid IL or missing references) //IL_25f3: Expected O, but got Unknown //IL_25fe: Unknown result type (might be due to invalid IL or missing references) //IL_2608: Expected O, but got Unknown //IL_261c: Unknown result type (might be due to invalid IL or missing references) //IL_2626: Expected O, but got Unknown //IL_2627: Unknown result type (might be due to invalid IL or missing references) //IL_262e: Expected O, but got Unknown //IL_265f: Unknown result type (might be due to invalid IL or missing references) //IL_2669: Expected O, but got Unknown //IL_2674: Unknown result type (might be due to invalid IL or missing references) //IL_267e: Expected O, but got Unknown //IL_2692: Unknown result type (might be due to invalid IL or missing references) //IL_269c: Expected O, but got Unknown //IL_269d: Unknown result type (might be due to invalid IL or missing references) //IL_26a4: Expected O, but got Unknown //IL_26d5: Unknown result type (might be due to invalid IL or missing references) //IL_26df: Expected O, but got Unknown //IL_26ea: Unknown result type (might be due to invalid IL or missing references) //IL_26f4: Expected O, but got Unknown //IL_2708: Unknown result type (might be due to invalid IL or missing references) //IL_2712: Expected O, but got Unknown //IL_2713: Unknown result type (might be due to invalid IL or missing references) //IL_271a: Expected O, but got Unknown //IL_274b: Unknown result type (might be due to invalid IL or missing references) //IL_2755: Expected O, but got Unknown //IL_2760: Unknown result type (might be due to invalid IL or missing references) //IL_276a: Expected O, but got Unknown //IL_277e: Unknown result type (might be due to invalid IL or missing references) //IL_2788: Expected O, but got Unknown //IL_2789: Unknown result type (might be due to invalid IL or missing references) //IL_2790: Expected O, but got Unknown //IL_27c1: Unknown result type (might be due to invalid IL or missing references) //IL_27cb: Expected O, but got Unknown //IL_27d6: Unknown result type (might be due to invalid IL or missing references) //IL_27e0: Expected O, but got Unknown //IL_27f4: Unknown result type (might be due to invalid IL or missing references) //IL_27fe: Expected O, but got Unknown //IL_27ff: Unknown result type (might be due to invalid IL or missing references) //IL_2806: Expected O, but got Unknown //IL_2837: Unknown result type (might be due to invalid IL or missing references) //IL_2841: Expected O, but got Unknown //IL_284c: Unknown result type (might be due to invalid IL or missing references) //IL_2856: Expected O, but got Unknown //IL_286a: Unknown result type (might be due to invalid IL or missing references) //IL_2874: Expected O, but got Unknown //IL_2875: Unknown result type (might be due to invalid IL or missing references) //IL_287c: Expected O, but got Unknown //IL_28ad: Unknown result type (might be due to invalid IL or missing references) //IL_28b7: Expected O, but got Unknown //IL_28c2: Unknown result type (might be due to invalid IL or missing references) //IL_28cc: Expected O, but got Unknown //IL_28e0: Unknown result type (might be due to invalid IL or missing references) //IL_28ea: Expected O, but got Unknown //IL_28eb: Unknown result type (might be due to invalid IL or missing references) //IL_28f2: Expected O, but got Unknown //IL_2923: Unknown result type (might be due to invalid IL or missing references) //IL_292d: Expected O, but got Unknown //IL_2938: Unknown result type (might be due to invalid IL or missing references) //IL_2942: Expected O, but got Unknown //IL_2956: Unknown result type (might be due to invalid IL or missing references) //IL_2960: Expected O, but got Unknown //IL_2961: Unknown result type (might be due to invalid IL or missing references) //IL_2968: Expected O, but got Unknown //IL_2999: Unknown result type (might be due to invalid IL or missing references) //IL_29a3: Expected O, but got Unknown //IL_29ae: Unknown result type (might be due to invalid IL or missing references) //IL_29b8: Expected O, but got Unknown //IL_29cc: Unknown result type (might be due to invalid IL or missing references) //IL_29d6: Expected O, but got Unknown //IL_29d7: Unknown result type (might be due to invalid IL or missing references) //IL_29de: Expected O, but got Unknown //IL_2a0f: Unknown result type (might be due to invalid IL or missing references) //IL_2a19: Expected O, but got Unknown //IL_2a24: Unknown result type (might be due to invalid IL or missing references) //IL_2a2e: Expected O, but got Unknown //IL_2a42: Unknown result type (might be due to invalid IL or missing references) //IL_2a4c: Expected O, but got Unknown //IL_2a4d: Unknown result type (might be due to invalid IL or missing references) //IL_2a54: Expected O, but got Unknown //IL_2a85: Unknown result type (might be due to invalid IL or missing references) //IL_2a8f: Expected O, but got Unknown //IL_2a9a: Unknown result type (might be due to invalid IL or missing references) //IL_2aa4: Expected O, but got Unknown //IL_2ab8: Unknown result type (might be due to invalid IL or missing references) //IL_2ac2: Expected O, but got Unknown try { PieceConfig val = new PieceConfig(); val.PieceTable = PieceTables.Hammer; val.CraftingStation = CraftingStations.Workbench; val.Category = "Vines"; val.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallCD_1_FB_RtD", true, val)); PieceConfig val2 = new PieceConfig(); val2.PieceTable = PieceTables.Hammer; val2.CraftingStation = CraftingStations.Workbench; val2.Category = "Vines"; val2.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val2.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallCD_2_FB_RtD", true, val2)); PieceConfig val3 = new PieceConfig(); val3.PieceTable = PieceTables.Hammer; val3.CraftingStation = CraftingStations.Workbench; val3.Category = "Vines"; val3.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val3.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_1_FB_RtD", true, val3)); PieceConfig val4 = new PieceConfig(); val4.PieceTable = PieceTables.Hammer; val4.CraftingStation = CraftingStations.Workbench; val4.Category = "Vines"; val4.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val4.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_2_FB_RtD", true, val4)); PieceConfig val5 = new PieceConfig(); val5.PieceTable = PieceTables.Hammer; val5.CraftingStation = CraftingStations.Workbench; val5.Category = "Vines"; val5.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val5.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_3_FB_RtD", true, val5)); PieceConfig val6 = new PieceConfig(); val6.PieceTable = PieceTables.Hammer; val6.CraftingStation = CraftingStations.Workbench; val6.Category = "Vines"; val6.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val6.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_4_FB_RtD", true, val6)); PieceConfig val7 = new PieceConfig(); val7.PieceTable = PieceTables.Hammer; val7.CraftingStation = CraftingStations.Workbench; val7.Category = "Vines"; val7.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val7.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_5_FB_RtD", true, val7)); PieceConfig val8 = new PieceConfig(); val8.PieceTable = PieceTables.Hammer; val8.CraftingStation = CraftingStations.Workbench; val8.Category = "Vines"; val8.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val8.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_6_FB_RtD", true, val)); PieceConfig val9 = new PieceConfig(); val9.PieceTable = PieceTables.Hammer; val9.CraftingStation = CraftingStations.Workbench; val9.Category = "Vines"; val9.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val9.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_1_FB_RtD", true, val9)); PieceConfig val10 = new PieceConfig(); val10.PieceTable = PieceTables.Hammer; val10.CraftingStation = CraftingStations.Workbench; val10.Category = "Vines"; val10.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val10.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_2_FB_RtD", true, val10)); PieceConfig val11 = new PieceConfig(); val11.PieceTable = PieceTables.Hammer; val11.CraftingStation = CraftingStations.Workbench; val11.Category = "Vines"; val11.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val11.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_3_FB_RtD", true, val11)); PieceConfig val12 = new PieceConfig(); val12.PieceTable = PieceTables.Hammer; val12.CraftingStation = CraftingStations.Workbench; val12.Category = "Vines"; val12.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val12.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_4_FB_RtD", true, val12)); PieceConfig val13 = new PieceConfig(); val13.PieceTable = PieceTables.Hammer; val13.CraftingStation = CraftingStations.Workbench; val13.Category = "Vines"; val13.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val13.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_1_FB_RtD", true, val13)); PieceConfig val14 = new PieceConfig(); val14.PieceTable = PieceTables.Hammer; val14.CraftingStation = CraftingStations.Workbench; val14.Category = "Vines"; val14.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val14.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_2_FB_RtD", true, val14)); PieceConfig val15 = new PieceConfig(); val15.PieceTable = PieceTables.Hammer; val15.CraftingStation = CraftingStations.Workbench; val15.Category = "Vines"; val15.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val15.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_1_FC_RtD", true, val15)); PieceConfig val16 = new PieceConfig(); val16.PieceTable = PieceTables.Hammer; val16.CraftingStation = CraftingStations.Workbench; val16.Category = "Vines"; val16.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val16.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_2_FC_RtD", true, val16)); PieceConfig val17 = new PieceConfig(); val17.PieceTable = PieceTables.Hammer; val17.CraftingStation = CraftingStations.Workbench; val17.Category = "Vines"; val17.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val17.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_3_FC_RtD", true, val17)); PieceConfig val18 = new PieceConfig(); val18.PieceTable = PieceTables.Hammer; val18.CraftingStation = CraftingStations.Workbench; val18.Category = "Vines"; val18.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val18.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_4_FC_RtD", true, val18)); PieceConfig val19 = new PieceConfig(); val19.PieceTable = PieceTables.Hammer; val19.CraftingStation = CraftingStations.Workbench; val19.Category = "Vines"; val19.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val19.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_5_FC_RtD", true, val19)); PieceConfig val20 = new PieceConfig(); val20.PieceTable = PieceTables.Hammer; val20.CraftingStation = CraftingStations.Workbench; val20.Category = "Vines"; val20.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val20.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_6_FC_RtD", true, val20)); PieceConfig val21 = new PieceConfig(); val21.PieceTable = PieceTables.Hammer; val21.CraftingStation = CraftingStations.Workbench; val21.Category = "Vines"; val21.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val21.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_1_FE_RtD", true, val21)); PieceConfig val22 = new PieceConfig(); val22.PieceTable = PieceTables.Hammer; val22.CraftingStation = CraftingStations.Workbench; val22.Category = "Vines"; val22.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val22.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_2_FE_RtD", true, val22)); PieceConfig val23 = new PieceConfig(); val23.PieceTable = PieceTables.Hammer; val23.CraftingStation = CraftingStations.Workbench; val23.Category = "Vines"; val23.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val23.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_4_FE_RtD", true, val23)); PieceConfig val24 = new PieceConfig(); val24.PieceTable = PieceTables.Hammer; val24.CraftingStation = CraftingStations.Workbench; val24.Category = "Vines"; val24.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val24.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_5_FE_RtD", true, val24)); PieceConfig val25 = new PieceConfig(); val25.PieceTable = PieceTables.Hammer; val25.CraftingStation = CraftingStations.Workbench; val25.Category = "Vines"; val25.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val25.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_6_FE_RtD", true, val25)); PieceConfig val26 = new PieceConfig(); val26.PieceTable = PieceTables.Hammer; val26.CraftingStation = CraftingStations.Workbench; val26.Category = "Vines"; val26.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val26.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_1_FE_RtD", true, val26)); PieceConfig val27 = new PieceConfig(); val27.PieceTable = PieceTables.Hammer; val27.CraftingStation = CraftingStations.Workbench; val27.Category = "Vines"; val27.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val27.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_2_FE_RtD", true, val27)); PieceConfig val28 = new PieceConfig(); val28.PieceTable = PieceTables.Hammer; val28.CraftingStation = CraftingStations.Workbench; val28.Category = "Vines"; val28.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val28.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_3_FE_RtD", true, val28)); PieceConfig val29 = new PieceConfig(); val29.PieceTable = PieceTables.Hammer; val29.CraftingStation = CraftingStations.Workbench; val29.Category = "Vines"; val29.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val29.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_4_FE_RtD", true, val29)); PieceConfig val30 = new PieceConfig(); val30.PieceTable = PieceTables.Hammer; val30.CraftingStation = CraftingStations.Workbench; val30.Category = "Vines"; val30.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val30.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_1_FE_RtD", true, val30)); PieceConfig val31 = new PieceConfig(); val31.PieceTable = PieceTables.Hammer; val31.CraftingStation = CraftingStations.Workbench; val31.Category = "Vines"; val31.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val31.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_2_FE_RtD", true, val31)); PieceConfig val32 = new PieceConfig(); val32.PieceTable = PieceTables.Hammer; val32.CraftingStation = CraftingStations.Workbench; val32.Category = "Vines"; val32.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val32.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_1_FP_RtD", true, val32)); PieceConfig val33 = new PieceConfig(); val33.PieceTable = PieceTables.Hammer; val33.CraftingStation = CraftingStations.Workbench; val33.Category = "Vines"; val33.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val33.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_2_FP_RtD", true, val33)); PieceConfig val34 = new PieceConfig(); val34.PieceTable = PieceTables.Hammer; val34.CraftingStation = CraftingStations.Workbench; val34.Category = "Vines"; val34.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val34.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_3_FP_RtD", true, val34)); PieceConfig val35 = new PieceConfig(); val35.PieceTable = PieceTables.Hammer; val35.CraftingStation = CraftingStations.Workbench; val35.Category = "Vines"; val35.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val35.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_4_FP_RtD", true, val35)); PieceConfig val36 = new PieceConfig(); val36.PieceTable = PieceTables.Hammer; val36.CraftingStation = CraftingStations.Workbench; val36.Category = "Vines"; val36.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val36.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_5_FP_RtD", true, val36)); PieceConfig val37 = new PieceConfig(); val37.PieceTable = PieceTables.Hammer; val37.CraftingStation = CraftingStations.Workbench; val37.Category = "Vines"; val37.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val37.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_6_FP_RtD", true, val37)); PieceConfig val38 = new PieceConfig(); val38.PieceTable = PieceTables.Hammer; val38.CraftingStation = CraftingStations.Workbench; val38.Category = "Vines"; val38.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val38.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_1_FP_RtD", true, val38)); PieceConfig val39 = new PieceConfig(); val39.PieceTable = PieceTables.Hammer; val39.CraftingStation = CraftingStations.Workbench; val39.Category = "Vines"; val39.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val39.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_2_FP_RtD", true, val39)); PieceConfig val40 = new PieceConfig(); val40.PieceTable = PieceTables.Hammer; val40.CraftingStation = CraftingStations.Workbench; val40.Category = "Vines"; val40.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val40.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_3_FP_RtD", true, val40)); PieceConfig val41 = new PieceConfig(); val41.PieceTable = PieceTables.Hammer; val41.CraftingStation = CraftingStations.Workbench; val41.Category = "Vines"; val41.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val41.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_4_FP_RtD", true, val41)); PieceConfig val42 = new PieceConfig(); val42.PieceTable = PieceTables.Hammer; val42.CraftingStation = CraftingStations.Workbench; val42.Category = "Vines"; val42.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val42.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_1_FP_RtD", true, val42)); PieceConfig val43 = new PieceConfig(); val43.PieceTable = PieceTables.Hammer; val43.CraftingStation = CraftingStations.Workbench; val43.Category = "Vines"; val43.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val43.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_2_FP_RtD", true, val43)); PieceConfig val44 = new PieceConfig(); val44.PieceTable = PieceTables.Hammer; val44.CraftingStation = CraftingStations.Workbench; val44.Category = "Vines"; val44.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val44.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_1_FR_RtD", true, val44)); PieceConfig val45 = new PieceConfig(); val45.PieceTable = PieceTables.Hammer; val45.CraftingStation = CraftingStations.Workbench; val45.Category = "Vines"; val45.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val45.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_2_FR_RtD", true, val45)); PieceConfig val46 = new PieceConfig(); val46.PieceTable = PieceTables.Hammer; val46.CraftingStation = CraftingStations.Workbench; val46.Category = "Vines"; val46.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val46.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_3_FE_RtD", true, val46)); PieceConfig val47 = new PieceConfig(); val47.PieceTable = PieceTables.Hammer; val47.CraftingStation = CraftingStations.Workbench; val47.Category = "Vines"; val47.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val47.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_3_FR_RtD", true, val47)); PieceConfig val48 = new PieceConfig(); val48.PieceTable = PieceTables.Hammer; val48.CraftingStation = CraftingStations.Workbench; val48.Category = "Vines"; val48.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val48.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_4_FR_RtD", true, val48)); PieceConfig val49 = new PieceConfig(); val49.PieceTable = PieceTables.Hammer; val49.CraftingStation = CraftingStations.Workbench; val49.Category = "Vines"; val49.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val49.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_5_FR_RtD", true, val49)); PieceConfig val50 = new PieceConfig(); val50.PieceTable = PieceTables.Hammer; val50.CraftingStation = CraftingStations.Workbench; val50.Category = "Vines"; val50.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val50.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_6_FR_RtD", true, val50)); PieceConfig val51 = new PieceConfig(); val51.PieceTable = PieceTables.Hammer; val51.CraftingStation = CraftingStations.Workbench; val51.Category = "Vines"; val51.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val51.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_1_FR_RtD", true, val51)); PieceConfig val52 = new PieceConfig(); val52.PieceTable = PieceTables.Hammer; val52.CraftingStation = CraftingStations.Workbench; val52.Category = "Vines"; val52.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val52.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_2_FR_RtD", true, val52)); PieceConfig val53 = new PieceConfig(); val53.PieceTable = PieceTables.Hammer; val53.CraftingStation = CraftingStations.Workbench; val53.Category = "Vines"; val53.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val53.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_3_FR_RtD", true, val53)); PieceConfig val54 = new PieceConfig(); val54.PieceTable = PieceTables.Hammer; val54.CraftingStation = CraftingStations.Workbench; val54.Category = "Vines"; val54.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val54.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_4_FR_RtD", true, val54)); PieceConfig val55 = new PieceConfig(); val55.PieceTable = PieceTables.Hammer; val55.CraftingStation = CraftingStations.Workbench; val55.Category = "Vines"; val55.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val55.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_1_FR_RtD", true, val55)); PieceConfig val56 = new PieceConfig(); val56.PieceTable = PieceTables.Hammer; val56.CraftingStation = CraftingStations.Workbench; val56.Category = "Vines"; val56.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val56.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_2_FR_RtD", true, val56)); PieceConfig val57 = new PieceConfig(); val57.PieceTable = PieceTables.Hammer; val57.CraftingStation = CraftingStations.Workbench; val57.Category = "Vines"; val57.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val57.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyFloor_1_FS_RtD", true, val57)); PieceConfig val58 = new PieceConfig(); val58.PieceTable = PieceTables.Hammer; val58.CraftingStation = CraftingStations.Workbench; val58.Category = "Vines"; val58.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val58.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyFloor_2_FS_RtD", true, val58)); PieceConfig val59 = new PieceConfig(); val59.PieceTable = PieceTables.Hammer; val59.CraftingStation = CraftingStations.Workbench; val59.Category = "Vines"; val59.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val59.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyFloor_3_FS_RtD", true, val59)); PieceConfig val60 = new PieceConfig(); val60.PieceTable = PieceTables.Hammer; val60.CraftingStation = CraftingStations.Workbench; val60.Category = "Vines"; val60.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val60.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyFloor_4_FS_RtD", true, val60)); PieceConfig val61 = new PieceConfig(); val61.PieceTable = PieceTables.Hammer; val61.CraftingStation = CraftingStations.Workbench; val61.Category = "Vines"; val61.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val61.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_1_FS_RtD", true, val61)); PieceConfig val62 = new PieceConfig(); val62.PieceTable = PieceTables.Hammer; val62.CraftingStation = CraftingStations.Workbench; val62.Category = "Vines"; val62.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val62.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_2_FS_RtD", true, val62)); PieceConfig val63 = new PieceConfig(); val63.PieceTable = PieceTables.Hammer; val63.CraftingStation = CraftingStations.Workbench; val63.Category = "Vines"; val63.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val63.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_3_FS_RtD", true, val63)); PieceConfig val64 = new PieceConfig(); val64.PieceTable = PieceTables.Hammer; val64.CraftingStation = CraftingStations.Workbench; val64.Category = "Vines"; val64.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val64.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_4_FS_RtD", true, val64)); PieceConfig val65 = new PieceConfig(); val65.PieceTable = PieceTables.Hammer; val65.CraftingStation = CraftingStations.Workbench; val65.Category = "Vines"; val65.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val65.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_5_FS_RtD", true, val65)); PieceConfig val66 = new PieceConfig(); val66.PieceTable = PieceTables.Hammer; val66.CraftingStation = CraftingStations.Workbench; val66.Category = "Vines"; val66.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val66.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_6_FS_RtD", true, val66)); PieceConfig val67 = new PieceConfig(); val67.PieceTable = PieceTables.Hammer; val67.CraftingStation = CraftingStations.Workbench; val67.Category = "Vines"; val67.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val67.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_1_FS_RtD", true, val67)); PieceConfig val68 = new PieceConfig(); val68.PieceTable = PieceTables.Hammer; val68.CraftingStation = CraftingStations.Workbench; val68.Category = "Vines"; val68.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val68.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_2_FS_RtD", true, val68)); PieceConfig val69 = new PieceConfig(); val69.PieceTable = PieceTables.Hammer; val69.CraftingStation = CraftingStations.Workbench; val69.Category = "Vines"; val69.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val69.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_3_FS_RtD", true, val69)); PieceConfig val70 = new PieceConfig(); val70.PieceTable = PieceTables.Hammer; val70.CraftingStation = CraftingStations.Workbench; val70.Category = "Vines"; val70.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val70.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_4_FS_RtD", true, val70)); PieceConfig val71 = new PieceConfig(); val71.PieceTable = PieceTables.Hammer; val71.CraftingStation = CraftingStations.Workbench; val71.Category = "Vines"; val71.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val71.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_1_FS_RtD", true, val71)); PieceConfig val72 = new PieceConfig(); val72.PieceTable = PieceTables.Hammer; val72.CraftingStation = CraftingStations.Workbench; val72.Category = "Vines"; val72.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val72.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_2_FS_RtD", true, val72)); PieceConfig val73 = new PieceConfig(); val73.PieceTable = PieceTables.Hammer; val73.CraftingStation = CraftingStations.Workbench; val73.Category = "Vines"; val73.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val73.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_1_FV_RtD", true, val73)); PieceConfig val74 = new PieceConfig(); val74.PieceTable = PieceTables.Hammer; val74.CraftingStation = CraftingStations.Workbench; val74.Category = "Vines"; val74.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val74.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_2_FV_RtD", true, val74)); PieceConfig val75 = new PieceConfig(); val75.PieceTable = PieceTables.Hammer; val75.CraftingStation = CraftingStations.Workbench; val75.Category = "Vines"; val75.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val75.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_3_FV_RtD", true, val75)); PieceConfig val76 = new PieceConfig(); val76.PieceTable = PieceTables.Hammer; val76.CraftingStation = CraftingStations.Workbench; val76.Category = "Vines"; val76.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val76.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_4_FV_RtD", true, val76)); PieceConfig val77 = new PieceConfig(); val77.PieceTable = PieceTables.Hammer; val77.CraftingStation = CraftingStations.Workbench; val77.Category = "Vines"; val77.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val77.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_5_FV_RtD", true, val77)); PieceConfig val78 = new PieceConfig(); val78.PieceTable = PieceTables.Hammer; val78.CraftingStation = CraftingStations.Workbench; val78.Category = "Vines"; val78.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val78.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_6_FV_RtD", true, val78)); PieceConfig val79 = new PieceConfig(); val79.PieceTable = PieceTables.Hammer; val79.CraftingStation = CraftingStations.Workbench; val79.Category = "Vines"; val79.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val79.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_1_FV_RtD", true, val79)); PieceConfig val80 = new PieceConfig(); val80.PieceTable = PieceTables.Hammer; val80.CraftingStation = CraftingStations.Workbench; val80.Category = "Vines"; val80.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val80.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_2_FV_RtD", true, val80)); PieceConfig val81 = new PieceConfig(); val81.PieceTable = PieceTables.Hammer; val81.CraftingStation = CraftingStations.Workbench; val81.Category = "Vines"; val81.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val81.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_3_FV_RtD", true, val81)); PieceConfig val82 = new PieceConfig(); val82.PieceTable = PieceTables.Hammer; val82.CraftingStation = CraftingStations.Workbench; val82.Category = "Vines"; val82.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val82.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_4_FV_RtD", true, val82)); PieceConfig val83 = new PieceConfig(); val83.PieceTable = PieceTables.Hammer; val83.CraftingStation = CraftingStations.Workbench; val83.Category = "Vines"; val83.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val83.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_1_FV_RtD", true, val83)); PieceConfig val84 = new PieceConfig(); val84.PieceTable = PieceTables.Hammer; val84.CraftingStation = CraftingStations.Workbench; val84.Category = "Vines"; val84.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val84.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallWD_2_FV_RtD", true, val84)); PieceConfig val85 = new PieceConfig(); val85.PieceTable = PieceTables.Hammer; val85.CraftingStation = CraftingStations.Workbench; val85.Category = "Vines"; val85.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val85.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_1_RtD", true, val85)); PieceConfig val86 = new PieceConfig(); val86.PieceTable = PieceTables.Hammer; val86.CraftingStation = CraftingStations.Workbench; val86.Category = "Vines"; val86.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val86.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_2_RtD", true, val86)); PieceConfig val87 = new PieceConfig(); val87.PieceTable = PieceTables.Hammer; val87.CraftingStation = CraftingStations.Workbench; val87.Category = "Vines"; val87.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val87.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_3_RtD", true, val87)); PieceConfig val88 = new PieceConfig(); val88.PieceTable = PieceTables.Hammer; val88.CraftingStation = CraftingStations.Workbench; val88.Category = "Vines"; val88.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val88.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_4_RtD", true, val88)); PieceConfig val89 = new PieceConfig(); val89.PieceTable = PieceTables.Hammer; val89.CraftingStation = CraftingStations.Workbench; val89.Category = "Vines"; val89.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val89.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_5_RtD", true, val89)); PieceConfig val90 = new PieceConfig(); val90.PieceTable = PieceTables.Hammer; val90.CraftingStation = CraftingStations.Workbench; val90.Category = "Vines"; val90.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val90.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallD_6_RtD", true, val90)); PieceConfig val91 = new PieceConfig(); val91.PieceTable = PieceTables.Hammer; val91.CraftingStation = CraftingStations.Workbench; val91.Category = "Vines"; val91.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val91.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_2_RtD", true, val91)); PieceConfig val92 = new PieceConfig(); val92.PieceTable = PieceTables.Hammer; val92.CraftingStation = CraftingStations.Workbench; val92.Category = "Vines"; val92.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val92.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_3_RtD", true, val92)); PieceConfig val93 = new PieceConfig(); val93.PieceTable = PieceTables.Hammer; val93.CraftingStation = CraftingStations.Workbench; val93.Category = "Vines"; val93.AddRequirement(new RequirementConfig("Wood", 5, 0, true)); val93.AddRequirement(new RequirementConfig("Resin", 5, 0, true)); PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "IvyWallU_4_RtD", true, val93)); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}"); } } private void AddLocalizations() { Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization = Localization; string text = "English"; localization.AddTranslation(ref text, new Dictionary<string, string> { { "IvyWallCD_1_FB_RtD", "Vines Blue" }, { "IvyWallCD_2_FB_RtD", "Vines Blue" }, { "IvyWallD_1_FB_RtD", "Vines Blue" }, { "IvyWallD_2_FB_RtD", "Vines Blue" }, { "IvyWallD_3_FB_RtD", "Vines Blue" }, { "IvyWallD_4_FB_RtD", "Vines Blue" }, { "IvyWallD_5_FB_RtD", "Vines Blue" }, { "IvyWallD_6_FB_RtD", "Vines Blue" }, { "IvyWallU_1_FB_RtD", "Vines Blue" }, { "IvyWallU_2_FB_RtD", "Vines Blue" }, { "IvyWallU_3_FB_RtD", "Vines Blue" }, { "IvyWallU_4_FB_RtD", "Vines Blue" }, { "IvyWallWD_1_FB_RtD", "Vines Blue" }, { "IvyWallWD_2_FB_RtD", "Vines Blue" }, { "IvyWallD_1_FC_RtD", "Vines Lt Pink" }, { "IvyWallD_2_FC_RtD", "Vines Lt Pink" }, { "IvyWallD_3_FC_RtD", "Vines Lt Pink" }, { "IvyWallD_4_FC_RtD", "Vines Lt Pink" }, { "IvyWallD_5_FC_RtD", "Vines Lt Pink" }, { "IvyWallD_6_FC_RtD", "Vines Lt Pink" }, { "IvyWallD_1_FE_RtD", "Vines Gold" }, { "IvyWallD_2_FE_RtD", "Vines Gold" }, { "IvyWallD_4_FE_RtD", "Vines Gold" }, { "IvyWallD_5_FE_RtD", "Vines Gold" }, { "IvyWallD_6_FE_RtD", "Vines Gold" }, { "IvyWallU_1_FE_RtD", "Vines Gold" }, { "IvyWallU_2_FE_RtD", "Vines Gold" }, { "IvyWallU_3_FE_RtD", "Vines Gold" }, { "IvyWallU_4_FE_RtD", "Vines Gold" }, { "IvyWallWD_1_FE_RtD", "Vines Gold" }, { "IvyWallWD_2_FE_RtD", "Vines Gold" }, { "IvyWallD_1_FP_RtD", "Vines Dark Pink" }, { "IvyWallD_2_FP_RtD", "Vines Dark Pink" }, { "IvyWallD_3_FP_RtD", "Vines Dark Pink" }, { "IvyWallD_4_FP_RtD", "Vines Dark Pink" }, { "IvyWallD_5_FP_RtD", "Vines Dark Pink" }, { "IvyWallD_6_FP_RtD", "Vines Dark Pink" }, { "IvyWallU_1_FP_RtD", "Vines Dark Pink" }, { "IvyWallU_2_FP_RtD", "Vines Dark Pink" }, { "IvyWallU_3_FP_RtD", "Vines Dark Pink" }, { "IvyWallU_4_FP_RtD", "Vines Dark Pink" }, { "IvyWallWD_1_FP_RtD", "Vines Dark Pink" }, { "IvyWallWD_2_FP_RtD", "Vines Dark Pink" }, { "IvyWallD_1_FR_RtD", "Vines Red" }, { "IvyWallD_2_FR_RtD", "Vines Red" }, { "IvyWallD_3_FE_RtD", "Vines Gold" }, { "IvyWallD_3_FR_RtD", "Vines Red" }, { "IvyWallD_4_FR_RtD", "Vines Red" }, { "IvyWallD_5_FR_RtD", "Vines Red" }, { "IvyWallD_6_FR_RtD", "Vines Red" }, { "IvyWallU_1_FR_RtD", "Vines Red" }, { "IvyWallU_2_FR_RtD", "Vines Red" }, { "IvyWallU_3_FR_RtD", "Vines Red" }, { "IvyWallU_4_FR_RtD", "Vines Red" }, { "IvyWallWD_1_FR_RtD", "Vines Red" }, { "IvyWallWD_2_FR_RtD", "Vines Red" }, { "IvyFloor_1_FS_RtD", "Floor Vines Large" }, { "IvyFloor_2_FS_RtD", "Floor Vines Long" }, { "IvyFloor_3_FS_RtD", "Floor Vines Small" }, { "IvyFloor_4_FS_RtD", "Floor Vines Extra Small" }, { "IvyWallD_1_FS_RtD", "Vines Gold Purple" }, { "IvyWallD_2_FS_RtD", "Vines Gold Purple" }, { "IvyWallD_3_FS_RtD", "Vines Gold Purple" }, { "IvyWallD_4_FS_RtD", "Vines Gold Purple" }, { "IvyWallD_5_FS_RtD", "Vines Gold Purple" }, { "IvyWallD_6_FS_RtD", "Vines Gold Purple" }, { "IvyWallU_1_FS_RtD", "Vines Gold Purple" }, { "IvyWallU_2_FS_RtD", "Vines Gold Purple" }, { "IvyWallU_3_FS_RtD", "Vines Gold Purple" }, { "IvyWallU_4_FS_RtD", "Vines Gold Purple" }, { "IvyWallWD_1_FS_RtD", "Vines Gold Purple" }, { "IvyWallWD_2_FS_RtD", "Vines Gold Purple" }, { "IvyWallD_1_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallD_2_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallD_3_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallD_4_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallD_5_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallD_6_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallU_1_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallU_2_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallU_3_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallU_4_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallWD_1_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallWD_2_FV_RtD", "Vines Gold Lt Purple" }, { "IvyWallD_1_RtD", "Vines No Flower" }, { "IvyWallD_2_RtD", "Vines No Flower" }, { "IvyWallD_3_RtD", "Vines No Flower" }, { "IvyWallD_4_RtD", "Vines No Flower" }, { "IvyWallD_5_RtD", "Vines No Flower" }, { "IvyWallD_6_RtD", "Vines No Flower" }, { "IvyWallU_1_RtD", "Vines No Flower" }, { "IvyWallU_2_RtD", "Vines No Flower" }, { "IvyWallU_3_RtD", "Vines No Flower" }, { "IvyWallU_4_RtD", "Vines No Flower" } }); } } }