Decompiled source of OdinsKingdom v1.2.34

OdinsKingdom.dll

Decompiled 2 days ago
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using System.Text;
using System.Text.RegularExpressions;
using BepInEx;
using BepInEx.Bootstrap;
using BepInEx.Configuration;
using HarmonyLib;
using ItemManager;
using JetBrains.Annotations;
using LocalizationManager;
using Microsoft.CodeAnalysis;
using PieceManager;
using ServerSync;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using YamlDotNet.Core;
using YamlDotNet.Core.Events;
using YamlDotNet.Core.Tokens;
using YamlDotNet.Helpers;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.Converters;
using YamlDotNet.Serialization.EventEmitters;
using YamlDotNet.Serialization.NamingConventions;
using YamlDotNet.Serialization.NodeDeserializers;
using YamlDotNet.Serialization.NodeTypeResolvers;
using YamlDotNet.Serialization.ObjectFactories;
using YamlDotNet.Serialization.ObjectGraphTraversalStrategies;
using YamlDotNet.Serialization.ObjectGraphVisitors;
using YamlDotNet.Serialization.Schemas;
using YamlDotNet.Serialization.TypeInspectors;
using YamlDotNet.Serialization.TypeResolvers;
using YamlDotNet.Serialization.Utilities;
using YamlDotNet.Serialization.ValueDeserializers;

[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: Guid("504E7E7A-066A-43C2-A491-2AF7FAE3FCBE")]
[assembly: ComVisible(false)]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCopyright("Copyright ©  2021")]
[assembly: AssemblyProduct("OdinsKingdom")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyTitle("OdinsKingdom")]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: CompilationRelaxations(8)]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace OdinsKingdom
{
	[BepInPlugin("odinplus.plugins.odinskingdom", "OdinsKingdom", "1.2.34")]
	public class OdinsKingdom : BaseUnityPlugin
	{
		private enum Toggle
		{
			On = 1,
			Off = 0
		}

		private const string ModName = "OdinsKingdom";

		private const string ModVersion = "1.2.34";

		private const string ModGUID = "odinplus.plugins.odinskingdom";

		private static readonly ConfigSync configSync = new ConfigSync("OdinsKingdom")
		{
			DisplayName = "OdinsKingdom",
			CurrentVersion = "1.2.34",
			MinimumRequiredVersion = "1.2.34"
		};

		public void Awake()
		{
			//IL_86d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_86db: Expected O, but got Unknown
			Localizer.Load();
			Item item = new Item("gbcastles", "GB_Parchment_Tool");
			item.Crafting.Add(ItemManager.CraftingTable.Workbench, 1);
			item.RequiredItems.Add("FineWood", 10);
			item.CraftAmount = 1;
			PrefabManager.RegisterPrefab("gbcastles", "GB_Repair_Scroll");
			Item item2 = new Item("gbcastles", "GB_Gold_Cup");
			item2.Crafting.Add("GB_Odins_Book", 1);
			item2.RequiredItems.Add("BlackMetal", 1);
			item2.CraftAmount = 1;
			Item item3 = new Item("gbcastles", "GB_Silver_Cup");
			item3.Crafting.Add("GB_Odins_Book", 1);
			item3.RequiredItems.Add("Silver", 1);
			item3.CraftAmount = 1;
			Item item4 = new Item("gbcastles", "GB_Bronze_Cup");
			item4.Crafting.Add("GB_Odins_Book", 1);
			item4.RequiredItems.Add("Bronze", 1);
			item4.CraftAmount = 1;
			BuildPiece buildPiece = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Odins_Book");
			buildPiece.Tool.Add("GB_Parchment_Tool");
			buildPiece.RequiredItems.Add("LeatherScraps", 6, recover: true);
			buildPiece.RequiredItems.Add("Coal", 4, recover: true);
			buildPiece.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece.Category.Set("Deco");
			BuildPiece buildPiece2 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Gate");
			buildPiece2.Tool.Add("GB_Parchment_Tool");
			buildPiece2.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece2.RequiredItems.Add("Iron", 1, recover: true);
			buildPiece2.RequiredItems.Add("IronNails", 10, recover: true);
			buildPiece2.RequiredItems.Add("Wood", 10, recover: true);
			buildPiece2.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece2.Category.Set("Stone Building");
			WearNTear component = buildPiece2.Prefab.GetComponent<WearNTear>();
			component.m_ashDamageImmune = false;
			component.m_ashDamageResist = false;
			component.m_burnable = false;
			BuildPiece buildPiece3 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Gate_Bridge");
			buildPiece3.Tool.Add("GB_Parchment_Tool");
			buildPiece3.RequiredItems.Add("Chain", 2, recover: true);
			buildPiece3.RequiredItems.Add("Iron", 1, recover: true);
			buildPiece3.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece3.RequiredItems.Add("Wood", 6, recover: true);
			buildPiece3.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece3.Category.Set("Stone Building");
			WearNTear component2 = buildPiece3.Prefab.GetComponent<WearNTear>();
			component2.m_ashDamageImmune = false;
			component2.m_ashDamageResist = false;
			component2.m_burnable = false;
			BuildPiece buildPiece4 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Portcullis");
			buildPiece4.Tool.Add("GB_Parchment_Tool");
			buildPiece4.RequiredItems.Add("Stone", 20, recover: true);
			buildPiece4.RequiredItems.Add("Iron", 5, recover: true);
			buildPiece4.RequiredItems.Add("Chain", 2, recover: true);
			buildPiece4.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece4.Category.Set("Stone Building");
			WearNTear component3 = buildPiece4.Prefab.GetComponent<WearNTear>();
			component3.m_ashDamageImmune = false;
			component3.m_ashDamageResist = false;
			component3.m_burnable = false;
			BuildPiece buildPiece5 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_StoneWindow");
			buildPiece5.Tool.Add("GB_Parchment_Tool");
			buildPiece5.RequiredItems.Add("Stone", 5, recover: true);
			buildPiece5.RequiredItems.Add("Crystal", 5, recover: true);
			buildPiece5.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece5.Category.Set("Stone Building");
			WearNTear component4 = buildPiece5.Prefab.GetComponent<WearNTear>();
			component4.m_ashDamageImmune = false;
			component4.m_ashDamageResist = false;
			component4.m_burnable = false;
			BuildPiece buildPiece6 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_StoneWindow_OdinPlus");
			buildPiece6.Tool.Add("GB_Parchment_Tool");
			buildPiece6.RequiredItems.Add("Stone", 5, recover: true);
			buildPiece6.RequiredItems.Add("Crystal", 5, recover: true);
			buildPiece6.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece6.Category.Set("Stone Building");
			WearNTear component5 = buildPiece6.Prefab.GetComponent<WearNTear>();
			component5.m_ashDamageImmune = false;
			component5.m_ashDamageResist = false;
			component5.m_burnable = false;
			BuildPiece buildPiece7 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Window_OdinPlus");
			buildPiece7.Tool.Add("GB_Parchment_Tool");
			buildPiece7.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece7.RequiredItems.Add("Crystal", 10, recover: true);
			buildPiece7.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece7.Category.Set("Stone Building");
			WearNTear component6 = buildPiece6.Prefab.GetComponent<WearNTear>();
			component6.m_ashDamageImmune = false;
			component6.m_ashDamageResist = false;
			component6.m_burnable = false;
			BuildPiece buildPiece8 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Window");
			buildPiece8.Tool.Add("GB_Parchment_Tool");
			buildPiece8.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece8.RequiredItems.Add("Crystal", 10, recover: true);
			buildPiece8.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece8.Category.Set("Stone Building");
			WearNTear component7 = buildPiece8.Prefab.GetComponent<WearNTear>();
			component7.m_ashDamageImmune = false;
			component7.m_ashDamageResist = false;
			component7.m_burnable = false;
			BuildPiece buildPiece9 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Archway_Wall");
			buildPiece9.Tool.Add("GB_Parchment_Tool");
			buildPiece9.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece9.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece9.Category.Set("Stone Building");
			WearNTear component8 = buildPiece9.Prefab.GetComponent<WearNTear>();
			component8.m_ashDamageImmune = false;
			component8.m_ashDamageResist = false;
			component8.m_burnable = false;
			BuildPiece buildPiece10 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Tile_Floor");
			buildPiece10.Tool.Add("GB_Parchment_Tool");
			buildPiece10.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece10.RequiredItems.Add("Flint", 4, recover: true);
			buildPiece10.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece10.Category.Set("Stone Building");
			WearNTear component9 = buildPiece10.Prefab.GetComponent<WearNTear>();
			component9.m_ashDamageImmune = false;
			component9.m_ashDamageResist = false;
			component9.m_burnable = false;
			BuildPiece buildPiece11 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Tile_4x4");
			buildPiece11.Tool.Add("GB_Parchment_Tool");
			buildPiece11.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece11.RequiredItems.Add("Flint", 3, recover: true);
			buildPiece11.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece11.Category.Set("Stone Building");
			WearNTear component10 = buildPiece11.Prefab.GetComponent<WearNTear>();
			component10.m_ashDamageImmune = false;
			component10.m_ashDamageResist = false;
			component10.m_burnable = false;
			BuildPiece buildPiece12 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Tile");
			buildPiece12.Tool.Add("GB_Parchment_Tool");
			buildPiece12.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece12.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece12.Category.Set("Stone Building");
			WearNTear component11 = buildPiece12.Prefab.GetComponent<WearNTear>();
			component11.m_ashDamageImmune = false;
			component11.m_ashDamageResist = false;
			component11.m_burnable = false;
			BuildPiece buildPiece13 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Tile_1x1");
			buildPiece13.Tool.Add("GB_Parchment_Tool");
			buildPiece13.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece13.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece13.Category.Set("Stone Building");
			WearNTear component12 = buildPiece13.Prefab.GetComponent<WearNTear>();
			component12.m_ashDamageImmune = false;
			component12.m_ashDamageResist = false;
			component12.m_burnable = false;
			BuildPiece buildPiece14 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Angle_Floor");
			buildPiece14.Tool.Add("GB_Parchment_Tool");
			buildPiece14.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece14.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece14.Category.Set("Stone Building");
			WearNTear component13 = buildPiece14.Prefab.GetComponent<WearNTear>();
			component13.m_ashDamageImmune = false;
			component13.m_ashDamageResist = false;
			component13.m_burnable = false;
			BuildPiece buildPiece15 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Angle_Tile_1x1");
			buildPiece15.Tool.Add("GB_Parchment_Tool");
			buildPiece15.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece15.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece15.Category.Set("Stone Building");
			WearNTear component14 = buildPiece15.Prefab.GetComponent<WearNTear>();
			component14.m_ashDamageImmune = false;
			component14.m_ashDamageResist = false;
			component14.m_burnable = false;
			BuildPiece buildPiece16 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Round_Tile");
			buildPiece16.Tool.Add("GB_Parchment_Tool");
			buildPiece16.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece16.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece16.Category.Set("Stone Building");
			WearNTear component15 = buildPiece16.Prefab.GetComponent<WearNTear>();
			component15.m_ashDamageImmune = false;
			component15.m_ashDamageResist = false;
			component15.m_burnable = false;
			BuildPiece buildPiece17 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Solid_Wood_Floor");
			buildPiece17.Tool.Add("GB_Parchment_Tool");
			buildPiece17.RequiredItems.Add("Wood", 16, recover: true);
			buildPiece17.RequiredItems.Add("FineWood", 6, recover: true);
			buildPiece17.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece17.Category.Set("Wood Building");
			BuildPiece buildPiece18 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Solid_Wood_Tile_4x4");
			buildPiece18.Tool.Add("GB_Parchment_Tool");
			buildPiece18.RequiredItems.Add("Wood", 8, recover: true);
			buildPiece18.RequiredItems.Add("FineWood", 4, recover: true);
			buildPiece18.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece18.Category.Set("Wood Building");
			BuildPiece buildPiece19 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Solid_Wood_Round_Tile");
			buildPiece19.Tool.Add("GB_Parchment_Tool");
			buildPiece19.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece19.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece19.Category.Set("Wood Building");
			BuildPiece buildPiece20 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Solid_Wood_Tile");
			buildPiece20.Tool.Add("GB_Parchment_Tool");
			buildPiece20.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece20.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece20.Category.Set("Wood Building");
			BuildPiece buildPiece21 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Solid_Wood_Tile_1x1");
			buildPiece21.Tool.Add("GB_Parchment_Tool");
			buildPiece21.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece21.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece21.Category.Set("Wood Building");
			BuildPiece buildPiece22 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Tile");
			buildPiece22.Tool.Add("GB_Parchment_Tool");
			buildPiece22.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece22.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece22.Category.Set("Wood Building");
			BuildPiece buildPiece23 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_1x1_Floor");
			buildPiece23.Tool.Add("GB_Parchment_Tool");
			buildPiece23.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece23.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece23.Category.Set("Wood Building");
			BuildPiece buildPiece24 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Angle_Floor");
			buildPiece24.Tool.Add("GB_Parchment_Tool");
			buildPiece24.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece24.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece24.Category.Set("Wood Building");
			BuildPiece buildPiece25 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Angle_Tile_1x1");
			buildPiece25.Tool.Add("GB_Parchment_Tool");
			buildPiece25.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece25.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece25.Category.Set("Wood Building");
			BuildPiece buildPiece26 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Arch");
			buildPiece26.Tool.Add("GB_Parchment_Tool");
			buildPiece26.RequiredItems.Add("Stone", 5, recover: true);
			buildPiece26.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece26.Category.Set("Stone Building");
			WearNTear component16 = buildPiece26.Prefab.GetComponent<WearNTear>();
			component16.m_ashDamageImmune = false;
			component16.m_ashDamageResist = false;
			component16.m_burnable = false;
			BuildPiece buildPiece27 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Doorframe");
			buildPiece27.Tool.Add("GB_Parchment_Tool");
			buildPiece27.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece27.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece27.Category.Set("Stone Building");
			WearNTear component17 = buildPiece27.Prefab.GetComponent<WearNTear>();
			component17.m_ashDamageImmune = false;
			component17.m_ashDamageResist = false;
			component17.m_burnable = false;
			BuildPiece buildPiece28 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_StoneWall");
			buildPiece28.Tool.Add("GB_Parchment_Tool");
			buildPiece28.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece28.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece28.Category.Set("Stone Building");
			WearNTear component18 = buildPiece28.Prefab.GetComponent<WearNTear>();
			component18.m_ashDamageImmune = false;
			component18.m_ashDamageResist = false;
			component18.m_burnable = false;
			BuildPiece buildPiece29 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Circle_Window");
			buildPiece29.Tool.Add("GB_Parchment_Tool");
			buildPiece29.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece29.RequiredItems.Add("Crystal", 2, recover: true);
			buildPiece29.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece29.Category.Set("Stone Building");
			WearNTear component19 = buildPiece29.Prefab.GetComponent<WearNTear>();
			component19.m_ashDamageImmune = false;
			component19.m_ashDamageResist = false;
			component19.m_burnable = false;
			BuildPiece buildPiece30 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Aperture");
			buildPiece30.Tool.Add("GB_Parchment_Tool");
			buildPiece30.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece30.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece30.Category.Set("Stone Building");
			WearNTear component20 = buildPiece30.Prefab.GetComponent<WearNTear>();
			component20.m_ashDamageImmune = false;
			component20.m_ashDamageResist = false;
			component20.m_burnable = false;
			BuildPiece buildPiece31 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Halfwall_Aperture");
			buildPiece31.Tool.Add("GB_Parchment_Tool");
			buildPiece31.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece31.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece31.Category.Set("Stone Building");
			WearNTear component21 = buildPiece31.Prefab.GetComponent<WearNTear>();
			component21.m_ashDamageImmune = false;
			component21.m_ashDamageResist = false;
			component21.m_burnable = false;
			BuildPiece buildPiece32 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Halfwall");
			buildPiece32.Tool.Add("GB_Parchment_Tool");
			buildPiece32.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece32.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece32.Category.Set("Stone Building");
			WearNTear component22 = buildPiece32.Prefab.GetComponent<WearNTear>();
			component22.m_ashDamageImmune = false;
			component22.m_ashDamageResist = false;
			component22.m_burnable = false;
			BuildPiece buildPiece33 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Halfwall_Arch");
			buildPiece33.Tool.Add("GB_Parchment_Tool");
			buildPiece33.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece33.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece33.Category.Set("Stone Building");
			WearNTear component23 = buildPiece33.Prefab.GetComponent<WearNTear>();
			component23.m_ashDamageImmune = false;
			component23.m_ashDamageResist = false;
			component23.m_burnable = false;
			BuildPiece buildPiece34 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wooden_Ladder");
			buildPiece34.Tool.Add("GB_Parchment_Tool");
			buildPiece34.RequiredItems.Add("RoundLog", 10, recover: true);
			buildPiece34.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece34.Category.Set("Wood Building");
			BuildPiece buildPiece35 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Small_Wooden_Ladder");
			buildPiece35.Tool.Add("GB_Parchment_Tool");
			buildPiece35.RequiredItems.Add("RoundLog", 10, recover: true);
			buildPiece35.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece35.Category.Set("Wood Building");
			BuildPiece buildPiece36 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Black_Curtains");
			buildPiece36.Tool.Add("GB_Parchment_Tool");
			buildPiece36.RequiredItems.Add("Bronze", 1, recover: true);
			buildPiece36.RequiredItems.Add("LeatherScraps", 6, recover: true);
			buildPiece36.RequiredItems.Add("Coal", 4, recover: true);
			buildPiece36.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece36.Category.Set("Deco");
			BuildPiece buildPiece37 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Single_Candle_1");
			buildPiece37.Tool.Add("GB_Parchment_Tool");
			buildPiece37.RequiredItems.Add("Honey", 2, recover: true);
			buildPiece37.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece37.Category.Set("Lights and Storage");
			BuildPiece buildPiece38 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Single_Candle_2");
			buildPiece38.Tool.Add("GB_Parchment_Tool");
			buildPiece38.RequiredItems.Add("Honey", 2, recover: true);
			buildPiece38.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece38.Category.Set("Lights and Storage");
			BuildPiece buildPiece39 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Candle_Stick");
			buildPiece39.Tool.Add("GB_Parchment_Tool");
			buildPiece39.RequiredItems.Add("Honey", 5, recover: true);
			buildPiece39.RequiredItems.Add("Resin", 5, recover: true);
			buildPiece39.RequiredItems.Add("Tin", 1, recover: true);
			buildPiece39.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece39.Category.Set("Lights and Storage");
			BuildPiece buildPiece40 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Standing_Candles");
			buildPiece40.Tool.Add("GB_Parchment_Tool");
			buildPiece40.RequiredItems.Add("Honey", 5, recover: true);
			buildPiece40.RequiredItems.Add("Resin", 5, recover: true);
			buildPiece40.RequiredItems.Add("Tin", 2, recover: true);
			buildPiece40.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece40.Category.Set("Lights and Storage");
			BuildPiece buildPiece41 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Leather_Chair");
			buildPiece41.Tool.Add("GB_Parchment_Tool");
			buildPiece41.RequiredItems.Add("LeatherScraps", 5, recover: true);
			buildPiece41.RequiredItems.Add("FineWood", 5, recover: true);
			buildPiece41.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece41.Category.Set("Furniture");
			BuildPiece buildPiece42 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Old_Wood_Throne");
			buildPiece42.Tool.Add("GB_Parchment_Tool");
			buildPiece42.RequiredItems.Add("FineWood", 5, recover: true);
			buildPiece42.RequiredItems.Add("DeerHide", 5, recover: true);
			buildPiece42.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece42.Category.Set("Furniture");
			BuildPiece buildPiece43 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Chair_1");
			buildPiece43.Tool.Add("GB_Parchment_Tool");
			buildPiece43.RequiredItems.Add("FineWood", 5, recover: true);
			buildPiece43.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece43.Category.Set("Furniture");
			BuildPiece buildPiece44 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Chair_2");
			buildPiece44.Tool.Add("GB_Parchment_Tool");
			buildPiece44.RequiredItems.Add("FineWood", 5, recover: true);
			buildPiece44.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece44.Category.Set("Furniture");
			BuildPiece buildPiece45 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Stool");
			buildPiece45.Tool.Add("GB_Parchment_Tool");
			buildPiece45.RequiredItems.Add("FineWood", 4, recover: true);
			buildPiece45.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece45.Category.Set("Furniture");
			BuildPiece buildPiece46 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wall_Torch");
			buildPiece46.Tool.Add("GB_Parchment_Tool");
			buildPiece46.RequiredItems.Add("Wood", 1, recover: true);
			buildPiece46.RequiredItems.Add("Resin", 2, recover: true);
			buildPiece46.RequiredItems.Add("Tin", 5, recover: true);
			buildPiece46.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece46.Category.Set("Lights and Storage");
			BuildPiece buildPiece47 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Table");
			buildPiece47.Tool.Add("GB_Parchment_Tool");
			buildPiece47.RequiredItems.Add("FineWood", 5, recover: true);
			buildPiece47.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece47.Category.Set("Furniture");
			BuildPiece buildPiece48 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Old_Wood_Table");
			buildPiece48.Tool.Add("GB_Parchment_Tool");
			buildPiece48.RequiredItems.Add("Wood", 5, recover: true);
			buildPiece48.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece48.Category.Set("Furniture");
			BuildPiece buildPiece49 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Casket_Lid");
			buildPiece49.Tool.Add("GB_Parchment_Tool");
			buildPiece49.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece49.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece49.Category.Set("Furniture");
			BuildPiece buildPiece50 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Casket");
			buildPiece50.Tool.Add("GB_Parchment_Tool");
			buildPiece50.RequiredItems.Add("Wood", 10, recover: true);
			buildPiece50.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece50.Category.Set("Furniture");
			BuildPiece buildPiece51 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Barrel_O_Skulls");
			buildPiece51.Tool.Add("GB_Parchment_Tool");
			buildPiece51.RequiredItems.Add("RoundLog", 5, recover: true);
			buildPiece51.RequiredItems.Add("BoneFragments", 5, recover: true);
			buildPiece51.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece51.Category.Set("Deco");
			BuildPiece buildPiece52 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Pile_O_Skulls");
			buildPiece52.Tool.Add("GB_Parchment_Tool");
			buildPiece52.RequiredItems.Add("BoneFragments", 5, recover: true);
			buildPiece52.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece52.Category.Set("Deco");
			BuildPiece buildPiece53 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Black_Banner");
			buildPiece53.Tool.Add("GB_Parchment_Tool");
			buildPiece53.RequiredItems.Add("Iron", 1, recover: true);
			buildPiece53.RequiredItems.Add("Chain", 2, recover: true);
			buildPiece53.RequiredItems.Add("DeerHide", 2, recover: true);
			buildPiece53.RequiredItems.Add("Coal", 4, recover: true);
			buildPiece53.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece53.Category.Set("Deco");
			BuildPiece buildPiece54 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Black_Half_Curtains");
			buildPiece54.Tool.Add("GB_Parchment_Tool");
			buildPiece54.RequiredItems.Add("Bronze", 1, recover: true);
			buildPiece54.RequiredItems.Add("LeatherScraps", 3, recover: true);
			buildPiece54.RequiredItems.Add("Coal", 2, recover: true);
			buildPiece54.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece54.Category.Set("Deco");
			BuildPiece buildPiece55 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Book_Shelf");
			buildPiece55.Tool.Add("GB_Parchment_Tool");
			buildPiece55.RequiredItems.Add("Wood", 5, recover: true);
			buildPiece55.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece55.Category.Set("Furniture");
			BuildPiece buildPiece56 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Book_Shelf_Full");
			buildPiece56.Tool.Add("GB_Parchment_Tool");
			buildPiece56.RequiredItems.Add("Wood", 8, recover: true);
			buildPiece56.RequiredItems.Add("LeatherScraps", 6, recover: true);
			buildPiece56.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece56.Category.Set("Furniture");
			BuildPiece buildPiece57 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Book_Shelf_Full_2");
			buildPiece57.Tool.Add("GB_Parchment_Tool");
			buildPiece57.RequiredItems.Add("Wood", 8, recover: true);
			buildPiece57.RequiredItems.Add("LeatherScraps", 6, recover: true);
			buildPiece57.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece57.Category.Set("Furniture");
			BuildPiece buildPiece58 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Hanging_Cage");
			buildPiece58.Tool.Add("GB_Parchment_Tool");
			buildPiece58.RequiredItems.Add("Iron", 2, recover: true);
			buildPiece58.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece58.Category.Set("Furniture");
			WearNTear component24 = buildPiece58.Prefab.GetComponent<WearNTear>();
			component24.m_ashDamageImmune = false;
			component24.m_ashDamageResist = false;
			component24.m_burnable = false;
			BuildPiece buildPiece59 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Skull_Orn");
			buildPiece59.Tool.Add("GB_Parchment_Tool");
			buildPiece59.RequiredItems.Add("TrophySkeleton", 1, recover: true);
			buildPiece59.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece59.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece59.Category.Set("Deco");
			WearNTear component25 = buildPiece59.Prefab.GetComponent<WearNTear>();
			component25.m_ashDamageImmune = false;
			component25.m_ashDamageResist = false;
			component25.m_burnable = false;
			BuildPiece buildPiece60 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Skeleton_Orn");
			buildPiece60.Tool.Add("GB_Parchment_Tool");
			buildPiece60.RequiredItems.Add("TrophySkeleton", 1, recover: true);
			buildPiece60.RequiredItems.Add("Stone", 5, recover: true);
			buildPiece60.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece60.Category.Set("Deco");
			WearNTear component26 = buildPiece60.Prefab.GetComponent<WearNTear>();
			component26.m_ashDamageImmune = false;
			component26.m_ashDamageResist = false;
			component26.m_burnable = false;
			BuildPiece buildPiece61 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Hanging_Skeleton");
			buildPiece61.Tool.Add("GB_Parchment_Tool");
			buildPiece61.RequiredItems.Add("TrophySkeleton", 1, recover: true);
			buildPiece61.RequiredItems.Add("BoneFragments", 5, recover: true);
			buildPiece61.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece61.Category.Set("Deco");
			BuildPiece buildPiece62 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Purple_Curtains");
			buildPiece62.Tool.Add("GB_Parchment_Tool");
			buildPiece62.RequiredItems.Add("Bronze", 1, recover: true);
			buildPiece62.RequiredItems.Add("LeatherScraps", 6, recover: true);
			buildPiece62.RequiredItems.Add("Raspberry", 6, recover: true);
			buildPiece62.RequiredItems.Add("Blueberries", 6, recover: true);
			buildPiece62.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece62.Category.Set("Deco");
			BuildPiece buildPiece63 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Purple_Half_Curtains");
			buildPiece63.Tool.Add("GB_Parchment_Tool");
			buildPiece63.RequiredItems.Add("Bronze", 1, recover: true);
			buildPiece63.RequiredItems.Add("LeatherScraps", 3, recover: true);
			buildPiece63.RequiredItems.Add("Raspberry", 3, recover: true);
			buildPiece63.RequiredItems.Add("Blueberries", 3, recover: true);
			buildPiece63.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece63.Category.Set("Deco");
			BuildPiece buildPiece64 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Single_Shelf");
			buildPiece64.Tool.Add("GB_Parchment_Tool");
			buildPiece64.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece64.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece64.Category.Set("Furniture");
			BuildPiece buildPiece65 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Sitting_Skeleton");
			buildPiece65.Tool.Add("GB_Parchment_Tool");
			buildPiece65.RequiredItems.Add("TrophySkeleton", 1, recover: true);
			buildPiece65.RequiredItems.Add("BoneFragments", 5, recover: true);
			buildPiece65.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece65.Category.Set("Deco");
			BuildPiece buildPiece66 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Skeleton_Pole");
			buildPiece66.Tool.Add("GB_Parchment_Tool");
			buildPiece66.RequiredItems.Add("TrophySkeleton", 1, recover: true);
			buildPiece66.RequiredItems.Add("BoneFragments", 5, recover: true);
			buildPiece66.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece66.Category.Set("Deco");
			BuildPiece buildPiece67 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_1x1");
			buildPiece67.Tool.Add("GB_Parchment_Tool");
			buildPiece67.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece67.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece67.Category.Set("Stone Building");
			WearNTear component27 = buildPiece67.Prefab.GetComponent<WearNTear>();
			component27.m_ashDamageImmune = false;
			component27.m_ashDamageResist = false;
			component27.m_burnable = false;
			BuildPiece buildPiece68 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_Base");
			buildPiece68.Tool.Add("GB_Parchment_Tool");
			buildPiece68.RequiredItems.Add("Stone", 5, recover: true);
			buildPiece68.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece68.Category.Set("Stone Building");
			WearNTear component28 = buildPiece68.Prefab.GetComponent<WearNTear>();
			component28.m_ashDamageImmune = false;
			component28.m_ashDamageResist = false;
			component28.m_burnable = false;
			BuildPiece buildPiece69 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_Bottom");
			buildPiece69.Tool.Add("GB_Parchment_Tool");
			buildPiece69.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece69.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece69.Category.Set("Stone Building");
			WearNTear component29 = buildPiece69.Prefab.GetComponent<WearNTear>();
			component29.m_ashDamageImmune = false;
			component29.m_ashDamageResist = false;
			component29.m_burnable = false;
			BuildPiece buildPiece70 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_Middle");
			buildPiece70.Tool.Add("GB_Parchment_Tool");
			buildPiece70.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece70.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece70.Category.Set("Stone Building");
			WearNTear component30 = buildPiece70.Prefab.GetComponent<WearNTear>();
			component30.m_ashDamageImmune = false;
			component30.m_ashDamageResist = false;
			component30.m_burnable = false;
			BuildPiece buildPiece71 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_Small");
			buildPiece71.Tool.Add("GB_Parchment_Tool");
			buildPiece71.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece71.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece71.Category.Set("Stone Building");
			WearNTear component31 = buildPiece71.Prefab.GetComponent<WearNTear>();
			component31.m_ashDamageImmune = false;
			component31.m_ashDamageResist = false;
			component31.m_burnable = false;
			BuildPiece buildPiece72 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_Top");
			buildPiece72.Tool.Add("GB_Parchment_Tool");
			buildPiece72.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece72.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece72.Category.Set("Stone Building");
			WearNTear component32 = buildPiece72.Prefab.GetComponent<WearNTear>();
			component32.m_ashDamageImmune = false;
			component32.m_ashDamageResist = false;
			component32.m_burnable = false;
			BuildPiece buildPiece73 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_Base_Round");
			buildPiece73.Tool.Add("GB_Parchment_Tool");
			buildPiece73.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece73.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece73.Category.Set("Stone Building");
			WearNTear component33 = buildPiece73.Prefab.GetComponent<WearNTear>();
			component33.m_ashDamageImmune = false;
			component33.m_ashDamageResist = false;
			component33.m_burnable = false;
			BuildPiece buildPiece74 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Square_Pillar_Middle");
			buildPiece74.Tool.Add("GB_Parchment_Tool");
			buildPiece74.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece74.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece74.Category.Set("Stone Building");
			WearNTear component34 = buildPiece74.Prefab.GetComponent<WearNTear>();
			component34.m_ashDamageImmune = false;
			component34.m_ashDamageResist = false;
			component34.m_burnable = false;
			BuildPiece buildPiece75 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Table");
			buildPiece75.Tool.Add("GB_Parchment_Tool");
			buildPiece75.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece75.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece75.Category.Set("Furniture");
			WearNTear component35 = buildPiece75.Prefab.GetComponent<WearNTear>();
			component35.m_ashDamageImmune = false;
			component35.m_ashDamageResist = false;
			component35.m_burnable = false;
			BuildPiece buildPiece76 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wooden_Awning");
			buildPiece76.Tool.Add("GB_Parchment_Tool");
			buildPiece76.RequiredItems.Add("FineWood", 10, recover: true);
			buildPiece76.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece76.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece76.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece77 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Cloth_Bag");
			buildPiece77.Tool.Add("GB_Parchment_Tool");
			buildPiece77.RequiredItems.Add("LeatherScraps", 10, recover: true);
			buildPiece77.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece77.Category.Set("Lights and Storage");
			BuildPiece buildPiece78 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Old_Book");
			buildPiece78.Tool.Add("GB_Parchment_Tool");
			buildPiece78.RequiredItems.Add("LeatherScraps", 5, recover: true);
			buildPiece78.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece78.Category.Set("Deco");
			BuildPiece buildPiece79 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Old_Jug");
			buildPiece79.Tool.Add("GB_Parchment_Tool");
			buildPiece79.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece79.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece79.Category.Set("Deco");
			BuildPiece buildPiece80 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Small_Bottle");
			buildPiece80.Tool.Add("GB_Parchment_Tool");
			buildPiece80.RequiredItems.Add("Crystal", 1, recover: true);
			buildPiece80.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece80.Category.Set("Deco");
			BuildPiece buildPiece81 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Old_Kettle");
			buildPiece81.Tool.Add("GB_Parchment_Tool");
			buildPiece81.RequiredItems.Add("Iron", 1, recover: true);
			buildPiece81.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece81.Category.Set("Deco");
			BuildPiece buildPiece82 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wooden_Barrel");
			buildPiece82.Tool.Add("GB_Parchment_Tool");
			buildPiece82.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece82.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece82.Category.Set("Lights and Storage");
			BuildPiece buildPiece83 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Fireplace");
			buildPiece83.Tool.Add("GB_Parchment_Tool");
			buildPiece83.RequiredItems.Add("Stone", 20, recover: true);
			buildPiece83.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece83.RequiredItems.Add("Coal", 2, recover: true);
			buildPiece83.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece83.Category.Set("Lights and Storage");
			WearNTear component36 = buildPiece83.Prefab.GetComponent<WearNTear>();
			component36.m_ashDamageImmune = false;
			component36.m_ashDamageResist = false;
			component36.m_burnable = false;
			BuildPiece buildPiece84 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wooden_Bucket");
			buildPiece84.Tool.Add("GB_Parchment_Tool");
			buildPiece84.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece84.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece84.Category.Set("Deco");
			BuildPiece buildPiece85 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Old_Open_Book");
			buildPiece85.Tool.Add("GB_Parchment_Tool");
			buildPiece85.RequiredItems.Add("LeatherScraps", 5, recover: true);
			buildPiece85.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece85.Category.Set("Deco");
			BuildPiece buildPiece86 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Beam");
			buildPiece86.Tool.Add("GB_Parchment_Tool");
			buildPiece86.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece86.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece86.Category.Set("Stone Building");
			WearNTear component37 = buildPiece86.Prefab.GetComponent<WearNTear>();
			component37.m_ashDamageImmune = false;
			component37.m_ashDamageResist = false;
			component37.m_burnable = false;
			BuildPiece buildPiece87 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pole");
			buildPiece87.Tool.Add("GB_Parchment_Tool");
			buildPiece87.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece87.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece87.Category.Set("Stone Building");
			WearNTear component38 = buildPiece87.Prefab.GetComponent<WearNTear>();
			component38.m_ashDamageImmune = false;
			component38.m_ashDamageResist = false;
			component38.m_burnable = false;
			BuildPiece buildPiece88 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pole_Small");
			buildPiece88.Tool.Add("GB_Parchment_Tool");
			buildPiece88.RequiredItems.Add("Stone", 1, recover: true);
			buildPiece88.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece88.Category.Set("Stone Building");
			WearNTear component39 = buildPiece88.Prefab.GetComponent<WearNTear>();
			component39.m_ashDamageImmune = false;
			component39.m_ashDamageResist = false;
			component39.m_burnable = false;
			BuildPiece buildPiece89 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Beam_Small");
			buildPiece89.Tool.Add("GB_Parchment_Tool");
			buildPiece89.RequiredItems.Add("Stone", 1, recover: true);
			buildPiece89.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece89.Category.Set("Stone Building");
			WearNTear component40 = buildPiece89.Prefab.GetComponent<WearNTear>();
			component40.m_ashDamageImmune = false;
			component40.m_ashDamageResist = false;
			component40.m_burnable = false;
			BuildPiece buildPiece90 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Beam_26");
			buildPiece90.Tool.Add("GB_Parchment_Tool");
			buildPiece90.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece90.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece90.Category.Set("Stone Building");
			WearNTear component41 = buildPiece90.Prefab.GetComponent<WearNTear>();
			component41.m_ashDamageImmune = false;
			component41.m_ashDamageResist = false;
			component41.m_burnable = false;
			BuildPiece buildPiece91 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Beam_45");
			buildPiece91.Tool.Add("GB_Parchment_Tool");
			buildPiece91.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece91.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece91.Category.Set("Stone Building");
			WearNTear component42 = buildPiece91.Prefab.GetComponent<WearNTear>();
			component42.m_ashDamageImmune = false;
			component42.m_ashDamageResist = false;
			component42.m_burnable = false;
			BuildPiece buildPiece92 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_Roof_Top");
			buildPiece92.Tool.Add("GB_Parchment_Tool");
			buildPiece92.RequiredItems.Add("Stone", 5, recover: true);
			buildPiece92.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece92.Category.Set("Stone Building");
			WearNTear component43 = buildPiece92.Prefab.GetComponent<WearNTear>();
			component43.m_ashDamageImmune = false;
			component43.m_ashDamageResist = false;
			component43.m_burnable = false;
			BuildPiece buildPiece93 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_Roof_Top_45");
			buildPiece93.Tool.Add("GB_Parchment_Tool");
			buildPiece93.RequiredItems.Add("Stone", 5, recover: true);
			buildPiece93.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece93.Category.Set("Stone Building");
			WearNTear component44 = buildPiece93.Prefab.GetComponent<WearNTear>();
			component44.m_ashDamageImmune = false;
			component44.m_ashDamageResist = false;
			component44.m_burnable = false;
			BuildPiece buildPiece94 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_26");
			buildPiece94.Tool.Add("GB_Parchment_Tool");
			buildPiece94.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece94.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece94.Category.Set("Stone Building");
			WearNTear component45 = buildPiece94.Prefab.GetComponent<WearNTear>();
			component45.m_ashDamageImmune = false;
			component45.m_ashDamageResist = false;
			component45.m_burnable = false;
			BuildPiece buildPiece95 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_45");
			buildPiece95.Tool.Add("GB_Parchment_Tool");
			buildPiece95.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece95.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece95.Category.Set("Stone Building");
			WearNTear component46 = buildPiece95.Prefab.GetComponent<WearNTear>();
			component46.m_ashDamageImmune = false;
			component46.m_ashDamageResist = false;
			component46.m_burnable = false;
			BuildPiece buildPiece96 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_Invert_26");
			buildPiece96.Tool.Add("GB_Parchment_Tool");
			buildPiece96.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece96.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece96.Category.Set("Stone Building");
			WearNTear component47 = buildPiece96.Prefab.GetComponent<WearNTear>();
			component47.m_ashDamageImmune = false;
			component47.m_ashDamageResist = false;
			component47.m_burnable = false;
			BuildPiece buildPiece97 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_Invert_45");
			buildPiece97.Tool.Add("GB_Parchment_Tool");
			buildPiece97.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece97.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece97.Category.Set("Stone Building");
			WearNTear component48 = buildPiece97.Prefab.GetComponent<WearNTear>();
			component48.m_ashDamageImmune = false;
			component48.m_ashDamageResist = false;
			component48.m_burnable = false;
			BuildPiece buildPiece98 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Stone_Aperture");
			buildPiece98.Tool.Add("GB_Parchment_Tool");
			buildPiece98.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece98.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece98.Category.Set("Stone Building");
			WearNTear component49 = buildPiece98.Prefab.GetComponent<WearNTear>();
			component49.m_ashDamageImmune = false;
			component49.m_ashDamageResist = false;
			component49.m_burnable = false;
			BuildPiece buildPiece99 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_StoneWall");
			buildPiece99.Tool.Add("GB_Parchment_Tool");
			buildPiece99.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece99.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece99.Category.Set("Stone Building");
			WearNTear component50 = buildPiece99.Prefab.GetComponent<WearNTear>();
			component50.m_ashDamageImmune = false;
			component50.m_ashDamageResist = false;
			component50.m_burnable = false;
			BuildPiece buildPiece100 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Halfwall_Battlement");
			buildPiece100.Tool.Add("GB_Parchment_Tool");
			buildPiece100.RequiredItems.Add("Stone", 3, recover: true);
			buildPiece100.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece100.Category.Set("Stone Building");
			WearNTear component51 = buildPiece100.Prefab.GetComponent<WearNTear>();
			component51.m_ashDamageImmune = false;
			component51.m_ashDamageResist = false;
			component51.m_burnable = false;
			BuildPiece buildPiece101 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_StoneWall_Door");
			buildPiece101.Tool.Add("GB_Parchment_Tool");
			buildPiece101.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece101.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece101.Category.Set("Stone Building");
			WearNTear component52 = buildPiece101.Prefab.GetComponent<WearNTear>();
			component52.m_ashDamageImmune = false;
			component52.m_ashDamageResist = false;
			component52.m_burnable = false;
			BuildPiece buildPiece102 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_StoneWall_Door");
			buildPiece102.Tool.Add("GB_Parchment_Tool");
			buildPiece102.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece102.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece102.Category.Set("Stone Building");
			WearNTear component53 = buildPiece102.Prefab.GetComponent<WearNTear>();
			component53.m_ashDamageImmune = false;
			component53.m_ashDamageResist = false;
			component53.m_burnable = false;
			BuildPiece buildPiece103 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wall_Shelf");
			buildPiece103.Tool.Add("GB_Parchment_Tool");
			buildPiece103.RequiredItems.Add("Wood", 6, recover: true);
			buildPiece103.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece103.Category.Set("Furniture");
			BuildPiece buildPiece104 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Rectangle_Rug");
			buildPiece104.Tool.Add("GB_Parchment_Tool");
			buildPiece104.RequiredItems.Add("DeerHide", 6, recover: true);
			buildPiece104.RequiredItems.Add("Coal", 2, recover: true);
			buildPiece104.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece104.Category.Set("Furniture");
			BuildPiece buildPiece105 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Round_Rug");
			buildPiece105.Tool.Add("GB_Parchment_Tool");
			buildPiece105.RequiredItems.Add("DeerHide", 2, recover: true);
			buildPiece105.RequiredItems.Add("Coal", 2, recover: true);
			buildPiece105.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece105.Category.Set("Furniture");
			BuildPiece buildPiece106 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Oval_Rug");
			buildPiece106.Tool.Add("GB_Parchment_Tool");
			buildPiece106.RequiredItems.Add("DeerHide", 4, recover: true);
			buildPiece106.RequiredItems.Add("Coal", 2, recover: true);
			buildPiece106.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece106.Category.Set("Furniture");
			BuildPiece buildPiece107 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Rug_Section");
			buildPiece107.Tool.Add("GB_Parchment_Tool");
			buildPiece107.RequiredItems.Add("DeerHide", 4, recover: true);
			buildPiece107.RequiredItems.Add("Coal", 2, recover: true);
			buildPiece107.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece107.Category.Set("Furniture");
			BuildPiece buildPiece108 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Rug_End");
			buildPiece108.Tool.Add("GB_Parchment_Tool");
			buildPiece108.RequiredItems.Add("DeerHide", 1, recover: true);
			buildPiece108.RequiredItems.Add("Coal", 1, recover: true);
			buildPiece108.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece108.Category.Set("Furniture");
			BuildPiece buildPiece109 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Block_Stairs");
			buildPiece109.Tool.Add("GB_Parchment_Tool");
			buildPiece109.RequiredItems.Add("Stone", 8, recover: true);
			buildPiece109.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece109.Category.Set("Stone Building");
			WearNTear component54 = buildPiece109.Prefab.GetComponent<WearNTear>();
			component54.m_ashDamageImmune = false;
			component54.m_ashDamageResist = false;
			component54.m_burnable = false;
			BuildPiece buildPiece110 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Stairs");
			buildPiece110.Tool.Add("GB_Parchment_Tool");
			buildPiece110.RequiredItems.Add("Stone", 8, recover: true);
			buildPiece110.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece110.Category.Set("Stone Building");
			WearNTear component55 = buildPiece110.Prefab.GetComponent<WearNTear>();
			component55.m_ashDamageImmune = false;
			component55.m_ashDamageResist = false;
			component55.m_burnable = false;
			BuildPiece buildPiece111 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Stairs");
			buildPiece111.Tool.Add("GB_Parchment_Tool");
			buildPiece111.RequiredItems.Add("Wood", 8, recover: true);
			buildPiece111.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece111.Category.Set("Wood Building");
			BuildPiece buildPiece112 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Rock_Pole_Small");
			buildPiece112.Tool.Add("GB_Parchment_Tool");
			buildPiece112.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece112.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece112.Category.Set("Stone Building");
			WearNTear component56 = buildPiece112.Prefab.GetComponent<WearNTear>();
			component56.m_ashDamageImmune = false;
			component56.m_ashDamageResist = false;
			component56.m_burnable = false;
			BuildPiece buildPiece113 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Rock_Pole");
			buildPiece113.Tool.Add("GB_Parchment_Tool");
			buildPiece113.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece113.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece113.Category.Set("Stone Building");
			WearNTear component57 = buildPiece113.Prefab.GetComponent<WearNTear>();
			component57.m_ashDamageImmune = false;
			component57.m_ashDamageResist = false;
			component57.m_burnable = false;
			BuildPiece buildPiece114 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Rock_Beam");
			buildPiece114.Tool.Add("GB_Parchment_Tool");
			buildPiece114.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece114.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece114.Category.Set("Stone Building");
			WearNTear component58 = buildPiece114.Prefab.GetComponent<WearNTear>();
			component58.m_ashDamageImmune = false;
			component58.m_ashDamageResist = false;
			component58.m_burnable = false;
			BuildPiece buildPiece115 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Rock_Beam_Small");
			buildPiece115.Tool.Add("GB_Parchment_Tool");
			buildPiece115.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece115.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece115.Category.Set("Stone Building");
			WearNTear component59 = buildPiece115.Prefab.GetComponent<WearNTear>();
			component59.m_ashDamageImmune = false;
			component59.m_ashDamageResist = false;
			component59.m_burnable = false;
			BuildPiece buildPiece116 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Stone_Orn");
			buildPiece116.Tool.Add("GB_Parchment_Tool");
			buildPiece116.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece116.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece116.Category.Set("Stone Building");
			WearNTear component60 = buildPiece116.Prefab.GetComponent<WearNTear>();
			component60.m_ashDamageImmune = false;
			component60.m_ashDamageResist = false;
			component60.m_burnable = false;
			BuildPiece buildPiece117 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Small_Wall_Orn");
			buildPiece117.Tool.Add("GB_Parchment_Tool");
			buildPiece117.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece117.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece117.Category.Set("Stone Building");
			WearNTear component61 = buildPiece117.Prefab.GetComponent<WearNTear>();
			component61.m_ashDamageImmune = false;
			component61.m_ashDamageResist = false;
			component61.m_burnable = false;
			BuildPiece buildPiece118 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wooden_Door");
			buildPiece118.Tool.Add("GB_Parchment_Tool");
			buildPiece118.RequiredItems.Add("Wood", 12, recover: true);
			buildPiece118.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece118.Category.Set("Wood Building");
			BuildPiece buildPiece119 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Glass_Door");
			buildPiece119.Tool.Add("GB_Parchment_Tool");
			buildPiece119.RequiredItems.Add("Wood", 6, recover: true);
			buildPiece119.RequiredItems.Add("Crystal", 2, recover: true);
			buildPiece119.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece119.Category.Set("Wood Building");
			BuildPiece buildPiece120 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Glass_Door_OdinPlus");
			buildPiece120.Tool.Add("GB_Parchment_Tool");
			buildPiece120.RequiredItems.Add("Wood", 6, recover: true);
			buildPiece120.RequiredItems.Add("Crystal", 2, recover: true);
			buildPiece120.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece120.Category.Set("Wood Building");
			BuildPiece buildPiece121 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Iron_Floor_Grate");
			buildPiece121.Tool.Add("GB_Parchment_Tool");
			buildPiece121.RequiredItems.Add("Iron", 12, recover: true);
			buildPiece121.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece121.Category.Set("Deco");
			WearNTear component62 = buildPiece121.Prefab.GetComponent<WearNTear>();
			component62.m_ashDamageImmune = false;
			component62.m_ashDamageResist = false;
			component62.m_burnable = false;
			BuildPiece buildPiece122 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Rope_Fence");
			buildPiece122.Tool.Add("GB_Parchment_Tool");
			buildPiece122.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece122.RequiredItems.Add("LinenThread", 2, recover: true);
			buildPiece122.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece122.Category.Set("Wood Building");
			BuildPiece buildPiece123 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Iron_Fence");
			buildPiece123.Tool.Add("GB_Parchment_Tool");
			buildPiece123.RequiredItems.Add("Iron", 12, recover: true);
			buildPiece123.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece123.Category.Set("Deco");
			WearNTear component63 = buildPiece123.Prefab.GetComponent<WearNTear>();
			component63.m_ashDamageImmune = false;
			component63.m_ashDamageResist = false;
			component63.m_burnable = false;
			BuildPiece buildPiece124 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Iron_Fence_End");
			buildPiece124.Tool.Add("GB_Parchment_Tool");
			buildPiece124.RequiredItems.Add("Iron", 8, recover: true);
			buildPiece124.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece124.Category.Set("Deco");
			WearNTear component64 = buildPiece124.Prefab.GetComponent<WearNTear>();
			component64.m_ashDamageImmune = false;
			component64.m_ashDamageResist = false;
			component64.m_burnable = false;
			BuildPiece buildPiece125 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Iron_Fence_Door");
			buildPiece125.Tool.Add("GB_Parchment_Tool");
			buildPiece125.RequiredItems.Add("Iron", 12, recover: true);
			buildPiece125.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece125.Category.Set("Deco");
			WearNTear component65 = buildPiece125.Prefab.GetComponent<WearNTear>();
			component65.m_ashDamageImmune = false;
			component65.m_ashDamageResist = false;
			component65.m_burnable = false;
			BuildPiece buildPiece126 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Chest");
			buildPiece126.Tool.Add("GB_Parchment_Tool");
			buildPiece126.RequiredItems.Add("Wood", 12, recover: true);
			buildPiece126.RequiredItems.Add("Obsidian", 4, recover: true);
			buildPiece126.RequiredItems.Add("Bronze", 2, recover: true);
			buildPiece126.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece126.Category.Set("Lights and Storage");
			BuildPiece buildPiece127 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Small_Chest");
			buildPiece127.Tool.Add("GB_Parchment_Tool");
			buildPiece127.RequiredItems.Add("Wood", 8, recover: true);
			buildPiece127.RequiredItems.Add("Bronze", 1, recover: true);
			buildPiece127.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece127.Category.Set("Lights and Storage");
			BuildPiece buildPiece128 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Red_Jute_Bed");
			buildPiece128.Tool.Add("GB_Parchment_Tool");
			buildPiece128.RequiredItems.Add("FineWood", 10, recover: true);
			buildPiece128.RequiredItems.Add("JuteRed", 2, recover: true);
			buildPiece128.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece128.Category.Set("Furniture");
			BuildPiece buildPiece129 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Blue_Jute_Bed");
			buildPiece129.Tool.Add("GB_Parchment_Tool");
			buildPiece129.RequiredItems.Add("FineWood", 10, recover: true);
			buildPiece129.RequiredItems.Add("JuteBlue", 2, recover: true);
			buildPiece129.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece129.Category.Set("Furniture");
			BuildPiece buildPiece130 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Black_Cloth_Bed");
			buildPiece130.Tool.Add("GB_Parchment_Tool");
			buildPiece130.RequiredItems.Add("FineWood", 10, recover: true);
			buildPiece130.RequiredItems.Add("Tar", 2, recover: true);
			buildPiece130.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece130.Category.Set("Furniture");
			BuildPiece buildPiece131 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_RoundWall");
			buildPiece131.Tool.Add("GB_Parchment_Tool");
			buildPiece131.RequiredItems.Add("Stone", 12, recover: true);
			buildPiece131.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece131.Category.Set("Stone Building");
			WearNTear component66 = buildPiece131.Prefab.GetComponent<WearNTear>();
			component66.m_ashDamageImmune = false;
			component66.m_ashDamageResist = false;
			component66.m_burnable = false;
			BuildPiece buildPiece132 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_RoundWall_Aperture");
			buildPiece132.Tool.Add("GB_Parchment_Tool");
			buildPiece132.RequiredItems.Add("Stone", 12, recover: true);
			buildPiece132.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece132.Category.Set("Stone Building");
			WearNTear component67 = buildPiece132.Prefab.GetComponent<WearNTear>();
			component67.m_ashDamageImmune = false;
			component67.m_ashDamageResist = false;
			component67.m_burnable = false;
			BuildPiece buildPiece133 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_RoundWall_Door");
			buildPiece133.Tool.Add("GB_Parchment_Tool");
			buildPiece133.RequiredItems.Add("Stone", 12, recover: true);
			buildPiece133.RequiredItems.Add("Wood", 6, recover: true);
			buildPiece133.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece133.Category.Set("Stone Building");
			WearNTear component68 = buildPiece133.Prefab.GetComponent<WearNTear>();
			component68.m_ashDamageImmune = false;
			component68.m_ashDamageResist = false;
			component68.m_burnable = false;
			BuildPiece buildPiece134 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_RoundWall_DoorFrame");
			buildPiece134.Tool.Add("GB_Parchment_Tool");
			buildPiece134.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece134.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece134.Category.Set("Stone Building");
			WearNTear component69 = buildPiece134.Prefab.GetComponent<WearNTear>();
			component69.m_ashDamageImmune = false;
			component69.m_ashDamageResist = false;
			component69.m_burnable = false;
			BuildPiece buildPiece135 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_RoundWall_Third");
			buildPiece135.Tool.Add("GB_Parchment_Tool");
			buildPiece135.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece135.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece135.Category.Set("Stone Building");
			WearNTear component70 = buildPiece135.Prefab.GetComponent<WearNTear>();
			component70.m_ashDamageImmune = false;
			component70.m_ashDamageResist = false;
			component70.m_burnable = false;
			BuildPiece buildPiece136 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_RoundWall_Window");
			buildPiece136.Tool.Add("GB_Parchment_Tool");
			buildPiece136.RequiredItems.Add("Stone", 12, recover: true);
			buildPiece136.RequiredItems.Add("Crystal", 2, recover: true);
			buildPiece136.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece136.Category.Set("Stone Building");
			WearNTear component71 = buildPiece136.Prefab.GetComponent<WearNTear>();
			component71.m_ashDamageImmune = false;
			component71.m_ashDamageResist = false;
			component71.m_burnable = false;
			BuildPiece buildPiece137 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_RoundWall_Window_OP");
			buildPiece137.Tool.Add("GB_Parchment_Tool");
			buildPiece137.RequiredItems.Add("Stone", 12, recover: true);
			buildPiece137.RequiredItems.Add("Crystal", 2, recover: true);
			buildPiece137.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece137.Category.Set("Stone Building");
			WearNTear component72 = buildPiece137.Prefab.GetComponent<WearNTear>();
			component72.m_ashDamageImmune = false;
			component72.m_ashDamageResist = false;
			component72.m_burnable = false;
			BuildPiece buildPiece138 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Roundwall_Battlement");
			buildPiece138.Tool.Add("GB_Parchment_Tool");
			buildPiece138.RequiredItems.Add("Stone", 8, recover: true);
			buildPiece138.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece138.Category.Set("Stone Building");
			WearNTear component73 = buildPiece138.Prefab.GetComponent<WearNTear>();
			component73.m_ashDamageImmune = false;
			component73.m_ashDamageResist = false;
			component73.m_burnable = false;
			BuildPiece buildPiece139 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_1x1");
			buildPiece139.Tool.Add("GB_Parchment_Tool");
			buildPiece139.RequiredItems.Add("Stone", 1, recover: true);
			buildPiece139.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece139.Category.Set("Stone Building");
			WearNTear component74 = buildPiece139.Prefab.GetComponent<WearNTear>();
			component74.m_ashDamageImmune = false;
			component74.m_ashDamageResist = false;
			component74.m_burnable = false;
			BuildPiece buildPiece140 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Hanging_Candles");
			buildPiece140.Tool.Add("GB_Parchment_Tool");
			buildPiece140.RequiredItems.Add("Tin", 3, recover: true);
			buildPiece140.RequiredItems.Add("Resin", 2, recover: true);
			buildPiece140.RequiredItems.Add("Honey", 2, recover: true);
			buildPiece140.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece140.Category.Set("Lights and Storage");
			BuildPiece buildPiece141 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wooden_Cup");
			buildPiece141.Tool.Add("GB_Parchment_Tool");
			buildPiece141.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece141.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece141.Category.Set("Deco");
			BuildPiece buildPiece142 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Tin_Cup");
			buildPiece142.Tool.Add("GB_Parchment_Tool");
			buildPiece142.RequiredItems.Add("Tin", 1, recover: true);
			buildPiece142.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece142.Category.Set("Deco");
			BuildPiece buildPiece143 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wooden_Plate");
			buildPiece143.Tool.Add("GB_Parchment_Tool");
			buildPiece143.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece143.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece143.Category.Set("Deco");
			BuildPiece buildPiece144 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Tin_Plate");
			buildPiece144.Tool.Add("GB_Parchment_Tool");
			buildPiece144.RequiredItems.Add("Tin", 1, recover: true);
			buildPiece144.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece144.Category.Set("Deco");
			BuildPiece buildPiece145 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Odin_Banner");
			buildPiece145.Tool.Add("GB_Parchment_Tool");
			buildPiece145.RequiredItems.Add("Iron", 1, recover: true);
			buildPiece145.RequiredItems.Add("LinenThread", 2, recover: true);
			buildPiece145.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece145.Category.Set("Deco");
			BuildPiece buildPiece146 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Standing_Brazier");
			buildPiece146.Tool.Add("GB_Parchment_Tool");
			buildPiece146.RequiredItems.Add("Tin", 6, recover: true);
			buildPiece146.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece146.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece146.Category.Set("Lights and Storage");
			BuildPiece buildPiece147 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Standing_Torch");
			buildPiece147.Tool.Add("GB_Parchment_Tool");
			buildPiece147.RequiredItems.Add("Tin", 4, recover: true);
			buildPiece147.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece147.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece147.Category.Set("Lights and Storage");
			BuildPiece buildPiece148 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Tower_Roof");
			buildPiece148.Tool.Add("GB_Parchment_Tool");
			buildPiece148.RequiredItems.Add("Stone", 5, recover: true);
			buildPiece148.RequiredItems.Add("FineWood", 4, recover: true);
			buildPiece148.RequiredItems.Add("Wood", 15, recover: true);
			buildPiece148.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece148.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece148.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece149 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Half_Roof_26");
			buildPiece149.Tool.Add("GB_Parchment_Tool");
			buildPiece149.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece149.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece149.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece149.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece149.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece150 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Half_Roof_45");
			buildPiece150.Tool.Add("GB_Parchment_Tool");
			buildPiece150.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece150.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece150.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece150.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece150.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece151 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Corner_Roof_45");
			buildPiece151.Tool.Add("GB_Parchment_Tool");
			buildPiece151.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece151.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece151.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece151.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece151.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece152 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Inverted_Corner_Roof");
			buildPiece152.Tool.Add("GB_Parchment_Tool");
			buildPiece152.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece152.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece152.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece152.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece152.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece153 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Roof_45");
			buildPiece153.Tool.Add("GB_Parchment_Tool");
			buildPiece153.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece153.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece153.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece153.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece153.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece154 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Roof_Top_45");
			buildPiece154.Tool.Add("GB_Parchment_Tool");
			buildPiece154.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece154.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece154.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece154.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece154.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece155 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Corner_Roof_26");
			buildPiece155.Tool.Add("GB_Parchment_Tool");
			buildPiece155.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece155.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece155.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece155.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece155.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece156 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Inverted_Corner_Roof_26");
			buildPiece156.Tool.Add("GB_Parchment_Tool");
			buildPiece156.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece156.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece156.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece156.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece156.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece157 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Roof_26");
			buildPiece157.Tool.Add("GB_Parchment_Tool");
			buildPiece157.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece157.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece157.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece157.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece157.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece158 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Roof_Top_26");
			buildPiece158.Tool.Add("GB_Parchment_Tool");
			buildPiece158.RequiredItems.Add("FineWood", 1, recover: true);
			buildPiece158.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece158.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece158.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece158.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece159 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Roof_Point");
			buildPiece159.Tool.Add("GB_Parchment_Tool");
			buildPiece159.RequiredItems.Add("FineWood", 4, recover: true);
			buildPiece159.RequiredItems.Add("Wood", 8, recover: true);
			buildPiece159.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece159.Category.Set("Wood Building");
			MaterialReplacer.RegisterGameObjectForShaderSwap(buildPiece159.Prefab, MaterialReplacer.ShaderType.UseUnityShader);
			BuildPiece buildPiece160 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Railing");
			buildPiece160.Tool.Add("GB_Parchment_Tool");
			buildPiece160.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece160.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece160.Category.Set("Stone Building");
			WearNTear component75 = buildPiece160.Prefab.GetComponent<WearNTear>();
			component75.m_ashDamageImmune = false;
			component75.m_ashDamageResist = false;
			component75.m_burnable = false;
			BuildPiece buildPiece161 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Railing");
			buildPiece161.Tool.Add("GB_Parchment_Tool");
			buildPiece161.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece161.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece161.Category.Set("Wood Building");
			BuildPiece buildPiece162 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Stairs_Left");
			buildPiece162.Tool.Add("GB_Parchment_Tool");
			buildPiece162.RequiredItems.Add("Wood", 8, recover: true);
			buildPiece162.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece162.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece162.Category.Set("Wood Building");
			BuildPiece buildPiece163 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Stairs_Right");
			buildPiece163.Tool.Add("GB_Parchment_Tool");
			buildPiece163.RequiredItems.Add("Wood", 8, recover: true);
			buildPiece163.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece163.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece163.Category.Set("Wood Building");
			BuildPiece buildPiece164 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Small_Cupboard");
			buildPiece164.Tool.Add("GB_Parchment_Tool");
			buildPiece164.RequiredItems.Add("FineWood", 6, recover: true);
			buildPiece164.RequiredItems.Add("BronzeNails", 2, recover: true);
			buildPiece164.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece164.Category.Set("Lights and Storage");
			BuildPiece buildPiece165 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Cupboard");
			buildPiece165.Tool.Add("GB_Parchment_Tool");
			buildPiece165.RequiredItems.Add("FineWood", 14, recover: true);
			buildPiece165.RequiredItems.Add("BronzeNails", 4, recover: true);
			buildPiece165.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece165.Category.Set("Lights and Storage");
			BuildPiece buildPiece166 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Railing_26");
			buildPiece166.Tool.Add("GB_Parchment_Tool");
			buildPiece166.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece166.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece166.Category.Set("Stone Building");
			WearNTear component76 = buildPiece166.Prefab.GetComponent<WearNTear>();
			component76.m_ashDamageImmune = false;
			component76.m_ashDamageResist = false;
			component76.m_burnable = false;
			BuildPiece buildPiece167 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_Battlement_26");
			buildPiece167.Tool.Add("GB_Parchment_Tool");
			buildPiece167.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece167.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece167.Category.Set("Stone Building");
			WearNTear component77 = buildPiece167.Prefab.GetComponent<WearNTear>();
			component77.m_ashDamageImmune = false;
			component77.m_ashDamageResist = false;
			component77.m_burnable = false;
			BuildPiece buildPiece168 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wooden_Railing_26");
			buildPiece168.Tool.Add("GB_Parchment_Tool");
			buildPiece168.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece168.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece168.Category.Set("Wood Building");
			BuildPiece buildPiece169 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Hatch");
			buildPiece169.Tool.Add("GB_Parchment_Tool");
			buildPiece169.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece169.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece169.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece169.Category.Set("Stone Building");
			WearNTear component78 = buildPiece169.Prefab.GetComponent<WearNTear>();
			component78.m_ashDamageImmune = false;
			component78.m_ashDamageResist = false;
			component78.m_burnable = false;
			BuildPiece buildPiece170 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Beam_Deco_1");
			buildPiece170.Tool.Add("GB_Parchment_Tool");
			buildPiece170.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece170.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece170.Category.Set("Deco");
			WearNTear component79 = buildPiece170.Prefab.GetComponent<WearNTear>();
			component79.m_ashDamageImmune = false;
			component79.m_ashDamageResist = false;
			component79.m_burnable = false;
			BuildPiece buildPiece171 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Beam_Deco_2");
			buildPiece171.Tool.Add("GB_Parchment_Tool");
			buildPiece171.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece171.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece171.Category.Set("Deco");
			WearNTear component80 = buildPiece171.Prefab.GetComponent<WearNTear>();
			component80.m_ashDamageImmune = false;
			component80.m_ashDamageResist = false;
			component80.m_burnable = false;
			BuildPiece buildPiece172 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Beam_Deco_1");
			buildPiece172.Tool.Add("GB_Parchment_Tool");
			buildPiece172.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece172.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece172.Category.Set("Deco");
			BuildPiece buildPiece173 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Beam_Deco_2");
			buildPiece173.Tool.Add("GB_Parchment_Tool");
			buildPiece173.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece173.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece173.Category.Set("Deco");
			BuildPiece buildPiece174 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Broken_Barrel");
			buildPiece174.Tool.Add("GB_Parchment_Tool");
			buildPiece174.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece174.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece174.Category.Set("Furniture");
			BuildPiece buildPiece175 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Broken_Wood_Pile");
			buildPiece175.Tool.Add("GB_Parchment_Tool");
			buildPiece175.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece175.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece175.Category.Set("Deco");
			BuildPiece buildPiece176 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Small_Rock_Pile");
			buildPiece176.Tool.Add("GB_Parchment_Tool");
			buildPiece176.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece176.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece176.Category.Set("Deco");
			WearNTear component81 = buildPiece176.Prefab.GetComponent<WearNTear>();
			component81.m_ashDamageImmune = false;
			component81.m_ashDamageResist = false;
			component81.m_burnable = false;
			BuildPiece buildPiece177 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Large_Rock_Pile");
			buildPiece177.Tool.Add("GB_Parchment_Tool");
			buildPiece177.RequiredItems.Add("Stone", 6, recover: true);
			buildPiece177.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece177.Category.Set("Deco");
			WearNTear component82 = buildPiece177.Prefab.GetComponent<WearNTear>();
			component82.m_ashDamageImmune = false;
			component82.m_ashDamageResist = false;
			component82.m_burnable = false;
			BuildPiece buildPiece178 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Pile_O_Bones");
			buildPiece178.Tool.Add("GB_Parchment_Tool");
			buildPiece178.RequiredItems.Add("BoneFragments", 4, recover: true);
			buildPiece178.RequiredItems.Add("TrophySkeleton", 2, recover: true);
			buildPiece178.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece178.Category.Set("Deco");
			WearNTear component83 = buildPiece178.Prefab.GetComponent<WearNTear>();
			component83.m_ashDamageImmune = false;
			component83.m_ashDamageResist = false;
			component83.m_burnable = false;
			BuildPiece buildPiece179 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_Broken_1");
			buildPiece179.Tool.Add("GB_Parchment_Tool");
			buildPiece179.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece179.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece179.Category.Set("Stone Building");
			WearNTear component84 = buildPiece179.Prefab.GetComponent<WearNTear>();
			component84.m_ashDamageImmune = false;
			component84.m_ashDamageResist = false;
			component84.m_burnable = false;
			BuildPiece buildPiece180 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Pillar_Broken_2");
			buildPiece180.Tool.Add("GB_Parchment_Tool");
			buildPiece180.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece180.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece180.Category.Set("Stone Building");
			WearNTear component85 = buildPiece180.Prefab.GetComponent<WearNTear>();
			component85.m_ashDamageImmune = false;
			component85.m_ashDamageResist = false;
			component85.m_burnable = false;
			BuildPiece buildPiece181 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Wall_Broken");
			buildPiece181.Tool.Add("GB_Parchment_Tool");
			buildPiece181.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece181.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece181.Category.Set("Stone Building");
			WearNTear component86 = buildPiece181.Prefab.GetComponent<WearNTear>();
			component86.m_ashDamageImmune = false;
			component86.m_ashDamageResist = false;
			component86.m_burnable = false;
			BuildPiece buildPiece182 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_RoundWall_Corbel");
			buildPiece182.Tool.Add("GB_Parchment_Tool");
			buildPiece182.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece182.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece182.Category.Set("Stone Building");
			WearNTear component87 = buildPiece182.Prefab.GetComponent<WearNTear>();
			component87.m_ashDamageImmune = false;
			component87.m_ashDamageResist = false;
			component87.m_burnable = false;
			BuildPiece buildPiece183 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wall_Corbel_1");
			buildPiece183.Tool.Add("GB_Parchment_Tool");
			buildPiece183.RequiredItems.Add("Stone", 1, recover: true);
			buildPiece183.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece183.Category.Set("Stone Building");
			WearNTear component88 = buildPiece183.Prefab.GetComponent<WearNTear>();
			component88.m_ashDamageImmune = false;
			component88.m_ashDamageResist = false;
			component88.m_burnable = false;
			BuildPiece buildPiece184 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wall_Corbel_2");
			buildPiece184.Tool.Add("GB_Parchment_Tool");
			buildPiece184.RequiredItems.Add("Stone", 1, recover: true);
			buildPiece184.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece184.Category.Set("Stone Building");
			WearNTear component89 = buildPiece184.Prefab.GetComponent<WearNTear>();
			component89.m_ashDamageImmune = false;
			component89.m_ashDamageResist = false;
			component89.m_burnable = false;
			BuildPiece buildPiece185 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Tapestry_1");
			buildPiece185.Tool.Add("GB_Parchment_Tool");
			buildPiece185.RequiredItems.Add("LinenThread", 10, recover: true);
			buildPiece185.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece185.Category.Set("Furniture");
			BuildPiece buildPiece186 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Tapestry_2");
			buildPiece186.Tool.Add("GB_Parchment_Tool");
			buildPiece186.RequiredItems.Add("LinenThread", 10, recover: true);
			buildPiece186.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece186.Category.Set("Furniture");
			BuildPiece buildPiece187 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Tapestry_3");
			buildPiece187.Tool.Add("GB_Parchment_Tool");
			buildPiece187.RequiredItems.Add("LinenThread", 10, recover: true);
			buildPiece187.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece187.Category.Set("Furniture");
			BuildPiece buildPiece188 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Tapestry_4");
			buildPiece188.Tool.Add("GB_Parchment_Tool");
			buildPiece188.RequiredItems.Add("LinenThread", 10, recover: true);
			buildPiece188.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece188.Category.Set("Furniture");
			BuildPiece buildPiece189 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Chimney");
			buildPiece189.Tool.Add("GB_Parchment_Tool");
			buildPiece189.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece189.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece189.Category.Set("Stone Building");
			WearNTear component90 = buildPiece189.Prefab.GetComponent<WearNTear>();
			component90.m_ashDamageImmune = false;
			component90.m_ashDamageResist = false;
			component90.m_burnable = false;
			BuildPiece buildPiece190 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Marble_Fireplace");
			buildPiece190.Tool.Add("GB_Parchment_Tool");
			buildPiece190.RequiredItems.Add("BlackMarble", 5, recover: true);
			buildPiece190.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece190.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece190.Category.Set("Stone Building");
			WearNTear component91 = buildPiece190.Prefab.GetComponent<WearNTear>();
			component91.m_ashDamageImmune = false;
			component91.m_ashDamageResist = false;
			component91.m_burnable = false;
			BuildPiece buildPiece191 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Wood_Beam_26");
			buildPiece191.Tool.Add("GB_Parchment_Tool");
			buildPiece191.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece191.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece191.Category.Set("Wood Building");
			BuildPiece buildPiece192 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Wood_Beam_45");
			buildPiece192.Tool.Add("GB_Parchment_Tool");
			buildPiece192.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece192.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece192.Category.Set("Wood Building");
			BuildPiece buildPiece193 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Wood_Beam");
			buildPiece193.Tool.Add("GB_Parchment_Tool");
			buildPiece193.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece193.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece193.Category.Set("Wood Building");
			BuildPiece buildPiece194 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Wood_Pole");
			buildPiece194.Tool.Add("GB_Parchment_Tool");
			buildPiece194.RequiredItems.Add("Wood", 2, recover: true);
			buildPiece194.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece194.Category.Set("Wood Building");
			BuildPiece buildPiece195 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Wood_Pole_Small");
			buildPiece195.Tool.Add("GB_Parchment_Tool");
			buildPiece195.RequiredItems.Add("Wood", 1, recover: true);
			buildPiece195.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece195.Category.Set("Wood Building");
			BuildPiece buildPiece196 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Castle_Wood_Beam_Small");
			buildPiece196.Tool.Add("GB_Parchment_Tool");
			buildPiece196.RequiredItems.Add("Wood", 1, recover: true);
			buildPiece196.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece196.Category.Set("Wood Building");
			BuildPiece buildPiece197 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Arch");
			buildPiece197.Tool.Add("GB_Parchment_Tool");
			buildPiece197.RequiredItems.Add("Wood", 4, recover: true);
			buildPiece197.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece197.Category.Set("Wood Building");
			BuildPiece buildPiece198 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Wall_Roof_Top");
			buildPiece198.Tool.Add("GB_Parchment_Tool");
			buildPiece198.RequiredItems.Add("Wood", 3, recover: true);
			buildPiece198.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece198.Category.Set("Wood Building");
			BuildPiece buildPiece199 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Wall_Roof_Top_45");
			buildPiece199.Tool.Add("GB_Parchment_Tool");
			buildPiece199.RequiredItems.Add("Wood", 3, recover: true);
			buildPiece199.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece199.Category.Set("Wood Building");
			BuildPiece buildPiece200 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Beam_Deco");
			buildPiece200.Tool.Add("GB_Parchment_Tool");
			buildPiece200.RequiredItems.Add("Wood", 1, recover: true);
			buildPiece200.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece200.Category.Set("Wood Building");
			BuildPiece buildPiece201 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Pole_Deco_Down");
			buildPiece201.Tool.Add("GB_Parchment_Tool");
			buildPiece201.RequiredItems.Add("Wood", 1, recover: true);
			buildPiece201.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece201.Category.Set("Wood Building");
			BuildPiece buildPiece202 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Wood_Pole_Deco_Up");
			buildPiece202.Tool.Add("GB_Parchment_Tool");
			buildPiece202.RequiredItems.Add("Wood", 1, recover: true);
			buildPiece202.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece202.Category.Set("Wood Building");
			BuildPiece buildPiece203 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Tower_Floor_Deco");
			buildPiece203.Tool.Add("GB_Parchment_Tool");
			buildPiece203.RequiredItems.Add("Stone", 10, recover: true);
			buildPiece203.RequiredItems.Add("Wood", 10, recover: true);
			buildPiece203.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece203.Category.Set("Deco");
			WearNTear component92 = buildPiece203.Prefab.GetComponent<WearNTear>();
			component92.m_ashDamageImmune = false;
			component92.m_ashDamageResist = false;
			component92.m_burnable = false;
			BuildPiece buildPiece204 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Floor_Deco_1");
			buildPiece204.Tool.Add("GB_Parchment_Tool");
			buildPiece204.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece204.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece204.Category.Set("Deco");
			WearNTear component93 = buildPiece204.Prefab.GetComponent<WearNTear>();
			component93.m_ashDamageImmune = false;
			component93.m_ashDamageResist = false;
			component93.m_burnable = false;
			BuildPiece buildPiece205 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Floor_Deco_2");
			buildPiece205.Tool.Add("GB_Parchment_Tool");
			buildPiece205.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece205.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece205.Category.Set("Deco");
			WearNTear component94 = buildPiece205.Prefab.GetComponent<WearNTear>();
			component94.m_ashDamageImmune = false;
			component94.m_ashDamageResist = false;
			component94.m_burnable = false;
			BuildPiece buildPiece206 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Floor_Deco_3");
			buildPiece206.Tool.Add("GB_Parchment_Tool");
			buildPiece206.RequiredItems.Add("Stone", 4, recover: true);
			buildPiece206.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece206.Category.Set("Deco");
			WearNTear component95 = buildPiece206.Prefab.GetComponent<WearNTear>();
			component95.m_ashDamageImmune = false;
			component95.m_ashDamageResist = false;
			component95.m_burnable = false;
			BuildPiece buildPiece207 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Floor_Deco_4");
			buildPiece207.Tool.Add("GB_Parchment_Tool");
			buildPiece207.RequiredItems.Add("Stone", 2, recover: true);
			buildPiece207.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece207.Category.Set("Deco");
			WearNTear component96 = buildPiece207.Prefab.GetComponent<WearNTear>();
			component96.m_ashDamageImmune = false;
			component96.m_ashDamageResist = false;
			component96.m_burnable = false;
			BuildPiece buildPiece208 = new BuildPiece(PiecePrefabManager.RegisterAssetBundle("gbcastles"), "GB_Stone_Floor_Deco_5");
			buildPiece208.Tool.Add("GB_Parchment_Tool");
			buildPiece208.RequiredItems.Add("Stone", 1, recover: true);
			buildPiece208.Crafting.Set(PieceManager.CraftingTable.Workbench);
			buildPiece208.Category.Set("Deco");
			WearNTear component97 = buildPiece208.Prefab.GetComponent<WearNTear>();
			component97.m_ashDamageImmune = false;
			component97.m_ashDamageResist = false;
			component97.m_burnable = false;
			BuildPiece buildPiece209 = new BuildPiece(P