Decompiled source of Clutter v0.1.7
plugins/Clutter/Clutter.dll
Decompiled 6 months ago
The result has been truncated due to the large size, download it to view full contents!
using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Security.Permissions; using BepInEx; 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.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("JotunnModStub")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("JotunnModStub")] [assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("e3243d22-4307-4008-ba36-9f326008cde5")] [assembly: AssemblyFileVersion("0.1.7")] [assembly: TargetFramework(".NETFramework,Version=v4.6.2", FrameworkDisplayName = ".NET Framework 4.6.2")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("0.1.7.0")] namespace Clutter; [BepInPlugin("com.plumga.Clutter", "Clutter", "0.1.7")] [BepInDependency(/*Could not decode attribute arguments.*/)] internal class Clutter : BaseUnityPlugin { public const string PluginGUID = "com.plumga.Clutter"; public const string PluginName = "Clutter"; public const string PluginVersion = "0.1.7"; private AssetBundle assetclutter; private AssetBundle assetdeco; private AssetBundle assetfurniture; private AssetBundle assetkitchen; private AssetBundle assetsculptures; private AssetBundle new1; private AssetBundle new2; private AssetBundle assetevilshit; private AssetBundle assetnewcluttermarch2022; private void Awake() { LoadAssets(); LoadTable(); basket(); bucketdeco(); bucketbigdeco(); candlebottle(); candlelantern(); candlelit2(); candlesnake(); candle(); candlelit(); diary(); diarypage(); bluebook(); bluebookhoriz(); redbook(); redbookhoriz(); quillandink(); quillandparchment(); scroll1(); scroll2(); scroll3(); scroll4(); scroll5(); picframe1(); picframe2(); picframe3(); picframe4(); deer(); lox(); wolf(); soap(); pipe(); comb(); straw(); winebottle(); BarberPole(); grave(); bonepile(); bones1(); bones2(); bones3(); bones4(); skull(); itemstandhoriz(); itemstandvert(); itemstandspear(); itemstandstake(); coolchair(); stool(); swing(); swingingswing(); roundtable(); tablewithcloth(); fancychest(); stonechest(); shelf(); shelfwbooks(); shelfwbooksdouble(); weaponrack(); weaponrackfull(); altar(); altarwcandle(); tub(); tubfull(); winerack(); clock(); birdhouse(); bowl(); bowlbig(); plate(); platebig(); mug1(); mug2(); pan(); pot(); spoon(); mortarpestle(); rollingpin(); fondue(); picnicbasket(); sculptowl(); sculptpelican(); sculptdeer(); sculptelk(); sculptcrow(); sculptheron(); sculptwolf(); sculpthorse(); statuecorgi(); statuedeer(); statueevillarge(); statueevilsmall(); statuehare(); statueseed(); bookstorage(); bookstoragepublic(); fancychestpublic(); stonechestpublic(); hweb(); tweb(); vweb(); journal(); openbook(); poetrybook1H(); poetrybook1V(); poetrybook2H(); poetrybook2V(); stackedbooks1(); stackedbooks2(); globe1(); globe2(); map1(); map2(); map3(); dragonstatuesmall(); dragonstatuelarge(); Bdragonstatuesmall(); Bdragonstatuelarge(); LargeSign(); CelticIdol1(); CelticIdol1Small(); CelticIdol2(); CelticIdol3(); CelticIdol4(); CelticIdol5(); CelticIdol6(); CelticIdol7(); CelticIdol8(); CelticIdol9(); CelticIdol10(); CelticIdol11(); CelticIdol12(); LokiSculpture(); OdinSculpture(); BloodyShelf(); BloodyTable(); BloodyRag(); DevilWindow(); FishSkele(); HandPrint(); Pentagram(); PentagramVert(); PentagramVertSM(); PicFrame(); PicFrameBig(); SkullCandle(); SkullCandle2(); DeerHead(); ArmBook(); LeatherBook(); OpenBook(); MagicBooks(); OuijaBook(); Couch1(); Couch2(); Couch3(); Couch4(); CouchBed1(); CouchBed2(); NewShelf(); RectTable(); WallShelf(); BearsPainting(); VanGogh(); BlueBook(); GreenBook(); RedBook(); Pillow1(); Pillow2(); Pillow3(); FlintBowl(); } private void LoadAssets() { assetclutter = AssetUtils.LoadAssetBundleFromResources("clutter", typeof(Clutter).Assembly); assetdeco = AssetUtils.LoadAssetBundleFromResources("deco", typeof(Clutter).Assembly); assetfurniture = AssetUtils.LoadAssetBundleFromResources("furniture", typeof(Clutter).Assembly); assetkitchen = AssetUtils.LoadAssetBundleFromResources("kitchen", typeof(Clutter).Assembly); assetsculptures = AssetUtils.LoadAssetBundleFromResources("sculptures", typeof(Clutter).Assembly); new1 = AssetUtils.LoadAssetBundleFromResources("new1", typeof(Clutter).Assembly); new2 = AssetUtils.LoadAssetBundleFromResources("new2", typeof(Clutter).Assembly); assetevilshit = AssetUtils.LoadAssetBundleFromResources("evilshit", typeof(Clutter).Assembly); assetnewcluttermarch2022 = AssetUtils.LoadAssetBundleFromResources("newcluttermarch2022", typeof(Clutter).Assembly); } private void LoadTable() { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Expected O, but got Unknown //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown GameObject val = assetclutter.LoadAsset<GameObject>("_ClutterPieceTable"); PieceTableConfig val2 = new PieceTableConfig(); val2.CanRemovePieces = true; val2.UseCategories = false; val2.UseCustomCategories = true; val2.CustomCategories = new string[4] { "Sculptures", "Kitchen", "Decor", "Amenities" }; CustomPieceTable val3 = new CustomPieceTable(val, val2); PieceManager.Instance.AddPieceTable(val3); LoadClutterTool(); } private void LoadClutterTool() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Expected O, but got Unknown //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Expected O, but got Unknown GameObject val = assetclutter.LoadAsset<GameObject>("$PlumgaClutterTool"); ItemConfig val2 = new ItemConfig(); val2.Amount = 1; val2.CraftingStation = "piece_workbench"; val2.RepairStation = "piece_workbench"; val2.MinStationLevel = 1; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, AmountPerLevel = 1 } }; CustomItem val3 = new CustomItem(val, true, val2); ItemManager.Instance.AddItem(val3); } private void LargeSign() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_largesign"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 5, Recover = true } }; CustomPiece val3 = new CustomPiece(val, false, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol1() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol1"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol1Small() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol1small"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 15, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol2() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol2"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol3() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol3"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol4() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol4"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol5() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol5"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol6() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol6"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol7() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol7"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol8() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol8"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol9() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol9"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol10() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol10"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol11() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol11"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void CelticIdol12() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_celticidol12"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void LokiSculpture() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_lokistatue"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Iron", Amount = 20, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void OdinSculpture() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new2.LoadAsset<GameObject>("$custompiece_odinstatue"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Iron", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void bookstorage() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_booksecretstorage"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Amenities"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void bookstoragepublic() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_booksecretstorage_public"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Amenities"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void fancychestpublic() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_fancychest_public"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Amenities"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "FineWood", Amount = 5, Recover = true }, new RequirementConfig { Item = "Bronze", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void stonechestpublic() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_stonechest_public"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Amenities"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Stone", Amount = 5, Recover = true }, new RequirementConfig { Item = "Bronze", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void hweb() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_horizontalweb"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "BoneFragments", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void tweb() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_tunnelweb"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "BoneFragments", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void vweb() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_verticalweb"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "BoneFragments", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void journal() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_journal"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, false, val2); PieceManager.Instance.AddPiece(val3); } private void openbook() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_openbook"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void poetrybook1H() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_poetrybook1H"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void poetrybook1V() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_poetrybook1V"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void poetrybook2H() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_poetrybook2H"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void poetrybook2V() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_poetrybook2V"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void stackedbooks1() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_stackedpoetrybooks1"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 6, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void stackedbooks2() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_stackedpoetrybooks2"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 6, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void globe1() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_globe1"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 3, Recover = true }, new RequirementConfig { Item = "Coal", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void globe2() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Expected O, but got Unknown //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_globe2"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[3] { new RequirementConfig { Item = "Wood", Amount = 6, Recover = true }, new RequirementConfig { Item = "Iron", Amount = 4, Recover = true }, new RequirementConfig { Item = "Coal", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void map1() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_map1"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "Coal", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void map2() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_map2"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "Coal", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void map3() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_map3"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 4, Recover = true }, new RequirementConfig { Item = "Coal", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void dragonstatuesmall() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: 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_0082: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Expected O, but got Unknown //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_dragonstatuesmall"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Bronze", Amount = 10, Recover = true }, new RequirementConfig { Item = "Copper", Amount = 10, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void dragonstatuelarge() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: 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_0082: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Expected O, but got Unknown //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_dragonstatuelarge"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Bronze", Amount = 25, Recover = true }, new RequirementConfig { Item = "Copper", Amount = 25, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void Bdragonstatuesmall() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_blackdragonstatuesmall"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Iron", Amount = 10, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void Bdragonstatuelarge() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Expected O, but got Unknown GameObject val = new1.LoadAsset<GameObject>("$custompiece_blackdragonstatuelarge"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Sculptures"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Iron", Amount = 30, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void basket() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_basket"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void bucketdeco() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_bucket"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 3, Recover = true }, new RequirementConfig { Item = "BronzeNails", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void bucketbigdeco() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_bucketbig"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 5, Recover = true }, new RequirementConfig { Item = "BronzeNails", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void candlebottle() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_candlebottle"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Honey", Amount = 2, Recover = true }, new RequirementConfig { Item = "Flint", Amount = 5, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void candlelantern() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_candlelantern"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Honey", Amount = 2, Recover = true }, new RequirementConfig { Item = "Flint", Amount = 5, Recover = true } }; CustomPiece val3 = new CustomPiece(val, false, val2); PieceManager.Instance.AddPiece(val3); } private void candlelit2() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_candlelit2"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Honey", Amount = 2, Recover = true }, new RequirementConfig { Item = "Flint", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void candlesnake() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_candlesnake"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Honey", Amount = 2, Recover = true }, new RequirementConfig { Item = "Flint", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void candle() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_dunmr_candle"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Honey", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void candlelit() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_dunmr_candlelit"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Honey", Amount = 2, Recover = true }, new RequirementConfig { Item = "Flint", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void diary() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_diary"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "Coal", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, false, val2); PieceManager.Instance.AddPiece(val3); } private void diarypage() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_diarypage"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "Coal", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, false, val2); PieceManager.Instance.AddPiece(val3); } private void bluebook() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_dunmr_bookblue"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void bluebookhoriz() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_dunmr_bookblue_horiz"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void redbook() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_dunmr_bookred"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void redbookhoriz() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_dunmr_bookred_horiz"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void quillandink() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_quillandink"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Coal", Amount = 2, Recover = true }, new RequirementConfig { Item = "Feathers", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void quillandparchment() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Expected O, but got Unknown //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_quillandparchment"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[3] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "Coal", Amount = 2, Recover = true }, new RequirementConfig { Item = "Feathers", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void scroll1() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_scroll1"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void scroll2() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_scroll2"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void scroll3() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_scroll3"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void scroll4() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_scroll4"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void scroll5() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_scroll5"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void picframe1() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_pictureframe1"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "BronzeNails", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void picframe2() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_pictureframe2"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "BronzeNails", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void picframe3() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_pictureframe3"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "BronzeNails", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void picframe4() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_pictureframe4"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true }, new RequirementConfig { Item = "BronzeNails", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void deer() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_rug_deer_tablecloth"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "DeerHide", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void lox() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_rug_fur_tablecloth"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "LoxPelt", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void wolf() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_rug_wolf_tablecloth"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "WolfPelt", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void soap() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0067: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Expected O, but got Unknown //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_soap"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Coal", Amount = 1, Recover = true }, new RequirementConfig { Item = "RawMeat", Amount = 1, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void pipe() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: 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_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown GameObject val = assetdeco.LoadAsset<GameObject>("$custompiece_pipe"); PieceConfig val2 = new PieceConfig(); val2.PieceTable = "_ClutterPieceTable"; val2.Category = "Decor"; val2.AllowedInDungeons = false; val2.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val3 = new CustomPiece(val, true, val2); PieceManager.Instance.AddPiece(val3); } private void comb() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to inva