Decompiled source of RtDItems v1.2.13

RtDItems.dll

Decompiled 3 weeks ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Configuration;
using BepInEx.Logging;
using Jotunn.Configs;
using Jotunn.Entities;
using Jotunn.Managers;
using Jotunn.Utils;
using Microsoft.CodeAnalysis;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("RtDItems")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("RtDItems")]
[assembly: AssemblyTitle("RtDItems")]
[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 RtDItems
{
	[BepInPlugin("Soloredis.RtDItems", "RtDItems", "1.2.13")]
	[NetworkCompatibility(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInIncompatibility("CookieMilk.MagicalMounts")]
	[BepInIncompatibility("CookieMilk.MajesticChickens")]
	[BepInIncompatibility("CookieMilk.BuildPieces")]
	[BepInIncompatibility("CookieMilk.CarryMeMaster")]
	[BepInIncompatibility("CookieMilk.DiscordControl")]
	[BepInIncompatibility("CookieMilk.UltimateServerControl")]
	[BepInIncompatibility("Therzie.MonstrumDeepNorth")]
	[BepInIncompatibility("Therzie.WarfareFireAndIce")]
	[BepInIncompatibility("Therzie.Monstrum")]
	[BepInIncompatibility("Therzie.Armory")]
	[BepInIncompatibility("Therzie.Wizardry")]
	[BepInIncompatibility("Therzie.Warfare")]
	[BepInIncompatibility("blacks7ar.MagicPlugin")]
	[BepInIncompatibility("blacks7ar.MagicRevamp")]
	[BepInIncompatibility("blacks7ar.SeedBed")]
	[BepInIncompatibility("blacks7ar.OreMines")]
	[BepInIncompatibility("blacks7ar.BowPlugin")]
	[BepInIncompatibility("IAmOnTheInternetAndItIsScary.NoArbitraryIncompatibilityFlag")]
	[BepInIncompatibility("randyknapp.mods.epicloot")]
	public class RtDItems : BaseUnityPlugin
	{
		public const string PluginGUID = "Soloredis.RtDItems";

		public const string PluginName = "RtDItems";

		public const string PluginVersion = "1.2.13";

		public static bool isModded = true;

		private CustomLocalization Localization;

		public AssetBundle MyAssets;

		public ConfigEntry<bool> LoggingEnable;

		public PieceConfig Piece1A;

		public PieceConfig Piece2A;

		public PieceConfig Piece3A;

		public PieceConfig Piece4A;

		public PieceConfig Piece5A;

		public PieceConfig Piece1B;

		public PieceConfig Piece2B;

		public PieceConfig Piece3B;

		public PieceConfig Piece4B;

		public PieceConfig Piece5B;

		public ItemConfig MeadowsAtgeirA;

		public ItemConfig MeadowsAtgeirB;

		public ItemConfig MeadowsAxe1HA;

		public ItemConfig MeadowsAxe1HB;

		public ItemConfig MeadowsAxe2HA;

		public ItemConfig MeadowsAxe2HB;

		public ItemConfig MeadowwsBowA;

		public ItemConfig MeadowwsBowB;

		public ItemConfig MeadowsClubA;

		public ItemConfig MeadowsClubB;

		public ItemConfig MeadowsDaggerA;

		public ItemConfig MeadowsDaggerB;

		public ItemConfig MeadowsDefenderA;

		public ItemConfig MeadowsDefenderB;

		public ItemConfig MeadowsSpearA;

		public ItemConfig MeadowsSpearB;

		public ItemConfig MeadowsSword1HA;

		public ItemConfig MeadowsSword1HB;

		public ItemConfig MeadowsSword2HA;

		public ItemConfig MeadowsSword2HB;

		public ItemConfig BlackForestAtgeirA;

		public ItemConfig BlackForestAtgeirB;

		public ItemConfig BlackForestAxe1HA;

		public ItemConfig BlackForestAxe1HB;

		public ItemConfig BlackForestAxe2HA;

		public ItemConfig BlackForestAxe2HB;

		public ItemConfig BlackForestBowA;

		public ItemConfig BlackForestBowB;

		public ItemConfig BlackForestClubA;

		public ItemConfig BlackForestClubB;

		public ItemConfig BlackForestDaggerA;

		public ItemConfig BlackForestDaggerB;

		public ItemConfig BlackForestDefenderA;

		public ItemConfig BlackForestDefenderB;

		public ItemConfig BlackForestSledgeA;

		public ItemConfig BlackForestSledgeB;

		public ItemConfig BlackForestSpearA;

		public ItemConfig BlackForestSpearB;

		public ItemConfig BlackForestSword1HA;

		public ItemConfig BlackForestSword1HB;

		public ItemConfig BlackForestSword2HA;

		public ItemConfig BlackForestSword2HB;

		public ItemConfig OdinsFistA;

		public ItemConfig OdinsFistB;

		public ItemConfig OdinsDefenderA;

		public ItemConfig OdinsDefenderB;

		public ItemConfig BlackForestArcherChestA;

		public ItemConfig BlackForestArcherChestB;

		public ItemConfig BlackForestArcherHelmetA;

		public ItemConfig BlackForestArcherHelmetB;

		public ItemConfig BlackForestArcherLegsA;

		public ItemConfig BlackForestArcherLegsB;

		public ItemConfig BlackForestMonkChestA;

		public ItemConfig BlackForestMonkChestB;

		public ItemConfig BlackForestMonkHelmetA;

		public ItemConfig BlackForestMonkHelmetB;

		public ItemConfig BlackForestMonkLegsA;

		public ItemConfig BlackForestMonkLegsB;

		public ItemConfig BlackForestMonkCapeA;

		public ItemConfig BlackForestMonkCapeB;

		public ItemConfig BlackForestArcherCapeA;

		public ItemConfig BlackForestArcherCapeB;

		public ItemConfig SwampAtgeirA;

		public ItemConfig SwampAtgeirB;

		public ItemConfig SwampAxe1HA;

		public ItemConfig SwampAxe1HB;

		public ItemConfig SwampAxe2HA;

		public ItemConfig SwampAxe2HB;

		public ItemConfig SwampBowA;

		public ItemConfig SwampBowB;

		public ItemConfig SwampClubA;

		public ItemConfig SwampClubB;

		public ItemConfig SwampDaggerA;

		public ItemConfig SwampDaggerB;

		public ItemConfig SwampDefenderA;

		public ItemConfig SwampDefenderB;

		public ItemConfig SwampSledgeA;

		public ItemConfig SwampSledgeB;

		public ItemConfig SwampSpearA;

		public ItemConfig SwampSpearB;

		public ItemConfig SwampSword1HA;

		public ItemConfig SwampSword1HB;

		public ItemConfig SwampSword2HA;

		public ItemConfig SwampSword2HB;

		public ItemConfig SwampAssassinChestA;

		public ItemConfig SwampAssassinChestB;

		public ItemConfig SwampAssassinHelmetA;

		public ItemConfig SwampAssassinHelmetB;

		public ItemConfig SwampAssassinLegsA;

		public ItemConfig SwampAssassinLegsB;

		public ItemConfig SwampMonkChestA;

		public ItemConfig SwampMonkChestB;

		public ItemConfig SwampMonkHelmetA;

		public ItemConfig SwampMonkHelmetB;

		public ItemConfig SwampMonkLegsA;

		public ItemConfig SwampMonkLegsB;

		public ItemConfig SwampMonkCapeA;

		public ItemConfig SwampMonkCapeB;

		public ItemConfig SwampAssassinCapeA;

		public ItemConfig SwampAssassinCapeB;

		public ItemConfig MountainAtgeirA;

		public ItemConfig MountainAtgeirB;

		public ItemConfig MountainAxe1HA;

		public ItemConfig MountainAxe1HB;

		public ItemConfig MountainAxe2HA;

		public ItemConfig MountainAxe2HB;

		public ItemConfig MountainBowA;

		public ItemConfig MountainBowB;

		public ItemConfig MountainClubA;

		public ItemConfig MountainClubB;

		public ItemConfig MountainDaggerA;

		public ItemConfig MountainDaggerB;

		public ItemConfig MountainDefenderA;

		public ItemConfig MountainDefenderB;

		public ItemConfig MountainSledgeA;

		public ItemConfig MountainSledgeB;

		public ItemConfig MountainSpearA;

		public ItemConfig MountainSpearB;

		public ItemConfig MountainSword1HA;

		public ItemConfig MountainSword1HB;

		public ItemConfig MountainSword2HA;

		public ItemConfig MountainSword2HB;

		public ItemConfig MountainArcherChestA;

		public ItemConfig MountainArcherChestB;

		public ItemConfig MountainArcherHelmetA;

		public ItemConfig MountainArcherHelmetB;

		public ItemConfig MountainArcherLegsA;

		public ItemConfig MountainArcherLegsB;

		public ItemConfig MountainAssassinChestA;

		public ItemConfig MountainAssassinChestB;

		public ItemConfig MountainAssassinHelmetA;

		public ItemConfig MountainAssassinHelmetB;

		public ItemConfig MountainAssassinLegsA;

		public ItemConfig MountainAssassinLegsB;

		public ItemConfig MountainMonkChestA;

		public ItemConfig MountainMonkChestB;

		public ItemConfig MountainMonkHelmetA;

		public ItemConfig MountainMonkHelmetB;

		public ItemConfig MountainMonkLegsA;

		public ItemConfig MountainMonkLegsB;

		public ItemConfig MountainMonkCapeA;

		public ItemConfig MountainMonkCapeB;

		public ItemConfig MountainHybridCapeA;

		public ItemConfig MountainHybridCapeB;

		public ItemConfig PlainsAtgeirA;

		public ItemConfig PlainsAtgeirB;

		public ItemConfig PlainsAxe1HA;

		public ItemConfig PlainsAxe1HB;

		public ItemConfig PlainsAxe2HA;

		public ItemConfig PlainsAxe2HB;

		public ItemConfig PlainsBowA;

		public ItemConfig PlainsBowB;

		public ItemConfig PlainsClubA;

		public ItemConfig PlainsClubB;

		public ItemConfig PlainsDaggerA;

		public ItemConfig PlainsDaggerB;

		public ItemConfig PlainsDefenderA;

		public ItemConfig PlainsDefenderB;

		public ItemConfig PlainsSledgeA;

		public ItemConfig PlainsSledgeB;

		public ItemConfig PlainsSpearA;

		public ItemConfig PlainsSpearB;

		public ItemConfig PlainsSword1HA;

		public ItemConfig PlainsSword1HB;

		public ItemConfig PlainsSword2HA;

		public ItemConfig PlainsSword2HB;

		public ItemConfig PlainsArcherChestA;

		public ItemConfig PlainsArcherChestB;

		public ItemConfig PlainsArcherHelmetA;

		public ItemConfig PlainsArcherHelmetB;

		public ItemConfig PlainsArcherLegsA;

		public ItemConfig PlainsArcherLegsB;

		public ItemConfig PlainsAssassinChestA;

		public ItemConfig PlainsAssassinChestB;

		public ItemConfig PlainsAssassinHelmetA;

		public ItemConfig PlainsAssassinHelmetB;

		public ItemConfig PlainsAssassinLegsA;

		public ItemConfig PlainsAssassinLegsB;

		public ItemConfig PlainsMonkChestA;

		public ItemConfig PlainsMonkChestB;

		public ItemConfig PlainsMonkHelmetA;

		public ItemConfig PlainsMonkHelmetB;

		public ItemConfig PlainsMonkLegsA;

		public ItemConfig PlainsMonkLegsB;

		public ItemConfig PlainsMonkCapeA;

		public ItemConfig PlainsMonkCapeB;

		public ItemConfig PlainsArcherCapeA;

		public ItemConfig PlainsArcherCapeB;

		public ItemConfig PlainsAssassinCapeA;

		public ItemConfig PlainsAssassinCapeB;

		public ItemConfig MistlandsAtgeirA;

		public ItemConfig MistlandsAtgeirB;

		public ItemConfig MistlandsAxe1HA;

		public ItemConfig MistlandsAxe1HB;

		public ItemConfig MistlandsAxe2HA;

		public ItemConfig MistlandsAxe2HB;

		public ItemConfig MistlandsBowA;

		public ItemConfig MistlandsBowB;

		public ItemConfig MistlandsClubA;

		public ItemConfig MistlandsClubB;

		public ItemConfig MistlandsDaggerA;

		public ItemConfig MistlandsDaggerB;

		public ItemConfig MistlandsDefenderA;

		public ItemConfig MistlandsDefenderB;

		public ItemConfig MistlandsSledgeA;

		public ItemConfig MistlandsSledgeB;

		public ItemConfig MistlandsSpearA;

		public ItemConfig MistlandsSpearB;

		public ItemConfig MistlandsSword1HA;

		public ItemConfig MistlandsSword1HB;

		public ItemConfig MistlandsSword2HA;

		public ItemConfig MistlandsSword2HB;

		public ItemConfig MistlandsArcherChestA;

		public ItemConfig MistlandsArcherChestB;

		public ItemConfig MistlandsArcherHelmetA;

		public ItemConfig MistlandsArcherHelmetB;

		public ItemConfig MistlandsArcherLegsA;

		public ItemConfig MistlandsArcherLegsB;

		public ItemConfig MistlandsAssassinChestA;

		public ItemConfig MistlandsAssassinChestB;

		public ItemConfig MistlandsAssassinHelmetA;

		public ItemConfig MistlandsAssassinHelmetB;

		public ItemConfig MistlandsAssassinLegsA;

		public ItemConfig MistlandsAssassinLegsB;

		public ItemConfig MistlandsMonkChestA;

		public ItemConfig MistlandsMonkChestB;

		public ItemConfig MistlandsMonkHelmetA;

		public ItemConfig MistlandsMonkHelmetB;

		public ItemConfig MistlandsMonkLegsA;

		public ItemConfig MistlandsMonkLegsB;

		public ItemConfig MistlandsMonkCapeA;

		public ItemConfig MistlandsMonkCapeB;

		public ItemConfig MistlandsArcherCapeA;

		public ItemConfig MistlandsArcherCapeB;

		public ItemConfig MistlandsAssassinCapeA;

		public ItemConfig MistlandsAssassinCapeB;

		public ItemConfig AshLandsAtgeirA;

		public ItemConfig AshLandsAtgeirB;

		public ItemConfig AshLandsAxe1HA;

		public ItemConfig AshLandsAxe1HB;

		public ItemConfig AshLandsAxe2HA;

		public ItemConfig AshLandsAxe2HB;

		public ItemConfig AshLandsBowA;

		public ItemConfig AshLandsBowB;

		public ItemConfig AshLandsShieldBowA;

		public ItemConfig AshLandsShieldBowB;

		public ItemConfig AshLandsClubA;

		public ItemConfig AshLandsClubB;

		public ItemConfig AshLandsDaggerA;

		public ItemConfig AshLandsDaggerB;

		public ItemConfig AshLandsDefenderA;

		public ItemConfig AshLandsDefenderB;

		public ItemConfig AshLandsSledgeA;

		public ItemConfig AshLandsSledgeB;

		public ItemConfig AshLandsSpearA;

		public ItemConfig AshLandsSpearB;

		public ItemConfig AshLandsSword1HA;

		public ItemConfig AshLandsSword1HB;

		public ItemConfig AshLandsSword2HA;

		public ItemConfig AshLandsSword2HB;

		public ItemConfig AshLandsShieldA;

		public ItemConfig AshLandsShieldB;

		public ItemConfig AxeFlametalA;

		public ItemConfig AxeFlametalB;

		public ItemConfig PickAxeFlametalA;

		public ItemConfig PickAxeFlametalB;

		public ItemConfig AshLandsArcherChestA;

		public ItemConfig AshLandsArcherChestB;

		public ItemConfig AshLandsArcherHelmetA;

		public ItemConfig AshLandsArcherHelmetB;

		public ItemConfig AshLandsArcherLegsA;

		public ItemConfig AshLandsArcherLegsB;

		public ItemConfig AshLandsAssassinChestA;

		public ItemConfig AshLandsAssassinChestB;

		public ItemConfig AshLandsAssassinHelmetA;

		public ItemConfig AshLandsAssassinHelmetB;

		public ItemConfig AshLandsAssassinLegsA;

		public ItemConfig AshLandsAssassinLegsB;

		public ItemConfig AshLandsMonkChestA;

		public ItemConfig AshLandsMonkChestB;

		public ItemConfig AshLandsMonkHelmetA;

		public ItemConfig AshLandsMonkHelmetB;

		public ItemConfig AshLandsMonkLegsA;

		public ItemConfig AshLandsMonkLegsB;

		public ItemConfig AshLandsMonkCapeA;

		public ItemConfig AshLandsMonkCapeB;

		public ItemConfig AshLandsArcherCapeA;

		public ItemConfig AshLandsArcherCapeB;

		public ItemConfig AshLandsAssassinCapeA;

		public ItemConfig AshLandsAssassinCapeB;

		public ItemConfig AshLandsHybridCapeA;

		public ItemConfig AshLandsHybridCapeB;

		public ItemConfig AshLandsWarriorChestA;

		public ItemConfig AshLandsWarriorChestB;

		public ItemConfig AshLandsWarriorHelmetA;

		public ItemConfig AshLandsWarriorHelmetB;

		public ItemConfig AshLandsWarriorLegsA;

		public ItemConfig AshLandsWarriorLegsB;

		public ItemConfig DeepNorthAtgeirA;

		public ItemConfig DeepNorthAtgeirB;

		public ItemConfig DeepNorthAxe1H1A;

		public ItemConfig DeepNorthAxe1H1B;

		public ItemConfig DeepNorthAxe1H2A;

		public ItemConfig DeepNorthAxe1H2B;

		public ItemConfig DeepNorthAxe2H1A;

		public ItemConfig DeepNorthAxe2H1B;

		public ItemConfig DeepNorthAxe2H2A;

		public ItemConfig DeepNorthAxe2H2B;

		public ItemConfig DeepNorthBowA;

		public ItemConfig DeepNorthBowB;

		public ItemConfig DeepNorthShieldBowA;

		public ItemConfig DeepNorthShieldBowB;

		public ItemConfig DeepNorthClubA;

		public ItemConfig DeepNorthClubB;

		public ItemConfig DeepNorthDaggerA;

		public ItemConfig DeepNorthDaggerB;

		public ItemConfig DeepNorthDefenderA;

		public ItemConfig DeepNorthDefenderB;

		public ItemConfig DeepNorthSledge1A;

		public ItemConfig DeepNorthSledge1B;

		public ItemConfig DeepNorthSledge2A;

		public ItemConfig DeepNorthSledge2B;

		public ItemConfig DeepNorthSpearA;

		public ItemConfig DeepNorthSpearB;

		public ItemConfig DeepNorthSword1H1A;

		public ItemConfig DeepNorthSword1H1B;

		public ItemConfig DeepNorthSword1H2A;

		public ItemConfig DeepNorthSword1H2B;

		public ItemConfig DeepNorthSword2H1A;

		public ItemConfig DeepNorthSword2H1B;

		public ItemConfig DeepNorthSword2H2A;

		public ItemConfig DeepNorthSword2H2B;

		public ItemConfig DeepNorthArcherChestA;

		public ItemConfig DeepNorthArcherChestB;

		public ItemConfig DeepNorthArcherHelmetA;

		public ItemConfig DeepNorthArcherHelmetB;

		public ItemConfig DeepNorthArcherLegsA;

		public ItemConfig DeepNorthArcherLegsB;

		public ItemConfig DeepNorthAssassinChestA;

		public ItemConfig DeepNorthAssassinChestB;

		public ItemConfig DeepNorthAssassinHelmetA;

		public ItemConfig DeepNorthAssassinHelmetB;

		public ItemConfig DeepNorthAssassinLegsA;

		public ItemConfig DeepNorthAssassinLegsB;

		public ItemConfig DeepNorthMonkChestA;

		public ItemConfig DeepNorthMonkChestB;

		public ItemConfig DeepNorthMonkHelmetA;

		public ItemConfig DeepNorthMonkHelmetB;

		public ItemConfig DeepNorthMonkLegsA;

		public ItemConfig DeepNorthMonkLegsB;

		public ItemConfig DeepNorthMonkCapeA;

		public ItemConfig DeepNorthMonkCapeB;

		public ItemConfig DeepNorthHybridCapeA;

		public ItemConfig DeepNorthHybridCapeB;

		public ItemConfig DeepNorthWarriorChestA;

		public ItemConfig DeepNorthWarriorChestB;

		public ItemConfig DeepNorthWarriorHelmetA;

		public ItemConfig DeepNorthWarriorHelmetB;

		public ItemConfig DeepNorthWarriorLegsA;

		public ItemConfig DeepNorthWarriorLegsB;

		public ItemConfig DeepNorthShieldA;

		public ItemConfig DeepNorthShieldB;

		public ItemConfig MeadowsShield1B;

		public ItemConfig MeadowsShield1A;

		public ItemConfig BlackForestShield2B;

		public ItemConfig BlackForestShield2A;

		public ItemConfig SwampShield3B;

		public ItemConfig SwampShield3A;

		public ItemConfig MountainShield4B;

		public ItemConfig MountainShield4A;

		public ItemConfig PlainsShield5B;

		public ItemConfig PlainsShield5A;

		public ItemConfig MistlandsShield6B;

		public ItemConfig MistlandsShield6A;

		public string[] PrefabList;

		public string[] AttackStatusEffectList;

		public string[] CustomStatusEffectList;

		private void Awake()
		{
			CreateConfigs();
			LoadBundle();
			Addlocalizations();
			AddPrefabs();
			AddAttackEffects();
			AddSEStatsEffects();
			PrefabManager.OnPrefabsRegistered += AddPieces;
			PrefabManager.OnVanillaPrefabsAvailable += ModifyItems;
			if (LoggingEnable.Value)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)"Logging is enabled in the config.");
			}
			PrefabManager.OnPrefabsRegistered += AddRecipes;
			PrefabManager.OnPrefabsRegistered += ShieldRecipes;
		}

		private void LoadBundle()
		{
			try
			{
				MyAssets = AssetUtils.LoadAssetBundleFromResources("itemsproject", Assembly.GetExecutingAssembly());
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}");
			}
		}

		private void CreateConfigs()
		{
			//IL_002f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0034: Unknown result type (might be due to invalid IL or missing references)
			//IL_003d: Expected O, but got Unknown
			//IL_003d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected O, but got Unknown
			try
			{
				((BaseUnityPlugin)this).Config.SaveOnConfigSet = true;
				LoggingEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Logging", "Enable", false, new ConfigDescription("Enables logging.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes
				{
					IsAdminOnly = false
				} }));
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}");
			}
		}

		private void ShieldRecipes()
		{
			//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
			try
			{
				GameObject val = MyAssets.LoadAsset<GameObject>("MeadowsShield_RtD");
				if ((Object)(object)val != (Object)null)
				{
					GameObject prefab = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val2 = ((!Object.op_Implicit((Object)(object)prefab)) ? MeadowsShield1B : MeadowsShield1A);
					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>("BlackForestShield_RtD");
				if ((Object)(object)val4 != (Object)null)
				{
					GameObject prefab2 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val5 = ((!Object.op_Implicit((Object)(object)prefab2)) ? BlackForestShield2B : BlackForestShield2A);
					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>("SwampShield_RtD");
				if ((Object)(object)val7 != (Object)null)
				{
					GameObject prefab3 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val8 = ((!Object.op_Implicit((Object)(object)prefab3)) ? SwampShield3B : SwampShield3A);
					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>("MountainShield_RtD");
				if ((Object)(object)val10 != (Object)null)
				{
					GameObject prefab4 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val11 = ((!Object.op_Implicit((Object)(object)prefab4)) ? MountainShield4B : MountainShield4A);
					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>("PlainsShield_RtD");
				if ((Object)(object)val13 != (Object)null)
				{
					GameObject prefab5 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val14 = ((!Object.op_Implicit((Object)(object)prefab5)) ? PlainsShield5B : PlainsShield5A);
					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>("MistlandsShield_RtD");
				if ((Object)(object)val16 != (Object)null)
				{
					GameObject prefab6 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val17 = ((!Object.op_Implicit((Object)(object)prefab6)) ? MistlandsShield6B : MistlandsShield6A);
					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"));
				}
			}
			catch (Exception arg)
			{
				((BaseUnityPlugin)this).Logger.LogWarning((object)$"A pixel was found in the matrix: {arg}");
			}
			finally
			{
				PrefabManager.OnPrefabsRegistered -= ShieldRecipes;
			}
		}

		private void AddRecipes()
		{
			//IL_006c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Expected O, but got Unknown
			//IL_0162: Unknown result type (might be due to invalid IL or missing references)
			//IL_016b: Expected O, but got Unknown
			//IL_025e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0267: Expected O, but got Unknown
			//IL_035c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0365: Expected O, but got Unknown
			//IL_045a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0463: Expected O, but got Unknown
			//IL_0558: Unknown result type (might be due to invalid IL or missing references)
			//IL_0561: Expected O, but got Unknown
			//IL_0656: Unknown result type (might be due to invalid IL or missing references)
			//IL_065f: Expected O, but got Unknown
			//IL_0754: Unknown result type (might be due to invalid IL or missing references)
			//IL_075d: Expected O, but got Unknown
			//IL_0852: Unknown result type (might be due to invalid IL or missing references)
			//IL_085b: Expected O, but got Unknown
			//IL_0950: Unknown result type (might be due to invalid IL or missing references)
			//IL_0959: Expected O, but got Unknown
			//IL_0a4e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a57: Expected O, but got Unknown
			//IL_0b4c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b55: Expected O, but got Unknown
			//IL_0c4a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c53: Expected O, but got Unknown
			//IL_0d48: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d51: Expected O, but got Unknown
			//IL_0e46: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e4f: Expected O, but got Unknown
			//IL_0f44: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f4d: Expected O, but got Unknown
			//IL_1042: Unknown result type (might be due to invalid IL or missing references)
			//IL_104b: Expected O, but got Unknown
			//IL_1140: Unknown result type (might be due to invalid IL or missing references)
			//IL_1149: Expected O, but got Unknown
			//IL_123e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1247: Expected O, but got Unknown
			//IL_133c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1345: Expected O, but got Unknown
			//IL_143a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1443: Expected O, but got Unknown
			//IL_1538: Unknown result type (might be due to invalid IL or missing references)
			//IL_1541: Expected O, but got Unknown
			//IL_1636: Unknown result type (might be due to invalid IL or missing references)
			//IL_163f: Expected O, but got Unknown
			//IL_1734: Unknown result type (might be due to invalid IL or missing references)
			//IL_173d: Expected O, but got Unknown
			//IL_1832: Unknown result type (might be due to invalid IL or missing references)
			//IL_183b: Expected O, but got Unknown
			//IL_1930: Unknown result type (might be due to invalid IL or missing references)
			//IL_1939: Expected O, but got Unknown
			//IL_1a2e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1a37: Expected O, but got Unknown
			//IL_1b2c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1b35: Expected O, but got Unknown
			//IL_1c2a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c33: Expected O, but got Unknown
			//IL_1d28: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d31: Expected O, but got Unknown
			//IL_1e26: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e2f: Expected O, but got Unknown
			//IL_1f24: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f2d: Expected O, but got Unknown
			//IL_2022: Unknown result type (might be due to invalid IL or missing references)
			//IL_202b: Expected O, but got Unknown
			//IL_2120: Unknown result type (might be due to invalid IL or missing references)
			//IL_2129: Expected O, but got Unknown
			//IL_221e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2227: Expected O, but got Unknown
			//IL_231c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2325: Expected O, but got Unknown
			//IL_241a: Unknown result type (might be due to invalid IL or missing references)
			//IL_2423: Expected O, but got Unknown
			//IL_2518: Unknown result type (might be due to invalid IL or missing references)
			//IL_2521: Expected O, but got Unknown
			//IL_2616: Unknown result type (might be due to invalid IL or missing references)
			//IL_261f: Expected O, but got Unknown
			//IL_2714: Unknown result type (might be due to invalid IL or missing references)
			//IL_271d: Expected O, but got Unknown
			//IL_2812: Unknown result type (might be due to invalid IL or missing references)
			//IL_281b: Expected O, but got Unknown
			//IL_2910: Unknown result type (might be due to invalid IL or missing references)
			//IL_2919: Expected O, but got Unknown
			//IL_2a0e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2a17: Expected O, but got Unknown
			//IL_2b0c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2b15: Expected O, but got Unknown
			//IL_2c0a: Unknown result type (might be due to invalid IL or missing references)
			//IL_2c13: Expected O, but got Unknown
			//IL_2d08: Unknown result type (might be due to invalid IL or missing references)
			//IL_2d11: Expected O, but got Unknown
			//IL_2e06: Unknown result type (might be due to invalid IL or missing references)
			//IL_2e0f: Expected O, but got Unknown
			//IL_2f04: Unknown result type (might be due to invalid IL or missing references)
			//IL_2f0d: Expected O, but got Unknown
			//IL_3002: Unknown result type (might be due to invalid IL or missing references)
			//IL_300b: Expected O, but got Unknown
			//IL_3100: Unknown result type (might be due to invalid IL or missing references)
			//IL_3109: Expected O, but got Unknown
			//IL_31fe: Unknown result type (might be due to invalid IL or missing references)
			//IL_3207: Expected O, but got Unknown
			//IL_32fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_3305: Expected O, but got Unknown
			//IL_33fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_3403: Expected O, but got Unknown
			//IL_34f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_3501: Expected O, but got Unknown
			//IL_35f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_35ff: Expected O, but got Unknown
			//IL_36f4: Unknown result type (might be due to invalid IL or missing references)
			//IL_36fd: Expected O, but got Unknown
			//IL_37f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_37fb: Expected O, but got Unknown
			//IL_38f0: Unknown result type (might be due to invalid IL or missing references)
			//IL_38f9: Expected O, but got Unknown
			//IL_39ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_39f7: Expected O, but got Unknown
			//IL_3aec: Unknown result type (might be due to invalid IL or missing references)
			//IL_3af5: Expected O, but got Unknown
			//IL_3bea: Unknown result type (might be due to invalid IL or missing references)
			//IL_3bf3: Expected O, but got Unknown
			//IL_3ce8: Unknown result type (might be due to invalid IL or missing references)
			//IL_3cf1: Expected O, but got Unknown
			//IL_3de6: Unknown result type (might be due to invalid IL or missing references)
			//IL_3def: Expected O, but got Unknown
			//IL_3ee4: Unknown result type (might be due to invalid IL or missing references)
			//IL_3eed: Expected O, but got Unknown
			//IL_3fe2: Unknown result type (might be due to invalid IL or missing references)
			//IL_3feb: Expected O, but got Unknown
			//IL_40e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_40e9: Expected O, but got Unknown
			//IL_41de: Unknown result type (might be due to invalid IL or missing references)
			//IL_41e7: Expected O, but got Unknown
			//IL_42dc: Unknown result type (might be due to invalid IL or missing references)
			//IL_42e5: Expected O, but got Unknown
			//IL_43da: Unknown result type (might be due to invalid IL or missing references)
			//IL_43e3: Expected O, but got Unknown
			//IL_44d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_44e1: Expected O, but got Unknown
			//IL_45d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_45df: Expected O, but got Unknown
			//IL_46d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_46dd: Expected O, but got Unknown
			//IL_47d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_47db: Expected O, but got Unknown
			//IL_48d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_48d9: Expected O, but got Unknown
			//IL_49ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_49d7: Expected O, but got Unknown
			//IL_4acc: Unknown result type (might be due to invalid IL or missing references)
			//IL_4ad5: Expected O, but got Unknown
			//IL_4bca: Unknown result type (might be due to invalid IL or missing references)
			//IL_4bd3: Expected O, but got Unknown
			//IL_4cc8: Unknown result type (might be due to invalid IL or missing references)
			//IL_4cd1: Expected O, but got Unknown
			//IL_4dc6: Unknown result type (might be due to invalid IL or missing references)
			//IL_4dcf: Expected O, but got Unknown
			//IL_4ec4: Unknown result type (might be due to invalid IL or missing references)
			//IL_4ecd: Expected O, but got Unknown
			//IL_4fc2: Unknown result type (might be due to invalid IL or missing references)
			//IL_4fcb: Expected O, but got Unknown
			//IL_50c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_50c9: Expected O, but got Unknown
			//IL_51be: Unknown result type (might be due to invalid IL or missing references)
			//IL_51c7: Expected O, but got Unknown
			//IL_52bc: Unknown result type (might be due to invalid IL or missing references)
			//IL_52c5: Expected O, but got Unknown
			//IL_53ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_53c3: Expected O, but got Unknown
			//IL_54b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_54c1: Expected O, but got Unknown
			//IL_55b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_55bf: Expected O, but got Unknown
			//IL_56b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_56bd: Expected O, but got Unknown
			//IL_57b2: Unknown result type (might be due to invalid IL or missing references)
			//IL_57bb: Expected O, but got Unknown
			//IL_58b0: Unknown result type (might be due to invalid IL or missing references)
			//IL_58b9: Expected O, but got Unknown
			//IL_59ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_59b7: Expected O, but got Unknown
			//IL_5aac: Unknown result type (might be due to invalid IL or missing references)
			//IL_5ab5: Expected O, but got Unknown
			//IL_5baa: Unknown result type (might be due to invalid IL or missing references)
			//IL_5bb3: Expected O, but got Unknown
			//IL_5ca8: Unknown result type (might be due to invalid IL or missing references)
			//IL_5cb1: Expected O, but got Unknown
			//IL_5da6: Unknown result type (might be due to invalid IL or missing references)
			//IL_5daf: Expected O, but got Unknown
			//IL_5ea4: Unknown result type (might be due to invalid IL or missing references)
			//IL_5ead: Expected O, but got Unknown
			//IL_5fa2: Unknown result type (might be due to invalid IL or missing references)
			//IL_5fab: Expected O, but got Unknown
			//IL_60a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_60a9: Expected O, but got Unknown
			//IL_619e: Unknown result type (might be due to invalid IL or missing references)
			//IL_61a7: Expected O, but got Unknown
			//IL_629c: Unknown result type (might be due to invalid IL or missing references)
			//IL_62a5: Expected O, but got Unknown
			//IL_639a: Unknown result type (might be due to invalid IL or missing references)
			//IL_63a3: Expected O, but got Unknown
			//IL_6498: Unknown result type (might be due to invalid IL or missing references)
			//IL_64a1: Expected O, but got Unknown
			//IL_6596: Unknown result type (might be due to invalid IL or missing references)
			//IL_659f: Expected O, but got Unknown
			//IL_6694: Unknown result type (might be due to invalid IL or missing references)
			//IL_669d: Expected O, but got Unknown
			//IL_6792: Unknown result type (might be due to invalid IL or missing references)
			//IL_679b: Expected O, but got Unknown
			//IL_6890: Unknown result type (might be due to invalid IL or missing references)
			//IL_6899: Expected O, but got Unknown
			//IL_698e: Unknown result type (might be due to invalid IL or missing references)
			//IL_6997: Expected O, but got Unknown
			//IL_6a8c: Unknown result type (might be due to invalid IL or missing references)
			//IL_6a95: Expected O, but got Unknown
			//IL_6b8a: Unknown result type (might be due to invalid IL or missing references)
			//IL_6b93: Expected O, but got Unknown
			//IL_6c88: Unknown result type (might be due to invalid IL or missing references)
			//IL_6c91: Expected O, but got Unknown
			//IL_6d86: Unknown result type (might be due to invalid IL or missing references)
			//IL_6d8f: Expected O, but got Unknown
			//IL_6e84: Unknown result type (might be due to invalid IL or missing references)
			//IL_6e8d: Expected O, but got Unknown
			//IL_6f82: Unknown result type (might be due to invalid IL or missing references)
			//IL_6f8b: Expected O, but got Unknown
			//IL_7080: Unknown result type (might be due to invalid IL or missing references)
			//IL_7089: Expected O, but got Unknown
			//IL_717e: Unknown result type (might be due to invalid IL or missing references)
			//IL_7187: Expected O, but got Unknown
			//IL_727c: Unknown result type (might be due to invalid IL or missing references)
			//IL_7285: Expected O, but got Unknown
			//IL_737a: Unknown result type (might be due to invalid IL or missing references)
			//IL_7383: Expected O, but got Unknown
			//IL_7478: Unknown result type (might be due to invalid IL or missing references)
			//IL_7481: Expected O, but got Unknown
			//IL_7576: Unknown result type (might be due to invalid IL or missing references)
			//IL_757f: Expected O, but got Unknown
			//IL_7674: Unknown result type (might be due to invalid IL or missing references)
			//IL_767d: Expected O, but got Unknown
			//IL_7772: Unknown result type (might be due to invalid IL or missing references)
			//IL_777b: Expected O, but got Unknown
			//IL_7870: Unknown result type (might be due to invalid IL or missing references)
			//IL_7879: Expected O, but got Unknown
			//IL_796e: Unknown result type (might be due to invalid IL or missing references)
			//IL_7977: Expected O, but got Unknown
			//IL_7a6c: Unknown result type (might be due to invalid IL or missing references)
			//IL_7a75: Expected O, but got Unknown
			//IL_7b6a: Unknown result type (might be due to invalid IL or missing references)
			//IL_7b73: Expected O, but got Unknown
			//IL_7c68: Unknown result type (might be due to invalid IL or missing references)
			//IL_7c71: Expected O, but got Unknown
			//IL_7d66: Unknown result type (might be due to invalid IL or missing references)
			//IL_7d6f: Expected O, but got Unknown
			//IL_7e70: Unknown result type (might be due to invalid IL or missing references)
			//IL_7e79: Expected O, but got Unknown
			//IL_7f8e: Unknown result type (might be due to invalid IL or missing references)
			//IL_7f97: Expected O, but got Unknown
			//IL_80ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_80b5: Expected O, but got Unknown
			//IL_81ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_81d3: Expected O, but got Unknown
			//IL_82e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_82f1: Expected O, but got Unknown
			//IL_8406: Unknown result type (might be due to invalid IL or missing references)
			//IL_840f: Expected O, but got Unknown
			//IL_8524: Unknown result type (might be due to invalid IL or missing references)
			//IL_852d: Expected O, but got Unknown
			//IL_8642: Unknown result type (might be due to invalid IL or missing references)
			//IL_864b: Expected O, but got Unknown
			//IL_8760: Unknown result type (might be due to invalid IL or missing references)
			//IL_8769: Expected O, but got Unknown
			//IL_887e: Unknown result type (might be due to invalid IL or missing references)
			//IL_8887: Expected O, but got Unknown
			//IL_899c: Unknown result type (might be due to invalid IL or missing references)
			//IL_89a5: Expected O, but got Unknown
			//IL_8aba: Unknown result type (might be due to invalid IL or missing references)
			//IL_8ac3: Expected O, but got Unknown
			//IL_8bd8: Unknown result type (might be due to invalid IL or missing references)
			//IL_8be1: Expected O, but got Unknown
			//IL_8cf6: Unknown result type (might be due to invalid IL or missing references)
			//IL_8cff: Expected O, but got Unknown
			//IL_8e14: Unknown result type (might be due to invalid IL or missing references)
			//IL_8e1d: Expected O, but got Unknown
			//IL_8f32: Unknown result type (might be due to invalid IL or missing references)
			//IL_8f3b: Expected O, but got Unknown
			//IL_9050: Unknown result type (might be due to invalid IL or missing references)
			//IL_9059: Expected O, but got Unknown
			//IL_916e: Unknown result type (might be due to invalid IL or missing references)
			//IL_9177: Expected O, but got Unknown
			//IL_928c: Unknown result type (might be due to invalid IL or missing references)
			//IL_9295: Expected O, but got Unknown
			//IL_93aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_93b3: Expected O, but got Unknown
			//IL_94c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_94d1: Expected O, but got Unknown
			//IL_95e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_95ef: Expected O, but got Unknown
			//IL_9704: Unknown result type (might be due to invalid IL or missing references)
			//IL_970d: Expected O, but got Unknown
			//IL_9822: Unknown result type (might be due to invalid IL or missing references)
			//IL_982b: Expected O, but got Unknown
			//IL_9940: Unknown result type (might be due to invalid IL or missing references)
			//IL_9949: Expected O, but got Unknown
			//IL_9a5e: Unknown result type (might be due to invalid IL or missing references)
			//IL_9a67: Expected O, but got Unknown
			//IL_9b7c: Unknown result type (might be due to invalid IL or missing references)
			//IL_9b85: Expected O, but got Unknown
			//IL_9c9a: Unknown result type (might be due to invalid IL or missing references)
			//IL_9ca3: Expected O, but got Unknown
			//IL_9db8: Unknown result type (might be due to invalid IL or missing references)
			//IL_9dc1: Expected O, but got Unknown
			//IL_9ed6: Unknown result type (might be due to invalid IL or missing references)
			//IL_9edf: Expected O, but got Unknown
			//IL_9ff4: Unknown result type (might be due to invalid IL or missing references)
			//IL_9ffd: Expected O, but got Unknown
			//IL_a112: Unknown result type (might be due to invalid IL or missing references)
			//IL_a11b: Expected O, but got Unknown
			//IL_a230: Unknown result type (might be due to invalid IL or missing references)
			//IL_a239: Expected O, but got Unknown
			//IL_a34e: Unknown result type (might be due to invalid IL or missing references)
			//IL_a357: Expected O, but got Unknown
			//IL_a46c: Unknown result type (might be due to invalid IL or missing references)
			//IL_a475: Expected O, but got Unknown
			//IL_a58a: Unknown result type (might be due to invalid IL or missing references)
			//IL_a593: Expected O, but got Unknown
			//IL_a6a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_a6b1: Expected O, but got Unknown
			//IL_a7c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_a7cf: Expected O, but got Unknown
			//IL_a8e4: Unknown result type (might be due to invalid IL or missing references)
			//IL_a8ed: Expected O, but got Unknown
			//IL_aa02: Unknown result type (might be due to invalid IL or missing references)
			//IL_aa0b: Expected O, but got Unknown
			//IL_ab20: Unknown result type (might be due to invalid IL or missing references)
			//IL_ab29: Expected O, but got Unknown
			//IL_ac3e: Unknown result type (might be due to invalid IL or missing references)
			//IL_ac47: Expected O, but got Unknown
			//IL_ad5c: Unknown result type (might be due to invalid IL or missing references)
			//IL_ad65: Expected O, but got Unknown
			//IL_ae7a: Unknown result type (might be due to invalid IL or missing references)
			//IL_ae83: Expected O, but got Unknown
			//IL_af98: Unknown result type (might be due to invalid IL or missing references)
			//IL_afa1: Expected O, but got Unknown
			//IL_b0b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_b0bf: Expected O, but got Unknown
			//IL_b1d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_b1dd: Expected O, but got Unknown
			//IL_b2f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_b2fb: Expected O, but got Unknown
			//IL_b410: Unknown result type (might be due to invalid IL or missing references)
			//IL_b419: Expected O, but got Unknown
			//IL_b52e: Unknown result type (might be due to invalid IL or missing references)
			//IL_b537: Expected O, but got Unknown
			//IL_b64c: Unknown result type (might be due to invalid IL or missing references)
			//IL_b655: Expected O, but got Unknown
			try
			{
				GameObject val = MyAssets.LoadAsset<GameObject>("MeadowsAtgeir_RtD");
				if ((Object)(object)val != (Object)null)
				{
					GameObject prefab = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val2 = ((!Object.op_Implicit((Object)(object)prefab)) ? MeadowsAtgeirB : MeadowsAtgeirA);
					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>("MeadowsAxe1H_RtD");
				if ((Object)(object)val4 != (Object)null)
				{
					GameObject prefab2 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val5 = ((!Object.op_Implicit((Object)(object)prefab2)) ? MeadowsAxe1HB : MeadowsAxe1HA);
					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>("MeadowsAxe2H_RtD");
				if ((Object)(object)val7 != (Object)null)
				{
					GameObject prefab3 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val8 = ((!Object.op_Implicit((Object)(object)prefab3)) ? MeadowsAxe2HB : MeadowsAxe2HA);
					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>("MeadowsBow_RtD");
				if ((Object)(object)val10 != (Object)null)
				{
					GameObject prefab4 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val11 = ((!Object.op_Implicit((Object)(object)prefab4)) ? MeadowwsBowB : MeadowwsBowA);
					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>("MeadowsClub_RtD");
				if ((Object)(object)val13 != (Object)null)
				{
					GameObject prefab5 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val14 = ((!Object.op_Implicit((Object)(object)prefab5)) ? MeadowsClubB : MeadowsClubA);
					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>("MeadowsDagger_RtD");
				if ((Object)(object)val16 != (Object)null)
				{
					GameObject prefab6 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val17 = ((!Object.op_Implicit((Object)(object)prefab6)) ? MeadowsDaggerB : MeadowsDaggerA);
					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>("MeadowsDefender_RtD");
				if ((Object)(object)val19 != (Object)null)
				{
					GameObject prefab7 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val20 = ((!Object.op_Implicit((Object)(object)prefab7)) ? MeadowsDefenderB : MeadowsDefenderA);
					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>("MeadowsSpear_RtD");
				if ((Object)(object)val22 != (Object)null)
				{
					GameObject prefab8 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val23 = ((!Object.op_Implicit((Object)(object)prefab8)) ? MeadowsSpearB : MeadowsSpearA);
					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>("MeadowsSword1H_RtD");
				if ((Object)(object)val25 != (Object)null)
				{
					GameObject prefab9 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val26 = ((!Object.op_Implicit((Object)(object)prefab9)) ? MeadowsSword1HB : MeadowsSword1HA);
					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>("MeadowsSword2H_RtD");
				if ((Object)(object)val28 != (Object)null)
				{
					GameObject prefab10 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val29 = ((!Object.op_Implicit((Object)(object)prefab10)) ? MeadowsSword2HB : MeadowsSword2HA);
					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>("BlackForestAtgeir_RtD");
				if ((Object)(object)val31 != (Object)null)
				{
					GameObject prefab11 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val32 = ((!Object.op_Implicit((Object)(object)prefab11)) ? BlackForestAtgeirB : BlackForestAtgeirA);
					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>("BlackForestAxe1H_RtD");
				if ((Object)(object)val34 != (Object)null)
				{
					GameObject prefab12 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val35 = ((!Object.op_Implicit((Object)(object)prefab12)) ? BlackForestAxe1HB : BlackForestAxe1HA);
					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>("BlackForestAxe2H_RtD");
				if ((Object)(object)val37 != (Object)null)
				{
					GameObject prefab13 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val38 = ((!Object.op_Implicit((Object)(object)prefab13)) ? BlackForestAxe2HB : BlackForestAxe2HA);
					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>("BlackForestBow_RtD");
				if ((Object)(object)val40 != (Object)null)
				{
					GameObject prefab14 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val41 = ((!Object.op_Implicit((Object)(object)prefab14)) ? BlackForestBowB : BlackForestBowA);
					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>("BlackForestClub_RtD");
				if ((Object)(object)val43 != (Object)null)
				{
					GameObject prefab15 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val44 = ((!Object.op_Implicit((Object)(object)prefab15)) ? BlackForestClubB : BlackForestClubA);
					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>("BlackForestDagger_RtD");
				if ((Object)(object)val46 != (Object)null)
				{
					GameObject prefab16 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val47 = ((!Object.op_Implicit((Object)(object)prefab16)) ? BlackForestDaggerB : BlackForestDaggerA);
					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>("BlackForestDefender_RtD");
				if ((Object)(object)val49 != (Object)null)
				{
					GameObject prefab17 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val50 = ((!Object.op_Implicit((Object)(object)prefab17)) ? BlackForestDefenderB : BlackForestDefenderA);
					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>("BlackForestSpear_RtD");
				if ((Object)(object)val52 != (Object)null)
				{
					GameObject prefab18 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val53 = ((!Object.op_Implicit((Object)(object)prefab18)) ? BlackForestSpearB : BlackForestSpearA);
					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>("BlackForestSledge_RtD");
				if ((Object)(object)val55 != (Object)null)
				{
					GameObject prefab19 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val56 = ((!Object.op_Implicit((Object)(object)prefab19)) ? BlackForestSledgeB : BlackForestSledgeA);
					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>("BlackForestSword1H_RtD");
				if ((Object)(object)val58 != (Object)null)
				{
					GameObject prefab20 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val59 = ((!Object.op_Implicit((Object)(object)prefab20)) ? BlackForestSword1HB : BlackForestSword1HA);
					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>("BlackForestSword2H_RtD");
				if ((Object)(object)val61 != (Object)null)
				{
					GameObject prefab21 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val62 = ((!Object.op_Implicit((Object)(object)prefab21)) ? BlackForestSword2HB : BlackForestSword2HA);
					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>("BlackForestArcherChest_RtD");
				if ((Object)(object)val64 != (Object)null)
				{
					GameObject prefab22 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val65 = ((!Object.op_Implicit((Object)(object)prefab22)) ? BlackForestArcherChestB : BlackForestArcherChestA);
					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>("BlackForestArcherHelmet_RtD");
				if ((Object)(object)val67 != (Object)null)
				{
					GameObject prefab23 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val68 = ((!Object.op_Implicit((Object)(object)prefab23)) ? BlackForestArcherHelmetB : BlackForestArcherHelmetA);
					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>("BlackForestArcherLegs_RtD");
				if ((Object)(object)val70 != (Object)null)
				{
					GameObject prefab24 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val71 = ((!Object.op_Implicit((Object)(object)prefab24)) ? BlackForestArcherLegsB : BlackForestArcherLegsA);
					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>("BlackForestMonkChest_RtD");
				if ((Object)(object)val73 != (Object)null)
				{
					GameObject prefab25 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val74 = ((!Object.op_Implicit((Object)(object)prefab25)) ? BlackForestMonkChestB : BlackForestMonkChestA);
					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>("BlackForestMonkHelmet_RtD");
				if ((Object)(object)val76 != (Object)null)
				{
					GameObject prefab26 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val77 = ((!Object.op_Implicit((Object)(object)prefab26)) ? BlackForestMonkHelmetB : BlackForestMonkHelmetA);
					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>("BlackForestMonkLegs_RtD");
				if ((Object)(object)val79 != (Object)null)
				{
					GameObject prefab27 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val80 = ((!Object.op_Implicit((Object)(object)prefab27)) ? BlackForestMonkLegsB : BlackForestMonkLegsA);
					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>("BlackForestMonkCape_RtD");
				if ((Object)(object)val82 != (Object)null)
				{
					GameObject prefab28 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val83 = ((!Object.op_Implicit((Object)(object)prefab28)) ? BlackForestMonkCapeB : BlackForestMonkCapeA);
					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>("BlackForestHardLeatherCape_RtD");
				if ((Object)(object)val85 != (Object)null)
				{
					GameObject prefab29 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val86 = ((!Object.op_Implicit((Object)(object)prefab29)) ? BlackForestArcherCapeB : BlackForestArcherCapeA);
					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>("SwampAtgeir_RtD");
				if ((Object)(object)val88 != (Object)null)
				{
					GameObject prefab30 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val89 = ((!Object.op_Implicit((Object)(object)prefab30)) ? SwampAtgeirB : SwampAtgeirA);
					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>("SwampAxe1H_RtD");
				if ((Object)(object)val91 != (Object)null)
				{
					GameObject prefab31 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val92 = ((!Object.op_Implicit((Object)(object)prefab31)) ? SwampAxe1HB : SwampAxe1HA);
					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>("SwampAxe2H_RtD");
				if ((Object)(object)val94 != (Object)null)
				{
					GameObject prefab32 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val95 = ((!Object.op_Implicit((Object)(object)prefab32)) ? SwampAxe2HB : SwampAxe2HA);
					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>("SwampBow_RtD");
				if ((Object)(object)val97 != (Object)null)
				{
					GameObject prefab33 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val98 = ((!Object.op_Implicit((Object)(object)prefab33)) ? SwampBowB : SwampBowA);
					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>("SwampClub_RtD");
				if ((Object)(object)val100 != (Object)null)
				{
					GameObject prefab34 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val101 = ((!Object.op_Implicit((Object)(object)prefab34)) ? SwampClubB : SwampClubA);
					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>("SwampDagger_RtD");
				if ((Object)(object)val103 != (Object)null)
				{
					GameObject prefab35 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val104 = ((!Object.op_Implicit((Object)(object)prefab35)) ? SwampDaggerB : SwampDaggerA);
					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>("SwampDefender_RtD");
				if ((Object)(object)val106 != (Object)null)
				{
					GameObject prefab36 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val107 = ((!Object.op_Implicit((Object)(object)prefab36)) ? SwampDefenderB : SwampDefenderA);
					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>("SwampSledge_RtD");
				if ((Object)(object)val109 != (Object)null)
				{
					GameObject prefab37 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val110 = ((!Object.op_Implicit((Object)(object)prefab37)) ? SwampSledgeB : SwampSledgeA);
					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>("SwampSpear_RtD");
				if ((Object)(object)val112 != (Object)null)
				{
					GameObject prefab38 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val113 = ((!Object.op_Implicit((Object)(object)prefab38)) ? SwampSpearB : SwampSpearA);
					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>("SwampSword1H_RtD");
				if ((Object)(object)val115 != (Object)null)
				{
					GameObject prefab39 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val116 = ((!Object.op_Implicit((Object)(object)prefab39)) ? SwampSword1HB : SwampSword1HA);
					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>("SwampSword2H_RtD");
				if ((Object)(object)val118 != (Object)null)
				{
					GameObject prefab40 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val119 = ((!Object.op_Implicit((Object)(object)prefab40)) ? SwampSword2HB : SwampSword2HA);
					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>("SwampAssassinChest_RtD");
				if ((Object)(object)val121 != (Object)null)
				{
					GameObject prefab41 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val122 = ((!Object.op_Implicit((Object)(object)prefab41)) ? SwampAssassinChestB : SwampAssassinChestA);
					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>("SwampAssassinHelmet_RtD");
				if ((Object)(object)val124 != (Object)null)
				{
					GameObject prefab42 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val125 = ((!Object.op_Implicit((Object)(object)prefab42)) ? SwampAssassinHelmetB : SwampAssassinHelmetA);
					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>("SwampAssassinLegs_RtD");
				if ((Object)(object)val127 != (Object)null)
				{
					GameObject prefab43 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val128 = ((!Object.op_Implicit((Object)(object)prefab43)) ? SwampAssassinLegsB : SwampAssassinLegsA);
					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>("SwampMonkChest_RtD");
				if ((Object)(object)val130 != (Object)null)
				{
					GameObject prefab44 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val131 = ((!Object.op_Implicit((Object)(object)prefab44)) ? SwampMonkChestB : SwampMonkChestA);
					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>("SwampMonkHelmet_RtD");
				if ((Object)(object)val133 != (Object)null)
				{
					GameObject prefab45 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val134 = ((!Object.op_Implicit((Object)(object)prefab45)) ? SwampMonkHelmetB : SwampMonkHelmetA);
					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>("SwampMonkLegs_RtD");
				if ((Object)(object)val136 != (Object)null)
				{
					GameObject prefab46 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val137 = ((!Object.op_Implicit((Object)(object)prefab46)) ? SwampMonkLegsB : SwampMonkLegsA);
					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>("SwampMonkCape_RtD");
				if ((Object)(object)val139 != (Object)null)
				{
					GameObject prefab47 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val140 = ((!Object.op_Implicit((Object)(object)prefab47)) ? SwampMonkCapeB : SwampMonkCapeA);
					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>("SwampAssassinCape_RtD");
				if ((Object)(object)val142 != (Object)null)
				{
					GameObject prefab48 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val143 = ((!Object.op_Implicit((Object)(object)prefab48)) ? SwampAssassinCapeB : SwampAssassinCapeA);
					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>("MountainAtgeir_RtD");
				if ((Object)(object)val145 != (Object)null)
				{
					GameObject prefab49 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val146 = ((!Object.op_Implicit((Object)(object)prefab49)) ? MountainAtgeirB : MountainAtgeirA);
					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>("MountainAxe1H_RtD");
				if ((Object)(object)val148 != (Object)null)
				{
					GameObject prefab50 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val149 = ((!Object.op_Implicit((Object)(object)prefab50)) ? MountainAxe1HB : MountainAxe1HA);
					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>("MountainAxe2H_RtD");
				if ((Object)(object)val151 != (Object)null)
				{
					GameObject prefab51 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val152 = ((!Object.op_Implicit((Object)(object)prefab51)) ? MountainAxe2HB : MountainAxe2HA);
					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>("MountainBow_RtD");
				if ((Object)(object)val154 != (Object)null)
				{
					GameObject prefab52 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val155 = ((!Object.op_Implicit((Object)(object)prefab52)) ? MountainBowB : MountainBowA);
					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>("MountainClub_RtD");
				if ((Object)(object)val157 != (Object)null)
				{
					GameObject prefab53 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val158 = ((!Object.op_Implicit((Object)(object)prefab53)) ? MountainClubB : MountainClubA);
					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>("MountainDagger_RtD");
				if ((Object)(object)val160 != (Object)null)
				{
					GameObject prefab54 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val161 = ((!Object.op_Implicit((Object)(object)prefab54)) ? MountainDaggerB : MountainDaggerA);
					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>("MountainDefender_RtD");
				if ((Object)(object)val163 != (Object)null)
				{
					GameObject prefab55 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val164 = ((!Object.op_Implicit((Object)(object)prefab55)) ? MountainDefenderB : MountainDefenderA);
					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"));
				}
				GameObject val166 = MyAssets.LoadAsset<GameObject>("MountainSledge_RtD");
				if ((Object)(object)val166 != (Object)null)
				{
					GameObject prefab56 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val167 = ((!Object.op_Implicit((Object)(object)prefab56)) ? MountainSledgeB : MountainSledgeA);
					CustomItem val168 = new CustomItem(val166, true, val167);
					ItemManager.Instance.AddItem(val168);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val166)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val166)?.ToString() + " to the Item Table"));
				}
				GameObject val169 = MyAssets.LoadAsset<GameObject>("MountainSpear_RtD");
				if ((Object)(object)val169 != (Object)null)
				{
					GameObject prefab57 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val170 = ((!Object.op_Implicit((Object)(object)prefab57)) ? MountainSpearB : MountainSpearA);
					CustomItem val171 = new CustomItem(val169, true, val170);
					ItemManager.Instance.AddItem(val171);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val169)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val169)?.ToString() + " to the Item Table"));
				}
				GameObject val172 = MyAssets.LoadAsset<GameObject>("MountainSword1H_RtD");
				if ((Object)(object)val172 != (Object)null)
				{
					GameObject prefab58 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val173 = ((!Object.op_Implicit((Object)(object)prefab58)) ? MountainSword1HB : MountainSword1HA);
					CustomItem val174 = new CustomItem(val172, true, val173);
					ItemManager.Instance.AddItem(val174);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val172)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val172)?.ToString() + " to the Item Table"));
				}
				GameObject val175 = MyAssets.LoadAsset<GameObject>("MountainSword2H_RtD");
				if ((Object)(object)val175 != (Object)null)
				{
					GameObject prefab59 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val176 = ((!Object.op_Implicit((Object)(object)prefab59)) ? MountainSword2HB : MountainSword2HA);
					CustomItem val177 = new CustomItem(val175, true, val176);
					ItemManager.Instance.AddItem(val177);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val175)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val175)?.ToString() + " to the Item Table"));
				}
				GameObject val178 = MyAssets.LoadAsset<GameObject>("MountainArcherChest_RtD");
				if ((Object)(object)val178 != (Object)null)
				{
					GameObject prefab60 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val179 = ((!Object.op_Implicit((Object)(object)prefab60)) ? MountainArcherChestB : MountainArcherChestA);
					CustomItem val180 = new CustomItem(val178, true, val179);
					ItemManager.Instance.AddItem(val180);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val178)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val178)?.ToString() + " to the Item Table"));
				}
				GameObject val181 = MyAssets.LoadAsset<GameObject>("MountainArcherHelmet_RtD");
				if ((Object)(object)val181 != (Object)null)
				{
					GameObject prefab61 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val182 = ((!Object.op_Implicit((Object)(object)prefab61)) ? MountainArcherHelmetB : MountainArcherHelmetA);
					CustomItem val183 = new CustomItem(val181, true, val182);
					ItemManager.Instance.AddItem(val183);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val181)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val181)?.ToString() + " to the Item Table"));
				}
				GameObject val184 = MyAssets.LoadAsset<GameObject>("MountainArcherLegs_RtD");
				if ((Object)(object)val184 != (Object)null)
				{
					GameObject prefab62 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val185 = ((!Object.op_Implicit((Object)(object)prefab62)) ? MountainArcherLegsB : MountainArcherLegsA);
					CustomItem val186 = new CustomItem(val184, true, val185);
					ItemManager.Instance.AddItem(val186);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val184)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val184)?.ToString() + " to the Item Table"));
				}
				GameObject val187 = MyAssets.LoadAsset<GameObject>("MountainAssassinChest_RtD");
				if ((Object)(object)val187 != (Object)null)
				{
					GameObject prefab63 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val188 = ((!Object.op_Implicit((Object)(object)prefab63)) ? MountainAssassinChestB : MountainAssassinChestA);
					CustomItem val189 = new CustomItem(val187, true, val188);
					ItemManager.Instance.AddItem(val189);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val187)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val187)?.ToString() + " to the Item Table"));
				}
				GameObject val190 = MyAssets.LoadAsset<GameObject>("MountainAssassinHelmet_RtD");
				if ((Object)(object)val190 != (Object)null)
				{
					GameObject prefab64 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val191 = ((!Object.op_Implicit((Object)(object)prefab64)) ? MountainAssassinHelmetB : MountainAssassinHelmetA);
					CustomItem val192 = new CustomItem(val190, true, val191);
					ItemManager.Instance.AddItem(val192);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val190)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val190)?.ToString() + " to the Item Table"));
				}
				GameObject val193 = MyAssets.LoadAsset<GameObject>("MountainAssassinLegs_RtD");
				if ((Object)(object)val193 != (Object)null)
				{
					GameObject prefab65 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val194 = ((!Object.op_Implicit((Object)(object)prefab65)) ? MountainAssassinLegsB : MountainAssassinLegsA);
					CustomItem val195 = new CustomItem(val193, true, val194);
					ItemManager.Instance.AddItem(val195);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val193)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val193)?.ToString() + " to the Item Table"));
				}
				GameObject val196 = MyAssets.LoadAsset<GameObject>("MountainMonkChest_RtD");
				if ((Object)(object)val196 != (Object)null)
				{
					GameObject prefab66 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val197 = ((!Object.op_Implicit((Object)(object)prefab66)) ? MountainMonkChestB : MountainMonkChestA);
					CustomItem val198 = new CustomItem(val196, true, val197);
					ItemManager.Instance.AddItem(val198);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val196)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val196)?.ToString() + " to the Item Table"));
				}
				GameObject val199 = MyAssets.LoadAsset<GameObject>("MountainMonkHelmet_RtD");
				if ((Object)(object)val199 != (Object)null)
				{
					GameObject prefab67 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val200 = ((!Object.op_Implicit((Object)(object)prefab67)) ? MountainMonkHelmetB : MountainMonkHelmetA);
					CustomItem val201 = new CustomItem(val199, true, val200);
					ItemManager.Instance.AddItem(val201);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val199)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val199)?.ToString() + " to the Item Table"));
				}
				GameObject val202 = MyAssets.LoadAsset<GameObject>("MountainMonkLegs_RtD");
				if ((Object)(object)val202 != (Object)null)
				{
					GameObject prefab68 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val203 = ((!Object.op_Implicit((Object)(object)prefab68)) ? MountainMonkLegsB : MountainMonkLegsA);
					CustomItem val204 = new CustomItem(val202, true, val203);
					ItemManager.Instance.AddItem(val204);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val202)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val202)?.ToString() + " to the Item Table"));
				}
				GameObject val205 = MyAssets.LoadAsset<GameObject>("MountainMonkCape_RtD");
				if ((Object)(object)val205 != (Object)null)
				{
					GameObject prefab69 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val206 = ((!Object.op_Implicit((Object)(object)prefab69)) ? MountainMonkCapeB : MountainMonkCapeA);
					CustomItem val207 = new CustomItem(val205, true, val206);
					ItemManager.Instance.AddItem(val207);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val205)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val205)?.ToString() + " to the Item Table"));
				}
				GameObject val208 = MyAssets.LoadAsset<GameObject>("MountainHybridCape_RtD");
				if ((Object)(object)val208 != (Object)null)
				{
					GameObject prefab70 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD");
					ItemConfig val209 = ((!Object.op_Implicit((Object)(object)prefab70)) ? MountainHybridCapeB : MountainHybridCapeA);
					CustomItem val210 = new CustomItem(val208, true, val209);
					ItemManager.Instance.AddItem(val210);
					if (LoggingEnable.Value)
					{
						((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val208)?.ToString() + " to the Prefab database"));
					}
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val208)?.ToString() + " to the Item Table"));
				}
				GameObject val211 = MyAssets.LoadAsset<GameObject>("PlainsAxe1H_RtD");
				if ((Object)(object)val211 != (Object)null)
				{
					GameObject prefab71 = Cache.GetPrefab<GameObject>("If_else_statement_pr