Decompiled source of ValheimBossTrader v1.0.2

ValheimBossTrader.dll

Decompiled 15 hours ago
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Configuration;
using BepInEx.Logging;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETFramework,Version=v4.8.1", FrameworkDisplayName = ".NET Framework 4.8.1")]
[assembly: AssemblyCompany("ValheimBossTrader")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+c2de9633d710a3dc1c102525804603b3fa5a1313")]
[assembly: AssemblyProduct("ValheimBossTrader")]
[assembly: AssemblyTitle("ValheimBossTrader")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[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.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
	[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;
		}
	}
	internal static class IsExternalInit
	{
	}
}
namespace ValheimBossTrader
{
	public static class BossKey
	{
		public const string Eikthyr = "defeated_eikthyr";

		public const string Elder = "defeated_gdking";

		public const string Bonemass = "defeated_bonemass";

		public const string Moder = "defeated_dragon";

		public const string Yagluth = "defeated_goblinking";

		public const string Queen = "defeated_queen";

		public const string Fader = "defeated_fader";
	}
	public static class ModConfig
	{
		public static ConfigEntry<float> PriceMultiplier;

		public static ConfigEntry<float> StackMultiplier;

		public static ConfigEntry<bool> EnableHaldor;

		public static ConfigEntry<bool> EnableHildir;

		public static ConfigEntry<bool> EnableBogWitch;

		public static ConfigEntry<bool> EnableMaterials;

		public static ConfigEntry<bool> EnableFood;

		public static ConfigEntry<bool> EnableWeapons;

		public static ConfigEntry<bool> EnableArmor;

		public static ConfigEntry<bool> EnableAmmo;

		public static ConfigEntry<bool> EnableConsumables;

		public static ConfigEntry<bool> EnableMisc;

		public static void Init(ConfigFile config)
		{
			//IL_0029: Unknown result type (might be due to invalid IL or missing references)
			//IL_0033: Expected O, but got Unknown
			//IL_0061: Unknown result type (might be due to invalid IL or missing references)
			//IL_006b: Expected O, but got Unknown
			PriceMultiplier = config.Bind<float>("1 - Prix", "PriceMultiplier", 1f, new ConfigDescription("Multiplicateur appliqué à tous les prix.\nEx: 0.5 = moitié prix, 2.0 = double prix.", (AcceptableValueBase)(object)new AcceptableValueRange<float>(0.1f, 10f), Array.Empty<object>()));
			StackMultiplier = config.Bind<float>("2 - Stacks", "StackMultiplier", 1f, new ConfigDescription("Multiplicateur appliqué à toutes les quantités par achat.\nEx: 2.0 = double la quantité achetée à chaque fois.", (AcceptableValueBase)(object)new AcceptableValueRange<float>(0.1f, 10f), Array.Empty<object>()));
			EnableHaldor = config.Bind<bool>("3 - Marchands", "EnableHaldor", true, "Injecter les items chez Haldor.");
			EnableHildir = config.Bind<bool>("3 - Marchands", "EnableHildir", false, "Injecter les items chez Hildir.");
			EnableBogWitch = config.Bind<bool>("3 - Marchands", "EnableBogWitch", false, "Injecter les items chez la Bog Witch.");
			EnableMaterials = config.Bind<bool>("4 - Catégories", "EnableMaterials", true, "Activer la vente de matériaux / minerais / ressources.");
			EnableFood = config.Bind<bool>("4 - Catégories", "EnableFood", true, "Activer la vente de nourriture (crue et cuite).");
			EnableWeapons = config.Bind<bool>("4 - Catégories", "EnableWeapons", true, "Activer la vente d'armes.");
			EnableArmor = config.Bind<bool>("4 - Catégories", "EnableArmor", true, "Activer la vente d'armures et de capes.");
			EnableAmmo = config.Bind<bool>("4 - Catégories", "EnableAmmo", true, "Activer la vente de munitions (flèches, boulons, bombes).");
			EnableConsumables = config.Bind<bool>("4 - Catégories", "EnableConsumables", true, "Activer la vente de consommables (potions, hydromel, appâts).");
			EnableMisc = config.Bind<bool>("4 - Catégories", "EnableMisc", true, "Activer la vente des autres items (graines, trophées, outils, etc.).");
		}

		public static bool IsTraderEnabled(Trader trader)
		{
			string text = trader.m_name ?? ((Object)((Component)trader).gameObject).name;
			if (text.Contains("Haldor"))
			{
				return EnableHaldor.Value;
			}
			if (text.Contains("Hildir"))
			{
				return EnableHildir.Value;
			}
			if (text.Contains("BogWitch") || text.Contains("Bog_Witch") || text.Contains("Bog Witch"))
			{
				return EnableBogWitch.Value;
			}
			return true;
		}

		public static int ApplyPrice(int basePrice)
		{
			return Math.Max(1, (int)((float)basePrice * PriceMultiplier.Value));
		}

		public static int ApplyStack(int baseStack)
		{
			return Math.Max(1, (int)((float)baseStack * StackMultiplier.Value));
		}
	}
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInPlugin("juliani.mods.valheim.bosstrader", "ValheimBossTrader", "1.0.2")]
	public class Plugin : BaseUnityPlugin
	{
		public const string PluginGuid = "juliani.mods.valheim.bosstrader";

		public const string PluginName = "ValheimBossTrader";

		public const string PluginVersion = "1.0.2";

		internal static ManualLogSource Log;

		private readonly Harmony _harmony = new Harmony("juliani.mods.valheim.bosstrader");

		private void Awake()
		{
			Log = ((BaseUnityPlugin)this).Logger;
			ModConfig.Init(((BaseUnityPlugin)this).Config);
			Log.LogInfo((object)string.Format("{0} v{1} chargé — {2} items configurés.", "ValheimBossTrader", "1.0.2", CountItems()));
			_harmony.PatchAll();
		}

		private void OnDestroy()
		{
			_harmony.UnpatchSelf();
		}

		private static int CountItems()
		{
			int num = 0;
			foreach (TraderItems.TradeItemDef item in TraderItems.GetAll())
			{
				_ = item;
				num++;
			}
			return num;
		}
	}
	public enum Category
	{
		Materials,
		Food,
		Weapons,
		Armor,
		Ammo,
		Consumables,
		Misc
	}
	public static class TraderItems
	{
		public class TradeItemDef
		{
			public string PrefabName { get; }

			public int Stack { get; }

			public int Price { get; }

			public string RequiredKey { get; }

			public Category Cat { get; }

			public TradeItemDef(string prefabName, int stack, int price, string requiredKey = null, Category cat = Category.Misc)
			{
				PrefabName = prefabName;
				Stack = stack;
				Price = price;
				RequiredKey = requiredKey;
				Cat = cat;
			}
		}

		[CompilerGenerated]
		private sealed class <GetAll>d__3 : IEnumerable<TradeItemDef>, IEnumerable, IEnumerator<TradeItemDef>, IDisposable, IEnumerator
		{
			private int <>1__state;

			private TradeItemDef <>2__current;

			private int <>l__initialThreadId;

			TradeItemDef IEnumerator<TradeItemDef>.Current
			{
				[DebuggerHidden]
				get
				{
					return <>2__current;
				}
			}

			object IEnumerator.Current
			{
				[DebuggerHidden]
				get
				{
					return <>2__current;
				}
			}

			[DebuggerHidden]
			public <GetAll>d__3(int <>1__state)
			{
				this.<>1__state = <>1__state;
				<>l__initialThreadId = Environment.CurrentManagedThreadId;
			}

			[DebuggerHidden]
			void IDisposable.Dispose()
			{
				<>1__state = -2;
			}

			private bool MoveNext()
			{
				switch (<>1__state)
				{
				default:
					return false;
				case 0:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Acorn", 20, 6, null, Category.Materials);
					<>1__state = 1;
					return true;
				case 1:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherChest", 1, 99, null, Category.Armor);
					<>1__state = 2;
					return true;
				case 2:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherLegs", 1, 99, null, Category.Armor);
					<>1__state = 3;
					return true;
				case 3:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsChest", 1, 50, null, Category.Armor);
					<>1__state = 4;
					return true;
				case 4:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsLegs", 1, 50, null, Category.Armor);
					<>1__state = 5;
					return true;
				case 5:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowFire", 20, 78, null, Category.Ammo);
					<>1__state = 6;
					return true;
				case 6:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowFlint", 20, 51, null, Category.Ammo);
					<>1__state = 7;
					return true;
				case 7:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowWood", 20, 27, null, Category.Ammo);
					<>1__state = 8;
					return true;
				case 8:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeFlint", 1, 54, null, Category.Weapons);
					<>1__state = 9;
					return true;
				case 9:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeStone", 1, 30, null, Category.Weapons);
					<>1__state = 10;
					return true;
				case 10:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BeechSeeds", 20, 5, null, Category.Materials);
					<>1__state = 11;
					return true;
				case 11:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BirchSeeds", 20, 5, null, Category.Materials);
					<>1__state = 12;
					return true;
				case 12:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Blueberries", 1, 5, null, Category.Food);
					<>1__state = 13;
					return true;
				case 13:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BoarJerky", 1, 60, null, Category.Food);
					<>1__state = 14;
					return true;
				case 14:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BoneFragments", 20, 5, null, Category.Materials);
					<>1__state = 15;
					return true;
				case 15:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Bow", 1, 113, null, Category.Weapons);
					<>1__state = 16;
					return true;
				case 16:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeDeerHide", 1, 75, null, Category.Food);
					<>1__state = 17;
					return true;
				case 17:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Carrot", 1, 10, null, Category.Food);
					<>1__state = 18;
					return true;
				case 18:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CarrotSeeds", 20, 5, null, Category.Food);
					<>1__state = 19;
					return true;
				case 19:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CarrotSoup", 1, 66, null, Category.Food);
					<>1__state = 20;
					return true;
				case 20:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Club", 1, 22, null, Category.Weapons);
					<>1__state = 21;
					return true;
				case 21:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Coal", 10, 6, null, Category.Materials);
					<>1__state = 22;
					return true;
				case 22:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CookedDeerMeat", 1, 36, null, Category.Food);
					<>1__state = 23;
					return true;
				case 23:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CookedMeat", 1, 36, null, Category.Food);
					<>1__state = 24;
					return true;
				case 24:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Dandelion", 20, 5, null, Category.Materials);
					<>1__state = 25;
					return true;
				case 25:
					<>1__state = -1;
					<>2__current = new TradeItemDef("DeerHide", 20, 9, null, Category.Materials);
					<>1__state = 26;
					return true;
				case 26:
					<>1__state = -1;
					<>2__current = new TradeItemDef("DeerMeat", 1, 12, null, Category.Food);
					<>1__state = 27;
					return true;
				case 27:
					<>1__state = -1;
					<>2__current = new TradeItemDef("DeerStew", 1, 84, null, Category.Food);
					<>1__state = 28;
					return true;
				case 28:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FeastMeadows", 1, 255, null, Category.Food);
					<>1__state = 29;
					return true;
				case 29:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Feaster", 1, 66, null, Category.Food);
					<>1__state = 30;
					return true;
				case 30:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Feathers", 20, 5, null, Category.Materials);
					<>1__state = 31;
					return true;
				case 31:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FirCone", 20, 5, null, Category.Materials);
					<>1__state = 32;
					return true;
				case 32:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Flint", 20, 5, null, Category.Materials);
					<>1__state = 33;
					return true;
				case 33:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Hammer", 1, 18, null, Category.Weapons);
					<>1__state = 34;
					return true;
				case 34:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HardAntler", 1, 600);
					<>1__state = 35;
					return true;
				case 35:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetLeather", 1, 99, null, Category.Armor);
					<>1__state = 36;
					return true;
				case 36:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetYule", 1, 36, null, Category.Armor);
					<>1__state = 37;
					return true;
				case 37:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Hoe", 1, 24, null, Category.Weapons);
					<>1__state = 38;
					return true;
				case 38:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Honey", 1, 31, null, Category.Food);
					<>1__state = 39;
					return true;
				case 39:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeFlint", 1, 51, null, Category.Weapons);
					<>1__state = 40;
					return true;
				case 40:
					<>1__state = -1;
					<>2__current = new TradeItemDef("LeatherScraps", 20, 6, null, Category.Materials);
					<>1__state = 41;
					return true;
				case 41:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseStrength", 1, 682, null, Category.Consumables);
					<>1__state = 42;
					return true;
				case 42:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseSwimmer", 1, 102, null, Category.Consumables);
					<>1__state = 43;
					return true;
				case 43:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MinceMeatSauce", 1, 35, null, Category.Food);
					<>1__state = 44;
					return true;
				case 44:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Mushroom", 1, 6, null, Category.Food);
					<>1__state = 45;
					return true;
				case 45:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MushroomYellow", 1, 12, null, Category.Food);
					<>1__state = 46;
					return true;
				case 46:
					<>1__state = -1;
					<>2__current = new TradeItemDef("NeckTail", 1, 12);
					<>1__state = 47;
					return true;
				case 47:
					<>1__state = -1;
					<>2__current = new TradeItemDef("NeckTailGrilled", 1, 14);
					<>1__state = 48;
					return true;
				case 48:
					<>1__state = -1;
					<>2__current = new TradeItemDef("PickaxeAntler", 1, 136, null, Category.Weapons);
					<>1__state = 49;
					return true;
				case 49:
					<>1__state = -1;
					<>2__current = new TradeItemDef("PickaxeStone", 1, 34, null, Category.Weapons);
					<>1__state = 50;
					return true;
				case 50:
					<>1__state = -1;
					<>2__current = new TradeItemDef("PineCone", 20, 5, null, Category.Materials);
					<>1__state = 51;
					return true;
				case 51:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Pukeberries", 20, 7, null, Category.Materials);
					<>1__state = 52;
					return true;
				case 52:
					<>1__state = -1;
					<>2__current = new TradeItemDef("QueenBee", 10, 90);
					<>1__state = 53;
					return true;
				case 53:
					<>1__state = -1;
					<>2__current = new TradeItemDef("QueensJam", 1, 75, null, Category.Food);
					<>1__state = 54;
					return true;
				case 54:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Raspberry", 1, 5, null, Category.Food);
					<>1__state = 55;
					return true;
				case 55:
					<>1__state = -1;
					<>2__current = new TradeItemDef("RawMeat", 1, 10, null, Category.Food);
					<>1__state = 56;
					return true;
				case 56:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Resin", 20, 5, null, Category.Materials);
					<>1__state = 57;
					return true;
				case 57:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SharpeningStone", 1, 13, null, Category.Materials);
					<>1__state = 58;
					return true;
				case 58:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBoneTower", 1, 139, null, Category.Armor);
					<>1__state = 59;
					return true;
				case 59:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldWood", 1, 79, null, Category.Armor);
					<>1__state = 60;
					return true;
				case 60:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldWoodTower", 1, 76, null, Category.Armor);
					<>1__state = 61;
					return true;
				case 61:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Sparkler", 20, 9, null, Category.Materials);
					<>1__state = 62;
					return true;
				case 62:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearFlint", 1, 103, null, Category.Weapons);
					<>1__state = 63;
					return true;
				case 63:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Stone", 20, 5, null, Category.Materials);
					<>1__state = 64;
					return true;
				case 64:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Torch", 1, 12, null, Category.Weapons);
					<>1__state = 65;
					return true;
				case 65:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyBoar", 1, 33);
					<>1__state = 66;
					return true;
				case 66:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyDeer", 1, 40);
					<>1__state = 67;
					return true;
				case 67:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyNeck", 1, 27);
					<>1__state = 68;
					return true;
				case 68:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Turnip", 1, 16, null, Category.Food);
					<>1__state = 69;
					return true;
				case 69:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TurnipSeeds", 20, 6, null, Category.Food);
					<>1__state = 70;
					return true;
				case 70:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Wood", 20, 5, null, Category.Materials);
					<>1__state = 71;
					return true;
				case 71:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AncientSeed", 20, 39, "defeated_eikthyr", Category.Materials);
					<>1__state = 72;
					return true;
				case 72:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBronzeChest", 1, 601, "defeated_eikthyr", Category.Armor);
					<>1__state = 73;
					return true;
				case 73:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBronzeLegs", 1, 601, "defeated_eikthyr", Category.Armor);
					<>1__state = 74;
					return true;
				case 74:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherChest", 1, 148, "defeated_eikthyr", Category.Armor);
					<>1__state = 75;
					return true;
				case 75:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherLegs", 1, 148, "defeated_eikthyr", Category.Armor);
					<>1__state = 76;
					return true;
				case 76:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsChest", 1, 75, "defeated_eikthyr", Category.Armor);
					<>1__state = 77;
					return true;
				case 77:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsLegs", 1, 75, "defeated_eikthyr", Category.Armor);
					<>1__state = 78;
					return true;
				case 78:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorTrollLeatherChest", 1, 415, "defeated_eikthyr", Category.Armor);
					<>1__state = 79;
					return true;
				case 79:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorTrollLeatherLegs", 1, 415, "defeated_eikthyr", Category.Armor);
					<>1__state = 80;
					return true;
				case 80:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowBronze", 20, 148, "defeated_eikthyr", Category.Ammo);
					<>1__state = 81;
					return true;
				case 81:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirBronze", 1, 943, "defeated_eikthyr", Category.Weapons);
					<>1__state = 82;
					return true;
				case 82:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirWood", 1, 196, "defeated_eikthyr", Category.Weapons);
					<>1__state = 83;
					return true;
				case 83:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeBronze", 1, 687, "defeated_eikthyr", Category.Weapons);
					<>1__state = 84;
					return true;
				case 84:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeFlint", 1, 81, "defeated_eikthyr", Category.Weapons);
					<>1__state = 85;
					return true;
				case 85:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeStone", 1, 45, "defeated_eikthyr", Category.Weapons);
					<>1__state = 86;
					return true;
				case 86:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeWood", 1, 137, "defeated_eikthyr", Category.Weapons);
					<>1__state = 87;
					return true;
				case 87:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BBH_BlackForest_Bow", 1, 242, "defeated_eikthyr", Category.Weapons);
					<>1__state = 88;
					return true;
				case 88:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BBH_BlackForest_Quiver", 1, 261, "defeated_eikthyr", Category.Weapons);
					<>1__state = 89;
					return true;
				case 89:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BattleaxeWood", 1, 214, "defeated_eikthyr", Category.Weapons);
					<>1__state = 90;
					return true;
				case 90:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Bow", 1, 169, "defeated_eikthyr", Category.Weapons);
					<>1__state = 91;
					return true;
				case 91:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BowFineWood", 1, 541, "defeated_eikthyr", Category.Weapons);
					<>1__state = 92;
					return true;
				case 92:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Bronze", 15, 105, "defeated_eikthyr", Category.Materials);
					<>1__state = 93;
					return true;
				case 93:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BronzeNails", 50, 11, "defeated_eikthyr");
					<>1__state = 94;
					return true;
				case 94:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BronzeScrap", 15, 44, "defeated_eikthyr", Category.Materials);
					<>1__state = 95;
					return true;
				case 95:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeDeerHide", 1, 112, "defeated_eikthyr", Category.Food);
					<>1__state = 96;
					return true;
				case 96:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeTrollHide", 1, 698, "defeated_eikthyr", Category.Food);
					<>1__state = 97;
					return true;
				case 97:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Club", 1, 33, "defeated_eikthyr", Category.Weapons);
					<>1__state = 98;
					return true;
				case 98:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Copper", 15, 30, "defeated_eikthyr", Category.Materials);
					<>1__state = 99;
					return true;
				case 99:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CopperOre", 1, 22, "defeated_eikthyr", Category.Materials);
					<>1__state = 100;
					return true;
				case 100:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CopperScrap", 15, 26, "defeated_eikthyr");
					<>1__state = 101;
					return true;
				case 101:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CryptKey", 1, 1331, "defeated_eikthyr");
					<>1__state = 102;
					return true;
				case 102:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Cultivator", 1, 415, "defeated_eikthyr");
					<>1__state = 103;
					return true;
				case 103:
					<>1__state = -1;
					<>2__current = new TradeItemDef("DustMagic", 1, 11, "defeated_eikthyr");
					<>1__state = 104;
					return true;
				case 104:
					<>1__state = -1;
					<>2__current = new TradeItemDef("EssenceMagic", 1, 11, "defeated_eikthyr");
					<>1__state = 105;
					return true;
				case 105:
					<>1__state = -1;
					<>2__current = new TradeItemDef("EtchedRunestoneMagic", 1, 14, "defeated_eikthyr");
					<>1__state = 106;
					return true;
				case 106:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FeastBlackforest", 1, 1031, "defeated_eikthyr", Category.Food);
					<>1__state = 107;
					return true;
				case 107:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FineWood", 20, 13, "defeated_eikthyr");
					<>1__state = 108;
					return true;
				case 108:
					<>1__state = -1;
					<>2__current = new TradeItemDef("GreydwarfEye", 20, 13, "defeated_eikthyr");
					<>1__state = 109;
					return true;
				case 109:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Guck", 20, 55, "defeated_eikthyr");
					<>1__state = 110;
					return true;
				case 110:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetBronze", 1, 601, "defeated_eikthyr", Category.Armor);
					<>1__state = 111;
					return true;
				case 111:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetLeather", 1, 148, "defeated_eikthyr", Category.Armor);
					<>1__state = 112;
					return true;
				case 112:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetTrollLeather", 1, 462, "defeated_eikthyr", Category.Armor);
					<>1__state = 113;
					return true;
				case 113:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetYule", 1, 54, "defeated_eikthyr", Category.Armor);
					<>1__state = 114;
					return true;
				case 114:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeButcher", 1, 189, "defeated_eikthyr", Category.Weapons);
					<>1__state = 115;
					return true;
				case 115:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeCopper", 1, 365, "defeated_eikthyr", Category.Weapons);
					<>1__state = 116;
					return true;
				case 116:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeFlint", 1, 76, "defeated_eikthyr", Category.Weapons);
					<>1__state = 117;
					return true;
				case 117:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeWood", 1, 137, "defeated_eikthyr", Category.Weapons);
					<>1__state = 118;
					return true;
				case 118:
					<>1__state = -1;
					<>2__current = new TradeItemDef("LeatherBelt", 1, 112, "defeated_eikthyr");
					<>1__state = 119;
					return true;
				case 119:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceBronze", 1, 704, "defeated_eikthyr", Category.Weapons);
					<>1__state = 120;
					return true;
				case 120:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceWood", 1, 137, "defeated_eikthyr", Category.Weapons);
					<>1__state = 121;
					return true;
				case 121:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadStrength", 10, 231, "defeated_eikthyr", Category.Consumables);
					<>1__state = 122;
					return true;
				case 122:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadTrollPheromones", 10, 264, "defeated_eikthyr", Category.Consumables);
					<>1__state = 123;
					return true;
				case 123:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MushroomBlue", 1, 30, "defeated_eikthyr", Category.Food);
					<>1__state = 124;
					return true;
				case 124:
					<>1__state = -1;
					<>2__current = new TradeItemDef("PickaxeBronze", 1, 693, "defeated_eikthyr", Category.Weapons);
					<>1__state = 125;
					return true;
				case 125:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ReagentMagic", 1, 11, "defeated_eikthyr");
					<>1__state = 126;
					return true;
				case 126:
					<>1__state = -1;
					<>2__current = new TradeItemDef("RunestoneMagic", 1, 14, "defeated_eikthyr");
					<>1__state = 127;
					return true;
				case 127:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShardMagic", 1, 11, "defeated_eikthyr");
					<>1__state = 128;
					return true;
				case 128:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBanded", 1, 1079, "defeated_eikthyr", Category.Armor);
					<>1__state = 129;
					return true;
				case 129:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBoneTower", 1, 208, "defeated_eikthyr", Category.Armor);
					<>1__state = 130;
					return true;
				case 130:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBronzeBuckler", 1, 732, "defeated_eikthyr", Category.Armor);
					<>1__state = 131;
					return true;
				case 131:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldWood", 1, 118, "defeated_eikthyr", Category.Armor);
					<>1__state = 132;
					return true;
				case 132:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldWoodTower", 1, 114, "defeated_eikthyr", Category.Armor);
					<>1__state = 133;
					return true;
				case 133:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SledgeWood", 1, 178, "defeated_eikthyr", Category.Weapons);
					<>1__state = 134;
					return true;
				case 134:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearBronze", 1, 555, "defeated_eikthyr", Category.Weapons);
					<>1__state = 135;
					return true;
				case 135:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearFlint", 1, 154, "defeated_eikthyr", Category.Weapons);
					<>1__state = 136;
					return true;
				case 136:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearWood", 1, 137, "defeated_eikthyr", Category.Weapons);
					<>1__state = 137;
					return true;
				case 137:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SurtlingCore", 10, 330, "defeated_eikthyr");
					<>1__state = 138;
					return true;
				case 138:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordBronze", 1, 676, "defeated_eikthyr", Category.Weapons);
					<>1__state = 139;
					return true;
				case 139:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordWood", 1, 137, "defeated_eikthyr", Category.Weapons);
					<>1__state = 140;
					return true;
				case 140:
					<>1__state = -1;
					<>2__current = new TradeItemDef("THSwordWood", 1, 178, "defeated_eikthyr", Category.Weapons);
					<>1__state = 141;
					return true;
				case 141:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Tankard", 1, 90, "defeated_eikthyr");
					<>1__state = 142;
					return true;
				case 142:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TankardOdin", 1, 151, "defeated_eikthyr");
					<>1__state = 143;
					return true;
				case 143:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Thistle", 20, 13, "defeated_eikthyr");
					<>1__state = 144;
					return true;
				case 144:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Tin", 15, 30, "defeated_eikthyr", Category.Materials);
					<>1__state = 145;
					return true;
				case 145:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TinOre", 1, 22, "defeated_eikthyr", Category.Materials);
					<>1__state = 146;
					return true;
				case 146:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketBronzeHealth", 1, 567, "defeated_eikthyr", Category.Armor);
					<>1__state = 147;
					return true;
				case 147:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrollHide", 20, 48, "defeated_eikthyr", Category.Materials);
					<>1__state = 148;
					return true;
				case 148:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyForestTroll", 1, 286, "defeated_eikthyr");
					<>1__state = 149;
					return true;
				case 149:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyGreydwarf", 1, 49, "defeated_eikthyr");
					<>1__state = 150;
					return true;
				case 150:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyGreydwarfBrute", 1, 160, "defeated_eikthyr");
					<>1__state = 151;
					return true;
				case 151:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyGreydwarfShaman", 1, 143, "defeated_eikthyr");
					<>1__state = 152;
					return true;
				case 152:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophySkeleton", 1, 61, "defeated_eikthyr");
					<>1__state = 153;
					return true;
				case 153:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophySkeletonPoison", 1, 111, "defeated_eikthyr");
					<>1__state = 154;
					return true;
				case 154:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TurretBoltWood", 1, 22, "defeated_eikthyr");
					<>1__state = 155;
					return true;
				case 155:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBronzeChest", 1, 1502, "defeated_gdking", Category.Armor);
					<>1__state = 156;
					return true;
				case 156:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBronzeLegs", 1, 1502, "defeated_gdking", Category.Armor);
					<>1__state = 157;
					return true;
				case 157:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorIronChest", 1, 5698, "defeated_gdking", Category.Armor);
					<>1__state = 158;
					return true;
				case 158:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorIronLegs", 1, 5698, "defeated_gdking", Category.Armor);
					<>1__state = 159;
					return true;
				case 159:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherChest", 1, 247, "defeated_gdking", Category.Armor);
					<>1__state = 160;
					return true;
				case 160:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherLegs", 1, 247, "defeated_gdking", Category.Armor);
					<>1__state = 161;
					return true;
				case 161:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsChest", 1, 125, "defeated_gdking", Category.Armor);
					<>1__state = 162;
					return true;
				case 162:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsLegs", 1, 125, "defeated_gdking", Category.Armor);
					<>1__state = 163;
					return true;
				case 163:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRootChest", 1, 1836, "defeated_gdking", Category.Armor);
					<>1__state = 164;
					return true;
				case 164:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRootLegs", 1, 1836, "defeated_gdking", Category.Armor);
					<>1__state = 165;
					return true;
				case 165:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorTrollLeatherChest", 1, 1037, "defeated_gdking", Category.Armor);
					<>1__state = 166;
					return true;
				case 166:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorTrollLeatherLegs", 1, 1037, "defeated_gdking", Category.Armor);
					<>1__state = 167;
					return true;
				case 167:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowIron", 20, 319, "defeated_gdking", Category.Ammo);
					<>1__state = 168;
					return true;
				case 168:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowPoison", 20, 504, "defeated_gdking", Category.Ammo);
					<>1__state = 169;
					return true;
				case 169:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirBronze", 1, 2357, "defeated_gdking", Category.Weapons);
					<>1__state = 170;
					return true;
				case 170:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirIron", 1, 8271, "defeated_gdking", Category.Weapons);
					<>1__state = 171;
					return true;
				case 171:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirWood", 1, 490, "defeated_gdking", Category.Weapons);
					<>1__state = 172;
					return true;
				case 172:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeBronze", 1, 1717, "defeated_gdking", Category.Weapons);
					<>1__state = 173;
					return true;
				case 173:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeFlint", 1, 135, "defeated_gdking", Category.Weapons);
					<>1__state = 174;
					return true;
				case 174:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeIron", 1, 4230, "defeated_gdking", Category.Weapons);
					<>1__state = 175;
					return true;
				case 175:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeStone", 1, 75, "defeated_gdking", Category.Weapons);
					<>1__state = 176;
					return true;
				case 176:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeWood", 1, 342, "defeated_gdking", Category.Weapons);
					<>1__state = 177;
					return true;
				case 177:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BBH_BlackForest_Bow", 1, 605, "defeated_gdking", Category.Weapons);
					<>1__state = 178;
					return true;
				case 178:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BBH_Surtling_Bow", 1, 15508, "defeated_gdking", Category.Weapons);
					<>1__state = 179;
					return true;
				case 179:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Battleaxe", 1, 11565, "defeated_gdking", Category.Weapons);
					<>1__state = 180;
					return true;
				case 180:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BattleaxeWood", 1, 535, "defeated_gdking", Category.Weapons);
					<>1__state = 181;
					return true;
				case 181:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BlackSoup", 1, 270, "defeated_gdking", Category.Food);
					<>1__state = 182;
					return true;
				case 182:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Bloodbag", 20, 86, "defeated_gdking");
					<>1__state = 183;
					return true;
				case 183:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BombBlob_Poison", 20, 198, "defeated_gdking", Category.Ammo);
					<>1__state = 184;
					return true;
				case 184:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BombBlob_PoisonElite", 20, 270, "defeated_gdking", Category.Ammo);
					<>1__state = 185;
					return true;
				case 185:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BombOoze", 20, 144, "defeated_gdking", Category.Ammo);
					<>1__state = 186;
					return true;
				case 186:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Bow", 1, 282, "defeated_gdking", Category.Weapons);
					<>1__state = 187;
					return true;
				case 187:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BowFineWood", 1, 1352, "defeated_gdking", Category.Weapons);
					<>1__state = 188;
					return true;
				case 188:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BowHuntsman", 1, 5152, "defeated_gdking", Category.Weapons);
					<>1__state = 189;
					return true;
				case 189:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeDeerHide", 1, 187, "defeated_gdking", Category.Food);
					<>1__state = 190;
					return true;
				case 190:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeTrollHide", 1, 1745, "defeated_gdking", Category.Food);
					<>1__state = 191;
					return true;
				case 191:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Chain", 20, 486, "defeated_gdking");
					<>1__state = 192;
					return true;
				case 192:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Chitin", 20, 100, "defeated_gdking", Category.Materials);
					<>1__state = 193;
					return true;
				case 193:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Club", 1, 55, "defeated_gdking", Category.Weapons);
					<>1__state = 194;
					return true;
				case 194:
					<>1__state = -1;
					<>2__current = new TradeItemDef("DustRare", 1, 28, "defeated_gdking");
					<>1__state = 195;
					return true;
				case 195:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Ectoplasm", 20, 378, "defeated_gdking");
					<>1__state = 196;
					return true;
				case 196:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ElderBark", 20, 36, "defeated_gdking", Category.Materials);
					<>1__state = 197;
					return true;
				case 197:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Entrails", 20, 72, "defeated_gdking");
					<>1__state = 198;
					return true;
				case 198:
					<>1__state = -1;
					<>2__current = new TradeItemDef("EssenceRare", 1, 28, "defeated_gdking");
					<>1__state = 199;
					return true;
				case 199:
					<>1__state = -1;
					<>2__current = new TradeItemDef("EtchedRunestoneRare", 1, 37, "defeated_gdking");
					<>1__state = 200;
					return true;
				case 200:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FeastOceans", 1, 1796, "defeated_gdking", Category.Food);
					<>1__state = 201;
					return true;
				case 201:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FeastSwamps", 1, 1962, "defeated_gdking", Category.Food);
					<>1__state = 202;
					return true;
				case 202:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish1", 20, 62, "defeated_gdking", Category.Food);
					<>1__state = 203;
					return true;
				case 203:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish11", 20, 75, "defeated_gdking", Category.Food);
					<>1__state = 204;
					return true;
				case 204:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish12", 20, 62, "defeated_gdking", Category.Food);
					<>1__state = 205;
					return true;
				case 205:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish2", 20, 75, "defeated_gdking", Category.Food);
					<>1__state = 206;
					return true;
				case 206:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish3", 20, 62, "defeated_gdking", Category.Food);
					<>1__state = 207;
					return true;
				case 207:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishCooked", 10, 113, "defeated_gdking", Category.Food);
					<>1__state = 208;
					return true;
				case 208:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishRaw", 20, 62, "defeated_gdking", Category.Food);
					<>1__state = 209;
					return true;
				case 209:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishingBait", 50, 12, "defeated_gdking", Category.Food);
					<>1__state = 210;
					return true;
				case 210:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishingBaitForest", 50, 25, "defeated_gdking", Category.Food);
					<>1__state = 211;
					return true;
				case 211:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishingBaitOcean", 50, 50, "defeated_gdking", Category.Food);
					<>1__state = 212;
					return true;
				case 212:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishingBaitSwamp", 50, 50, "defeated_gdking", Category.Food);
					<>1__state = 213;
					return true;
				case 213:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishingRod", 1, 936, "defeated_gdking", Category.Food);
					<>1__state = 214;
					return true;
				case 214:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetBronze", 1, 1502, "defeated_gdking", Category.Armor);
					<>1__state = 215;
					return true;
				case 215:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetFishingHat", 1, 243, "defeated_gdking", Category.Food);
					<>1__state = 216;
					return true;
				case 216:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetIron", 1, 5698, "defeated_gdking", Category.Armor);
					<>1__state = 217;
					return true;
				case 217:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetLeather", 1, 247, "defeated_gdking", Category.Armor);
					<>1__state = 218;
					return true;
				case 218:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetRoot", 1, 1863, "defeated_gdking", Category.Armor);
					<>1__state = 219;
					return true;
				case 219:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetTrollLeather", 1, 1155, "defeated_gdking", Category.Armor);
					<>1__state = 220;
					return true;
				case 220:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetYule", 1, 90, "defeated_gdking", Category.Armor);
					<>1__state = 221;
					return true;
				case 221:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Iron", 15, 144, "defeated_gdking", Category.Materials);
					<>1__state = 222;
					return true;
				case 222:
					<>1__state = -1;
					<>2__current = new TradeItemDef("IronNails", 50, 21, "defeated_gdking");
					<>1__state = 223;
					return true;
				case 223:
					<>1__state = -1;
					<>2__current = new TradeItemDef("IronOre", 1, 64, "defeated_gdking");
					<>1__state = 224;
					return true;
				case 224:
					<>1__state = -1;
					<>2__current = new TradeItemDef("IronScrap", 15, 64, "defeated_gdking", Category.Materials);
					<>1__state = 225;
					return true;
				case 225:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeButcher", 1, 472, "defeated_gdking", Category.Weapons);
					<>1__state = 226;
					return true;
				case 226:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeChitin", 1, 3073, "defeated_gdking", Category.Weapons);
					<>1__state = 227;
					return true;
				case 227:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeCopper", 1, 912, "defeated_gdking", Category.Weapons);
					<>1__state = 228;
					return true;
				case 228:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeFlint", 1, 127, "defeated_gdking", Category.Weapons);
					<>1__state = 229;
					return true;
				case 229:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeWood", 1, 342, "defeated_gdking", Category.Weapons);
					<>1__state = 230;
					return true;
				case 230:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceBronze", 1, 1760, "defeated_gdking", Category.Weapons);
					<>1__state = 231;
					return true;
				case 231:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceIron", 1, 4257, "defeated_gdking", Category.Weapons);
					<>1__state = 232;
					return true;
				case 232:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceWood", 1, 342, "defeated_gdking", Category.Weapons);
					<>1__state = 233;
					return true;
				case 233:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseHealthMedium", 10, 2716, "defeated_gdking", Category.Consumables);
					<>1__state = 234;
					return true;
				case 234:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseHealthMinor", 10, 2214, "defeated_gdking", Category.Consumables);
					<>1__state = 235;
					return true;
				case 235:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBasePoisonResist", 10, 2419, "defeated_gdking", Category.Consumables);
					<>1__state = 236;
					return true;
				case 236:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseStaminaMedium", 10, 3229, "defeated_gdking", Category.Consumables);
					<>1__state = 237;
					return true;
				case 237:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseStaminaMinor", 10, 2856, "defeated_gdking", Category.Consumables);
					<>1__state = 238;
					return true;
				case 238:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseTasty", 10, 2203, "defeated_gdking", Category.Consumables);
					<>1__state = 239;
					return true;
				case 239:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadHealthMedium", 10, 486, "defeated_gdking", Category.Consumables);
					<>1__state = 240;
					return true;
				case 240:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadHealthMinor", 10, 270, "defeated_gdking", Category.Consumables);
					<>1__state = 241;
					return true;
				case 241:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadPoisonResist", 10, 432, "defeated_gdking", Category.Consumables);
					<>1__state = 242;
					return true;
				case 242:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadStaminaMedium", 10, 486, "defeated_gdking", Category.Consumables);
					<>1__state = 243;
					return true;
				case 243:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadStaminaMinor", 10, 270, "defeated_gdking", Category.Consumables);
					<>1__state = 244;
					return true;
				case 244:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadSwimmer", 10, 378, "defeated_gdking", Category.Consumables);
					<>1__state = 245;
					return true;
				case 245:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadTasty", 10, 216, "defeated_gdking", Category.Consumables);
					<>1__state = 246;
					return true;
				case 246:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Ooze", 20, 36, "defeated_gdking");
					<>1__state = 247;
					return true;
				case 247:
					<>1__state = -1;
					<>2__current = new TradeItemDef("PickaxeIron", 1, 3409, "defeated_gdking", Category.Weapons);
					<>1__state = 248;
					return true;
				case 248:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ReagentRare", 1, 28, "defeated_gdking");
					<>1__state = 249;
					return true;
				case 249:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Root", 20, 64, "defeated_gdking");
					<>1__state = 250;
					return true;
				case 250:
					<>1__state = -1;
					<>2__current = new TradeItemDef("RunestoneRare", 1, 37, "defeated_gdking");
					<>1__state = 251;
					return true;
				case 251:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Sausages", 1, 144, "defeated_gdking", Category.Food);
					<>1__state = 252;
					return true;
				case 252:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SerpentMeat", 1, 220, "defeated_gdking", Category.Food);
					<>1__state = 253;
					return true;
				case 253:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SerpentMeatCooked", 1, 346, "defeated_gdking", Category.Food);
					<>1__state = 254;
					return true;
				case 254:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SerpentScale", 20, 324, "defeated_gdking");
					<>1__state = 255;
					return true;
				case 255:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SerpentStew", 1, 909, "defeated_gdking", Category.Food);
					<>1__state = 256;
					return true;
				case 256:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShardRare", 1, 28, "defeated_gdking");
					<>1__state = 257;
					return true;
				case 257:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBanded", 1, 2697, "defeated_gdking", Category.Armor);
					<>1__state = 258;
					return true;
				case 258:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBoneTower", 1, 347, "defeated_gdking", Category.Armor);
					<>1__state = 259;
					return true;
				case 259:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBronzeBuckler", 1, 1830, "defeated_gdking", Category.Armor);
					<>1__state = 260;
					return true;
				case 260:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldIronBuckler", 1, 2045, "defeated_gdking", Category.Armor);
					<>1__state = 261;
					return true;
				case 261:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldIronSquare", 1, 1397, "defeated_gdking", Category.Armor);
					<>1__state = 262;
					return true;
				case 262:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldIronTower", 1, 2280, "defeated_gdking", Category.Armor);
					<>1__state = 263;
					return true;
				case 263:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldWood", 1, 197, "defeated_gdking", Category.Armor);
					<>1__state = 264;
					return true;
				case 264:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldWoodTower", 1, 190, "defeated_gdking", Category.Armor);
					<>1__state = 265;
					return true;
				case 265:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShocklateSmoothie", 1, 97, "defeated_gdking");
					<>1__state = 266;
					return true;
				case 266:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SledgeIron", 1, 12442, "defeated_gdking", Category.Weapons);
					<>1__state = 267;
					return true;
				case 267:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SledgeWood", 1, 445, "defeated_gdking", Category.Weapons);
					<>1__state = 268;
					return true;
				case 268:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearBronze", 1, 1387, "defeated_gdking", Category.Weapons);
					<>1__state = 269;
					return true;
				case 269:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearChitin", 1, 4671, "defeated_gdking", Category.Weapons);
					<>1__state = 270;
					return true;
				case 270:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearElderbark", 1, 3042, "defeated_gdking", Category.Weapons);
					<>1__state = 271;
					return true;
				case 271:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearFlint", 1, 257, "defeated_gdking", Category.Weapons);
					<>1__state = 272;
					return true;
				case 272:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearWood", 1, 342, "defeated_gdking", Category.Weapons);
					<>1__state = 273;
					return true;
				case 273:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordBronze", 1, 1690, "defeated_gdking", Category.Weapons);
					<>1__state = 274;
					return true;
				case 274:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordIron", 1, 4234, "defeated_gdking", Category.Weapons);
					<>1__state = 275;
					return true;
				case 275:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordWood", 1, 342, "defeated_gdking", Category.Weapons);
					<>1__state = 276;
					return true;
				case 276:
					<>1__state = -1;
					<>2__current = new TradeItemDef("THSwordWood", 1, 445, "defeated_gdking", Category.Weapons);
					<>1__state = 277;
					return true;
				case 277:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TankardAnniversary", 1, 720, "defeated_gdking");
					<>1__state = 278;
					return true;
				case 278:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TorchArrow", 20, 72, "defeated_gdking", Category.Weapons);
					<>1__state = 279;
					return true;
				case 279:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketBronzeStamina", 1, 1177, "defeated_gdking", Category.Armor);
					<>1__state = 280;
					return true;
				case 280:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketIronHealth", 1, 1076, "defeated_gdking", Category.Armor);
					<>1__state = 281;
					return true;
				case 281:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketIronStamina", 1, 1198, "defeated_gdking", Category.Armor);
					<>1__state = 282;
					return true;
				case 282:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyAbomination", 1, 643, "defeated_gdking");
					<>1__state = 283;
					return true;
				case 283:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyBlob", 1, 121, "defeated_gdking");
					<>1__state = 284;
					return true;
				case 284:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyDraugr", 1, 141, "defeated_gdking");
					<>1__state = 285;
					return true;
				case 285:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyDraugrElite", 1, 409, "defeated_gdking");
					<>1__state = 286;
					return true;
				case 286:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyDraugrFem", 1, 141, "defeated_gdking");
					<>1__state = 287;
					return true;
				case 287:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyGhost", 1, 222, "defeated_gdking");
					<>1__state = 288;
					return true;
				case 288:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyLeech", 1, 121, "defeated_gdking");
					<>1__state = 289;
					return true;
				case 289:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophySurtling", 1, 182, "defeated_gdking");
					<>1__state = 290;
					return true;
				case 290:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyWraith", 1, 263, "defeated_gdking");
					<>1__state = 291;
					return true;
				case 291:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TurnipStew", 1, 297, "defeated_gdking", Category.Food);
					<>1__state = 292;
					return true;
				case 292:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Wishbone", 1, 3375, "defeated_gdking");
					<>1__state = 293;
					return true;
				case 293:
					<>1__state = -1;
					<>2__current = new TradeItemDef("WitheredBone", 20, 74, "defeated_gdking");
					<>1__state = 294;
					return true;
				case 294:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBronzeChest", 1, 2704, "defeated_bonemass", Category.Armor);
					<>1__state = 295;
					return true;
				case 295:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBronzeLegs", 1, 2704, "defeated_bonemass", Category.Armor);
					<>1__state = 296;
					return true;
				case 296:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorFenringChest", 1, 1485, "defeated_bonemass", Category.Armor);
					<>1__state = 297;
					return true;
				case 297:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorFenringLegs", 1, 1485, "defeated_bonemass", Category.Armor);
					<>1__state = 298;
					return true;
				case 298:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorIronChest", 1, 25641, "defeated_bonemass", Category.Armor);
					<>1__state = 299;
					return true;
				case 299:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorIronLegs", 1, 25641, "defeated_bonemass", Category.Armor);
					<>1__state = 300;
					return true;
				case 300:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherChest", 1, 445, "defeated_bonemass", Category.Armor);
					<>1__state = 301;
					return true;
				case 301:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherLegs", 1, 445, "defeated_bonemass", Category.Armor);
					<>1__state = 302;
					return true;
				case 302:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsChest", 1, 225, "defeated_bonemass", Category.Armor);
					<>1__state = 303;
					return true;
				case 303:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsLegs", 1, 225, "defeated_bonemass", Category.Armor);
					<>1__state = 304;
					return true;
				case 304:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRootChest", 1, 8262, "defeated_bonemass", Category.Armor);
					<>1__state = 305;
					return true;
				case 305:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRootLegs", 1, 8262, "defeated_bonemass", Category.Armor);
					<>1__state = 306;
					return true;
				case 306:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorTrollLeatherChest", 1, 1867, "defeated_bonemass", Category.Armor);
					<>1__state = 307;
					return true;
				case 307:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorTrollLeatherLegs", 1, 1867, "defeated_bonemass", Category.Armor);
					<>1__state = 308;
					return true;
				case 308:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorWolfChest", 1, 7551, "defeated_bonemass", Category.Armor);
					<>1__state = 309;
					return true;
				case 309:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorWolfLegs", 1, 7713, "defeated_bonemass", Category.Armor);
					<>1__state = 310;
					return true;
				case 310:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowFrost", 20, 945, "defeated_bonemass", Category.Ammo);
					<>1__state = 311;
					return true;
				case 311:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowObsidian", 20, 667, "defeated_bonemass", Category.Ammo);
					<>1__state = 312;
					return true;
				case 312:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowSilver", 20, 442, "defeated_bonemass", Category.Ammo);
					<>1__state = 313;
					return true;
				case 313:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirBronze", 1, 4243, "defeated_bonemass", Category.Weapons);
					<>1__state = 314;
					return true;
				case 314:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirIron", 1, 37219, "defeated_bonemass", Category.Weapons);
					<>1__state = 315;
					return true;
				case 315:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirWood", 1, 882, "defeated_bonemass", Category.Weapons);
					<>1__state = 316;
					return true;
				case 316:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeBronze", 1, 3091, "defeated_bonemass", Category.Weapons);
					<>1__state = 317;
					return true;
				case 317:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeFlint", 1, 243, "defeated_bonemass", Category.Weapons);
					<>1__state = 318;
					return true;
				case 318:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeIron", 1, 19035, "defeated_bonemass", Category.Weapons);
					<>1__state = 319;
					return true;
				case 319:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeStone", 1, 135, "defeated_bonemass", Category.Weapons);
					<>1__state = 320;
					return true;
				case 320:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeWood", 1, 616, "defeated_bonemass", Category.Weapons);
					<>1__state = 321;
					return true;
				case 321:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BBH_BlackForest_Bow", 1, 1089, "defeated_bonemass", Category.Weapons);
					<>1__state = 322;
					return true;
				case 322:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BBH_Surtling_Bow", 1, 69786, "defeated_bonemass", Category.Weapons);
					<>1__state = 323;
					return true;
				case 323:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Battleaxe", 1, 52042, "defeated_bonemass", Category.Weapons);
					<>1__state = 324;
					return true;
				case 324:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BattleaxeCrystal", 1, 1706, "defeated_bonemass", Category.Weapons);
					<>1__state = 325;
					return true;
				case 325:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BattleaxeWood", 1, 963, "defeated_bonemass", Category.Weapons);
					<>1__state = 326;
					return true;
				case 326:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BeltStrength", 1, 2400, "defeated_bonemass", Category.Armor);
					<>1__state = 327;
					return true;
				case 327:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BombBlob_Frost", 20, 390, "defeated_bonemass", Category.Ammo);
					<>1__state = 328;
					return true;
				case 328:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Bow", 1, 508, "defeated_bonemass", Category.Weapons);
					<>1__state = 329;
					return true;
				case 329:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BowDraugrFang", 1, 9157, "defeated_bonemass", Category.Weapons);
					<>1__state = 330;
					return true;
				case 330:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BowFineWood", 1, 2434, "defeated_bonemass", Category.Weapons);
					<>1__state = 331;
					return true;
				case 331:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BowHuntsman", 1, 23184, "defeated_bonemass", Category.Weapons);
					<>1__state = 332;
					return true;
				case 332:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeDeerHide", 1, 337, "defeated_bonemass", Category.Food);
					<>1__state = 333;
					return true;
				case 333:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeTrollHide", 1, 3141, "defeated_bonemass", Category.Food);
					<>1__state = 334;
					return true;
				case 334:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeWolf", 1, 765, "defeated_bonemass", Category.Food);
					<>1__state = 335;
					return true;
				case 335:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Club", 1, 99, "defeated_bonemass", Category.Weapons);
					<>1__state = 336;
					return true;
				case 336:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CookedWolfMeat", 1, 420, "defeated_bonemass", Category.Food);
					<>1__state = 337;
					return true;
				case 337:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Crystal", 20, 120, "defeated_bonemass", Category.Materials);
					<>1__state = 338;
					return true;
				case 338:
					<>1__state = -1;
					<>2__current = new TradeItemDef("DragonEgg", 1, 8437, "defeated_bonemass", Category.Materials);
					<>1__state = 339;
					return true;
				case 339:
					<>1__state = -1;
					<>2__current = new TradeItemDef("DragonTear", 1, 4500, "defeated_bonemass", Category.Materials);
					<>1__state = 340;
					return true;
				case 340:
					<>1__state = -1;
					<>2__current = new TradeItemDef("DustEpic", 1, 96, "defeated_bonemass");
					<>1__state = 341;
					return true;
				case 341:
					<>1__state = -1;
					<>2__current = new TradeItemDef("EssenceEpic", 1, 96, "defeated_bonemass");
					<>1__state = 342;
					return true;
				case 342:
					<>1__state = -1;
					<>2__current = new TradeItemDef("EtchedRunestoneEpic", 1, 124, "defeated_bonemass");
					<>1__state = 343;
					return true;
				case 343:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Eyescream", 1, 342, "defeated_bonemass", Category.Food);
					<>1__state = 344;
					return true;
				case 344:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FeastMountains", 1, 2052, "defeated_bonemass", Category.Food);
					<>1__state = 345;
					return true;
				case 345:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish6", 20, 189, "defeated_bonemass", Category.Food);
					<>1__state = 346;
					return true;
				case 346:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish7", 20, 168, "defeated_bonemass", Category.Food);
					<>1__state = 347;
					return true;
				case 347:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishingBaitCave", 50, 125, "defeated_bonemass", Category.Food);
					<>1__state = 348;
					return true;
				case 348:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FistFenrirClaw", 1, 5436, "defeated_bonemass", Category.Weapons);
					<>1__state = 349;
					return true;
				case 349:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FreezeGland", 20, 192, "defeated_bonemass", Category.Materials);
					<>1__state = 350;
					return true;
				case 350:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetBronze", 1, 2704, "defeated_bonemass", Category.Armor);
					<>1__state = 351;
					return true;
				case 351:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetDrake", 1, 1260, "defeated_bonemass", Category.Armor);
					<>1__state = 352;
					return true;
				case 352:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetFenring", 1, 1350, "defeated_bonemass", Category.Armor);
					<>1__state = 353;
					return true;
				case 353:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetFishingHat", 1, 1093, "defeated_bonemass", Category.Food);
					<>1__state = 354;
					return true;
				case 354:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetIron", 1, 25641, "defeated_bonemass", Category.Armor);
					<>1__state = 355;
					return true;
				case 355:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetLeather", 1, 445, "defeated_bonemass", Category.Armor);
					<>1__state = 356;
					return true;
				case 356:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetRoot", 1, 8383, "defeated_bonemass", Category.Armor);
					<>1__state = 357;
					return true;
				case 357:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetTrollLeather", 1, 2079, "defeated_bonemass", Category.Armor);
					<>1__state = 358;
					return true;
				case 358:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetYule", 1, 162, "defeated_bonemass", Category.Armor);
					<>1__state = 359;
					return true;
				case 359:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeButcher", 1, 850, "defeated_bonemass", Category.Weapons);
					<>1__state = 360;
					return true;
				case 360:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeChitin", 1, 13828, "defeated_bonemass", Category.Weapons);
					<>1__state = 361;
					return true;
				case 361:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeCopper", 1, 1642, "defeated_bonemass", Category.Weapons);
					<>1__state = 362;
					return true;
				case 362:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeFlint", 1, 229, "defeated_bonemass", Category.Weapons);
					<>1__state = 363;
					return true;
				case 363:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeSilver", 1, 3435, "defeated_bonemass", Category.Weapons);
					<>1__state = 364;
					return true;
				case 364:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeWood", 1, 616, "defeated_bonemass", Category.Weapons);
					<>1__state = 365;
					return true;
				case 365:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Lantern", 1, 828, "defeated_bonemass", Category.Weapons);
					<>1__state = 366;
					return true;
				case 366:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceBronze", 1, 3168, "defeated_bonemass", Category.Weapons);
					<>1__state = 367;
					return true;
				case 367:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceIron", 1, 19156, "defeated_bonemass", Category.Weapons);
					<>1__state = 368;
					return true;
				case 368:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceSilver", 1, 15172, "defeated_bonemass", Category.Weapons);
					<>1__state = 369;
					return true;
				case 369:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceWood", 1, 616, "defeated_bonemass", Category.Weapons);
					<>1__state = 370;
					return true;
				case 370:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseFrostResist", 10, 3969, "defeated_bonemass", Category.Consumables);
					<>1__state = 371;
					return true;
				case 371:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseTamer", 1, 2169, "defeated_bonemass", Category.Consumables);
					<>1__state = 372;
					return true;
				case 372:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadFrostResist", 10, 720, "defeated_bonemass", Category.Consumables);
					<>1__state = 373;
					return true;
				case 373:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadHasty", 10, 810, "defeated_bonemass", Category.Consumables);
					<>1__state = 374;
					return true;
				case 374:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadLightfoot", 10, 810, "defeated_bonemass", Category.Consumables);
					<>1__state = 375;
					return true;
				case 375:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Obsidian", 20, 84, "defeated_bonemass", Category.Materials);
					<>1__state = 376;
					return true;
				case 376:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Onion", 1, 105, "defeated_bonemass", Category.Food);
					<>1__state = 377;
					return true;
				case 377:
					<>1__state = -1;
					<>2__current = new TradeItemDef("OnionSeeds", 20, 42, "defeated_bonemass", Category.Food);
					<>1__state = 378;
					return true;
				case 378:
					<>1__state = -1;
					<>2__current = new TradeItemDef("OnionSoup", 1, 450, "defeated_bonemass", Category.Food);
					<>1__state = 379;
					return true;
				case 379:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ReagentEpic", 1, 96, "defeated_bonemass");
					<>1__state = 380;
					return true;
				case 380:
					<>1__state = -1;
					<>2__current = new TradeItemDef("RunestoneEpic", 1, 124, "defeated_bonemass");
					<>1__state = 381;
					return true;
				case 381:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Scythe", 1, 1308, "defeated_bonemass", Category.Weapons);
					<>1__state = 382;
					return true;
				case 382:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShardEpic", 1, 96, "defeated_bonemass");
					<>1__state = 383;
					return true;
				case 383:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBanded", 1, 4855, "defeated_bonemass", Category.Armor);
					<>1__state = 384;
					return true;
				case 384:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBoneTower", 1, 625, "defeated_bonemass", Category.Armor);
					<>1__state = 385;
					return true;
				case 385:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBronzeBuckler", 1, 3294, "defeated_bonemass", Category.Armor);
					<>1__state = 386;
					return true;
				case 386:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldIronBuckler", 1, 9202, "defeated_bonemass", Category.Armor);
					<>1__state = 387;
					return true;
				case 387:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldIronSquare", 1, 6286, "defeated_bonemass", Category.Armor);
					<>1__state = 388;
					return true;
				case 388:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldIronTower", 1, 10260, "defeated_bonemass", Category.Armor);
					<>1__state = 389;
					return true;
				case 389:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldSerpentscale", 1, 7296, "defeated_bonemass", Category.Armor);
					<>1__state = 390;
					return true;
				case 390:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldSilver", 1, 2328, "defeated_bonemass", Category.Armor);
					<>1__state = 391;
					return true;
				case 391:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldWood", 1, 355, "defeated_bonemass", Category.Armor);
					<>1__state = 392;
					return true;
				case 392:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldWoodTower", 1, 342, "defeated_bonemass", Category.Armor);
					<>1__state = 393;
					return true;
				case 393:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Silver", 15, 180, "defeated_bonemass", Category.Materials);
					<>1__state = 394;
					return true;
				case 394:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SilverOre", 1, 132, "defeated_bonemass", Category.Materials);
					<>1__state = 395;
					return true;
				case 395:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SilverRing", 1, 204, "defeated_bonemass", Category.Armor);
					<>1__state = 396;
					return true;
				case 396:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SledgeIron", 1, 55989, "defeated_bonemass", Category.Weapons);
					<>1__state = 397;
					return true;
				case 397:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SledgeStagbreaker", 1, 3588, "defeated_bonemass", Category.Weapons);
					<>1__state = 398;
					return true;
				case 398:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SledgeWood", 1, 801, "defeated_bonemass", Category.Weapons);
					<>1__state = 399;
					return true;
				case 399:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearBronze", 1, 2497, "defeated_bonemass", Category.Weapons);
					<>1__state = 400;
					return true;
				case 400:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearChitin", 1, 21019, "defeated_bonemass", Category.Weapons);
					<>1__state = 401;
					return true;
				case 401:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearElderbark", 1, 13689, "defeated_bonemass", Category.Weapons);
					<>1__state = 402;
					return true;
				case 402:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearFlint", 1, 463, "defeated_bonemass", Category.Weapons);
					<>1__state = 403;
					return true;
				case 403:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearWolfFang", 1, 1942, "defeated_bonemass", Category.Weapons);
					<>1__state = 404;
					return true;
				case 404:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SpearWood", 1, 616, "defeated_bonemass", Category.Weapons);
					<>1__state = 405;
					return true;
				case 405:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordBronze", 1, 3042, "defeated_bonemass", Category.Weapons);
					<>1__state = 406;
					return true;
				case 406:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordIron", 1, 19053, "defeated_bonemass", Category.Weapons);
					<>1__state = 407;
					return true;
				case 407:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordSilver", 1, 12232, "defeated_bonemass", Category.Weapons);
					<>1__state = 408;
					return true;
				case 408:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordWood", 1, 616, "defeated_bonemass", Category.Weapons);
					<>1__state = 409;
					return true;
				case 409:
					<>1__state = -1;
					<>2__current = new TradeItemDef("THSwordWood", 1, 801, "defeated_bonemass", Category.Weapons);
					<>1__state = 410;
					return true;
				case 410:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Thunderstone", 10, 990, "defeated_bonemass", Category.Materials);
					<>1__state = 411;
					return true;
				case 411:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TorchMist", 1, 156, "defeated_bonemass", Category.Weapons);
					<>1__state = 412;
					return true;
				case 412:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketChitinSwim", 1, 4860, "defeated_bonemass", Category.Armor);
					<>1__state = 413;
					return true;
				case 413:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketSilverDamage", 1, 1584, "defeated_bonemass", Category.Armor);
					<>1__state = 414;
					return true;
				case 414:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketSilverResist", 1, 1794, "defeated_bonemass", Category.Armor);
					<>1__state = 415;
					return true;
				case 415:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyCultist", 1, 438, "defeated_bonemass");
					<>1__state = 416;
					return true;
				case 416:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyFenring", 1, 540, "defeated_bonemass");
					<>1__state = 417;
					return true;
				case 417:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyFrostTroll", 1, 877, "defeated_bonemass");
					<>1__state = 418;
					return true;
				case 418:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyHare", 1, 337, "defeated_bonemass");
					<>1__state = 419;
					return true;
				case 419:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyHatchling", 1, 405, "defeated_bonemass");
					<>1__state = 420;
					return true;
				case 420:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophySGolem", 1, 1267, "defeated_bonemass");
					<>1__state = 421;
					return true;
				case 421:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophySerpent", 1, 1121, "defeated_bonemass");
					<>1__state = 422;
					return true;
				case 422:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyUlv", 1, 472, "defeated_bonemass");
					<>1__state = 423;
					return true;
				case 423:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyWolf", 1, 303, "defeated_bonemass");
					<>1__state = 424;
					return true;
				case 424:
					<>1__state = -1;
					<>2__current = new TradeItemDef("WolfClaw", 20, 144, "defeated_bonemass", Category.Materials);
					<>1__state = 425;
					return true;
				case 425:
					<>1__state = -1;
					<>2__current = new TradeItemDef("WolfFang", 20, 84, "defeated_bonemass", Category.Materials);
					<>1__state = 426;
					return true;
				case 426:
					<>1__state = -1;
					<>2__current = new TradeItemDef("WolfJerky", 1, 540, "defeated_bonemass", Category.Food);
					<>1__state = 427;
					return true;
				case 427:
					<>1__state = -1;
					<>2__current = new TradeItemDef("WolfMeat", 1, 105, "defeated_bonemass", Category.Food);
					<>1__state = 428;
					return true;
				case 428:
					<>1__state = -1;
					<>2__current = new TradeItemDef("WolfMeatSkewer", 1, 210, "defeated_bonemass", Category.Food);
					<>1__state = 429;
					return true;
				case 429:
					<>1__state = -1;
					<>2__current = new TradeItemDef("WolfPelt", 20, 108, "defeated_bonemass", Category.Materials);
					<>1__state = 430;
					return true;
				case 430:
					<>1__state = -1;
					<>2__current = new TradeItemDef("YmirRemains", 5, 1296, "defeated_bonemass", Category.Materials);
					<>1__state = 431;
					return true;
				case 431:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBerserkerChest", 1, 2376, "defeated_dragon", Category.Armor);
					<>1__state = 432;
					return true;
				case 432:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBerserkerLegs", 1, 2232, "defeated_dragon", Category.Armor);
					<>1__state = 433;
					return true;
				case 433:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorPaddedCuirass", 1, 13397, "defeated_dragon", Category.Armor);
					<>1__state = 434;
					return true;
				case 434:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorPaddedGreaves", 1, 13397, "defeated_dragon", Category.Armor);
					<>1__state = 435;
					return true;
				case 435:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowNeedle", 20, 852, "defeated_dragon", Category.Ammo);
					<>1__state = 436;
					return true;
				case 436:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirBlackmetal", 1, 21340, "defeated_dragon", Category.Weapons);
					<>1__state = 437;
					return true;
				case 437:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeBlackMetal", 1, 11256, "defeated_dragon", Category.Weapons);
					<>1__state = 438;
					return true;
				case 438:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BBH_PlainsLox_Quiver", 1, 7814, "defeated_dragon", Category.Weapons);
					<>1__state = 439;
					return true;
				case 439:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Barley", 1, 168, "defeated_dragon", Category.Food);
					<>1__state = 440;
					return true;
				case 440:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BarleyFlour", 1, 201, "defeated_dragon", Category.Food);
					<>1__state = 441;
					return true;
				case 441:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BarleyWine", 1, 1176, "defeated_dragon", Category.Food);
					<>1__state = 442;
					return true;
				case 442:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BarleyWineBase", 10, 2898, "defeated_dragon", Category.Food);
					<>1__state = 443;
					return true;
				case 443:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BattleaxeBlackmetal", 1, 3120, "defeated_dragon", Category.Weapons);
					<>1__state = 444;
					return true;
				case 444:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BjornHide", 20, 192, "defeated_dragon", Category.Materials);
					<>1__state = 445;
					return true;
				case 445:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BjornMeat", 1, 168, "defeated_dragon", Category.Food);
					<>1__state = 446;
					return true;
				case 446:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BjornPaw", 20, 153, "defeated_dragon", Category.Materials);
					<>1__state = 447;
					return true;
				case 447:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BlackMetal", 15, 336, "defeated_dragon", Category.Materials);
					<>1__state = 448;
					return true;
				case 448:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BlackMetalScrap", 15, 240, "defeated_dragon", Category.Materials);
					<>1__state = 449;
					return true;
				case 449:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BloodPudding", 1, 2148, "defeated_dragon", Category.Food);
					<>1__state = 450;
					return true;
				case 450:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BombBlob_Tar", 20, 576, "defeated_dragon", Category.Ammo);
					<>1__state = 451;
					return true;
				case 451:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Bread", 1, 1324, "defeated_dragon", Category.Food);
					<>1__state = 452;
					return true;
				case 452:
					<>1__state = -1;
					<>2__current = new TradeItemDef("BreadDough", 10, 288, "defeated_dragon", Category.Food);
					<>1__state = 453;
					return true;
				case 453:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeFeather", 1, 16768, "defeated_dragon", Category.Food);
					<>1__state = 454;
					return true;
				case 454:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeLinen", 1, 4100, "defeated_dragon", Category.Food);
					<>1__state = 455;
					return true;
				case 455:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CapeLox", 1, 4641, "defeated_dragon", Category.Food);
					<>1__state = 456;
					return true;
				case 456:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Cloudberry", 1, 96, "defeated_dragon", Category.Food);
					<>1__state = 457;
					return true;
				case 457:
					<>1__state = -1;
					<>2__current = new TradeItemDef("CookedLoxMeat", 1, 1320, "defeated_dragon", Category.Food);
					<>1__state = 458;
					return true;
				case 458:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FeastPlains", 1, 7392, "defeated_dragon", Category.Food);
					<>1__state = 459;
					return true;
				case 459:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FireworksRocket_Blue", 20, 172, "defeated_dragon");
					<>1__state = 460;
					return true;
				case 460:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FireworksRocket_Cyan", 20, 172, "defeated_dragon");
					<>1__state = 461;
					return true;
				case 461:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FireworksRocket_Green", 20, 172, "defeated_dragon");
					<>1__state = 462;
					return true;
				case 462:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FireworksRocket_Purple", 20, 172, "defeated_dragon");
					<>1__state = 463;
					return true;
				case 463:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FireworksRocket_Red", 20, 172, "defeated_dragon");
					<>1__state = 464;
					return true;
				case 464:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FireworksRocket_White", 20, 172, "defeated_dragon");
					<>1__state = 465;
					return true;
				case 465:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FireworksRocket_Yellow", 20, 172, "defeated_dragon");
					<>1__state = 466;
					return true;
				case 466:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish5", 20, 840, "defeated_dragon", Category.Food);
					<>1__state = 467;
					return true;
				case 467:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Fish8", 20, 588, "defeated_dragon", Category.Food);
					<>1__state = 468;
					return true;
				case 468:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishAndBread", 1, 923, "defeated_dragon", Category.Food);
					<>1__state = 469;
					return true;
				case 469:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishWraps", 1, 2316, "defeated_dragon", Category.Food);
					<>1__state = 470;
					return true;
				case 470:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FishingBaitPlains", 50, 201, "defeated_dragon", Category.Food);
					<>1__state = 471;
					return true;
				case 471:
					<>1__state = -1;
					<>2__current = new TradeItemDef("FistBjornClaw", 1, 1008, "defeated_dragon", Category.Weapons);
					<>1__state = 472;
					return true;
				case 472:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Flax", 1, 192, "defeated_dragon", Category.Food);
					<>1__state = 473;
					return true;
				case 473:
					<>1__state = -1;
					<>2__current = new TradeItemDef("GoblinTotem", 10, 873, "defeated_dragon");
					<>1__state = 474;
					return true;
				case 474:
					<>1__state = -1;
					<>2__current = new TradeItemDef("GoldRubyRing", 1, 547, "defeated_dragon");
					<>1__state = 475;
					return true;
				case 475:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetBerserkerHood", 1, 2088, "defeated_dragon", Category.Armor);
					<>1__state = 476;
					return true;
				case 476:
					<>1__state = -1;
					<>2__current = new TradeItemDef("HelmetPadded", 1, 11923, "defeated_dragon", Category.Armor);
					<>1__state = 477;
					return true;
				case 477:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeBlackMetal", 1, 1680, "defeated_dragon", Category.Weapons);
					<>1__state = 478;
					return true;
				case 478:
					<>1__state = -1;
					<>2__current = new TradeItemDef("KnifeSkollAndHati", 1, 10680, "defeated_dragon", Category.Weapons);
					<>1__state = 479;
					return true;
				case 479:
					<>1__state = -1;
					<>2__current = new TradeItemDef("LinenThread", 20, 184, "defeated_dragon");
					<>1__state = 480;
					return true;
				case 480:
					<>1__state = -1;
					<>2__current = new TradeItemDef("LoxMeat", 1, 201, "defeated_dragon", Category.Food);
					<>1__state = 481;
					return true;
				case 481:
					<>1__state = -1;
					<>2__current = new TradeItemDef("LoxPelt", 20, 537, "defeated_dragon", Category.Materials);
					<>1__state = 482;
					return true;
				case 482:
					<>1__state = -1;
					<>2__current = new TradeItemDef("LoxPie", 1, 2256, "defeated_dragon", Category.Food);
					<>1__state = 483;
					return true;
				case 483:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MaceNeedle", 1, 14628, "defeated_dragon", Category.Weapons);
					<>1__state = 484;
					return true;
				case 484:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseBugRepellent", 1, 2318, "defeated_dragon", Category.Consumables);
					<>1__state = 485;
					return true;
				case 485:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBaseBzerker", 1, 3801, "defeated_dragon", Category.Consumables);
					<>1__state = 486;
					return true;
				case 486:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MeadBzerker", 10, 1584, "defeated_dragon", Category.Consumables);
					<>1__state = 487;
					return true;
				case 487:
					<>1__state = -1;
					<>2__current = new TradeItemDef("MushroomBzerker", 1, 420, "defeated_dragon", Category.Food);
					<>1__state = 488;
					return true;
				case 488:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Needle", 20, 134, "defeated_dragon");
					<>1__state = 489;
					return true;
				case 489:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SaddleLox", 1, 1612, "defeated_dragon", Category.Armor);
					<>1__state = 490;
					return true;
				case 490:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ScytheHandle", 1, 432, "defeated_dragon", Category.Weapons);
					<>1__state = 491;
					return true;
				case 491:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBlackmetal", 1, 6706, "defeated_dragon", Category.Armor);
					<>1__state = 492;
					return true;
				case 492:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ShieldBlackmetalTower", 1, 8931, "defeated_dragon", Category.Armor);
					<>1__state = 493;
					return true;
				case 493:
					<>1__state = -1;
					<>2__current = new TradeItemDef("SwordBlackmetal", 1, 10920, "defeated_dragon", Category.Weapons);
					<>1__state = 494;
					return true;
				case 494:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Tar", 20, 172, "defeated_dragon", Category.Materials);
					<>1__state = 495;
					return true;
				case 495:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketBlackDamageHealth", 1, 5126, "defeated_dragon", Category.Armor);
					<>1__state = 496;
					return true;
				case 496:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrinketBlackStamina", 1, 3801, "defeated_dragon", Category.Armor);
					<>1__state = 497;
					return true;
				case 497:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyBjorn", 1, 1404, "defeated_dragon");
					<>1__state = 498;
					return true;
				case 498:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyBjornUndead", 1, 1620, "defeated_dragon");
					<>1__state = 499;
					return true;
				case 499:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyDeathsquito", 1, 648, "defeated_dragon");
					<>1__state = 500;
					return true;
				case 500:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyGoblin", 1, 594, "defeated_dragon");
					<>1__state = 501;
					return true;
				case 501:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyGoblinBrute", 1, 1716, "defeated_dragon");
					<>1__state = 502;
					return true;
				case 502:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyGoblinShaman", 1, 1560, "defeated_dragon");
					<>1__state = 503;
					return true;
				case 503:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyGrowth", 1, 2184, "defeated_dragon");
					<>1__state = 504;
					return true;
				case 504:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TrophyLox", 1, 2340, "defeated_dragon");
					<>1__state = 505;
					return true;
				case 505:
					<>1__state = -1;
					<>2__current = new TradeItemDef("TurretBolt", 1, 96, "defeated_dragon");
					<>1__state = 506;
					return true;
				case 506:
					<>1__state = -1;
					<>2__current = new TradeItemDef("YagluthDrop", 1, 15000, "defeated_dragon");
					<>1__state = 507;
					return true;
				case 507:
					<>1__state = -1;
					<>2__current = new TradeItemDef("Andvaranaut", 1, 2000, "defeated_goblinking");
					<>1__state = 508;
					return true;
				case 508:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBerserkerChest", 1, 19008, "defeated_goblinking", Category.Armor);
					<>1__state = 509;
					return true;
				case 509:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBerserkerLegs", 1, 17856, "defeated_goblinking", Category.Armor);
					<>1__state = 510;
					return true;
				case 510:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBronzeChest", 1, 4808, "defeated_goblinking", Category.Armor);
					<>1__state = 511;
					return true;
				case 511:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorBronzeLegs", 1, 4808, "defeated_goblinking", Category.Armor);
					<>1__state = 512;
					return true;
				case 512:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorCarapaceChest", 1, 24813, "defeated_goblinking", Category.Armor);
					<>1__state = 513;
					return true;
				case 513:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorCarapaceLegs", 1, 24813, "defeated_goblinking", Category.Armor);
					<>1__state = 514;
					return true;
				case 514:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorFenringChest", 1, 11880, "defeated_goblinking", Category.Armor);
					<>1__state = 515;
					return true;
				case 515:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorFenringLegs", 1, 11880, "defeated_goblinking", Category.Armor);
					<>1__state = 516;
					return true;
				case 516:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorIronChest", 1, 45584, "defeated_goblinking", Category.Armor);
					<>1__state = 517;
					return true;
				case 517:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorIronLegs", 1, 45584, "defeated_goblinking", Category.Armor);
					<>1__state = 518;
					return true;
				case 518:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherChest", 1, 792, "defeated_goblinking", Category.Armor);
					<>1__state = 519;
					return true;
				case 519:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorLeatherLegs", 1, 792, "defeated_goblinking", Category.Armor);
					<>1__state = 520;
					return true;
				case 520:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorMageChest", 1, 48288, "defeated_goblinking", Category.Armor);
					<>1__state = 521;
					return true;
				case 521:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorMageLegs", 1, 50232, "defeated_goblinking", Category.Armor);
					<>1__state = 522;
					return true;
				case 522:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorPaddedCuirass", 1, 107176, "defeated_goblinking", Category.Armor);
					<>1__state = 523;
					return true;
				case 523:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorPaddedGreaves", 1, 107176, "defeated_goblinking", Category.Armor);
					<>1__state = 524;
					return true;
				case 524:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsChest", 1, 400, "defeated_goblinking", Category.Armor);
					<>1__state = 525;
					return true;
				case 525:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRagsLegs", 1, 400, "defeated_goblinking", Category.Armor);
					<>1__state = 526;
					return true;
				case 526:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRootChest", 1, 14688, "defeated_goblinking", Category.Armor);
					<>1__state = 527;
					return true;
				case 527:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorRootLegs", 1, 14688, "defeated_goblinking", Category.Armor);
					<>1__state = 528;
					return true;
				case 528:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorTrollLeatherChest", 1, 3320, "defeated_goblinking", Category.Armor);
					<>1__state = 529;
					return true;
				case 529:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorTrollLeatherLegs", 1, 3320, "defeated_goblinking", Category.Armor);
					<>1__state = 530;
					return true;
				case 530:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorWolfChest", 1, 60408, "defeated_goblinking", Category.Armor);
					<>1__state = 531;
					return true;
				case 531:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArmorWolfLegs", 1, 61704, "defeated_goblinking", Category.Armor);
					<>1__state = 532;
					return true;
				case 532:
					<>1__state = -1;
					<>2__current = new TradeItemDef("ArrowCarapace", 20, 1780, "defeated_goblinking", Category.Ammo);
					<>1__state = 533;
					return true;
				case 533:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirBlackmetal", 1, 170720, "defeated_goblinking", Category.Weapons);
					<>1__state = 534;
					return true;
				case 534:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirBronze", 1, 7544, "defeated_goblinking", Category.Weapons);
					<>1__state = 535;
					return true;
				case 535:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirHimminAfl", 1, 44746, "defeated_goblinking", Category.Weapons);
					<>1__state = 536;
					return true;
				case 536:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirIron", 1, 66168, "defeated_goblinking", Category.Weapons);
					<>1__state = 537;
					return true;
				case 537:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AtgeirWood", 1, 1568, "defeated_goblinking", Category.Weapons);
					<>1__state = 538;
					return true;
				case 538:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeBlackMetal", 1, 90048, "defeated_goblinking", Category.Weapons);
					<>1__state = 539;
					return true;
				case 539:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeBronze", 1, 5496, "defeated_goblinking", Category.Weapons);
					<>1__state = 540;
					return true;
				case 540:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeFlint", 1, 432, "defeated_goblinking", Category.Weapons);
					<>1__state = 541;
					return true;
				case 541:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeIron", 1, 33840, "defeated_goblinking", Category.Weapons);
					<>1__state = 542;
					return true;
				case 542:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeJotunBane", 1, 34220, "defeated_goblinking", Category.Weapons);
					<>1__state = 543;
					return true;
				case 543:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeStone", 1, 240, "defeated_goblinking", Category.Weapons);
					<>1__state = 544;
					return true;
				case 544:
					<>1__state = -1;
					<>2__current = new TradeItemDef("AxeWood", 1, 1096, "defeated_goblinking", Category.Weapons);
					<>1__stat