Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of PlantIt v0.1.6
plugins/PlantIt/PlantIt.dll
Decompiled a month 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.2")] [assembly: TargetFramework(".NETFramework,Version=v4.6.2", FrameworkDisplayName = ".NET Framework 4.6.2")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("0.1.2.0")] namespace PlantIt; [BepInPlugin("com.OdinPlus.PlantIt", "PlantIt", "0.1.6")] [BepInDependency(/*Could not decode attribute arguments.*/)] internal class PlantIt : BaseUnityPlugin { public const string PluginGUID = "com.jotunn.PlantIt"; public const string PluginName = "PlantIt"; public const string PluginVersion = "0.1.2"; private AssetBundle assetplanter; private AssetBundle plants; private AssetBundle plants2; private AssetBundle plants3; private AssetBundle chairs; private AssetBundle misc; private AssetBundle pottedsucculents; private AssetBundle plants4; private void Awake() { LoadAssets(); LoadTable(); Bird_of_Paradise_Plant(); Bonsai_Plant(); Coffee_Plant_Plant(); Fiddle_Leaf_Plant(); Little_House_Plant_Plant(); Orchid_Plant(); Spiky_Plant_Plant(); Umbrella_Palm_Plant(); Barrel_Cactus_Plant(); Cactus1_Plant(); Cactus1Big_Plant(); Cactus2_Plant(); Desert_Lily_Plant(); Desert_Marigold_Plant(); Everglades_Palm_Plant(); Hibiscus_Flower_Plant(); Ivory_Cane_Palm_Plant(); Lady_Palm_Plant(); Prickly_Pear_Plant(); Venus_Flytrap_Plant(); Aeonium_Plant(); Aloe_Plant(); Bromeliad_Plant(); Ivy1_Plant(); Ivy1Big_Plant(); Rubber_Fig_Plant(); Tall_House_Plant_Plant(); Vines1_Plant(); Vines1Big_Plant(); Aeoniums_Plant(); Bamboo_Plant(); Cattail_Plant(); Coolpot_Plant(); Hangingplant_Plant(); Hangingplantbig_Plant(); Kelp_Plant(); Kelpbig_Plant(); Miscplant1_Plant(); Miscplant2_Plant(); Orchid2_Plant(); Pottedcactus1_Plant(); Pottedcactus2_Plant(); Rosevine_Plant(); Smallpottedplant_Plant(); Tallflowerbush_Plant(); Vines2_Plant(); Weirdflowers_Plant(); stump1(); stump2(); stump3(); stump4(); stump5(); stump6(); stump7(); log1(); log2(); log3(); log4(); log5(); stumptable(); GrassBlockS(); GrassBlockM(); GrassBlockL(); DirtBlockS(); DirtBlockM(); DirtBlockL(); BlackPineTree(); S1(); S2(); S3(); S4(); S5(); S6(); S7(); S8(); S9(); S10(); S11(); S12(); S13(); S14(); S15(); Pot1(); Pot2(); Pot3(); Pot4(); Pot5(); Pot6(); Pot7(); Pot8(); Pot9(); Pot10(); Pot11(); Pot12(); Pot13(); Pot14(); Vines3(); Vines4(); Vines5(); Vines6(); Vines7(); Vines8(); Vines9(); Vines10(); Vines11(); Vines12(); VinesVanilla(); VinesVanillaBig(); VinesVanillaStretched(); } private void LoadAssets() { assetplanter = AssetUtils.LoadAssetBundleFromResources("shovel", typeof(PlantIt).Assembly); plants = AssetUtils.LoadAssetBundleFromResources("custompiece_plantsetfixedcolliders", typeof(PlantIt).Assembly); plants2 = AssetUtils.LoadAssetBundleFromResources("custompiece_plantset2", typeof(PlantIt).Assembly); plants3 = AssetUtils.LoadAssetBundleFromResources("plantset3", typeof(PlantIt).Assembly); chairs = AssetUtils.LoadAssetBundleFromResources("stumpsandlogs", typeof(PlantIt).Assembly); misc = AssetUtils.LoadAssetBundleFromResources("misc", typeof(PlantIt).Assembly); pottedsucculents = AssetUtils.LoadAssetBundleFromResources("pottedsucculents", typeof(PlantIt).Assembly); plants4 = AssetUtils.LoadAssetBundleFromResources("plantset4", typeof(PlantIt).Assembly); } private void LoadTable() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Expected O, but got Unknown GameObject obj = assetplanter.LoadAsset<GameObject>("_PlantitPieceTable"); PieceTableConfig val = new PieceTableConfig(); val.CanRemovePieces = true; val.UseCategories = false; val.UseCustomCategories = true; val.CustomCategories = new string[4] { "Misc.", "Hanging", "No Pot", "Potted" }; CustomPieceTable val2 = new CustomPieceTable(obj, val); PieceManager.Instance.AddPieceTable(val2); LoadShovel(); } private void LoadShovel() { //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Expected O, but got Unknown //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Expected O, but got Unknown //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Expected O, but got Unknown GameObject obj = assetplanter.LoadAsset<GameObject>("$PlumgaPlantItShovel"); ItemConfig val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.RepairStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 1, AmountPerLevel = 1 } }; CustomItem val2 = new CustomItem(obj, true, val); ItemManager.Instance.AddItem(val2); } private void Pot1() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_fancypot"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot2() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_fancypotL"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot3() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_hangingpot_large"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot4() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_hangingpot_small"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot5() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpot1"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot6() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpot1L"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot7() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpot2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot8() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpot2L"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot9() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpot3"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot10() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpot3L"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot11() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpotrectangle"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot12() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpotrectangleL"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot13() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpotsquare"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pot14() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_TCpotsquareL"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines3() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines3"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines4() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines4"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines5() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines5"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines6() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines6"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines7() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines7"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines8() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines8"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines9() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines9"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines10() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines10"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines11() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines11"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines12() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vines12"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void VinesVanilla() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vinesvanilla"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void VinesVanillaBig() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vinesvanillabig"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void VinesVanillaStretched() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants4.LoadAsset<GameObject>("custompiece_vinesvanillastretched"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Bird_of_Paradise_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_birdofparadise"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Bonsai_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_bonsai"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Coffee_Plant_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_coffeeplant"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Fiddle_Leaf_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_fiddleleaf"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Little_House_Plant_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_littlehouseplant"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Orchid_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_orchid"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Spiky_Plant_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_spikyplant"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Umbrella_Palm_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_umbrellapalm"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Barrel_Cactus_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_barrelcactus"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Cactus1_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_cactus1"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Cactus1Big_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_cactus1.2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Cactus2_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_cactus2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Desert_Lily_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_desertlily"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Desert_Marigold_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_desertmarigold"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Everglades_Palm_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_evergladespalm"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Hibiscus_Flower_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_hibiscusflower"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Ivory_Cane_Palm_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_ivorycanepalm"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Lady_Palm_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_ladypalm"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Prickly_Pear_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_pricklypear"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Venus_Flytrap_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants.LoadAsset<GameObject>("custompiece_venusflytrap"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Aeonium_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_aeonium"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Aloe_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_aloe"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Bromeliad_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_bromeliad"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Ivy1_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_ivy1"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Ivy1Big_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_ivy1.2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Rubber_Fig_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_rubberfig"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Tall_House_Plant_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_tallhouseplant"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines1_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_vines1.2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines1Big_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants2.LoadAsset<GameObject>("custompiece_vines1"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Aeoniums_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_aeoniums"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Bamboo_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_bamboo"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Cattail_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_cattail"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Coolpot_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_coolpot"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Hangingplant_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_hangingplant"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Hangingplantbig_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_hangingplant1.2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Hanging"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Kelp_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_kelp"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Kelpbig_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_kelpbig"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Miscplant1_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_miscplant1"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Miscplant2_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_miscplant2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Orchid2_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_orchid2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pottedcactus1_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_pottedcactus1"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Pottedcactus2_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_pottedcactus2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Rosevine_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_rosevine"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Smallpottedplant_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_smallpottedplant"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Tallflowerbush_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_tallflowerbush"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Vines2_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_vines2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "No Pot"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void Weirdflowers_Plant() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = plants3.LoadAsset<GameObject>("custompiece_weirdflowers"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Potted"; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void stump1() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_stump1"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void stump2() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_stump2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void stump3() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_stump3"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void stump4() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_stump4"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void stump5() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_stump5"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void stump6() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_stump6"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void stump7() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_stump7"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void log1() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_log1"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 5, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void log2() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_log2"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 5, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void log3() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Expected O, but got Unknown GameObject obj = chairs.LoadAsset<GameObject>("$custompiece_log3"); PieceConfig val = new PieceConfig(); val.PieceTable = "_PlantitPieceTable"; val.Category = "Misc."; val.AllowedInDungeons = false; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 5, Recover = true } }; CustomPiece val2 = new CustomPiece(obj, val); PieceManager.Instance.AddPiece(val2); } private void log4() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: