Decompiled source of MoreGates v1.0.11

moregates.dll

Decompiled a year ago
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;
using Jotunn.Configs;
using Jotunn.Entities;
using Jotunn.Managers;
using Shared;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("HayzeWoodPack")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("HayzeWoodPack")]
[assembly: AssemblyCopyright("Copyright ©  2021")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("09bd6439-b47b-403b-8afa-f86d58a6b86f")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace Shared
{
	internal class AssetBundleHelper
	{
		public static AssetBundle GetAssetBundleFromResources(string fileName)
		{
			Assembly executingAssembly = Assembly.GetExecutingAssembly();
			string name = executingAssembly.GetManifestResourceNames().Single((string str) => str.EndsWith(fileName));
			using Stream stream = executingAssembly.GetManifestResourceStream(name);
			return AssetBundle.LoadFromStream(stream);
		}
	}
}
namespace MoreGates
{
	[BepInPlugin("hayze.Moregates", "More Gates", "1.0.10")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Mod : BaseUnityPlugin
	{
		private readonly Harmony harmony = new Harmony("hayze.Moregates");

		private readonly List<string> moreGatesList = new List<string>
		{
			"Assets/CustomItems/h_siegemod/gates/h_drawbridge01.prefab", "Assets/CustomItems/h_siegemod/gates/h_drawbridge02.prefab", "Assets/CustomItems/h_siegemod/gates/lift_gate.prefab", "Assets/CustomItems/h_siegemod/gates/lift_gate2.prefab", "Assets/CustomItems/h_siegemod/gates/Hayze_gate_01.prefab", "Assets/CustomItems/h_siegemod/gates/Hayze_gate_02.prefab", "Assets/CustomItems/h_siegemod/gates/Hayze_gate_03.prefab", "Assets/CustomItems/h_siegemod/gates/Hayze_gate_04.prefab", "Assets/CustomItems/h_siegemod/gates/Hayze_gate_05.prefab", "Assets/CustomItems/h_siegemod/gates/Hayze_gate_06.prefab",
			"Assets/CustomItems/h_siegemod/gates/h_door_01.prefab", "Assets/CustomItems/h_siegemod/gates/h_door_02.prefab", "Assets/CustomItems/h_siegemod/gates/h_door_03.prefab", "Assets/CustomItems/h_siegemod/gates/h_shutter_01.prefab", "Assets/CustomItems/h_siegemod/gates/h_trapdoor.prefab", "Assets/CustomItems/h_siegemod/gates/h_trapdoorbig.prefab", "Assets/CustomItems/h_siegemod/gates/h_trapdoor2.prefab", "Assets/CustomItems/h_siegemod/gates/h_trapdoorbig2.prefab", "Assets/CustomItems/h_siegemod/gates/Hayze_halfgate_01.prefab", "Assets/CustomItems/h_siegemod/gates/Hayze_halfgate_02.prefab",
			"Assets/CustomItems/h_siegemod/gates/hayzestake_01.prefab", "Assets/CustomItems/h_siegemod/gates/h_loglong26.prefab", "Assets/CustomItems/h_siegemod/gates/h_loglong45.prefab", "Assets/CustomItems/h_siegemod/gates/h_logshort26.prefab", "Assets/CustomItems/h_siegemod/gates/h_logshort45.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_01.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_02.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_03.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_04.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_05.prefab",
			"Assets/CustomItems/h_siegemod/gates/h_window_06.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_07.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_08.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_09.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_10.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_11.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_12.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_13.prefab", "Assets/CustomItems/h_siegemod/gates/h_window_14.prefab", "Assets/CustomItems/h_siegemod/gates/h_chain.prefab",
			"Assets/CustomItems/h_siegemod/gates/corewood_stack.prefab"
		};

		private void Awake()
		{
			RegisterPrefabs();
			harmony.PatchAll();
		}

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

		private string GetPrefabName(string filePath)
		{
			string text = filePath.Replace(".prefab", "");
			return text.Replace("Assets/CustomItems/h_siegemod/gates/", "");
		}

		private void RegisterPrefabs()
		{
			//IL_001a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0021: Expected O, but got Unknown
			//IL_0045: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0056: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0068: Expected O, but got Unknown
			//IL_006a: Unknown result type (might be due to invalid IL or missing references)
			//IL_006f: Unknown result type (might be due to invalid IL or missing references)
			//IL_007b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0084: Unknown result type (might be due to invalid IL or missing references)
			//IL_008d: Expected O, but got Unknown
			//IL_008f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0094: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b1: Expected O, but got Unknown
			//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bf: Expected O, but got Unknown
			//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00df: Expected O, but got Unknown
			//IL_0103: Unknown result type (might be due to invalid IL or missing references)
			//IL_0108: Unknown result type (might be due to invalid IL or missing references)
			//IL_0114: Unknown result type (might be due to invalid IL or missing references)
			//IL_011d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0126: Expected O, but got Unknown
			//IL_0128: Unknown result type (might be due to invalid IL or missing references)
			//IL_012d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0139: Unknown result type (might be due to invalid IL or missing references)
			//IL_0141: Unknown result type (might be due to invalid IL or missing references)
			//IL_014a: Expected O, but got Unknown
			//IL_014c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0151: Unknown result type (might be due to invalid IL or missing references)
			//IL_015d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0165: Unknown result type (might be due to invalid IL or missing references)
			//IL_016e: Expected O, but got Unknown
			//IL_0176: Unknown result type (might be due to invalid IL or missing references)
			//IL_017d: Expected O, but got Unknown
			//IL_0199: Unknown result type (might be due to invalid IL or missing references)
			//IL_01a0: Expected O, but got Unknown
			//IL_01c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_01c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_01d5: Unknown result type (might be due to invalid IL or missing references)
			//IL_01de: Unknown result type (might be due to invalid IL or missing references)
			//IL_01e7: Expected O, but got Unknown
			//IL_01e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_01ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0202: Unknown result type (might be due to invalid IL or missing references)
			//IL_020b: Expected O, but got Unknown
			//IL_020d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0212: Unknown result type (might be due to invalid IL or missing references)
			//IL_021e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0226: Unknown result type (might be due to invalid IL or missing references)
			//IL_022f: Expected O, but got Unknown
			//IL_0237: Unknown result type (might be due to invalid IL or missing references)
			//IL_023e: Expected O, but got Unknown
			//IL_025a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0261: Expected O, but got Unknown
			//IL_0285: Unknown result type (might be due to invalid IL or missing references)
			//IL_028a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0296: Unknown result type (might be due to invalid IL or missing references)
			//IL_029f: Unknown result type (might be due to invalid IL or missing references)
			//IL_02a8: Expected O, but got Unknown
			//IL_02aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_02af: Unknown result type (might be due to invalid IL or missing references)
			//IL_02bb: Unknown result type (might be due to invalid IL or missing references)
			//IL_02c3: Unknown result type (might be due to invalid IL or missing references)
			//IL_02cc: Expected O, but got Unknown
			//IL_02ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_02d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_02df: Unknown result type (might be due to invalid IL or missing references)
			//IL_02e7: Unknown result type (might be due to invalid IL or missing references)
			//IL_02f0: Expected O, but got Unknown
			//IL_02f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_02ff: Expected O, but got Unknown
			//IL_031b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0322: Expected O, but got Unknown
			//IL_0346: Unknown result type (might be due to invalid IL or missing references)
			//IL_034b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0357: Unknown result type (might be due to invalid IL or missing references)
			//IL_0360: Unknown result type (might be due to invalid IL or missing references)
			//IL_0369: Expected O, but got Unknown
			//IL_0371: Unknown result type (might be due to invalid IL or missing references)
			//IL_0378: Expected O, but got Unknown
			//IL_0394: Unknown result type (might be due to invalid IL or missing references)
			//IL_039b: Expected O, but got Unknown
			//IL_03bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_03c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_03d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_03d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_03e2: Expected O, but got Unknown
			//IL_03e4: Unknown result type (might be due to invalid IL or missing references)
			//IL_03e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_03f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_03fe: Unknown result type (might be due to invalid IL or missing references)
			//IL_0407: Expected O, but got Unknown
			//IL_0409: Unknown result type (might be due to invalid IL or missing references)
			//IL_040e: Unknown result type (might be due to invalid IL or missing references)
			//IL_041a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0423: Unknown result type (might be due to invalid IL or missing references)
			//IL_042c: Expected O, but got Unknown
			//IL_0434: Unknown result type (might be due to invalid IL or missing references)
			//IL_043b: Expected O, but got Unknown
			//IL_0457: Unknown result type (might be due to invalid IL or missing references)
			//IL_045e: Expected O, but got Unknown
			//IL_0482: Unknown result type (might be due to invalid IL or missing references)
			//IL_0487: Unknown result type (might be due to invalid IL or missing references)
			//IL_0493: Unknown result type (might be due to invalid IL or missing references)
			//IL_049c: Unknown result type (might be due to invalid IL or missing references)
			//IL_04a5: Expected O, but got Unknown
			//IL_04ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_04b4: Expected O, but got Unknown
			//IL_04d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_04d7: Expected O, but got Unknown
			//IL_04fb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0500: Unknown result type (might be due to invalid IL or missing references)
			//IL_050c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0515: Unknown result type (might be due to invalid IL or missing references)
			//IL_051e: Expected O, but got Unknown
			//IL_0526: Unknown result type (might be due to invalid IL or missing references)
			//IL_052d: Expected O, but got Unknown
			//IL_0549: Unknown result type (might be due to invalid IL or missing references)
			//IL_0550: Expected O, but got Unknown
			//IL_0574: Unknown result type (might be due to invalid IL or missing references)
			//IL_0579: Unknown result type (might be due to invalid IL or missing references)
			//IL_0585: Unknown result type (might be due to invalid IL or missing references)
			//IL_058e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0597: Expected O, but got Unknown
			//IL_059f: Unknown result type (might be due to invalid IL or missing references)
			//IL_05a6: Expected O, but got Unknown
			//IL_05c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_05c9: Expected O, but got Unknown
			//IL_05ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_05f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_05fe: Unknown result type (might be due to invalid IL or missing references)
			//IL_0607: Unknown result type (might be due to invalid IL or missing references)
			//IL_0610: Expected O, but got Unknown
			//IL_0612: Unknown result type (might be due to invalid IL or missing references)
			//IL_0617: Unknown result type (might be due to invalid IL or missing references)
			//IL_0623: Unknown result type (might be due to invalid IL or missing references)
			//IL_062b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0634: Expected O, but got Unknown
			//IL_063c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0643: Expected O, but got Unknown
			//IL_065f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0666: Expected O, but got Unknown
			//IL_068a: Unknown result type (might be due to invalid IL or missing references)
			//IL_068f: Unknown result type (might be due to invalid IL or missing references)
			//IL_069b: Unknown result type (might be due to invalid IL or missing references)
			//IL_06a3: Unknown result type (might be due to invalid IL or missing references)
			//IL_06ac: Expected O, but got Unknown
			//IL_06b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_06bb: Expected O, but got Unknown
			//IL_06d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_06de: Expected O, but got Unknown
			//IL_0702: Unknown result type (might be due to invalid IL or missing references)
			//IL_0707: Unknown result type (might be due to invalid IL or missing references)
			//IL_0713: Unknown result type (might be due to invalid IL or missing references)
			//IL_071b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0724: Expected O, but got Unknown
			//IL_072c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0733: Expected O, but got Unknown
			//IL_074f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0756: Expected O, but got Unknown
			//IL_077a: Unknown result type (might be due to invalid IL or missing references)
			//IL_077f: Unknown result type (might be due to invalid IL or missing references)
			//IL_078b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0793: Unknown result type (might be due to invalid IL or missing references)
			//IL_079c: Expected O, but got Unknown
			//IL_07a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_07ab: Expected O, but got Unknown
			//IL_07c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_07ce: Expected O, but got Unknown
			//IL_07ff: Unknown result type (might be due to invalid IL or missing references)
			//IL_0804: Unknown result type (might be due to invalid IL or missing references)
			//IL_0810: Unknown result type (might be due to invalid IL or missing references)
			//IL_0818: Unknown result type (might be due to invalid IL or missing references)
			//IL_0821: Expected O, but got Unknown
			//IL_0829: Unknown result type (might be due to invalid IL or missing references)
			//IL_0830: Expected O, but got Unknown
			//IL_084c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0853: Expected O, but got Unknown
			//IL_0877: Unknown result type (might be due to invalid IL or missing references)
			//IL_087c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0888: Unknown result type (might be due to invalid IL or missing references)
			//IL_0890: Unknown result type (might be due to invalid IL or missing references)
			//IL_0899: Expected O, but got Unknown
			//IL_08a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_08a8: Expected O, but got Unknown
			//IL_08c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_08cb: Expected O, but got Unknown
			//IL_08ef: Unknown result type (might be due to invalid IL or missing references)
			//IL_08f4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0900: Unknown result type (might be due to invalid IL or missing references)
			//IL_0909: Unknown result type (might be due to invalid IL or missing references)
			//IL_0912: Expected O, but got Unknown
			//IL_091a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0921: Expected O, but got Unknown
			//IL_093d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0944: Expected O, but got Unknown
			//IL_0968: Unknown result type (might be due to invalid IL or missing references)
			//IL_096d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0979: Unknown result type (might be due to invalid IL or missing references)
			//IL_0981: Unknown result type (might be due to invalid IL or missing references)
			//IL_098a: Expected O, but got Unknown
			//IL_098c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0991: Unknown result type (might be due to invalid IL or missing references)
			//IL_099d: Unknown result type (might be due to invalid IL or missing references)
			//IL_09a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_09ae: Expected O, but got Unknown
			//IL_09b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_09bd: Expected O, but got Unknown
			//IL_09d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_09e0: Expected O, but got Unknown
			//IL_0a04: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a09: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a15: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a1e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a27: Expected O, but got Unknown
			//IL_0a29: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a2e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a3a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a42: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a4b: Expected O, but got Unknown
			//IL_0a53: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a5a: Expected O, but got Unknown
			//IL_0a76: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a7d: Expected O, but got Unknown
			//IL_0aa1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aa6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ab2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aba: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ac3: Expected O, but got Unknown
			//IL_0acb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ad2: Expected O, but got Unknown
			//IL_0aee: Unknown result type (might be due to invalid IL or missing references)
			//IL_0af5: Expected O, but got Unknown
			//IL_0b19: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b1e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b2a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b32: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b3b: Expected O, but got Unknown
			//IL_0b43: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b4a: Expected O, but got Unknown
			//IL_0b66: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b6d: Expected O, but got Unknown
			//IL_0b91: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b96: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ba2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bab: Expected O, but got Unknown
			//IL_0bad: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bb2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bbe: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bc7: Expected O, but got Unknown
			//IL_0bcf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bd6: Expected O, but got Unknown
			//IL_0bf2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bf9: Expected O, but got Unknown
			//IL_0c1d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c22: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c2e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c36: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c3f: Expected O, but got Unknown
			//IL_0c47: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c4e: Expected O, but got Unknown
			//IL_0c6a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c71: Expected O, but got Unknown
			//IL_0c95: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c9a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ca6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cae: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cb7: Expected O, but got Unknown
			//IL_0cbf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cc6: Expected O, but got Unknown
			//IL_0ce2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ce9: Expected O, but got Unknown
			//IL_0d0d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d12: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d1e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d26: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d2f: Expected O, but got Unknown
			//IL_0d37: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d3e: Expected O, but got Unknown
			//IL_0d5a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d61: Expected O, but got Unknown
			//IL_0d85: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d8a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d96: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d9e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0da7: Expected O, but got Unknown
			//IL_0daf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0db6: Expected O, but got Unknown
			//IL_0dd2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dd9: Expected O, but got Unknown
			//IL_0dfd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e02: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e0e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e17: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e20: Expected O, but got Unknown
			//IL_0e28: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e2f: Expected O, but got Unknown
			//IL_0e4b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e52: Expected O, but got Unknown
			//IL_0e76: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e7b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e87: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e90: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e99: Expected O, but got Unknown
			//IL_0ea1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ea8: Expected O, but got Unknown
			//IL_0ec4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ecb: Expected O, but got Unknown
			//IL_0eef: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ef4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f00: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f09: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f12: Expected O, but got Unknown
			//IL_0f1a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f21: Expected O, but got Unknown
			//IL_0f3d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f44: Expected O, but got Unknown
			//IL_0f68: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f6d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f79: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f82: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f8b: Expected O, but got Unknown
			//IL_0f93: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f9a: Expected O, but got Unknown
			//IL_0fb6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fbd: Expected O, but got Unknown
			//IL_0fe1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fe6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ff2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ffb: Unknown result type (might be due to invalid IL or missing references)
			//IL_1004: Expected O, but got Unknown
			//IL_100c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1013: Expected O, but got Unknown
			//IL_102f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1036: Expected O, but got Unknown
			//IL_105a: Unknown result type (might be due to invalid IL or missing references)
			//IL_105f: Unknown result type (might be due to invalid IL or missing references)
			//IL_106b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1074: Unknown result type (might be due to invalid IL or missing references)
			//IL_107d: Expected O, but got Unknown
			//IL_1085: Unknown result type (might be due to invalid IL or missing references)
			//IL_108c: Expected O, but got Unknown
			//IL_10a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_10af: Expected O, but got Unknown
			//IL_10d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_10d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_10e4: Unknown result type (might be due to invalid IL or missing references)
			//IL_10ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_10f6: Expected O, but got Unknown
			//IL_10fe: Unknown result type (might be due to invalid IL or missing references)
			//IL_1105: Expected O, but got Unknown
			//IL_1121: Unknown result type (might be due to invalid IL or missing references)
			//IL_1128: Expected O, but got Unknown
			//IL_114c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1151: Unknown result type (might be due to invalid IL or missing references)
			//IL_115d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1166: Unknown result type (might be due to invalid IL or missing references)
			//IL_116f: Expected O, but got Unknown
			//IL_1177: Unknown result type (might be due to invalid IL or missing references)
			//IL_117e: Expected O, but got Unknown
			//IL_119a: Unknown result type (might be due to invalid IL or missing references)
			//IL_11a1: Expected O, but got Unknown
			//IL_11c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_11ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_11d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_11df: Unknown result type (might be due to invalid IL or missing references)
			//IL_11e8: Expected O, but got Unknown
			//IL_11f0: Unknown result type (might be due to invalid IL or missing references)
			//IL_11f7: Expected O, but got Unknown
			//IL_1213: Unknown result type (might be due to invalid IL or missing references)
			//IL_121a: Expected O, but got Unknown
			//IL_123e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1243: Unknown result type (might be due to invalid IL or missing references)
			//IL_124f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1258: Unknown result type (might be due to invalid IL or missing references)
			//IL_1261: Expected O, but got Unknown
			//IL_1269: Unknown result type (might be due to invalid IL or missing references)
			//IL_1270: Expected O, but got Unknown
			//IL_128c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1293: Expected O, but got Unknown
			//IL_12b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_12bc: Unknown result type (might be due to invalid IL or missing references)
			//IL_12c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_12d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_12da: Expected O, but got Unknown
			//IL_12e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_12e9: Expected O, but got Unknown
			//IL_1305: Unknown result type (might be due to invalid IL or missing references)
			//IL_130c: Expected O, but got Unknown
			//IL_1330: Unknown result type (might be due to invalid IL or missing references)
			//IL_1335: Unknown result type (might be due to invalid IL or missing references)
			//IL_1341: Unknown result type (might be due to invalid IL or missing references)
			//IL_134a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1353: Expected O, but got Unknown
			//IL_135b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1362: Expected O, but got Unknown
			//IL_137e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1385: Expected O, but got Unknown
			//IL_13a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_13ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_13ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_13c3: Unknown result type (might be due to invalid IL or missing references)
			//IL_13cc: Expected O, but got Unknown
			//IL_13d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_13db: Expected O, but got Unknown
			//IL_13f7: Unknown result type (might be due to invalid IL or missing references)
			//IL_13fe: Expected O, but got Unknown
			//IL_1422: Unknown result type (might be due to invalid IL or missing references)
			//IL_1427: Unknown result type (might be due to invalid IL or missing references)
			//IL_1433: Unknown result type (might be due to invalid IL or missing references)
			//IL_143c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1445: Expected O, but got Unknown
			//IL_144d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1454: Expected O, but got Unknown
			//IL_1470: Unknown result type (might be due to invalid IL or missing references)
			//IL_1477: Expected O, but got Unknown
			//IL_149b: Unknown result type (might be due to invalid IL or missing references)
			//IL_14a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_14ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_14b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_14bd: Expected O, but got Unknown
			//IL_14c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_14cc: Expected O, but got Unknown
			//IL_14e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_14ef: Expected O, but got Unknown
			//IL_1513: Unknown result type (might be due to invalid IL or missing references)
			//IL_1518: Unknown result type (might be due to invalid IL or missing references)
			//IL_1524: Unknown result type (might be due to invalid IL or missing references)
			//IL_152d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1536: Expected O, but got Unknown
			//IL_153e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1545: Expected O, but got Unknown
			AssetBundle assetBundleFromResources = AssetBundleHelper.GetAssetBundleFromResources("moregates");
			GameObject val = assetBundleFromResources.LoadAsset<GameObject>("h_drawbridge01");
			PieceConfig val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[3]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 60,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Iron",
					Amount = 10,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Chain",
					Amount = 4,
					Recover = true
				}
			};
			CustomPiece val3 = new CustomPiece(val, val2);
			PieceManager.Instance.AddPiece(val3);
			GameObject val4 = assetBundleFromResources.LoadAsset<GameObject>("h_drawbridge02");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[3]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 55,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Bronze",
					Amount = 8,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Chain",
					Amount = 4,
					Recover = true
				}
			};
			CustomPiece val5 = new CustomPiece(val4, val2);
			PieceManager.Instance.AddPiece(val5);
			GameObject val6 = assetBundleFromResources.LoadAsset<GameObject>("lift_gate");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[3]
			{
				new RequirementConfig
				{
					Item = "Iron",
					Amount = 20,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Stone",
					Amount = 8,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Chain",
					Amount = 4,
					Recover = true
				}
			};
			CustomPiece val7 = new CustomPiece(val6, val2);
			PieceManager.Instance.AddPiece(val7);
			GameObject val8 = assetBundleFromResources.LoadAsset<GameObject>("lift_gate2");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[3]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 75,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Bronze",
					Amount = 8,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Chain",
					Amount = 4,
					Recover = true
				}
			};
			CustomPiece val9 = new CustomPiece(val8, val2);
			PieceManager.Instance.AddPiece(val9);
			GameObject val10 = assetBundleFromResources.LoadAsset<GameObject>("Hayze_gate_01");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 18,
					Recover = true
				}
			};
			CustomPiece val11 = new CustomPiece(val10, val2);
			PieceManager.Instance.AddPiece(val11);
			GameObject val12 = assetBundleFromResources.LoadAsset<GameObject>("Hayze_gate_02");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[3]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 20,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "RoundLog",
					Amount = 20,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Bronze",
					Amount = 20,
					Recover = true
				}
			};
			CustomPiece val13 = new CustomPiece(val12, val2);
			PieceManager.Instance.AddPiece(val13);
			GameObject val14 = assetBundleFromResources.LoadAsset<GameObject>("Hayze_gate_03");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 15,
					Recover = true
				}
			};
			CustomPiece val15 = new CustomPiece(val14, val2);
			PieceManager.Instance.AddPiece(val15);
			GameObject val16 = assetBundleFromResources.LoadAsset<GameObject>("Hayze_gate_04");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 18,
					Recover = true
				}
			};
			CustomPiece val17 = new CustomPiece(val16, val2);
			PieceManager.Instance.AddPiece(val17);
			GameObject val18 = assetBundleFromResources.LoadAsset<GameObject>("Hayze_gate_05");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 25,
					Recover = true
				}
			};
			CustomPiece val19 = new CustomPiece(val18, val2);
			PieceManager.Instance.AddPiece(val19);
			GameObject val20 = assetBundleFromResources.LoadAsset<GameObject>("Hayze_gate_06");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 18,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "IronNails",
					Amount = 3,
					Recover = true
				}
			};
			CustomPiece val21 = new CustomPiece(val20, val2);
			PieceManager.Instance.AddPiece(val21);
			GameObject val22 = assetBundleFromResources.LoadAsset<GameObject>("h_door_01");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 5,
					Recover = true
				}
			};
			CustomPiece val23 = new CustomPiece(val22, val2);
			PieceManager.Instance.AddPiece(val23);
			GameObject val24 = assetBundleFromResources.LoadAsset<GameObject>("h_door_02");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 6,
					Recover = true
				}
			};
			CustomPiece val25 = new CustomPiece(val24, val2);
			PieceManager.Instance.AddPiece(val25);
			GameObject val26 = assetBundleFromResources.LoadAsset<GameObject>("h_door_03");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 6,
					Recover = true
				}
			};
			CustomPiece val27 = new CustomPiece(val26, val2);
			PieceManager.Instance.AddPiece(val27);
			GameObject val28 = assetBundleFromResources.LoadAsset<GameObject>("h_shutter_01");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Name = "Defense Window";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 7,
					Recover = true
				}
			};
			CustomPiece val29 = new CustomPiece(val28, val2);
			PieceManager.Instance.AddPiece(val29);
			GameObject val30 = assetBundleFromResources.LoadAsset<GameObject>("h_trapdoor");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 5,
					Recover = true
				}
			};
			CustomPiece val31 = new CustomPiece(val30, val2);
			PieceManager.Instance.AddPiece(val31);
			GameObject val32 = assetBundleFromResources.LoadAsset<GameObject>("h_trapdoorbig");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 10,
					Recover = true
				}
			};
			CustomPiece val33 = new CustomPiece(val32, val2);
			PieceManager.Instance.AddPiece(val33);
			GameObject val34 = assetBundleFromResources.LoadAsset<GameObject>("h_trapdoor2");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 5,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Iron",
					Amount = 1,
					Recover = true
				}
			};
			CustomPiece val35 = new CustomPiece(val34, val2);
			PieceManager.Instance.AddPiece(val35);
			GameObject val36 = assetBundleFromResources.LoadAsset<GameObject>("h_trapdoorbig2");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 10,
					Recover = true
				},
				new RequirementConfig
				{
					Item = "Iron",
					Amount = 2,
					Recover = true
				}
			};
			CustomPiece val37 = new CustomPiece(val36, val2);
			PieceManager.Instance.AddPiece(val37);
			GameObject val38 = assetBundleFromResources.LoadAsset<GameObject>("Hayze_halfgate_01");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 6,
					Recover = true
				}
			};
			CustomPiece val39 = new CustomPiece(val38, val2);
			PieceManager.Instance.AddPiece(val39);
			GameObject val40 = assetBundleFromResources.LoadAsset<GameObject>("Hayze_halfgate_02");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 8,
					Recover = true
				}
			};
			CustomPiece val41 = new CustomPiece(val40, val2);
			PieceManager.Instance.AddPiece(val41);
			GameObject val42 = assetBundleFromResources.LoadAsset<GameObject>("hayzestake_01");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 4
				},
				new RequirementConfig
				{
					Item = "RoundLog",
					Amount = 7
				}
			};
			CustomPiece val43 = new CustomPiece(val42, val2);
			PieceManager.Instance.AddPiece(val43);
			GameObject val44 = assetBundleFromResources.LoadAsset<GameObject>("h_loglong26");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "RoundLog",
					Amount = 2,
					Recover = true
				}
			};
			CustomPiece val45 = new CustomPiece(val44, val2);
			PieceManager.Instance.AddPiece(val45);
			GameObject val46 = assetBundleFromResources.LoadAsset<GameObject>("h_loglong45");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "RoundLog",
					Amount = 2,
					Recover = true
				}
			};
			CustomPiece val47 = new CustomPiece(val46, val2);
			PieceManager.Instance.AddPiece(val47);
			GameObject val48 = assetBundleFromResources.LoadAsset<GameObject>("h_logshort26");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "RoundLog",
					Amount = 1,
					Recover = true
				}
			};
			CustomPiece val49 = new CustomPiece(val48, val2);
			PieceManager.Instance.AddPiece(val49);
			GameObject val50 = assetBundleFromResources.LoadAsset<GameObject>("h_logshort45");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "RoundLog",
					Amount = 1,
					Recover = true
				}
			};
			CustomPiece val51 = new CustomPiece(val50, val2);
			PieceManager.Instance.AddPiece(val51);
			GameObject val52 = assetBundleFromResources.LoadAsset<GameObject>("h_window_01");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 10,
					Recover = true
				}
			};
			CustomPiece val53 = new CustomPiece(val52, val2);
			PieceManager.Instance.AddPiece(val53);
			GameObject val54 = assetBundleFromResources.LoadAsset<GameObject>("h_window_02");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 12,
					Recover = true
				}
			};
			CustomPiece val55 = new CustomPiece(val54, val2);
			PieceManager.Instance.AddPiece(val55);
			GameObject val56 = assetBundleFromResources.LoadAsset<GameObject>("h_window_03");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 14,
					Recover = true
				}
			};
			CustomPiece val57 = new CustomPiece(val56, val2);
			PieceManager.Instance.AddPiece(val57);
			GameObject val58 = assetBundleFromResources.LoadAsset<GameObject>("h_window_04");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 11,
					Recover = true
				}
			};
			CustomPiece val59 = new CustomPiece(val58, val2);
			PieceManager.Instance.AddPiece(val59);
			GameObject val60 = assetBundleFromResources.LoadAsset<GameObject>("h_window_05");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 14,
					Recover = true
				}
			};
			CustomPiece val61 = new CustomPiece(val60, val2);
			PieceManager.Instance.AddPiece(val61);
			GameObject val62 = assetBundleFromResources.LoadAsset<GameObject>("h_window_06");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 18,
					Recover = true
				}
			};
			CustomPiece val63 = new CustomPiece(val62, val2);
			PieceManager.Instance.AddPiece(val63);
			GameObject val64 = assetBundleFromResources.LoadAsset<GameObject>("h_window_07");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 21,
					Recover = true
				}
			};
			CustomPiece val65 = new CustomPiece(val64, val2);
			PieceManager.Instance.AddPiece(val65);
			GameObject val66 = assetBundleFromResources.LoadAsset<GameObject>("h_window_08");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 21,
					Recover = true
				}
			};
			CustomPiece val67 = new CustomPiece(val66, val2);
			PieceManager.Instance.AddPiece(val67);
			GameObject val68 = assetBundleFromResources.LoadAsset<GameObject>("h_window_09");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 21,
					Recover = true
				}
			};
			CustomPiece val69 = new CustomPiece(val68, val2);
			PieceManager.Instance.AddPiece(val69);
			GameObject val70 = assetBundleFromResources.LoadAsset<GameObject>("h_window_10");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 21,
					Recover = true
				}
			};
			CustomPiece val71 = new CustomPiece(val70, val2);
			PieceManager.Instance.AddPiece(val71);
			GameObject val72 = assetBundleFromResources.LoadAsset<GameObject>("h_window_11");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 21,
					Recover = true
				}
			};
			CustomPiece val73 = new CustomPiece(val72, val2);
			PieceManager.Instance.AddPiece(val73);
			GameObject val74 = assetBundleFromResources.LoadAsset<GameObject>("h_window_12");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 21,
					Recover = true
				}
			};
			CustomPiece val75 = new CustomPiece(val74, val2);
			PieceManager.Instance.AddPiece(val75);
			GameObject val76 = assetBundleFromResources.LoadAsset<GameObject>("h_window_13");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 21,
					Recover = true
				}
			};
			CustomPiece val77 = new CustomPiece(val76, val2);
			PieceManager.Instance.AddPiece(val77);
			GameObject val78 = assetBundleFromResources.LoadAsset<GameObject>("h_window_14");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Wood",
					Amount = 21,
					Recover = true
				}
			};
			CustomPiece val79 = new CustomPiece(val78, val2);
			PieceManager.Instance.AddPiece(val79);
			GameObject val80 = assetBundleFromResources.LoadAsset<GameObject>("h_chain");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "Chain",
					Amount = 1,
					Recover = true
				}
			};
			CustomPiece val81 = new CustomPiece(val80, val2);
			PieceManager.Instance.AddPiece(val81);
			GameObject val82 = assetBundleFromResources.LoadAsset<GameObject>("corewood_stack");
			val2 = new PieceConfig();
			val2.PieceTable = "Hammer";
			val2.Category = "MoreGates";
			val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
			{
				new RequirementConfig
				{
					Item = "RoundLog",
					Amount = 50,
					Recover = true
				}
			};
			CustomPiece val83 = new CustomPiece(val82, val2);
			PieceManager.Instance.AddPiece(val83);
		}
	}
}