Decompiled source of BuildIt v1.6.4

plugins/BuildIt.dll

Decompiled 6 months ago
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using Jotunn;
using Jotunn.Configs;
using Jotunn.Entities;
using Jotunn.Managers;
using Jotunn.Utils;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyTitle("BuildIt")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BuildIt")]
[assembly: AssemblyCopyright("Copyright RockerKitten©  2021")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("e3243d22-4307-4008-ba36-9f326008cde5")]
[assembly: AssemblyFileVersion("0.1.6.1")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("0.1.6.1")]
[module: UnverifiableCode]
namespace BuildIt;

[BepInPlugin("RockerKitten.BuildIt", "BuildIt", "1.6.4")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[NetworkCompatibility(/*Could not decode attribute arguments.*/)]
internal class BuildIt : BaseUnityPlugin
{
	public const string PluginGUID = "RockerKitten.BuildIt";

	public const string PluginName = "BuildIt";

	public const string PluginVersion = "1.6.4";

	public AssetBundle assetBundle;

	public EffectList buildStone;

	public EffectList breakStone;

	public EffectList hitStone;

	public EffectList breakWood;

	public EffectList hitWood;

	public EffectList buildMetal;

	public EffectList breakMetal;

	public EffectList hitMetal;

	public EffectList hearthAddFuel;

	public EffectList fireAddFuel;

	public EffectList buildRug;

	public EffectList doorOpen;

	public EffectList doorClose;

	public EffectList buildWood;

	public AudioSource fireVol;

	public CustomPieceTable ImprovedHammer;

	private void Awake()
	{
		LoadAssets();
		AddLocalizations();
		PrefabManager.OnVanillaPrefabsAvailable += LoadSounds;
	}

	public void LoadAssets()
	{
		assetBundle = AssetUtils.LoadAssetBundleFromResources("buildit", Assembly.GetExecutingAssembly());
	}

	private void LoadSounds()
	{
		//IL_00fe: Unknown result type (might be due to invalid IL or missing references)
		//IL_0105: Expected O, but got Unknown
		//IL_010f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0114: Unknown result type (might be due to invalid IL or missing references)
		//IL_011c: Expected O, but got Unknown
		//IL_011e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0123: Unknown result type (might be due to invalid IL or missing references)
		//IL_012b: Expected O, but got Unknown
		//IL_0138: Unknown result type (might be due to invalid IL or missing references)
		//IL_013f: Expected O, but got Unknown
		//IL_0149: Unknown result type (might be due to invalid IL or missing references)
		//IL_014e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0156: Expected O, but got Unknown
		//IL_0158: Unknown result type (might be due to invalid IL or missing references)
		//IL_015d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0166: Expected O, but got Unknown
		//IL_0173: Unknown result type (might be due to invalid IL or missing references)
		//IL_017a: Expected O, but got Unknown
		//IL_0184: Unknown result type (might be due to invalid IL or missing references)
		//IL_0189: Unknown result type (might be due to invalid IL or missing references)
		//IL_0192: Expected O, but got Unknown
		//IL_019f: Unknown result type (might be due to invalid IL or missing references)
		//IL_01a6: Expected O, but got Unknown
		//IL_01b0: Unknown result type (might be due to invalid IL or missing references)
		//IL_01b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_01bd: Expected O, but got Unknown
		//IL_01bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_01c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_01cc: Expected O, but got Unknown
		//IL_01d9: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e0: Expected O, but got Unknown
		//IL_01ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_01ef: Unknown result type (might be due to invalid IL or missing references)
		//IL_01f8: Expected O, but got Unknown
		//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_01ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_0208: Expected O, but got Unknown
		//IL_0215: Unknown result type (might be due to invalid IL or missing references)
		//IL_021c: Expected O, but got Unknown
		//IL_0226: Unknown result type (might be due to invalid IL or missing references)
		//IL_022b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0234: Expected O, but got Unknown
		//IL_0241: Unknown result type (might be due to invalid IL or missing references)
		//IL_0248: Expected O, but got Unknown
		//IL_0252: Unknown result type (might be due to invalid IL or missing references)
		//IL_0257: Unknown result type (might be due to invalid IL or missing references)
		//IL_0260: Expected O, but got Unknown
		//IL_0262: Unknown result type (might be due to invalid IL or missing references)
		//IL_0267: Unknown result type (might be due to invalid IL or missing references)
		//IL_026f: Expected O, but got Unknown
		//IL_027c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0283: Expected O, but got Unknown
		//IL_028d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0292: Unknown result type (might be due to invalid IL or missing references)
		//IL_029a: Expected O, but got Unknown
		//IL_029c: Unknown result type (might be due to invalid IL or missing references)
		//IL_02a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_02aa: Expected O, but got Unknown
		//IL_02b7: Unknown result type (might be due to invalid IL or missing references)
		//IL_02be: Expected O, but got Unknown
		//IL_02c8: Unknown result type (might be due to invalid IL or missing references)
		//IL_02cd: Unknown result type (might be due to invalid IL or missing references)
		//IL_02d6: Expected O, but got Unknown
		//IL_02e3: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ea: Expected O, but got Unknown
		//IL_02f4: Unknown result type (might be due to invalid IL or missing references)
		//IL_02f9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0302: Expected O, but got Unknown
		//IL_0304: Unknown result type (might be due to invalid IL or missing references)
		//IL_0309: Unknown result type (might be due to invalid IL or missing references)
		//IL_0312: Expected O, but got Unknown
		//IL_031f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0326: Expected O, but got Unknown
		//IL_0330: Unknown result type (might be due to invalid IL or missing references)
		//IL_0335: Unknown result type (might be due to invalid IL or missing references)
		//IL_033e: Expected O, but got Unknown
		//IL_0340: Unknown result type (might be due to invalid IL or missing references)
		//IL_0345: Unknown result type (might be due to invalid IL or missing references)
		//IL_034e: Expected O, but got Unknown
		//IL_035b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0362: Expected O, but got Unknown
		//IL_036c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0371: Unknown result type (might be due to invalid IL or missing references)
		//IL_037a: Expected O, but got Unknown
		//IL_037c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0381: Unknown result type (might be due to invalid IL or missing references)
		//IL_0389: Expected O, but got Unknown
		//IL_0396: Unknown result type (might be due to invalid IL or missing references)
		//IL_039d: Expected O, but got Unknown
		//IL_03a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_03ac: Unknown result type (might be due to invalid IL or missing references)
		//IL_03b5: Expected O, but got Unknown
		//IL_03c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_03c9: Expected O, but got Unknown
		//IL_03d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_03d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e1: Expected O, but got Unknown
		GameObject prefab = Cache.GetPrefab<GameObject>("sfx_build_hammer_stone");
		GameObject prefab2 = Cache.GetPrefab<GameObject>("vfx_Place_stone_wall_2x1");
		GameObject prefab3 = Cache.GetPrefab<GameObject>("sfx_build_hammer_wood");
		GameObject prefab4 = Cache.GetPrefab<GameObject>("sfx_rock_destroyed");
		GameObject prefab5 = Cache.GetPrefab<GameObject>("sfx_wood_break");
		GameObject prefab6 = Cache.GetPrefab<GameObject>("sfx_build_hammer_metal");
		GameObject prefab7 = Cache.GetPrefab<GameObject>("vfx_HitSparks");
		GameObject prefab8 = Cache.GetPrefab<GameObject>("vfx_FireAddFuel");
		GameObject prefab9 = Cache.GetPrefab<GameObject>("sfx_FireAddFuel");
		GameObject prefab10 = Cache.GetPrefab<GameObject>("sfx_Rock_Hit");
		GameObject prefab11 = Cache.GetPrefab<GameObject>("vfx_HearthAddFuel");
		Cache.GetPrefab<GameObject>("sfx_chest_open");
		Cache.GetPrefab<GameObject>("sfx_tree_fall_hit");
		Cache.GetPrefab<GameObject>("vfx_tree_fall_hit");
		Cache.GetPrefab<GameObject>("sfx_tree_hit");
		Cache.GetPrefab<GameObject>("vfx_birch1_cut");
		Cache.GetPrefab<GameObject>("sfx_tree_fall");
		GameObject prefab12 = Cache.GetPrefab<GameObject>("vfx_SawDust");
		Cache.GetPrefab<GameObject>("vfx_firlogdestroyed_half");
		GameObject prefab13 = Cache.GetPrefab<GameObject>("sfx_build_hammer_default");
		GameObject prefab14 = Cache.GetPrefab<GameObject>("sfx_door_open");
		GameObject prefab15 = Cache.GetPrefab<GameObject>("sfx_door_close");
		EffectList val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab
			},
			new EffectData
			{
				m_prefab = prefab2
			}
		};
		buildStone = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab4
			},
			new EffectData
			{
				m_prefab = prefab12
			}
		};
		breakStone = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[1]
		{
			new EffectData
			{
				m_prefab = prefab10
			}
		};
		hitStone = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab3
			},
			new EffectData
			{
				m_prefab = prefab2
			}
		};
		buildWood = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab5
			},
			new EffectData
			{
				m_prefab = prefab12
			}
		};
		breakWood = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[1]
		{
			new EffectData
			{
				m_prefab = prefab12
			}
		};
		hitWood = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab6
			},
			new EffectData
			{
				m_prefab = prefab2
			}
		};
		buildMetal = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab4
			},
			new EffectData
			{
				m_prefab = prefab7
			}
		};
		breakMetal = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[1]
		{
			new EffectData
			{
				m_prefab = prefab7
			}
		};
		hitMetal = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab11
			},
			new EffectData
			{
				m_prefab = prefab9
			}
		};
		hearthAddFuel = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab8
			},
			new EffectData
			{
				m_prefab = prefab9
			}
		};
		fireAddFuel = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[2]
		{
			new EffectData
			{
				m_prefab = prefab13
			},
			new EffectData
			{
				m_prefab = prefab2
			}
		};
		buildRug = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[1]
		{
			new EffectData
			{
				m_prefab = prefab14
			}
		};
		doorOpen = val;
		val = new EffectList();
		val.m_effectPrefabs = (EffectData[])(object)new EffectData[1]
		{
			new EffectData
			{
				m_prefab = prefab15
			}
		};
		doorClose = val;
		LoadHammerTable();
		LoadBuild94();
		LoadBuild95();
		LoadBuild158();
		LoadBuild161();
		LoadBuild70();
		LoadBuild78();
		LoadBuild75();
		LoadBuild84();
		LoadBuild157();
		LoadBuild160();
		LoadBuild159();
		LoadBuild162();
		LoadBuild163();
		LoadBuild171();
		LoadBuild166();
		LoadBuild176();
		LoadBuild22();
		LoadBuild23();
		LoadBuild120();
		LoadBuild121();
		LoadBuild126();
		LoadBuild156();
		LoadBuild77();
		LoadBuild142();
		LoadBuild153();
		LoadBuild86();
		LoadBuild141();
		LoadBuild152();
		LoadBuild143();
		LoadBuild144();
		LoadBuild168();
		LoadBuild169();
		LoadBuild170();
		LoadBuild177();
		LoadBuild178();
		LoadBuild199();
		LoadBuild127();
		LoadBuild76();
		LoadBuild85();
		LoadBuild52();
		LoadBuild53();
		LoadBuild71();
		LoadBuild73();
		LoadBuild188();
		LoadBuild189();
		LoadBuild164();
		LoadBuild165();
		LoadBuild59();
		LoadBuild60();
		LoadBuild72();
		LoadBuild74();
		LoadBuild2();
		LoadBuild1();
		LoadBuild79();
		LoadBuild82();
		LoadBuild175();
		LoadBuild172();
		LoadBuild173();
		LoadBuild174();
		LoadBuild4();
		LoadBuild3();
		LoadBuild81();
		LoadBuild83();
		LoadBuild48();
		LoadBuild80();
		LoadBuild49();
		LoadBuild20();
		LoadBuild19();
		LoadBuild6();
		LoadBuild11();
		LoadBuild12();
		LoadBuild46();
		LoadBuild47();
		LoadBuild132();
		LoadBuild97();
		LoadBuild98();
		LoadBuild96();
		LoadBuild185();
		LoadBuild183();
		LoadBuild182();
		LoadBuild13();
		LoadBuild133();
		LoadBuild14();
		LoadBuild134();
		LoadBuild50();
		LoadBuild135();
		LoadBuild61();
		LoadBuild101();
		LoadBuild102();
		LoadBuild15();
		LoadBuild62();
		LoadBuild43();
		LoadBuild44();
		LoadBuild45();
		LoadBuild27();
		LoadBuild24();
		LoadBuild25();
		LoadBuild26();
		LoadBuild28();
		LoadBuild29();
		LoadBuild5();
		LoadBuild10();
		LoadBuild35();
		LoadBuild7();
		LoadBuild32();
		LoadBuild122();
		LoadBuild118();
		LoadBuild8();
		LoadBuild103();
		LoadBuild30();
		LoadBuild31();
		LoadBuild55();
		LoadBuild89();
		LoadBuild200();
		LoadBuild88();
		LoadBuild57();
		LoadBuild87();
		LoadBuild205();
		LoadBuild149();
		LoadBuild150();
		LoadBuild151();
		LoadBuild190();
		LoadBuild191();
		LoadBuild192();
		LoadBuild54();
		LoadBuild90();
		LoadBuild167();
		LoadBuild201();
		LoadBuild56();
		LoadBuild91();
		LoadBuild100();
		LoadBuild184();
		LoadBuild198();
		LoadBuild51();
		LoadBuild145();
		LoadBuild146();
		LoadBuild34();
		LoadBuild99();
		LoadBuild197();
		LoadBuild67();
		LoadBuild66();
		LoadBuild68();
		LoadBuild128();
		LoadBuild179();
		LoadBuild129();
		LoadBuild131();
		LoadBuild180();
		LoadBuild137();
		LoadBuild181();
		LoadBuild138();
		LoadBuild139();
		LoadBuild140();
		LoadBuild147();
		LoadBuild206();
		LoadBuild207();
		LoadBuild208();
		LoadBuild209();
		LoadBuild210();
		LoadBuild211();
		LoadBuild136();
		LoadBuild203();
		LoadBuild40();
		LoadBuild39();
		LoadBuild38();
		LoadBuild37();
		LoadBuild92();
		LoadBuild93();
		LoadBuild194();
		LoadBuild196();
		LoadBuild195();
		LoadBuild193();
		LoadBuild186();
		LoadBuild187();
		LoadBuild41();
		LoadBuild42();
		LoadBuild36();
		LoadBuild63();
		LoadBuild69();
		LoadBuild64();
		LoadBuild148();
		LoadBuild9();
		LoadBuild16();
		LoadBuild17();
		LoadBuild18();
		LoadBuild21();
		LoadBuild65();
		LoadBuild58();
		LoadBuild33();
		LoadBuild104();
		LoadBuild105();
		LoadBuild130();
		LoadBuild106();
		LoadBuild107();
		LoadBuild111();
		LoadBuild109();
		LoadBuild119();
		LoadBuild125();
		LoadBuild108();
		LoadBuild155();
		LoadBuild110();
		LoadBuild154();
		LoadBuild116();
		LoadBuild115();
		LoadBuild204();
		LoadBuild114();
		LoadBuild113();
		LoadBuild112();
		LoadBuild117();
		LoadBuild123();
		LoadBuild124();
		fireVol.outputAudioMixerGroup = AudioMan.instance.m_ambientMixer;
		Logger.LogMessage((object)"Loaded Game VFX and SFX");
		Logger.LogMessage((object)"Load Complete.");
		PrefabManager.OnVanillaPrefabsAvailable -= LoadSounds;
	}

	private void AddLocalizations()
	{
		//IL_0000: Unknown result type (might be due to invalid IL or missing references)
		//IL_0006: Expected O, but got Unknown
		CustomLocalization val = new CustomLocalization();
		string text = "English";
		val.AddTranslation(ref text, new Dictionary<string, string>
		{
			{ "piece_cabinet", "Cabinet" },
			{ "ImprovedHammer", "Improved Hammer" },
			{ "piece_45cornderroof", "45 Corner Roof" },
			{ "piece_45roof", "45 Roof" },
			{ "piece_bedrk", "Bed" },
			{ "piece_blackpinetree", "Black Pine Tree" },
			{ "piece_bucket", "Bucket" },
			{ "piece_candle", "Candle" },
			{ "piece_45roofridge", "45 Roof Ridge" },
			{ "piece_chair", "Chair" },
			{ "piece_cherryblossom", "Cherry Blossom Tree" },
			{ "piece_fencerk", "Fence" },
			{ "piece_halffence", "Half Fence" },
			{ "piece_tablelamp", "Table Lamp" },
			{ "piece_hanginglamp", "Hanging Lamp" },
			{ "piece_lamppost", "Lamp Post" },
			{ "piece_mapletree", "Maple Tree" },
			{ "piece_smallcrate", "Small Crate" },
			{ "piece_groundbrazier", "Ground Brazier" },
			{ "piece_4stonepost", "Stone Post 4m" },
			{ "piece_2stonepost", "Stone Post 2m" },
			{ "piece_lrug", "Large Rug" },
			{ "piece_srug", "Small Rug" },
			{ "piece_screen", "Screen" },
			{ "piece_lshelf", "Long Shelf" },
			{ "piece_sshelf", "Short Shelf" },
			{ "piece_sidetable", "Side Table" },
			{ "piece_stonehearth", "Stone Hearth" },
			{ "piece_stoneslab", "Stone Slab" },
			{ "piece_tablerk", "Table" },
			{ "piece_well", "Well" },
			{ "piece_twindow", "Window Tall" },
			{ "piece_mwindow", "Window Medium" },
			{ "piece_swindow", "Window Short" },
			{ "piece_swindows", "Window Simple" },
			{ "piece_stonewindows", "Stone Window Small" },
			{ "piece_stonewindowl", "Stone Window Long" },
			{ "piece_hfence", "Heavy Fence" },
			{ "piece_hfencecorner", "Heavy Fence Corner" },
			{ "piece_fountain", "Fountain" },
			{ "piece_barrel", "Barrel" },
			{ "piece_crate", "Crate" },
			{ "piece_ironfence", "Iron Fence" },
			{ "piece_floorrk", "Floor" },
			{ "piece_26roofrk", "26 Roof" },
			{ "piece_26roofcorner", "26 Roof Corner" },
			{ "piece_wallrk", "Wall" },
			{ "piece_smallhearth", "Small Hearth" },
			{ "piece_tower", "Tower" },
			{ "pieceroofrk", "Roof" },
			{ "piece_45cornerroof", "45 Roof Corner" },
			{ "piece_woodrack", "Wood Rack" },
			{ "piece_outhouse", "Outhouse" },
			{ "piece_hearthdim", "Dim Smokless Hearth" },
			{ "piece_stoneroof", "Stone Roof" },
			{ "piece_stonestairs", "Stone Stairs" },
			{ "piece_rkstool", "Toilet Seat" },
			{ "piece_26beam", "26 Beam" },
			{ "piece_26inner", "26 Inner Corner Roof" },
			{ "piece_26ridge", "26 Roof Ridge" },
			{ "piece_26roofx", "26 Roof X" },
			{ "piece_26wall", "26 Wall" },
			{ "piece_45beam", "45 Beam" },
			{ "piece_45innerc", "45 Inner Corner Roof" },
			{ "piece_45roofx", "45 Roof X" },
			{ "piece_45wall", "45 Wall" },
			{ "piece_halfwall", "Half Wall" },
			{ "piece_fencehalf", "Half Fence" },
			{ "piece_glassdoor", "Glass Door" },
			{ "piece_rkbeam", "1m Beam" },
			{ "piece_rkbeam2", "2m Beam" },
			{ "piece_rkpole", "1m Pole" },
			{ "piece_rkpole2", "2m Pole" },
			{ "piece_rkstairs", "Wood Stairs" },
			{ "piece_26fence", "26 Fence" },
			{ "piece_gfloor", "Glass Floor" },
			{ "piece_gwall", "Glass Wall" },
			{ "piece_45groof", "45 Glass Roof" },
			{ "piece_45gwall", "45 Glass Wall" },
			{ "piece_metbeam", "Metal Beam" },
			{ "piece_ghousecounter", "Greenhouse Counter" },
			{ "piece_counter", "Counter" },
			{ "piece_rksink", "Sink" },
			{ "piece_potrk", "Pot" },
			{ "piece_rkbonsai", "Bonsai" },
			{ "piece_rkdoor", "Door" },
			{ "piece_rkgate", "Gate" },
			{ "piece_curvecorner", "Arch Corner" },
			{ "piece_26gcroof", "26 Glass Corner Roof" },
			{ "piece_45gcroof", "45 Glass Corner Roof" },
			{ "piece_26to45", "26 to 45 Wall" },
			{ "piece_rkbridge", "Drawbridge" },
			{ "piece_26groof", "26 Glass Roof" },
			{ "piece_metpole1", "1m Metal Pole" },
			{ "piece_metpole2", "2m Metal Pole" },
			{ "piece_metbeam1", "1m Metal Beam" },
			{ "piece_metbeam2", "2m Metal Beam" },
			{ "piece_hangbrazier", "Hanging Brazier" }
		});
		LocalizationManager.Instance.AddLocalization(val);
	}

	private void LoadHammerTable()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0063: Unknown result type (might be due to invalid IL or missing references)
		//IL_006d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("_RKCustomTable");
		PieceTableConfig val2 = new PieceTableConfig();
		val2.CanRemovePieces = true;
		val2.UseCategories = false;
		val2.UseCustomCategories = true;
		val2.CustomCategories = new string[5] { "Structure", "Furniture", "Roofs", "Outdoors", "Greenhouse" };
		ImprovedHammer = new CustomPieceTable(val, val2);
		PieceManager.Instance.AddPieceTable(ImprovedHammer);
		LoadHammer();
	}

	private void LoadHammer()
	{
		//IL_0011: Unknown result type (might be due to invalid IL or missing references)
		//IL_0017: Expected O, but got Unknown
		//IL_004f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0054: Unknown result type (might be due to invalid IL or missing references)
		//IL_005f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0067: Expected O, but got Unknown
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_006e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0079: Unknown result type (might be due to invalid IL or missing references)
		//IL_0081: Expected O, but got Unknown
		//IL_0087: Unknown result type (might be due to invalid IL or missing references)
		//IL_008d: Expected O, but got Unknown
		GameObject obj = assetBundle.LoadAsset<GameObject>("rk_hammer");
		ItemConfig val = new ItemConfig();
		val.Name = "$ImprovedHammer";
		val.Amount = 1;
		val.Enabled = true;
		val.PieceTable = "_RKCustomTable";
		val.RepairStation = "piece_workbench";
		val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 4
			},
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 2
			}
		};
		CustomItem val2 = new CustomItem(obj, false, val);
		ItemManager.Instance.AddItem(val2);
	}

	private void LoadBuild1()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_45corner_roof");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_45cornerroof";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Roofs";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		Material[] componentsInChildren = val.GetComponentsInChildren<Material>();
		foreach (Material val4 in componentsInChildren)
		{
			if (((Object)val4).name == "replace")
			{
				val4.shader = Shader.Find("Custom/Piece");
			}
		}
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild2()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_45roof");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_45roof";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Roofs";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		Material[] componentsInChildren = val.GetComponentsInChildren<Material>();
		foreach (Material val4 in componentsInChildren)
		{
			if (((Object)val4).name == "replace")
			{
				val4.shader = Shader.Find("Custom/Piece");
			}
		}
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild3()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_45corner_roof2");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_45cornerroof";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Roofs";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		Material[] componentsInChildren = val.GetComponentsInChildren<Material>();
		foreach (Material val4 in componentsInChildren)
		{
			if (((Object)val4).name == "replace")
			{
				val4.shader = Shader.Find("Custom/Piece");
			}
		}
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild4()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_45roof2");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_45roof";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Roofs";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		Material[] componentsInChildren = val.GetComponentsInChildren<Material>();
		foreach (Material val4 in componentsInChildren)
		{
			if (((Object)val4).name == "replace")
			{
				val4.shader = Shader.Find("Custom/Piece");
			}
		}
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild5()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0093: Unknown result type (might be due to invalid IL or missing references)
		//IL_0098: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b2: Expected O, but got Unknown
		//IL_00b8: Unknown result type (might be due to invalid IL or missing references)
		//IL_00be: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_bed");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_bedrk";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[3]
		{
			new RequirementConfig
			{
				Item = "FineWood",
				Amount = 5,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Feathers",
				Amount = 6,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "DeerHide",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild6()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_blackpine");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_blackpinetree";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild7()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_bucket");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_bucket";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild8()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_cabinet");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_cabinet";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "FineWood",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild9()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_candle");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_candle";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Tin",
				Amount = 1,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Honey",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildMetal;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakMetal;
		component.m_hitEffect = hitMetal;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild10()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_chair");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_chair";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild11()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_cherryblossom");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_cherryblossom";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild12()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_cherryblossom2");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_cherryblossom";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild13()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_fence");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_fencerk";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild14()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_fence2");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_fencerk";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild15()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_fencehalf");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_fencehalf";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild16()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_lamp");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_tablelamp";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Tin",
				Amount = 2,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Resin",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildMetal;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakMetal;
		component.m_hitEffect = hitMetal;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild17()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_lamphanging");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_hanginglamp";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Tin",
				Amount = 2,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Resin",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildMetal;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakMetal;
		component.m_hitEffect = hitMetal;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild18()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_lamppost");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_lamppost";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Tin",
				Amount = 2,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Resin",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildMetal;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakMetal;
		component.m_hitEffect = hitMetal;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild19()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_maple");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_mapletree";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild20()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_crate2");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_crate";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 6,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild21()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_groundbrazier");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_groundbrazier";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Iron",
				Amount = 2,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Coal",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildMetal;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakMetal;
		component.m_hitEffect = hitMetal;
		fireVol = val.GetComponentInChildren<AudioSource>();
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild22()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_007b: Expected O, but got Unknown
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0087: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_post");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_4stonepost";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Roofs";
		val2.Enabled = true;
		val2.CraftingStation = "piece_stonecutter";
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildStone;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakStone;
		component.m_hitEffect = hitStone;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild23()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_007b: Expected O, but got Unknown
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0087: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_post2");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_2stonepost";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Roofs";
		val2.Enabled = true;
		val2.CraftingStation = "piece_stonecutter";
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildStone;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakStone;
		component.m_hitEffect = hitStone;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild24()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_rug");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_lrug";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "TrollHide",
				Amount = 6,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildRug;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild25()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_rug2");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_srug";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "LeatherScraps",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildRug;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild26()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_rug2large");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_lrug";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "LeatherScraps",
				Amount = 6,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildRug;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild27()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_rugsmall");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_srug";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "TrollHide",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildRug;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild28()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_screen");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_screen";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "TrollHide",
				Amount = 2,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild29()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_screen2");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_screen";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "TrollHide",
				Amount = 2,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild30()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_shelflong");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_lshelf";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild31()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_shelfsmall");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_sshelf";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 6,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild32()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_sidetable");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_sidetable";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 6,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild33()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_stonehearth");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_stonehearth";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildStone;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakStone;
		component.m_hitEffect = hitStone;
		fireVol = val.GetComponentInChildren<AudioSource>();
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild34()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_007b: Expected O, but got Unknown
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0087: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_stoneslab");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_stoneslab";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Structure";
		val2.Enabled = true;
		val2.CraftingStation = "piece_stonecutter";
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildStone;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakStone;
		component.m_hitEffect = hitStone;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild35()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_table");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_table";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild36()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0074: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		//IL_007e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0083: Unknown result type (might be due to invalid IL or missing references)
		//IL_008e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0095: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		//IL_00a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a9: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_well");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_well";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.CraftingStation = "piece_stonecutter";
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 10,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildStone;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakStone;
		component.m_hitEffect = hitStone;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild37()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_window");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_twindow";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Structure";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 6,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild38()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_windowshort");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_mwindow";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Structure";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild39()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_windowshortest");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_swindow";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Structure";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild40()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_windowplain");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_swindows";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Structure";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild41()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_007b: Expected O, but got Unknown
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0087: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_windowstonesmall");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_stonewindows";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Structure";
		val2.Enabled = true;
		val2.CraftingStation = "piece_stonecutter";
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 2,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildStone;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakStone;
		component.m_hitEffect = hitStone;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild42()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_007b: Expected O, but got Unknown
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0087: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_windowstone");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_stonewindowl";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Structure";
		val2.Enabled = true;
		val2.CraftingStation = "piece_stonecutter";
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildStone;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakStone;
		component.m_hitEffect = hitStone;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild43()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_fenceheavy");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_hfence";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "RoundLog",
				Amount = 4,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild44()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_fenceheavy_corner");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_hfencecorner";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 4,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "RoundLog",
				Amount = 4,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild45()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0074: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0088: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_fountain");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_fountain";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.CraftingStation = "piece_stonecutter";
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildStone;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakStone;
		component.m_hitEffect = hitStone;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild46()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_cherryblossom3");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_cherryblossom";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild47()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0071: Expected O, but got Unknown
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_cherryblossom4");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_cherryblossom";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 10,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild48()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_barrel");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_barrel";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 6,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild49()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0076: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_crate");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_crate";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Furniture";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 6,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild50()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_007b: Expected O, but got Unknown
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0087: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_fence3");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_ironfence";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Outdoors";
		val2.Enabled = true;
		val2.CraftingStation = "forge";
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1]
		{
			new RequirementConfig
			{
				Item = "Iron",
				Amount = 1,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildMetal;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_destroyedEffect = breakMetal;
		component.m_hitEffect = hitMetal;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild51()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Expected O, but got Unknown
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0077: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Expected O, but got Unknown
		//IL_0097: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Expected O, but got Unknown
		GameObject val = assetBundle.LoadAsset<GameObject>("rk_floor");
		PieceConfig val2 = new PieceConfig();
		val2.Name = "$piece_floorrk";
		val2.AllowedInDungeons = false;
		val2.PieceTable = "_RKCustomTable";
		val2.Category = "Structure";
		val2.Enabled = true;
		val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2]
		{
			new RequirementConfig
			{
				Item = "Wood",
				Amount = 1,
				Recover = true
			},
			new RequirementConfig
			{
				Item = "Stone",
				Amount = 1,
				Recover = true
			}
		};
		CustomPiece val3 = new CustomPiece(val, false, val2);
		val.GetComponent<Piece>().m_placeEffect = buildWood;
		WearNTear component = val.GetComponent<WearNTear>();
		component.m_hitEffect = hitWood;
		component.m_destroyedEffect = breakWood;
		PieceManager.Instance.AddPiece(val3);
	}

	private void LoadBuild52()
	{
		//IL_0013: Unknown result type (might be due to invalid IL or missing references)
		//IL_0019: Expected O, but got Unknown
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL