Decompiled source of RtDMagic v0.3.3

RtDMagic.dll

Decompiled 2 months ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
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: AssemblyTitle("RtDMagic")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RtDMagic")]
[assembly: AssemblyCopyright("Copyright ©  2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("b1efd5fe-7573-4b0a-b7d9-d9862095d5ef")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[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 rtDMagic
{
	[BepInPlugin("Soloredis.RtDMagic", "RtDMagic", "0.3.3")]
	[NetworkCompatibility(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class RtDMagic : BaseUnityPlugin
	{
		public const string PluginGUID = "Soloredis.RtDMagic";

		public const string PluginName = "RtDMagic";

		public const string PluginVersion = "0.3.3";

		public static bool isModded = true;

		public AssetBundle MyAssets;

		public ConfigEntry<bool> LoggingEnable;

		private CustomLocalization Localization;

		public ItemConfig MeadowsAirStaffA;

		public ItemConfig MeadowsAirStaffB;

		public ItemConfig MeadowsLighteningStaffA;

		public ItemConfig MeadowsLighteningStaffB;

		public ItemConfig MeadowsAirWandA;

		public ItemConfig MeadowsAirWandB;

		public ItemConfig BlackForestFireStaffA;

		public ItemConfig BlackForestFireStaffB;

		public ItemConfig BlackForestLightStaffA;

		public ItemConfig BlackForestLightStaffB;

		public ItemConfig BlackForestLightningWandA;

		public ItemConfig BlackForestLightningWandB;

		public ItemConfig BlackForestMageChestA;

		public ItemConfig BlackForestMageChestB;

		public ItemConfig BlackForestMageHoodA;

		public ItemConfig BlackForestMageHoodB;

		public ItemConfig BlackForestMageLegsA;

		public ItemConfig BlackForestMageLegsB;

		public ItemConfig SwampEarthStaffA;

		public ItemConfig SwampEarthStaffB;

		public ItemConfig SwampPoisonWandA;

		public ItemConfig SwampPoisonWandB;

		public ItemConfig SwampMageChestA;

		public ItemConfig SwampMageChestB;

		public ItemConfig SwampMageHoodA;

		public ItemConfig SwampMageHoodB;

		public ItemConfig SwampMageLegsA;

		public ItemConfig SwampMageLegsB;

		public ItemConfig SwampMageCapeA;

		public ItemConfig SwampMageCapeB;

		public ItemConfig MountainIceStaffA;

		public ItemConfig MountainIceStaffB;

		public ItemConfig MountainIceWandA;

		public ItemConfig MountainIceWandB;

		public ItemConfig MountainMageChestA;

		public ItemConfig MountainMageChestB;

		public ItemConfig MountainMageHoodA;

		public ItemConfig MountainMageHoodB;

		public ItemConfig MountainMageLegsA;

		public ItemConfig MountainMageLegsB;

		public ItemConfig MountainMageCapeA;

		public ItemConfig MountainMageCapeB;

		public ItemConfig PlainsVoidStaffA;

		public ItemConfig PlainsVoidStaffB;

		public ItemConfig PlainsVoidWandA;

		public ItemConfig PlainsVoidWandB;

		public ItemConfig PlainsMageChestA;

		public ItemConfig PlainsMageChestB;

		public ItemConfig PlainsMageHoodA;

		public ItemConfig PlainsMageHoodB;

		public ItemConfig PlainsMageLegsA;

		public ItemConfig PlainsMageLegsB;

		public ItemConfig PlainsMageCapeA;

		public ItemConfig PlainsMageCapeB;

		public ItemConfig MistlandsQuakeStaffA;

		public ItemConfig MistlandsQuakeStaffB;

		public ItemConfig MistlandsElementWandA;

		public ItemConfig MistlandsElementWandB;

		public ItemConfig AshLandsStaff1A;

		public ItemConfig AshLandsStaff1B;

		public ItemConfig AshLandsStaff2A;

		public ItemConfig AshLandsStaff2B;

		public ItemConfig AshLandsStaff3A;

		public ItemConfig AshLandsStaff3B;

		public ItemConfig AshLandsFireWandA;

		public ItemConfig AshLandsFireWandB;

		public ItemConfig AshLandsMageChestA;

		public ItemConfig AshLandsMageChestB;

		public ItemConfig AshLandsMageHoodA;

		public ItemConfig AshLandsMageHoodB;

		public ItemConfig AshLandsMageLegsA;

		public ItemConfig AshLandsMageLegsB;

		public ItemConfig DeepNorthStaff1A;

		public ItemConfig DeepNorthStaff1B;

		public ItemConfig DeepNorthStaff2A;

		public ItemConfig DeepNorthStaff2B;

		public ItemConfig DeepNorthStaff3A;

		public ItemConfig DeepNorthStaff3B;

		public ItemConfig DeepNorthArcaneWand1A;

		public ItemConfig DeepNorthArcaneWand1B;

		public ItemConfig DeepNorthMageChestA;

		public ItemConfig DeepNorthMageChestB;

		public ItemConfig DeepNorthMageHoodA;

		public ItemConfig DeepNorthMageHoodB;

		public ItemConfig DeepNorthMageLegsA;

		public ItemConfig DeepNorthMageLegsB;

		public ItemConfig HealingStaff_T1A;

		public ItemConfig HealingStaff_T1B;

		public ItemConfig HealingStaff_T2A;

		public ItemConfig HealingStaff_T2B;

		public ItemConfig HealingStaff_T3A;

		public ItemConfig HealingStaff_T3B;

		public ItemConfig HealingStaff_T4A;

		public ItemConfig HealingStaff_T4B;

		public ItemConfig SQueensJamA;

		public ItemConfig SQueensJamB;

		public ItemConfig SCarrotSoupA;

		public ItemConfig SCarrotSoupB;

		public ItemConfig SBlackSoupA;

		public ItemConfig SBlackSoupB;

		public ItemConfig STurnipStewA;

		public ItemConfig STurnipStewB;

		public ItemConfig SShockolateShakeA;

		public ItemConfig SShockolateShakeB;

		public ItemConfig SOnionSoupA;

		public ItemConfig SOnionSoupB;

		public ItemConfig SEyeScreamA;

		public ItemConfig SEyeScreamB;

		public ItemConfig SBloodPuddingA;

		public ItemConfig SBloodPuddingB;

		public string[] PrefabList;

		public string[] SFXList2;

		public string[] CustomStatusEffectList;

		private void Awake()
		{
			CreateConfigs();
			LoadBundle();
			AddSFX();
			AddLocalizations();
			AddSE();
			AddPrefabs();
			PrefabManager.OnPrefabsRegistered += FixSFX2;
			if (LoggingEnable.Value)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)"Logging is enabled in the config.");
			}
			PrefabManager.OnPrefabsRegistered += AddRecipes;
		}

		private void LoadBundle()
		{
			try
			{
				MyAssets = AssetUtils.LoadAssetBundleFromResources("magicproject", 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 = true
				} }));
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}");
			}
		}

		private void AddRecipes()
		{
			//IL_0054: Unknown result type (might be due to invalid IL or missing references)
			//IL_005b: Expected O, but got Unknown
			//IL_0122: Unknown result type (might be due to invalid IL or missing references)
			//IL_0129: Expected O, but got Unknown
			//IL_01f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_01fd: Expected O, but got Unknown
			//IL_02cc: Unknown result type (might be due to invalid IL or missing references)
			//IL_02d3: Expected O, but got Unknown
			//IL_03a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_03a9: Expected O, but got Unknown
			//IL_0478: Unknown result type (might be due to invalid IL or missing references)
			//IL_047f: Expected O, but got Unknown
			//IL_054e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0555: Expected O, but got Unknown
			//IL_0624: Unknown result type (might be due to invalid IL or missing references)
			//IL_062b: Expected O, but got Unknown
			//IL_06fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0701: Expected O, but got Unknown
			//IL_07d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_07d7: Expected O, but got Unknown
			//IL_08a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_08ad: Expected O, but got Unknown
			//IL_097c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0983: Expected O, but got Unknown
			//IL_0a52: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a59: Expected O, but got Unknown
			//IL_0b28: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b2f: Expected O, but got Unknown
			//IL_0bfe: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c05: Expected O, but got Unknown
			//IL_0cd4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cdb: Expected O, but got Unknown
			//IL_0daa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0db1: Expected O, but got Unknown
			//IL_0e80: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e87: Expected O, but got Unknown
			//IL_0f56: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f5d: Expected O, but got Unknown
			//IL_102c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1033: Expected O, but got Unknown
			//IL_1102: Unknown result type (might be due to invalid IL or missing references)
			//IL_1109: Expected O, but got Unknown
			//IL_11d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_11df: Expected O, but got Unknown
			//IL_12ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_12b5: Expected O, but got Unknown
			//IL_1384: Unknown result type (might be due to invalid IL or missing references)
			//IL_138b: Expected O, but got Unknown
			//IL_145a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1461: Expected O, but got Unknown
			//IL_1530: Unknown result type (might be due to invalid IL or missing references)
			//IL_1537: Expected O, but got Unknown
			//IL_1606: Unknown result type (might be due to invalid IL or missing references)
			//IL_160d: Expected O, but got Unknown
			//IL_16dc: Unknown result type (might be due to invalid IL or missing references)
			//IL_16e3: Expected O, but got Unknown
			//IL_17b2: Unknown result type (might be due to invalid IL or missing references)
			//IL_17b9: Expected O, but got Unknown
			//IL_18a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_18a9: Expected O, but got Unknown
			//IL_199e: Unknown result type (might be due to invalid IL or missing references)
			//IL_19a7: Expected O, but got Unknown
			//IL_1a9c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1aa5: Expected O, but got Unknown
			//IL_1b9a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1ba3: Expected O, but got Unknown
			//IL_1c98: Unknown result type (might be due to invalid IL or missing references)
			//IL_1ca1: Expected O, but got Unknown
			//IL_1d96: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d9f: Expected O, but got Unknown
			//IL_1e94: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e9d: Expected O, but got Unknown
			//IL_1f92: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f9b: Expected O, but got Unknown
			//IL_2090: Unknown result type (might be due to invalid IL or missing references)
			//IL_2099: Expected O, but got Unknown
			//IL_218e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2197: Expected O, but got Unknown
			//IL_228c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2295: Expected O, but got Unknown
			//IL_238a: Unknown result type (might be due to invalid IL or missing references)
			//IL_2393: Expected O, but got Unknown
			//IL_2488: Unknown result type (might be due to invalid IL or missing references)
			//IL_2491: Expected O, but got Unknown
			//IL_2586: Unknown result type (might be due to invalid IL or missing references)
			//IL_258f: Expected O, but got Unknown
			//IL_2684: Unknown result type (might be due to invalid IL or missing references)
			//IL_268d: Expected O, but got Unknown
			//IL_2782: Unknown result type (might be due to invalid IL or missing references)
			//IL_278b: Expected O, but got Unknown
			//IL_2880: Unknown result type (might be due to invalid IL or missing references)
			//IL_2889: Expected O, but got Unknown
			//IL_297e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2987: Expected O, but got Unknown
			//IL_2a7c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2a85: Expected O, but got Unknown
			//IL_2b7a: Unknown result type (might be due to invalid IL or missing references)
			//IL_2b83: Expected O, but got Unknown
			//IL_2c78: Unknown result type (might be due to invalid IL or missing references)
			//IL_2c81: Expected O, but got Unknown
			//IL_2d76: Unknown result type (might be due to invalid IL or missing references)
			//IL_2d7f: Expected O, but got Unknown
			//IL_2e74: Unknown result type (might be due to invalid IL or missing references)
			//IL_2e7d: Expected O, but got Unknown
			//IL_2f72: Unknown result type (might be due to invalid IL or missing references)
			//IL_2f7b: Expected O, but got Unknown
			//IL_3070: Unknown result type (might be due to invalid IL or missing references)
			//IL_3079: Expected O, but got Unknown
			//IL_316e: Unknown result type (might be due to invalid IL or missing references)
			//IL_3177: Expected O, but got Unknown
			try
			{
				GameObject val = MyAssets.LoadAsset<GameObject>("MeadowsAirStaff_RtD");
				if ((Object)(object)val != (Object)null)
				{
					GameObject prefab = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val2 = ((!Object.op_Implicit((Object)(object)prefab)) ? MeadowsAirStaffB : MeadowsAirStaffA);
					CustomItem val3 = new CustomItem(val, true, val2);
					ItemManager.Instance.AddItem(val3);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val)?.ToString() + " to the Item Table"));
				}
				GameObject val4 = MyAssets.LoadAsset<GameObject>("MeadowsLighteningStaff_RtD");
				if ((Object)(object)val4 != (Object)null)
				{
					GameObject prefab2 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val5 = ((!Object.op_Implicit((Object)(object)prefab2)) ? MeadowsLighteningStaffB : MeadowsLighteningStaffA);
					CustomItem val6 = new CustomItem(val4, true, val5);
					ItemManager.Instance.AddItem(val6);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val4)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val4)?.ToString() + " to the Item Table"));
				}
				GameObject val7 = MyAssets.LoadAsset<GameObject>("MeadowsAirWand_RtD");
				if ((Object)(object)val7 != (Object)null)
				{
					GameObject prefab3 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val8 = ((!Object.op_Implicit((Object)(object)prefab3)) ? MeadowsAirWandB : MeadowsAirWandA);
					CustomItem val9 = new CustomItem(val7, true, val8);
					ItemManager.Instance.AddItem(val9);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val7)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val7)?.ToString() + " to the Item Table"));
				}
				GameObject val10 = MyAssets.LoadAsset<GameObject>("BlackForestFireStaff_RtD");
				if ((Object)(object)val10 != (Object)null)
				{
					GameObject prefab4 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val11 = ((!Object.op_Implicit((Object)(object)prefab4)) ? BlackForestFireStaffB : BlackForestFireStaffA);
					CustomItem val12 = new CustomItem(val10, true, val11);
					ItemManager.Instance.AddItem(val12);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val10)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val10)?.ToString() + " to the Item Table"));
				}
				GameObject val13 = MyAssets.LoadAsset<GameObject>("BlackForestLightStaff_RtD");
				if ((Object)(object)val13 != (Object)null)
				{
					GameObject prefab5 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val14 = ((!Object.op_Implicit((Object)(object)prefab5)) ? BlackForestLightStaffB : BlackForestLightStaffA);
					CustomItem val15 = new CustomItem(val13, true, val14);
					ItemManager.Instance.AddItem(val15);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val13)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val13)?.ToString() + " to the Item Table"));
				}
				GameObject val16 = MyAssets.LoadAsset<GameObject>("BlackForestLightningWand_RtD");
				if ((Object)(object)val16 != (Object)null)
				{
					GameObject prefab6 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val17 = ((!Object.op_Implicit((Object)(object)prefab6)) ? BlackForestLightningWandB : BlackForestLightningWandA);
					CustomItem val18 = new CustomItem(val16, true, val17);
					ItemManager.Instance.AddItem(val18);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val16)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val16)?.ToString() + " to the Item Table"));
				}
				GameObject val19 = MyAssets.LoadAsset<GameObject>("BlackForestMageChest_RtD");
				if ((Object)(object)val19 != (Object)null)
				{
					GameObject prefab7 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val20 = ((!Object.op_Implicit((Object)(object)prefab7)) ? BlackForestMageChestB : BlackForestMageChestA);
					CustomItem val21 = new CustomItem(val19, true, val20);
					ItemManager.Instance.AddItem(val21);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val19)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val19)?.ToString() + " to the Item Table"));
				}
				GameObject val22 = MyAssets.LoadAsset<GameObject>("BlackForestMageHood_RtD");
				if ((Object)(object)val22 != (Object)null)
				{
					GameObject prefab8 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val23 = ((!Object.op_Implicit((Object)(object)prefab8)) ? BlackForestMageHoodB : BlackForestMageHoodA);
					CustomItem val24 = new CustomItem(val22, true, val23);
					ItemManager.Instance.AddItem(val24);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val22)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val22)?.ToString() + " to the Item Table"));
				}
				GameObject val25 = MyAssets.LoadAsset<GameObject>("BlackForestMageLegs_RtD");
				if ((Object)(object)val25 != (Object)null)
				{
					GameObject prefab9 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val26 = ((!Object.op_Implicit((Object)(object)prefab9)) ? BlackForestMageLegsB : BlackForestMageLegsA);
					CustomItem val27 = new CustomItem(val25, true, val26);
					ItemManager.Instance.AddItem(val27);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val25)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val25)?.ToString() + " to the Item Table"));
				}
				GameObject val28 = MyAssets.LoadAsset<GameObject>("SwampEarthStaff_RtD");
				if ((Object)(object)val28 != (Object)null)
				{
					GameObject prefab10 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val29 = ((!Object.op_Implicit((Object)(object)prefab10)) ? SwampEarthStaffB : SwampEarthStaffA);
					CustomItem val30 = new CustomItem(val28, true, val29);
					ItemManager.Instance.AddItem(val30);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val28)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val28)?.ToString() + " to the Item Table"));
				}
				GameObject val31 = MyAssets.LoadAsset<GameObject>("SwampPoisonWand_RtD");
				if ((Object)(object)val31 != (Object)null)
				{
					GameObject prefab11 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val32 = ((!Object.op_Implicit((Object)(object)prefab11)) ? SwampPoisonWandB : SwampPoisonWandA);
					CustomItem val33 = new CustomItem(val31, true, val32);
					ItemManager.Instance.AddItem(val33);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val31)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val31)?.ToString() + " to the Item Table"));
				}
				GameObject val34 = MyAssets.LoadAsset<GameObject>("SwampMageChest_RtD");
				if ((Object)(object)val34 != (Object)null)
				{
					GameObject prefab12 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val35 = ((!Object.op_Implicit((Object)(object)prefab12)) ? SwampMageChestB : SwampMageChestA);
					CustomItem val36 = new CustomItem(val34, true, val35);
					ItemManager.Instance.AddItem(val36);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val34)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val34)?.ToString() + " to the Item Table"));
				}
				GameObject val37 = MyAssets.LoadAsset<GameObject>("SwampMageHood_RtD");
				if ((Object)(object)val37 != (Object)null)
				{
					GameObject prefab13 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val38 = ((!Object.op_Implicit((Object)(object)prefab13)) ? SwampMageHoodB : SwampMageHoodA);
					CustomItem val39 = new CustomItem(val37, true, val38);
					ItemManager.Instance.AddItem(val39);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val37)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val37)?.ToString() + " to the Item Table"));
				}
				GameObject val40 = MyAssets.LoadAsset<GameObject>("SwampMageLegs_RtD");
				if ((Object)(object)val40 != (Object)null)
				{
					GameObject prefab14 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val41 = ((!Object.op_Implicit((Object)(object)prefab14)) ? SwampMageLegsB : SwampMageLegsA);
					CustomItem val42 = new CustomItem(val40, true, val41);
					ItemManager.Instance.AddItem(val42);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val40)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val40)?.ToString() + " to the Item Table"));
				}
				GameObject val43 = MyAssets.LoadAsset<GameObject>("SwampMageCape_RtD");
				if ((Object)(object)val43 != (Object)null)
				{
					GameObject prefab15 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val44 = ((!Object.op_Implicit((Object)(object)prefab15)) ? SwampMageCapeB : SwampMageCapeA);
					CustomItem val45 = new CustomItem(val43, true, val44);
					ItemManager.Instance.AddItem(val45);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val43)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val43)?.ToString() + " to the Item Table"));
				}
				GameObject val46 = MyAssets.LoadAsset<GameObject>("MountainIceStaff_RtD");
				if ((Object)(object)val46 != (Object)null)
				{
					GameObject prefab16 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val47 = ((!Object.op_Implicit((Object)(object)prefab16)) ? MountainIceStaffB : MountainIceStaffA);
					CustomItem val48 = new CustomItem(val46, true, val47);
					ItemManager.Instance.AddItem(val48);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val46)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val46)?.ToString() + " to the Item Table"));
				}
				GameObject val49 = MyAssets.LoadAsset<GameObject>("MountainIceWand_RtD");
				if ((Object)(object)val49 != (Object)null)
				{
					GameObject prefab17 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val50 = ((!Object.op_Implicit((Object)(object)prefab17)) ? MountainIceWandB : MountainIceWandA);
					CustomItem val51 = new CustomItem(val49, true, val50);
					ItemManager.Instance.AddItem(val51);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val49)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val49)?.ToString() + " to the Item Table"));
				}
				GameObject val52 = MyAssets.LoadAsset<GameObject>("MountainMageChest_RtD");
				if ((Object)(object)val52 != (Object)null)
				{
					GameObject prefab18 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val53 = ((!Object.op_Implicit((Object)(object)prefab18)) ? MountainMageChestB : MountainMageChestA);
					CustomItem val54 = new CustomItem(val52, true, val53);
					ItemManager.Instance.AddItem(val54);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val52)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val52)?.ToString() + " to the Item Table"));
				}
				GameObject val55 = MyAssets.LoadAsset<GameObject>("MountainMageHood_RtD");
				if ((Object)(object)val55 != (Object)null)
				{
					GameObject prefab19 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val56 = ((!Object.op_Implicit((Object)(object)prefab19)) ? MountainMageHoodB : MountainMageHoodA);
					CustomItem val57 = new CustomItem(val55, true, val56);
					ItemManager.Instance.AddItem(val57);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val55)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val55)?.ToString() + " to the Item Table"));
				}
				GameObject val58 = MyAssets.LoadAsset<GameObject>("MountainMageLegs_RtD");
				if ((Object)(object)val58 != (Object)null)
				{
					GameObject prefab20 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val59 = ((!Object.op_Implicit((Object)(object)prefab20)) ? MountainMageLegsB : MountainMageLegsA);
					CustomItem val60 = new CustomItem(val58, true, val59);
					ItemManager.Instance.AddItem(val60);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val58)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val58)?.ToString() + " to the Item Table"));
				}
				GameObject val61 = MyAssets.LoadAsset<GameObject>("MountainMageCape_RtD");
				if ((Object)(object)val61 != (Object)null)
				{
					GameObject prefab21 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val62 = ((!Object.op_Implicit((Object)(object)prefab21)) ? MountainMageCapeB : MountainMageCapeA);
					CustomItem val63 = new CustomItem(val61, true, val62);
					ItemManager.Instance.AddItem(val63);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val61)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val61)?.ToString() + " to the Item Table"));
				}
				GameObject val64 = MyAssets.LoadAsset<GameObject>("PlainsVoidStaff_RtD");
				if ((Object)(object)val64 != (Object)null)
				{
					GameObject prefab22 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val65 = ((!Object.op_Implicit((Object)(object)prefab22)) ? PlainsVoidStaffB : PlainsVoidStaffA);
					CustomItem val66 = new CustomItem(val64, true, val65);
					ItemManager.Instance.AddItem(val66);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val64)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val64)?.ToString() + " to the Item Table"));
				}
				GameObject val67 = MyAssets.LoadAsset<GameObject>("PlainsVoidWand_RtD");
				if ((Object)(object)val67 != (Object)null)
				{
					GameObject prefab23 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val68 = ((!Object.op_Implicit((Object)(object)prefab23)) ? PlainsVoidWandB : PlainsVoidWandA);
					CustomItem val69 = new CustomItem(val67, true, val68);
					ItemManager.Instance.AddItem(val69);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val67)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val67)?.ToString() + " to the Item Table"));
				}
				GameObject val70 = MyAssets.LoadAsset<GameObject>("PlainsMageChest_RtD");
				if ((Object)(object)val70 != (Object)null)
				{
					GameObject prefab24 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val71 = ((!Object.op_Implicit((Object)(object)prefab24)) ? PlainsMageChestB : PlainsMageChestA);
					CustomItem val72 = new CustomItem(val70, true, val71);
					ItemManager.Instance.AddItem(val72);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val70)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val70)?.ToString() + " to the Item Table"));
				}
				GameObject val73 = MyAssets.LoadAsset<GameObject>("PlainsMageHood_RtD");
				if ((Object)(object)val73 != (Object)null)
				{
					GameObject prefab25 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val74 = ((!Object.op_Implicit((Object)(object)prefab25)) ? PlainsMageHoodB : PlainsMageHoodA);
					CustomItem val75 = new CustomItem(val73, true, val74);
					ItemManager.Instance.AddItem(val75);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val73)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val73)?.ToString() + " to the Item Table"));
				}
				GameObject val76 = MyAssets.LoadAsset<GameObject>("PlainsMageLegs_RtD");
				if ((Object)(object)val76 != (Object)null)
				{
					GameObject prefab26 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val77 = ((!Object.op_Implicit((Object)(object)prefab26)) ? PlainsMageLegsB : PlainsMageLegsA);
					CustomItem val78 = new CustomItem(val76, true, val77);
					ItemManager.Instance.AddItem(val78);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val76)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val76)?.ToString() + " to the Item Table"));
				}
				GameObject val79 = MyAssets.LoadAsset<GameObject>("PlainsMageCape_RtD");
				if ((Object)(object)val79 != (Object)null)
				{
					GameObject prefab27 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val80 = ((!Object.op_Implicit((Object)(object)prefab27)) ? PlainsMageCapeB : PlainsMageCapeA);
					CustomItem val81 = new CustomItem(val79, true, val80);
					ItemManager.Instance.AddItem(val81);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val79)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val79)?.ToString() + " to the Item Table"));
				}
				GameObject val82 = MyAssets.LoadAsset<GameObject>("MistlandsQuakeStaff_RtD");
				if ((Object)(object)val82 != (Object)null)
				{
					GameObject prefab28 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val83 = ((!Object.op_Implicit((Object)(object)prefab28)) ? MistlandsQuakeStaffB : MistlandsQuakeStaffA);
					CustomItem val84 = new CustomItem(val82, true, val83);
					ItemManager.Instance.AddItem(val84);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val82)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val82)?.ToString() + " to the Item Table"));
				}
				GameObject val85 = MyAssets.LoadAsset<GameObject>("MistlandsElementWand_RtD");
				if ((Object)(object)val85 != (Object)null)
				{
					GameObject prefab29 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val86 = ((!Object.op_Implicit((Object)(object)prefab29)) ? MistlandsElementWandB : MistlandsElementWandA);
					CustomItem val87 = new CustomItem(val85, true, val86);
					ItemManager.Instance.AddItem(val87);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val85)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val85)?.ToString() + " to the Item Table"));
				}
				GameObject val88 = MyAssets.LoadAsset<GameObject>("AshLandsStaff1_RtD");
				if ((Object)(object)val88 != (Object)null)
				{
					GameObject prefab30 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val89 = ((!Object.op_Implicit((Object)(object)prefab30)) ? AshLandsStaff1B : AshLandsStaff1A);
					CustomItem val90 = new CustomItem(val88, true, val89);
					ItemManager.Instance.AddItem(val90);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val88)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val88)?.ToString() + " to the Item Table"));
				}
				GameObject val91 = MyAssets.LoadAsset<GameObject>("AshLandsStaff2_RtD");
				if ((Object)(object)val91 != (Object)null)
				{
					GameObject prefab31 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val92 = ((!Object.op_Implicit((Object)(object)prefab31)) ? AshLandsStaff2B : AshLandsStaff2A);
					CustomItem val93 = new CustomItem(val91, true, val92);
					ItemManager.Instance.AddItem(val93);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val91)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val91)?.ToString() + " to the Item Table"));
				}
				GameObject val94 = MyAssets.LoadAsset<GameObject>("AshLandsStaff3_RtD");
				if ((Object)(object)val94 != (Object)null)
				{
					GameObject prefab32 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val95 = ((!Object.op_Implicit((Object)(object)prefab32)) ? AshLandsStaff3B : AshLandsStaff3A);
					CustomItem val96 = new CustomItem(val94, true, val95);
					ItemManager.Instance.AddItem(val96);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val94)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val94)?.ToString() + " to the Item Table"));
				}
				GameObject val97 = MyAssets.LoadAsset<GameObject>("AshLandsFireWand_RtD");
				if ((Object)(object)val97 != (Object)null)
				{
					GameObject prefab33 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val98 = ((!Object.op_Implicit((Object)(object)prefab33)) ? AshLandsFireWandB : AshLandsFireWandA);
					CustomItem val99 = new CustomItem(val97, true, val98);
					ItemManager.Instance.AddItem(val99);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val97)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val97)?.ToString() + " to the Item Table"));
				}
				GameObject val100 = MyAssets.LoadAsset<GameObject>("AshLandsMageChest_RtD");
				if ((Object)(object)val100 != (Object)null)
				{
					GameObject prefab34 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val101 = ((!Object.op_Implicit((Object)(object)prefab34)) ? AshLandsMageChestB : AshLandsMageChestA);
					CustomItem val102 = new CustomItem(val100, true, val101);
					ItemManager.Instance.AddItem(val102);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val100)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val100)?.ToString() + " to the Item Table"));
				}
				GameObject val103 = MyAssets.LoadAsset<GameObject>("AshLandsMageHood_RtD");
				if ((Object)(object)val103 != (Object)null)
				{
					GameObject prefab35 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val104 = ((!Object.op_Implicit((Object)(object)prefab35)) ? AshLandsMageHoodB : AshLandsMageHoodA);
					CustomItem val105 = new CustomItem(val103, true, val104);
					ItemManager.Instance.AddItem(val105);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val103)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val103)?.ToString() + " to the Item Table"));
				}
				GameObject val106 = MyAssets.LoadAsset<GameObject>("AshLandsMageLegs_RtD");
				if ((Object)(object)val106 != (Object)null)
				{
					GameObject prefab36 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val107 = ((!Object.op_Implicit((Object)(object)prefab36)) ? AshLandsMageLegsB : AshLandsMageLegsA);
					CustomItem val108 = new CustomItem(val106, true, val107);
					ItemManager.Instance.AddItem(val108);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val106)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val106)?.ToString() + " to the Item Table"));
				}
				GameObject val109 = MyAssets.LoadAsset<GameObject>("DeepNorthStaff1_RtD");
				if ((Object)(object)val109 != (Object)null)
				{
					GameObject prefab37 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val110 = ((!Object.op_Implicit((Object)(object)prefab37)) ? DeepNorthStaff1B : DeepNorthStaff1A);
					CustomItem val111 = new CustomItem(val109, true, val110);
					ItemManager.Instance.AddItem(val111);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val109)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val109)?.ToString() + " to the Item Table"));
				}
				GameObject val112 = MyAssets.LoadAsset<GameObject>("DeepNorthStaff2_RtD");
				if ((Object)(object)val112 != (Object)null)
				{
					GameObject prefab38 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val113 = ((!Object.op_Implicit((Object)(object)prefab38)) ? DeepNorthStaff2B : DeepNorthStaff2A);
					CustomItem val114 = new CustomItem(val112, true, val113);
					ItemManager.Instance.AddItem(val114);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val112)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val112)?.ToString() + " to the Item Table"));
				}
				GameObject val115 = MyAssets.LoadAsset<GameObject>("DeepNorthStaff3_RtD");
				if ((Object)(object)val115 != (Object)null)
				{
					GameObject prefab39 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val116 = ((!Object.op_Implicit((Object)(object)prefab39)) ? DeepNorthStaff3B : DeepNorthStaff3A);
					CustomItem val117 = new CustomItem(val115, true, val116);
					ItemManager.Instance.AddItem(val117);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val115)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val115)?.ToString() + " to the Item Table"));
				}
				GameObject val118 = MyAssets.LoadAsset<GameObject>("DeepNorthArcaneWand_RtD");
				if ((Object)(object)val118 != (Object)null)
				{
					GameObject prefab40 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val119 = ((!Object.op_Implicit((Object)(object)prefab40)) ? DeepNorthArcaneWand1B : DeepNorthArcaneWand1A);
					CustomItem val120 = new CustomItem(val118, true, val119);
					ItemManager.Instance.AddItem(val120);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val118)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val118)?.ToString() + " to the Item Table"));
				}
				GameObject val121 = MyAssets.LoadAsset<GameObject>("DeepNorthMageChest_RtD");
				if ((Object)(object)val121 != (Object)null)
				{
					GameObject prefab41 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val122 = ((!Object.op_Implicit((Object)(object)prefab41)) ? DeepNorthMageChestB : DeepNorthMageChestA);
					CustomItem val123 = new CustomItem(val121, true, val122);
					ItemManager.Instance.AddItem(val123);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val121)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val121)?.ToString() + " to the Item Table"));
				}
				GameObject val124 = MyAssets.LoadAsset<GameObject>("DeepNorthMageHood_RtD");
				if ((Object)(object)val124 != (Object)null)
				{
					GameObject prefab42 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val125 = ((!Object.op_Implicit((Object)(object)prefab42)) ? DeepNorthMageHoodB : DeepNorthMageHoodA);
					CustomItem val126 = new CustomItem(val124, true, val125);
					ItemManager.Instance.AddItem(val126);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val124)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val124)?.ToString() + " to the Item Table"));
				}
				GameObject val127 = MyAssets.LoadAsset<GameObject>("DeepNorthMageLegs_RtD");
				if ((Object)(object)val127 != (Object)null)
				{
					GameObject prefab43 = Cache.GetPrefab<GameObject>("BurningGland_RtD");
					ItemConfig val128 = ((!Object.op_Implicit((Object)(object)prefab43)) ? DeepNorthMageLegsB : DeepNorthMageLegsA);
					CustomItem val129 = new CustomItem(val127, true, val128);
					ItemManager.Instance.AddItem(val129);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val127)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val127)?.ToString() + " to the Item Table"));
				}
				GameObject val130 = MyAssets.LoadAsset<GameObject>("HealingStaff_T1_RtD");
				if ((Object)(object)val130 != (Object)null)
				{
					GameObject prefab44 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val131 = ((!Object.op_Implicit((Object)(object)prefab44)) ? HealingStaff_T1B : HealingStaff_T1A);
					CustomItem val132 = new CustomItem(val130, true, val131);
					ItemManager.Instance.AddItem(val132);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val130)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val130)?.ToString() + " to the Item Table"));
				}
				GameObject val133 = MyAssets.LoadAsset<GameObject>("HealingStaff_T2_RtD");
				if ((Object)(object)val133 != (Object)null)
				{
					GameObject prefab45 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val134 = ((!Object.op_Implicit((Object)(object)prefab45)) ? HealingStaff_T2B : HealingStaff_T2A);
					CustomItem val135 = new CustomItem(val133, true, val134);
					ItemManager.Instance.AddItem(val135);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val133)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val133)?.ToString() + " to the Item Table"));
				}
				GameObject val136 = MyAssets.LoadAsset<GameObject>("HealingStaff_T3_RtD");
				if ((Object)(object)val136 != (Object)null)
				{
					GameObject prefab46 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val137 = ((!Object.op_Implicit((Object)(object)prefab46)) ? HealingStaff_T3B : HealingStaff_T3A);
					CustomItem val138 = new CustomItem(val136, true, val137);
					ItemManager.Instance.AddItem(val138);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val136)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val136)?.ToString() + " to the Item Table"));
				}
				GameObject val139 = MyAssets.LoadAsset<GameObject>("HealingStaff_T4_RtD");
				if ((Object)(object)val139 != (Object)null)
				{
					GameObject prefab47 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val140 = ((!Object.op_Implicit((Object)(object)prefab47)) ? HealingStaff_T4B : HealingStaff_T4A);
					CustomItem val141 = new CustomItem(val139, true, val140);
					ItemManager.Instance.AddItem(val141);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val139)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val139)?.ToString() + " to the Item Table"));
				}
				GameObject val142 = MyAssets.LoadAsset<GameObject>("SQueensJam_RtD");
				if ((Object)(object)val142 != (Object)null)
				{
					GameObject prefab48 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val143 = ((!Object.op_Implicit((Object)(object)prefab48)) ? SQueensJamB : SQueensJamA);
					CustomItem val144 = new CustomItem(val142, true, val143);
					ItemManager.Instance.AddItem(val144);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val142)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val142)?.ToString() + " to the Item Table"));
				}
				GameObject val145 = MyAssets.LoadAsset<GameObject>("SCarrotSoup_RtD");
				if ((Object)(object)val145 != (Object)null)
				{
					GameObject prefab49 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val146 = ((!Object.op_Implicit((Object)(object)prefab49)) ? SCarrotSoupB : SCarrotSoupA);
					CustomItem val147 = new CustomItem(val145, true, val146);
					ItemManager.Instance.AddItem(val147);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val145)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val145)?.ToString() + " to the Item Table"));
				}
				GameObject val148 = MyAssets.LoadAsset<GameObject>("SBlackSoup_RtD");
				if ((Object)(object)val148 != (Object)null)
				{
					GameObject prefab50 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val149 = ((!Object.op_Implicit((Object)(object)prefab50)) ? SBlackSoupB : SBlackSoupA);
					CustomItem val150 = new CustomItem(val148, true, val149);
					ItemManager.Instance.AddItem(val150);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val148)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val148)?.ToString() + " to the Item Table"));
				}
				GameObject val151 = MyAssets.LoadAsset<GameObject>("STurnipStew_RtD");
				if ((Object)(object)val151 != (Object)null)
				{
					GameObject prefab51 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val152 = ((!Object.op_Implicit((Object)(object)prefab51)) ? STurnipStewB : STurnipStewA);
					CustomItem val153 = new CustomItem(val151, true, val152);
					ItemManager.Instance.AddItem(val153);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val151)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val151)?.ToString() + " to the Item Table"));
				}
				GameObject val154 = MyAssets.LoadAsset<GameObject>("SShockolateShake_RtD");
				if ((Object)(object)val154 != (Object)null)
				{
					GameObject prefab52 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val155 = ((!Object.op_Implicit((Object)(object)prefab52)) ? SShockolateShakeB : SShockolateShakeA);
					CustomItem val156 = new CustomItem(val154, true, val155);
					ItemManager.Instance.AddItem(val156);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val154)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val154)?.ToString() + " to the Item Table"));
				}
				GameObject val157 = MyAssets.LoadAsset<GameObject>("SOnionSoup_RtD");
				if ((Object)(object)val157 != (Object)null)
				{
					GameObject prefab53 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val158 = ((!Object.op_Implicit((Object)(object)prefab53)) ? SOnionSoupB : SOnionSoupA);
					CustomItem val159 = new CustomItem(val157, true, val158);
					ItemManager.Instance.AddItem(val159);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val157)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val157)?.ToString() + " to the Item Table"));
				}
				GameObject val160 = MyAssets.LoadAsset<GameObject>("SEyeScream_RtD");
				if ((Object)(object)val160 != (Object)null)
				{
					GameObject prefab54 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val161 = ((!Object.op_Implicit((Object)(object)prefab54)) ? SEyeScreamB : SEyeScreamA);
					CustomItem val162 = new CustomItem(val160, true, val161);
					ItemManager.Instance.AddItem(val162);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val160)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val160)?.ToString() + " to the Item Table"));
				}
				GameObject val163 = MyAssets.LoadAsset<GameObject>("SBloodPudding_RtD");
				if ((Object)(object)val163 != (Object)null)
				{
					GameObject prefab55 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD");
					ItemConfig val164 = ((!Object.op_Implicit((Object)(object)prefab55)) ? SBloodPuddingB : SBloodPuddingA);
					CustomItem val165 = new CustomItem(val163, true, val164);
					ItemManager.Instance.AddItem(val165);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val163)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val163)?.ToString() + " to the Item Table"));
				}
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"A pixel was found in the matrix: {arg}");
			}
			finally
			{
				PrefabManager.OnPrefabsRegistered -= AddRecipes;
			}
		}

		private void ModifyItems()
		{
			try
			{
				StatusEffect prefab = Cache.GetPrefab<StatusEffect>("SE_MageArmorMistlands_RtD");
				ItemDrop prefab2 = Cache.GetPrefab<ItemDrop>("HelmetMage");
				ItemDrop prefab3 = Cache.GetPrefab<ItemDrop>("ArmorMageChest");
				ItemDrop prefab4 = Cache.GetPrefab<ItemDrop>("ArmorMageLegs");
				prefab2.m_itemData.m_shared.m_setName = "WeaveSE";
				prefab2.m_itemData.m_shared.m_setSize = 3;
				prefab2.m_itemData.m_shared.m_setStatusEffect = prefab;
				prefab3.m_itemData.m_shared.m_setName = "WeaveSE";
				prefab3.m_itemData.m_shared.m_setSize = 3;
				prefab3.m_itemData.m_shared.m_setStatusEffect = prefab;
				prefab4.m_itemData.m_shared.m_setName = "WeaveSE";
				prefab4.m_itemData.m_shared.m_setSize = 3;
				prefab4.m_itemData.m_shared.m_setStatusEffect = prefab;
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while modifing items: {arg}");
			}
			finally
			{
				PrefabManager.OnVanillaPrefabsAvailable -= ModifyItems;
			}
		}

		private void AddSFX()
		{
			//IL_0033: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: Expected O, but got Unknown
			try
			{
				string[] sFXList = SFXList2;
				foreach (string text in sFXList)
				{
					GameObject val = MyAssets.LoadAsset<GameObject>(text);
					if ((Object)(object)val != (Object)null)
					{
						CustomPrefab val2 = new CustomPrefab(val, true);
						PrefabManager.Instance.AddPrefab(val2);
						if (LoggingEnable.Value)
						{
							((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database"));
						}
					}
					else
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database"));
					}
				}
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}");
			}
		}

		private void FixSFX2()
		{
			try
			{
				AudioSource prefab = Cache.GetPrefab<AudioSource>("sfx_arrow_hit");
				string[] sFXList = SFXList2;
				foreach (string text in sFXList)
				{
					GameObject prefab2 = Cache.GetPrefab<GameObject>(text);
					prefab2.GetComponentInChildren<AudioSource>().outputAudioMixerGroup = prefab.outputAudioMixerGroup;
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Audio Mixer set on: " + text));
					}
				}
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while fixing custom audio: {arg}");
			}
			finally
			{
				PrefabManager.OnPrefabsRegistered -= FixSFX2;
			}
		}

		public void AddSE()
		{
			//IL_0030: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected O, but got Unknown
			try
			{
				string[] customStatusEffectList = CustomStatusEffectList;
				foreach (string text in customStatusEffectList)
				{
					SE_Stats val = MyAssets.LoadAsset<SE_Stats>(text);
					if ((Object)(object)val != (Object)null)
					{
						CustomStatusEffect val2 = new CustomStatusEffect((StatusEffect)(object)val, true);
						ItemManager.Instance.AddStatusEffect(val2);
						if (LoggingEnable.Value)
						{
							((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val)?.ToString() + " to the Object database"));
						}
					}
				}
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding SE_Stats Effects: {arg}");
			}
		}

		private void AddPrefabs()
		{
			//IL_0033: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: Expected O, but got Unknown
			try
			{
				string[] prefabList = PrefabList;
				foreach (string text in prefabList)
				{
					GameObject val = MyAssets.LoadAsset<GameObject>(text);
					if ((Object)(object)val != (Object)null)
					{
						CustomPrefab val2 = new CustomPrefab(val, true);
						PrefabManager.Instance.AddPrefab(val2);
						if (LoggingEnable.Value)
						{
							((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database"));
						}
					}
					else
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database"));
					}
				}
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}");
			}
		}

		private void AddLocalizations()
		{
			Localization = LocalizationManager.Instance.GetLocalization();
			CustomLocalization localization = Localization;
			string text = "English";
			localization.AddTranslation(ref text, new Dictionary<string, string>
			{
				{ "AshLandsMageChest_RtD", "<#9289AA>Mage Ljósálfar Robes" },
				{ "AshLandsMageChest_desc_RtD", "Robes expertly crafted for magic users in South Alfheimr." },
				{ "AshLandsMageHood_RtD", "<#9289AA>Mage Ljósálfar Hood" },
				{ "AshLandsMageHood_desc_RtD", "A powerful hood made of the hide from a demon for magic users in South Alfheimr." },
				{ "AshLandsMageLegs_RtD", "<#9289AA>Mage Ljósálfar Legs" },
				{ "AshLandsMageLegs_desc_RtD", "Legs specially crafted for magic users in South Alfheimr." },
				{ "BlackForestMageChest_RtD", "<#9289AA>Mage Forest Garment" },
				{ "BlackForestMageChest_desc_Rtd", "A robe specially crafted for magic users in the Black Forest." },
				{ "BlackForestMageHood_RtD", "<#9289AA>Mage Forest Hood" },
				{ "BlackForestMageHood_desc_RtD", "A hood specially crafted for magic users in the Black Forest." },
				{ "BlackForestMageLegs_RtD", "<#9289AA>Mage Forest Legs" },
				{ "BlackForestMageLegs_desc_RtD", "Legs specially crafted for magic users in the Black Forest." },
				{ "DeepNorthMageChest_RtD", "<#9289AA>Mage Fae Robes" },
				{ "DeepNorthMageChest_desc_RtD", "Fit for Arcane mages, wizards & healers" },
				{ "DeepNorthMageHood_RtD", "<#9289AA>Mage Fae Hood" },
				{ "DeepNorthMageHood_desc_RtD", "Used by Arcane mages, wizards, & healers." },
				{ "DeepNorthMageLegs_RtD", "<#9289AA>Mage Fae Legs" },
				{ "DeepNorthMageLegs_desc_RtD", "<#9289AA>Mage Fae Legs" },
				{ "MountainMageCape_RtD", "<#9289AA>Mage Frostfell Wrap" },
				{ "MountainMageCape_desc_RtD", "A wrap specially crafted for magic users in the Mountains." },
				{ "MountainMageChest_RtD", "<#9289AA>Mage Frostfell Tunic" },
				{ "MountainMageChest_desc_RtD", "A tunic specially crafted for magic users in the Mountains." },
				{ "MountainMageHood_RtD", "<#9289AA>Mage Frostfell Hood" },
				{ "MountainMageHood_desc_RtD", "A hood specially crafted for magic users in the Mountains." },
				{ "MountainMageLegs_RtD", "<#9289AA>Mage Frostfell Legs" },
				{ "MountainMageLegs_desc_RtD", "Legs specially crafted for magic users in the Mountains." },
				{ "PlainsMageCape_RtD", "<#9289AA>Mage Lox Cloak" },
				{ "PlainsMageCape_desc_RtD", "A cloak specially crafted for magic users in the Plains." },
				{ "PlainsMageChest_RtD", "<#9289AA>Mage Lox Raiment" },
				{ "PlainsMageChest_desc_RtD", "A robe specially crafted for magic users in the Plains." },
				{ "PlainsMageHood_RtD", "<#9289AA>Mage Lox Hood" },
				{ "PlainsMageHood_desc_RtD", "A hood specially crafted for magic users in the Plains." },
				{ "PlainsMageLegs_RtD", "<#9289AA>Mage Lox Pants" },
				{ "PlainsMageLegs_desc_RtD", "A pair of pants specially crafted for magic users in the Plains." },
				{ "SwampMageCape_RtD", "<#9289AA>Mage Blood Drape" },
				{ "SwampMageCape_desc_RtD", "A drape specially crafted for magic users in the Swamp." },
				{ "SwampMageChest_RtD", "<#9289AA>Mage Blood Garment" },
				{ "SwampMageChest_desc_RtD", "A robe specially crafted for magic users in the Swamp. It has been created using the finest deer hide and guck." },
				{ "SwampMageHood_RtD", "<#9289AA>Mage Blood Hood" },
				{ "SwampMageHood_desc_RtD", "A hood specially crafted for magic users in the Swamp." },
				{ "SwampMageLegs_RtD", "<#9289AA>Mage Blood Legs" },
				{ "SwampMageLegs_desc_RtD", "These legs are specially crafted for magic users in the Swamp and are recommended to prevent the creatures there from biting your ankles." },
				{ "HealingStaff_T1_RtD", "<#FFA089>Eir Staff T1" },
				{ "HealingStaff_T1_desc_RtD", "A healing staff that provides basic heals." },
				{ "HealingStaff_T2_RtD", "<#FF9075>Eir Staff T2" },
				{ "HealingStaff_T2_desc_RtD", "A healing staff that provides minor heals." },
				{ "HealingStaff_T3_RtD", "<#FF8062>Eir Staff T3" },
				{ "HealingStaff_T3_desc_RtD", "A healing staff that provides strong heals." },
				{ "HealingStaff_T4_RtD", "<#FF714E>Eir Staff T4" },
				{ "HealingStaff_T4_desc_RtD", "A healing staff that provides very strong heals." },
				{ "AshLandsStaff1_RtD", "<#C5B358>Freyr Staff T1" },
				{ "AshLandsStaff1_desc_RtD", "A powerful Staff" },
				{ "AshLandsStaff2_RtD", "<#C5B358>Freyr Staff T2" },
				{ "AshLandsStaff2_desc_RtD", "A powerful Staff" },
				{ "AshLandsStaff3_RtD", "<#C5B358>Freyr Staff T3" },
				{ "AshLandsStaff3_desc_RtD", "A powerful Staff" },
				{ "BlackForestFireStaff_RtD", "<#B22222>Fire Staff" },
				{ "BlackForestFireStaff_desc_RtD", "A powerful Staff" },
				{ "BlackForestLightStaff_RtD", "<#ADD8E6>Light Staff" },
				{ "BlackForestLightStaff_desc_RtD", "A powerful Staff" },
				{ "DeepNorthStaff1_RtD", "<#5218FA>Arcane Staff T1" },
				{ "DeepNorthStaff1_desc_RtD", "A powerful Staff" },
				{ "DeepNorthStaff2_RtD", "<#6531FB>Arcane Staff T2" },
				{ "DeepNorthStaff2_desc_RtD", "A powerful Staff" },
				{ "DeepNorthStaff3_RtD", "<#774AFB>Arcane Staff T3" },
				{ "DeepNorthStaff3_desc_RtD", "A powerful Staff" },
				{ "MeadowsAirStaff_RtD", "<#5D8AA8>Air Staff" },
				{ "MeadowsAirStaff_desc_RtD", "The staff is powered by air." },
				{ "MeadowsLighteningStaff_RtD", "<#FBC72A>Lightning Staff" },
				{ "MeadowsLighteningStaff_desc_RtD", "The staff is powered by lightning." },
				{ "MistlandsQuakeStaff_RtD", "<#E0ECF5>Mistwalker Staff" },
				{ "MistlandsQuakeStaff_desc_RtD", "A powerful Staff" },
				{ "MountainIceStaff_RtD", "<#76A5AF>Ice Staff" },
				{ "MountainIceStaff_desc_RtD", "The staff is powered by ice." },
				{ "PlainsVoidStaff_RtD", "<#AA08D0>Void Staff" },
				{ "PlainsVoidStaff_desc_RtD", "The staff is powered by darkness." },
				{ "SwampEarthStaff_RtD", "<#CAE2C2>Earth Staff" },
				{ "SwampEarthStaff_desc_RtD", "The staff is powered by the earth." },
				{ "AshLandsFireWand_RtD", "Fire Wand" },
				{ "AshLandsFireWand_desc_RtD", "Its warm to the touch" },
				{ "BlackForestLightningWand_RtD", "<#FBC72A>Lightning Wand" },
				{ "BlackForestLightningWand_desc_RtD", "A shocking amount of power" },
				{ "DeepNorthArcaneWand_RtD", "<#5218FA>Arcane Wand" },
				{ "DeepNorthArcaneWand_desc_RtD", "An elegant wand humming with power." },
				{ "MeadowsAirWand_RtD", "<#5D8AA8>Air Wand" },
				{ "MeadowsAirWand_desc_RtD", "Ground you to the earth" },
				{ "MistlandsElementWand_RtD", "<#E0ECF5>Element Wand" },
				{ "MistlandsElementWand_desc_RtD", "Ancient Magicks" },
				{ "MountainIceWand_RtD", "<#76A5AF>Ice Wand" },
				{ "MountainIceWand_desc_RtD", "The wand is powered by cold, icy winds." },
				{ "PlainsVoidWand_RtD", "<#AA08D0>Void Wand" },
				{ "PlainsVoidWand_desc_RtD", "Darkness surrounds the wand" },
				{ "SwampPoisonWand_RtD", "<#CAE2C2>Poison Wand" },
				{ "SwampPoisonWand_desc_RtD", "The wand is powered by poison and provides a slow death." },
				{ "SBlackSoup_RtD", "Swamp Soup" },
				{ "SBlackSoup_desc_RtD", "Probably won't make you sick." },
				{ "SBloodPudding_RtD", "Magic Blood Pudding." },
				{ "SBloodPudding_desc_RtD", "Questionable choice of food." },
				{ "SCarrotSoup_RtD", "Simple Soup" },
				{ "SCarrotSoup_desc_RtD", "New look, same great taste!" },
				{ "SEyeScream_RtD", "Magic Eyescream" },
				{ "SEyeScream_desc_RtD", "Cold enough to give you a chill brain freeze." },
				{ "SOnionSoup_RtD", "Cold Soup" },
				{ "SOnionSoup_desc_RtD", "Probably will give you bad breath." },
				{ "SQueensJam_RtD", "Magic Jam" },
				{ "SQueensJam_desc_RtD", "Dont drop the jar, it would be a sticky situation." },
				{ "SShockolateShake_RtD", "Shockolate Shake" },
				{ "SShockolateShake_desc_RtD", "Made using poison ingredients like fast food." },
				{ "STurnipStew_RtD", "Vegetable Stew" },
				{ "STurnipStew_desc_RtD", "At least it has Turnips." },
				{ "SE_MageArmorAshLands_RtD", "Wizardry" },
				{ "SE_MageArmorAshLands_desc_RtD", "Mage Set" },
				{ "SE_MageArmorBlackForest_RtD", "Wizardry" },
				{ "SE_MageArmorBlackForest_desc_RtD", "Mage Set" },
				{ "SE_MageArmorDeepNorth_RtD", "Wizardry" },
				{ "SE_MageArmorDeepNorth_desc_RtD", "Mage Set" },
				{ "SE_MageArmorMistlands_RtD", "Wizardry" },
				{ "SE_MageArmorMistlands_desc_RtD", "Mage Set" },
				{ "SE_MageArmorMountain_RtD", "Wizardry" },
				{ "SE_MageArmorMountain_desc_RtD", "Mage Set" },
				{ "SE_MageArmorPlains_RtD", "Wizardry" },
				{ "SE_MageArmorPlains_desc_RtD", "Mage Set" },
				{ "SE_MageArmorSwamp_RtD", "Wizardry" },
				{ "SE_MageArmorSwamp_desc_RtD", "Mage Set" }
			});
		}

		public RtDMagic()
		{
			//IL_0001: Unknown result type (might be due to invalid IL or missing references)
			//IL_0007: Expected O, but got Unknown
			//IL_001c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0036: Unknown result type (might be due to invalid IL or missing references)
			//IL_003f: Expected O, but got Unknown
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_0052: Unknown result type (might be due to invalid IL or missing references)
			//IL_005a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0063: Expected O, but got Unknown
			//IL_0065: Unknown result type (might be due to invalid IL or missing references)
			//IL_006a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0076: Unknown result type (might be due to invalid IL or missing references)
			//IL_007f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0088: Expected O, but got Unknown
			//IL_008a: Unknown result type (might be due to invalid IL or missing references)
			//IL_008f: 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_00a3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ac: Expected O, but got Unknown
			//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bf: Expected O, but got Unknown
			//IL_00d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f7: Expected O, but got Unknown
			//IL_00f9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00fe: Unknown result type (might be due to invalid IL or missing references)
			//IL_010a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0112: Unknown result type (might be due to invalid IL or missing references)
			//IL_011b: Expected O, but got Unknown
			//IL_011d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0122: Unknown result type (might be due to invalid IL or missing references)
			//IL_012e: 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_0140: Expected O, but got Unknown
			//IL_0142: Unknown result type (might be due to invalid IL or missing references)
			//IL_0147: Unknown result type (might be due to invalid IL or missing references)
			//IL_0153: Unknown result type (might be due to invalid IL or missing references)
			//IL_015b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0164: Expected O, but got Unknown
			//IL_0171: Unknown result type (might be due to invalid IL or missing references)
			//IL_0177: Expected O, but got Unknown
			//IL_018c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0191: Unknown result type (might be due to invalid IL or missing references)
			//IL_019d: Unknown result type (might be due to invalid IL or missing references)
			//IL_01a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_01af: Expected O, but got Unknown
			//IL_01b1: Unknown result type (might be due to invalid IL or missing references)
			//IL_01b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_01c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_01ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_01d3: Expected O, but got Unknown
			//IL_01d5: Unknown result type (might be due to invalid IL or missing references)
			//IL_01da: Unknown result type (might be due to invalid IL or missing references)
			//IL_01e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_01ef: Unknown result type (might be due to invalid IL or missing references)
			//IL_01f8: Expected O, but got Unknown
			//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_01ff: Unknown result type (might be due to invalid IL or missing references)
			//IL_020b: 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_021c: Expected O, but got Unknown
			//IL_0229: Unknown result type (might be due to invalid IL or missing references)
			//IL_022f: Expected O, but got Unknown
			//IL_0244: Unknown result type (might be due to invalid IL or missing references)
			//IL_0249: 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_025e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0267: Expected O, but got Unknown
			//IL_0269: Unknown result type (might be due to invalid IL or missing references)
			//IL_026e: Unknown result type (might be due to invalid IL or missing references)
			//IL_027a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0282: Unknown result type (might be due to invalid IL or missing references)
			//IL_028b: Expected O, but got Unknown
			//IL_028d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0292: Unknown result type (might be due to invalid IL or missing references)
			//IL_029e: Unknown result type (might be due to invalid IL or missing references)
			//IL_02a7: Unknown result type (might be due to invalid IL or missing references)
			//IL_02b0: Expected O, but got Unknown
			//IL_02b2: Unknown result type (might be due to invalid IL or missing references)
			//IL_02b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_02c3: Unknown result type (might be due to invalid IL or missing references)
			//IL_02cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_02d4: Expected O, but got Unknown
			//IL_02e1: Unknown result type (might be due to invalid IL or missing references)
			//IL_02e7: Expected O, but got Unknown
			//IL_02fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0301: Unknown result type (might be due to invalid IL or missing references)
			//IL_030d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0316: Unknown result type (might be due to invalid IL or missing references)
			//IL_031f: Expected O, but got Unknown
			//IL_0321: Unknown result type (might be due to invalid IL or missing references)
			//IL_0326: Unknown result type (might be due to invalid IL or missing references)
			//IL_0332: Unknown result type (might be due to invalid IL or missing references)
			//IL_033a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0343: Expected O, but got Unknown
			//IL_0345: Unknown result type (might be due to invalid IL or missing references)
			//IL_034a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0356: Unknown result type (might be due to invalid IL or missing references)
			//IL_035f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0368: Expected O, but got Unknown
			//IL_036a: Unknown result type (might be due to invalid IL or missing references)
			//IL_036f: Unknown result type (might be due to invalid IL or missing references)
			//IL_037b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0383: Unknown result type (might be due to invalid IL or missing references)
			//IL_038c: Expected O, but got Unknown
			//IL_0399: Unknown result type (might be due to invalid IL or missing references)
			//IL_039f: Expected O, but got Unknown
			//IL_03b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_03b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_03c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_03ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_03d7: Expected O, but got Unknown
			//IL_03d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_03de: 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_03f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_03fb: Expected O, but got Unknown
			//IL_03fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0402: Unknown result type (might be due to invalid IL or missing references)
			//IL_040e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0417: Unknown result type (might be due to invalid IL or missing references)
			//IL_0420: Expected O, but got Unknown
			//IL_0422: Unknown result type (might be due to invalid IL or missing references)
			//IL_0427: Unknown result type (might be due to invalid IL or missing references)
			//IL_0433: Unknown result type (might be due to invalid IL or missing references)
			//IL_043b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0444: Expected O, but got Unknown
			//IL_0451: Unknown result type (might be due to invalid IL or missing references)
			//IL_0457: Expected O, but got Unknown
			//IL_046c: 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_047d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0486: Unknown result type (might be due to invalid IL or missing references)
			//IL_048f: Expected O, but got Unknown
			//IL_0491: Unknown result type (might be due to invalid IL or missing references)
			//IL_0496: Unknown result type (might be due to invalid IL or missing references)
			//IL_04a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_04aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_04b3: Expected O, but got Unknown
			//IL_04b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_04ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_04c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_04cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_04d8: Expected O, but got Unknown
			//IL_04da: Unknown result type (might be due to invalid IL or missing references)
			//IL_04df: Unknown result type (might be due to invalid IL or missing references)
			//IL_04eb: Unknown result type (might be due to invalid IL or missing references)
			//IL_04f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_04fc: Expected O, but got Unknown
			//IL_0509: Unknown result type (might be due to invalid IL or missing references)
			//IL_050f: Expected O, but got Unknown
			//IL_0524: Unknown result type (might be due to invalid IL or missing references)
			//IL_0529: Unknown result type (might be due to invalid IL or missing references)
			//IL_0535: Unknown result type (might be due to invalid IL or missing references)
			//IL_053e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0547: Expected O, but got Unknown
			//IL_0549: Unknown result type (might be due to invalid IL or missing references)
			//IL_054e: Unknown result type (might be due to invalid IL or missing references)
			//IL_055a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0562: Unknown result type (might be due to invalid IL or missing references)
			//IL_056b: Expected O, but got Unknown
			//IL_056d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0572: Unknown result type (might be due to invalid IL or missing references)
			//IL_057e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0586: Unknown result type (might be due to invalid IL or missing references)
			//IL_058f: Expected O, but got Unknown
			//IL_0591: Unknown result type (might be due to invalid IL or missing references)
			//IL_0596: Unknown result type (might be due to invalid IL or missing references)
			//IL_05a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_05aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_05b3: Expected O, but got Unknown
			//IL_05c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_05c6: Expected O, but got Unknown
			//IL_05db: Unknown result type (might be due to invalid IL or missing references)
			//IL_05e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_05ec: Unknown result type (might be due to invalid IL or missing references)
			//IL_05f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_05fe: Expected O, but got Unknown
			//IL_0600: Unknown result type (might be due to invalid IL or missing references)
			//IL_0605: Unknown result type (might be due to invalid IL or missing references)
			//IL_0611: Unknown result type (might be due to invalid IL or missing references)
			//IL_0619: Unknown result type (might be due to invalid IL or missing references)
			//IL_0622: Expected O, but got Unknown
			//IL_0624: Unknown result type (might be due to invalid IL or missing references)
			//IL_0629: Unknown result type (might be due to invalid IL or missing references)
			//IL_0635: Unknown result type (might be due to invalid IL or missing references)
			//IL_063e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0647: Expected O, but got Unknown
			//IL_0649: Unknown result type (might be due to invalid IL or missing references)
			//IL_064e: Unknown result type (might be due to invalid IL or missing references)
			//IL_065a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0662: Unknown result type (might be due to invalid IL or missing references)
			//IL_066b: Expected O, but got Unknown
			//IL_0678: Unknown result type (might be due to invalid IL or missing references)
			//IL_067e: Expected O, but got Unknown
			//IL_0693: Unknown result type (might be due to invalid IL or missing references)
			//IL_0698: Unknown result type (might be due to invalid IL or missing references)
			//IL_06a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_06ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_06b6: Expected O, but got Unknown
			//IL_06b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_06bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_06c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_06d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_06da: Expected O, but got Unknown
			//IL_06dc: Unknown result type (might be due to invalid IL or missing references)
			//IL_06e1: Unknown result type (might be due to invalid IL or missing references)
			//IL_06ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_06f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_06ff: Expected O, but got Unknown
			//IL_0701: Unknown result type (might be due to invalid IL or missing references)
			//IL_0706: Unknown result type (might be due to invalid IL or missing references)
			//IL_0712: Unknown result type (might be due to invalid IL or missing references)
			//IL_071a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0723: Expected O, but got Unknown
			//IL_0730: Unknown result type (might be due to invalid IL or missing references)
			//IL_0736: Expected O, but got Unknown
			//IL_074b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0750: Unknown result type (might be due to invalid IL or missing references)
			//IL_075c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0765: Unknown result type (might be due to invalid IL or missing references)
			//IL_076e: Expected O, but got Unknown
			//IL_0770: Unknown result type (might be due to invalid IL or missing references)
			//IL_0775: Unknown result type (might be due to invalid IL or missing references)
			//IL_0781: Unknown result type (might be due to invalid IL or missing references)
			//IL_078a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0793: Expected O, but got Unknown
			//IL_0795: Unknown result type (might be due to invalid IL or missing references)
			//IL_079a: Unknown result type (might be due to invalid IL or missing references)
			//IL_07a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_07af: Unknown result type (might be due to invalid IL or missing references)
			//IL_07b8: Expected O, but got Unknown
			//IL_07ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_07bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_07cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_07d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_07dc: Expected O, but got Unknown
			//IL_07e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_07ef: Expected O, but got Unknown
			//IL_0804: Unknown result type (might be due to invalid IL or missing references)
			//IL_0809: Unknown result type (might be due to invalid IL or missing references)
			//IL_0815: Unknown result type (might be due to invalid IL or missing references)
			//IL_081e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0827: Expected O, but got Unknown
			//IL_0829: Unknown result type (might be due to invalid IL or missing references)
			//IL_082e: Unknown result type (might be due to invalid IL or missing references)
			//IL_083a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0843: Unknown result type (might be due to invalid IL or missing references)
			//IL_084c: Expected O, but got Unknown
			//IL_084e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0853: Unknown result type (might be due to invalid IL or missing references)
			//IL_085f: 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_0871: Expected O, but got Unknown
			//IL_0873: Unknown result type (might be due to invalid IL or missing references)
			//IL_0878: Unknown result type (might be due to invalid IL or missing references)
			//IL_0884: Unknown result type (might be due to invalid IL or missing references)
			//IL_088c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0895: Expected O, but got Unknown
			//IL_08a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_08a8: Expected O, but got Unknown
			//IL_08bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_08c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_08ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_08d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_08e0: Expected O, but got Unknown
			//IL_08e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_08e7: Unknown result type (might be due to invalid IL or missing references)
			//IL_08f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_08fb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0904: Expected O, but got Unknown
			//IL_0906: Unknown result type (might be due to invalid IL or missing references)
			//IL_090b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0917: Unknown result type (might be due to invalid IL or missing references)
			//IL_0920: Unknown result type (might be due to invalid IL or missing references)
			//IL_0929: Expected O, but got Unknown
			//IL_092b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0930: 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_0944: Unknown result type (might be due to invalid IL or missing references)
			//IL_094d: Expected O, but got Unknown
			//IL_095a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0960: Expected O, but got Unknown
			//IL_0975: Unknown result type (might be due to invalid IL or missing references)
			//IL_097a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0986: Unknown result type (might be due to invalid IL or missing references)
			//IL_098e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0997: Expected O, but got Unknown
			//IL_0999: Unknown result type (might be due to invalid IL or missing references)
			//IL_099e: Unknown result type (might be due to invalid IL or missing references)
			//IL_09aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_09b3: Unknown result type (might be due to invalid IL or missing references)
			//IL_09bc: Expected O, but got Unknown
			//IL_09be: Unknown result type (might be due to invalid IL or missing references)
			//IL_09c3: Unknown result type (might be due to invalid IL or missing references)
			//IL_09cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_09d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_09e0: Expected O, but got Unknown
			//IL_09e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_09e7: Unknown result type (might be due to invalid IL or missing references)
			//IL_09f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_09fb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a04: Expected O, but got Unknown
			//IL_0a11: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a17: Expected O, but got Unknown
			//IL_0a2c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a31: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a3d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a45: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a4e: Expected O, but got Unknown
			//IL_0a50: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a55: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a61: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a69: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a72: Expected O, but got Unknown
			//IL_0a74: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a79: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a85: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a8e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a97: Expected O, but got Unknown
			//IL_0a99: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a9e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aaa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ab2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0abb: Expected O, but got Unknown
			//IL_0ac8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ace: Expected O, but got Unknown
			//IL_0ae3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ae8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0af4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0afc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b05: Expected O, but got Unknown
			//IL_0b07: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b0c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b18: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b20: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b29: Expected O, but got Unknown
			//IL_0b2b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b30: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b3c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b44: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b4d: Expected O, but got Unknown
			//IL_0b4f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b54: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b60: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b68: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b71: Expected O, but got Unknown
			//IL_0b7e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b84: Expected O, but got Unknown
			//IL_0b99: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b9e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0baa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bb2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bbb: Expected O, but got Unknown
			//IL_0bbd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bc2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bce: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bd7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0be0: Expected O, but got Unknown
			//IL_0be2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0be7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bf3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bfc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c05: Expected O, but got Unknown
			//IL_0c07: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c0c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c18: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c20: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c29: Expected O, but got Unknown
			//IL_0c36: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c3c: Expected O, but got Unknown
			//IL_0c51: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c56: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c62: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c6b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c74: Expected O, but got Unknown
			//IL_0c76: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c7b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c87: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c90: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c99: Expected O, but got Unknown
			//IL_0c9b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ca0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cac: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cb4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cbd: Expected O, but got Unknown
			//IL_0cbf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cc4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cd0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cd8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ce1: Expected O, but got Unknown
			//IL_0cee: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cf4: Expected O, but got Unknown
			//IL_0d09: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d0e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d1a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d23: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d2c: Expected O, but got Unknown
			//IL_0d2e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d33: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d3f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d47: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d50: Expected O, but got Unknown
			//IL_0d52: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d57: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d63: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d6c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d75: Expected O, but got Unknown
			//IL_0d77: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d7c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d88: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d90: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d99: Expected O, but got Unknown
			//IL_0da6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dac: Expected O, but got Unknown
			//IL_0dc1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dc6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dd2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ddb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0de4: Expected O, but got Unknown
			//IL_0de6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0deb: Unknown result type (might be due t