Decompiled source of Fancy Foods v0.3.2
FancyFoods.dll
Decompiled 5 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Configuration; using Jotunn; using Jotunn.Configs; using Jotunn.Entities; using Jotunn.Managers; using Jotunn.Utils; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("FancyFoods")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("FancyFoods")] [assembly: AssemblyCopyright("Copyright © 2023")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("aa944689-8f01-4d06-8b6a-d96207a93180")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace FancyFoods; [BepInPlugin("horemvore.FancyFoods", "FancyFoods", "0.3.4")] [BepInIncompatibility("Azumatt.AzuDevMod")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] internal class FancyFoods : BaseUnityPlugin { public const string PluginGUID = "horemvore.FancyFoods"; public const string PluginName = "FancyFoods"; public const string PluginVersion = "0.3.4"; public static bool isModded = true; public AssetBundle FoodBundle; public static GameObject Jam1; public static GameObject Jam2; public static GameObject Jam3; public static GameObject Jam4; public static GameObject Flour1; public static GameObject WhippedCream1; public static GameObject Base1; public static GameObject Base2; public static GameObject Base3; public static GameObject Base4; public static GameObject Base5; public static GameObject Food1; public static GameObject Food2; public static GameObject Food3; public static GameObject Food4; public static GameObject Food5; public static GameObject Cupcake1; public static GameObject Cupcake2; public static GameObject Cupcake3; public static GameObject Cupcake4; public static GameObject Cupcake5; public static GameObject Dessert1; public static GameObject Dessert2; public static GameObject Dessert3; public static GameObject Dessert4; public static GameObject Dessert5; public static GameObject Biscuit1; public static GameObject Biscuit2; public static GameObject Biscuit3; public static GameObject Biscuit4; public static GameObject Biscuit5; public static GameObject Cake1; public static GameObject Broth1; public static GameObject Soup1; public static GameObject Soup2; public static GameObject Soup3; public static GameObject Soup4; public static GameObject Soup5; public static GameObject Soup6; public static GameObject Stew1; public static GameObject Stew2; public static GameObject Stew3; public static GameObject Stew4; public static GameObject Stew5; public static GameObject Stew6; public static GameObject Goblet1; public static GameObject Goblet2; public static GameObject Goblet3; public static GameObject Tankard1; public static GameObject Tankard2; public static GameObject WineBase1; public static GameObject WineBase2; public static GameObject WineBase3; public static GameObject Juice1; public static GameObject Juice2; public static GameObject Juice3; public static GameObject Juice4; public static GameObject Juice5; public static GameObject Juice6; public static GameObject Juice7; public static GameObject Cider1; public static GameObject Cider2; public static GameObject Cider3; public static GameObject Cider4; public static GameObject Cider5; public static GameObject Cider6; public static GameObject Cider7; public static GameObject CiderBase1; public static GameObject CiderBase2; public static GameObject CiderBase3; public static GameObject CiderBase4; public static GameObject CiderBase5; public static GameObject CiderBase6; public static GameObject CiderBase7; public static GameObject Salad1; public static GameObject Salad2; public static GameObject Wine1; public static GameObject Wine2; public static GameObject Wine3; public static GameObject BowlVeg1; public static GameObject BowlVeg2; public static GameObject Meals1; public static GameObject Meals2; public static GameObject Meals3; public static GameObject Meals4; public static GameObject Meals5; public static GameObject Platters1; public static GameObject Platters2; public static GameObject Platters3; public static GameObject Platters4; public static GameObject Platters5; public static GameObject Platters6; public static GameObject Platters7; public static GameObject Platters8; public static GameObject Butter1; public static GameObject Crockery1; public static GameObject Crockery2; public static GameObject Crockery3; public static GameObject Crockery4; public static GameObject Crockery5; public static GameObject Crockery6; public ConfigEntry<string> PreperationPrefab; public ConfigEntry<string> CookingPrefab; public ConfigEntry<string> FruitPrepPrefab; public ConfigEntry<string> CiderPrepPrefab; public ConfigEntry<string> AssemblyPrefab; private CustomLocalization Localization; public void CreateConfigurationValues() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Expected O, but got Unknown //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Expected O, but got Unknown //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0081: Expected O, but got Unknown //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Expected O, but got Unknown //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Expected O, but got Unknown //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Expected O, but got Unknown //IL_00f5: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Expected O, but got Unknown //IL_0103: Unknown result type (might be due to invalid IL or missing references) //IL_010d: Expected O, but got Unknown //IL_0136: Unknown result type (might be due to invalid IL or missing references) //IL_013b: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Expected O, but got Unknown //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Expected O, but got Unknown ((BaseUnityPlugin)this).Config.SaveOnConfigSet = true; PreperationPrefab = ((BaseUnityPlugin)this).Config.Bind<string>("Preperation Station", "Prefab Name", "piece_cauldron", new ConfigDescription("Prefab name of crafting station to use", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); CookingPrefab = ((BaseUnityPlugin)this).Config.Bind<string>("Soup and Stew Station", "Prefab Name", "piece_cauldron", new ConfigDescription("Prefab name of crafting station to use", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); FruitPrepPrefab = ((BaseUnityPlugin)this).Config.Bind<string>("Juice Station", "Prefab Name", "piece_cauldron", new ConfigDescription("Prefab name of crafting station to use", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); CiderPrepPrefab = ((BaseUnityPlugin)this).Config.Bind<string>("Cider and Wine preperation Station", "Prefab Name", "piece_cauldron", new ConfigDescription("Prefab name of crafting station to use", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); AssemblyPrefab = ((BaseUnityPlugin)this).Config.Bind<string>("Meals preperation Station", "Prefab Name", "piece_cauldron", new ConfigDescription("Prefab name of crafting station to use", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); SynchronizationManager.OnConfigurationSynchronized += delegate(object obj, ConfigurationSynchronizationEventArgs attr) { if (attr.InitialSynchronization) { Logger.LogMessage((object)"Initial Config sync event received for Fancy Foods"); } else { Logger.LogMessage((object)"Config sync event received for Fancy Foods"); } }; } private void Awake() { CreateConfigurationValues(); AddLocalizations(); LoadBundle(); AddStatusEffects(); LoadAssets(); AddFlours(); AddBroths(); AddMaterials(); AddVatrushka(); AddCupcakes(); AddDesserts(); AddBiscuits(); AddCakes(); AddSoups(); AddStews(); AddFruitFood(); AddJuice(); AddMeads(); AddCiderAndWine(); AddMealFoods(); ConvertCider(); ConvertWine(); AddPlatters(); } private void AddLocalizations() { try { Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization = Localization; string text = "English"; localization.AddTranslation(ref text, new Dictionary<string, string> { { "item_bowlsaladvegetables_ff", "A bowl of Salad Vegetables" }, { "item_bowlsaladvegetables_desc_ff", "Required to make some meals" }, { "item_woodplate_ff", "Wood Plate" }, { "item_woodplate_desc_ff", "A plate made from wood" }, { "item_woodtray_ff", "Wood Tray" }, { "item_woodtray_desc_ff", "A tray made from wood" }, { "item_stoneplate_ff", "Stone Plate" }, { "item_stoneplate_desc_ff", "A plate made from stone" }, { "item_stonetray_ff", "Stone Tray" }, { "item_stonetray_desc_ff", "A tray made from stone" }, { "item_tintray_ff", "Tin Tray" }, { "item_tintray_desc_ff", "A tray made from tin" }, { "item_tinplatter_ff", "Fancy Tin Tray" }, { "item_tinplatter_desc_ff", "A tray made from tin" }, { "item_woodtankard_ff", "Wood Tankard" }, { "item_woodtankard_desc_ff", "Drink utensil." }, { "item_silvertankard_ff", "Silver Tankard" }, { "item_silvertankard_desc_ff", "Drink utensil." }, { "item_eitrjuice_ff", "Eitr Juice" }, { "item_eitrjuice_desc_ff", "A tasty beverage" }, { "item_eitrcider_ff", "Eitr Cider" }, { "item_eitrcider_desc_ff", "A tasty beverage" }, { "item_eitrwine_ff", "Eitr Wine" }, { "item_eitrwine_desc_ff", "A tasty beverage" }, { "item_eitrwinebase_ff", "Eitr Wine Base" }, { "item_eitrwinebase_desc_ff", "Required to make Eitr Wine in the fermenter." }, { "item_eitrciderbase_ff", "Eitr Cider Base" }, { "item_eitrciderbase_desc_ff", "Required to make Eitr Cider in the fermenter." }, { "item_butter_ff", "Unsalted Butter" }, { "item_butter_desc_ff", "Used in baking" }, { "item_boarplatter_ff", "Boar Platter" }, { "item_boarplatter_desc_ff", "A fulfilling meal" }, { "item_fishplatter_ff", "Fish Platter" }, { "item_fishplatter_desc_ff", "A fulfilling meal" }, { "item_innplatter_ff", "Inn Platter" }, { "item_innplatter_desc_ff", "A fulfilling meal" }, { "item_wolfplatter_ff", "Wolf Platter" }, { "item_wolfplatter_desc_ff", "A fulfilling meal" }, { "item_loxplatter_ff", "Lox Platter" }, { "item_loxplatter_desc_ff", "A fulfilling meal" }, { "item_serpentplatter_ff", "Serpent Platter" }, { "item_serpentplatter_desc_ff", "A fulfilling meal" }, { "item_meatplatter_ff", "Meat Platter" }, { "item_meatplatter_desc_ff", "A fulfilling meal" }, { "item_tavernplatter_ff", "Tavern Platter" }, { "item_tavernplatter_desc_ff", "A fulfilling meal" }, { "se_full_ff", "Full" }, { "se_full_tooltip_ff", "Length: 90m" }, { "se_full_start_ff", "You are Full" }, { "se_full_stop_ff", "No longer Full" }, { "se_eitrrush_ff", "Eitr Rush" }, { "se_eitrrush_tooltip_ff", "Length: 60s" }, { "se_eitrrush_start_ff", "You have a burst of magical energy" }, { "se_eitrrush_stop_ff", "You feel normal" }, { "se_alchohol_ff", "Tipsy" }, { "se_alchohol_tooltip_ff", "Length: 180s" }, { "se_alchohol_start_ff", "You have had a drink!" }, { "se_alchohol_stop_ff", "You feel normal" }, { "se_wellfed_ff", "Well Fed" }, { "se_wellfed_tooltip_ff", "Length: 60m" }, { "se_wellfed_start_ff", "You are Well Fed" }, { "se_wellfed_stop_ff", "No longer Well Fed" }, { "se_sugarrush_ff", "Sugar Rush" }, { "se_sugarrush_tooltip_ff", "Length: 60s" }, { "se_sugarrush_start_ff", "You have a burst of energy" }, { "se_sugarrush_stop_ff", "You feel normal" }, { "se_sated_ff", "Sated" }, { "se_sated_tooltip_ff", "Length: 30m" }, { "se_sated_start_ff", "You feel satisfied" }, { "se_sated_stop_ff", "You feel normal" }, { "se_refreshed_ff", "Refreshed" }, { "se_refreshed_tooltip_ff", "Length: 60s" }, { "se_refreshed_start_ff", "You feel energetic" }, { "se_refreshed_stop_ff", "You feel normal" }, { "item_simplemeal_ff", "Simple Meal" }, { "item_simplemeal_desc_ff", "A tasty meal" }, { "item_basicmeal_ff", "Basic Meal" }, { "item_basicmeal_desc_ff", "A tasty meal" }, { "item_nicemeal_ff", "Nice Meal" }, { "item_nicemeal_desc_ff", "A tasty meal" }, { "item_pleasantmeal_ff", "Pleasant Meal" }, { "item_pleasantmeal_desc_ff", "A tasty meal" }, { "item_delightfulmeal_ff", "Delightful Meal" }, { "item_delightfulmeal_desc_ff", "A tasty meal" }, { "item_bowlvegetables_ff", "A bowl of Vegetables" }, { "item_bowlvegetables_desc_ff", "Required to make some meals" }, { "item_appleciderbase_ff", "Apple Cider Base" }, { "item_appleciderbase_desc_ff", "Required to make Apple Cider in the fermenter." }, { "item_berryciderbase_ff", "Berry Cider Base" }, { "item_berryciderbase_desc_ff", "Required to make Berry Cider in the fermenter." }, { "item_blackberryciderbase_ff", "Blackberry Cider Base" }, { "item_blackberryciderbase_desc_ff", "Required to make Blackberry Cider in the fermenter." }, { "item_mangociderbase_ff", "Mango and Pineapple Cider Base" }, { "item_mangociderbase_desc_ff", "Required to make Mango and Pineapple Cider in the fermenter." }, { "item_orangeciderbase_ff", "Orange and Peach Cider Base" }, { "item_orangeciderbase_desc_ff", "Required to make Orange and Peach Cider in the fermenter." }, { "item_sourciderbase_ff", "Sour Cider Base" }, { "item_sourciderbase_desc_ff", "Required to make Sour Cider in the fermenter." }, { "item_cider_ff", "Apple Cider" }, { "item_cider_desc_ff", "A tasty beverage." }, { "item_berrycider_ff", "Berry Cider" }, { "item_berrycider_desc_ff", "A tasty beverage." }, { "item_blackberrycider_ff", "Blackberry Cider" }, { "item_blackberrycider_desc_ff", "A tasty beverage." }, { "item_mangocider_ff", "Mango and Pineapple Cider" }, { "item_mangocider_desc_ff", "A tasty beverage." }, { "item_orangecider_ff", "Orange and Peach Cider" }, { "item_orangecider_desc_ff", "A tasty beverage." }, { "item_sourcider_ff", "Sour Cider" }, { "item_sourcider_desc_ff", "A tasty beverage." }, { "item_applejuice_ff", "Apple Juice" }, { "item_applejuice_desc_ff", "A tasty beverage." }, { "item_berryjuice_ff", "Berry Juice" }, { "item_berryjuice_desc_ff", "A tasty beverage." }, { "item_blackberryjuice_ff", "Blackberry Juice" }, { "item_blackberryjuice_desc_ff", "A tasty beverage." }, { "item_mangojuice_ff", "Mango and Pineapple Juice" }, { "item_mangojuice_desc_ff", "A tasty beverage." }, { "item_orangejuice_ff", "Orange and Peach Juice" }, { "item_orangejuice_desc_ff", "A tasty beverage." }, { "item_sourjuice_ff", "Sour Juice" }, { "item_sourjuice_desc_ff", "A tasty beverage." }, { "item_redwine_ff", "Red Wine" }, { "item_redwine_desc_ff", "A tasty beverage." }, { "item_whitewine_ff", "White Wine" }, { "item_whitewine_desc_ff", "A tasty beverage." }, { "item_redwinebase_ff", "Red Wine Base" }, { "item_redwinebase_desc_ff", "Required to make Red Wine in the fermenter." }, { "item_whitewinebase_ff", "White Wine Base" }, { "item_whitewinebase_desc_ff", "Required to make Red Wine in the fermenter." }, { "item_tingoblet_ff", "Tin Gobblet" }, { "item_tingoblet_desc_ff", "Drink utensil." }, { "item_coppergoblet_ff", "Copper Gobblet" }, { "item_coppergoblet_desc_ff", "Drink utensil." }, { "item_fancygoblet_ff", "Fancy Gobblet" }, { "item_fancygoblet_desc_ff", "Drink utensil." }, { "item_berrysalad_ff", "Berry Salad" }, { "item_berrysalad_desc_ff", "A tasty meal" }, { "item_fruitsalad_ff", "Fruit Salad" }, { "item_fruitsalad_desc_ff", "A tasty meal" }, { "item_cabbagebeefstew_ff", "Cabbage and Beef Stew" }, { "item_cabbagebeefstew_desc_ff", "Tasty Stew." }, { "item_gamestew_ff", "Game Stew" }, { "item_gamestew_desc_ff", "Tasty Stew." }, { "item_lambstew_ff", "Lamb Stew" }, { "item_lambstew_desc_ff", "Tasty Stew." }, { "item_porkpearstew_ff", "Pork and Pear Stew" }, { "item_porkpearstew_desc_ff", "Tasty Stew." }, { "item_porkpepperstew_ff", "Pork and Pepper Stew" }, { "item_porkpepperstew_desc_ff", "Tasty Stew." }, { "item_beefstew_ff", "Beef Stew" }, { "item_beefstew_desc_ff", "Tasty Stew." }, { "item_vegetablebroth_ff", "Vegetable Broth" }, { "item_vegetablebroth_desc_ff", "Used in cooking" }, { "item_whippedcream_ff", "Whipped Cream" }, { "item_whippedcream_desc_ff", "Used in cooking" }, { "item_cornflour_ff", "Cornflour" }, { "item_cornflour_desc_ff", "Used in cooking" }, { "item_pumpkinsoup_ff", "Pumpkin and Squash Soup" }, { "item_pumpkinsoup_desc_ff", "Tasty soup." }, { "item_broccolisoup_ff", "Broccoli Soup" }, { "item_broccolisoup_desc_ff", "Tasty soup." }, { "item_mushroomsoup_ff", "Mushroom Soup" }, { "item_mushroomsoup_desc_ff", "Tasty soup." }, { "item_potatosoup_ff", "Potato Soup" }, { "item_potatosoup_desc_ff", "Tasty soup." }, { "item_bellpeppersoup_ff", "Bell Pepper Soup" }, { "item_bellpeppersoup_desc_ff", "Tasty soup." }, { "item_sweetpotatosoup_ff", "Sweet Potato Soup" }, { "item_sweetpotatosoup_desc_ff", "Tasty soup." }, { "item_cakechocolatecherry_ff", "Chocolate Cherry Cake" }, { "item_cakechocolatecherry_desc_ff", "A large cake." }, { "item_biscuit_ff", "Biscuit" }, { "item_biscuit_desc_ff", "A small sweet biscuit." }, { "item_chocolatebiscuit_ff", "Chocolate Biscuit" }, { "item_chocolatebiscuit_desc_ff", "A small sweet biscuit." }, { "item_biscuitchocolatecream_ff", "Chocolate Cream Biscuit" }, { "item_biscuitchocolatecream_desc_ff", "A small sweet biscuit." }, { "item_biscuitorange_ff", "Orange Biscuit" }, { "item_biscuitorange_desc_ff", "A small sweet biscuit." }, { "item_biscuitraspberry_ff", "Raspberry Biscuit" }, { "item_biscuitraspberry_desc_ff", "A small sweet biscuit." }, { "item_dessertchocolate_ff", "Chocolate Dessert" }, { "item_dessertchocolate_desc_ff", "A small sweet dessert." }, { "item_dessertchocolatepear_ff", "Chocolate Pear Dessert" }, { "item_dessertchocolatepear_desc_ff", "A small sweet dessert." }, { "item_dessertcreampear_ff", "Pear Dessert" }, { "item_dessertcreampear_desc_ff", "A small sweet dessert." }, { "item_dessertraspberry_ff", "Raspberry Dessert" }, { "item_dessertraspberry_desc_ff", "A small sweet dessert." }, { "item_dessertraspberrycream_ff", "Raspberry Cream Dessert" }, { "item_dessertraspberrycream_desc_ff", "A small sweet dessert." }, { "item_cupcakechocolate_ff", "Chocolate Cupcake" }, { "item_cupcakechocolate_desc_ff", "A small sweet cake." }, { "item_cupcakecream_ff", "Cream Cupcake" }, { "item_cupcakecream_desc_ff", "A small sweet cake." }, { "item_cupcakeorange_ff", "Orange Cupcake" }, { "item_cupcakeorange_desc_ff", "A small sweet cake." }, { "item_cupcakeorangecream_ff", "Orange Cream Cupcake" }, { "item_cupcakeorangecream_desc_ff", "A small sweet cake." }, { "item_cupcakeplain_ff", "Plain Cupcake" }, { "item_cupcakeplain_desc_ff", "A small sweet cake." }, { "item_vatrushkaplain_ff", "Vatrushka" }, { "item_vatrushkaplain_desc_ff", "A small sweet cake." }, { "item_vatrushkalime_ff", "Lime Vatrushka" }, { "item_vatrushkalime_desc_ff", "A small sweet cake." }, { "item_vatrushkaorange_ff", "Orange Vatrushka" }, { "item_vatrushkaorange_desc_ff", "A small sweet cake." }, { "item_vatrushkaplum_ff", "Plum Vatrushka" }, { "item_vatrushkaplum_desc_ff", "A small sweet cake." }, { "item_vatrushkaraspberry_ff", "Raspberry Vatrushka" }, { "item_vatrushkaraspberry_desc_ff", "A small sweet cake." }, { "item_cakebase_ff", "Plain Cake" }, { "item_cakebase_desc_ff", "Used in baking recipies" }, { "item_cupcakebase_ff", "Cup Cake Base" }, { "item_cupcakebase_desc_ff", "Used in baking recipies" }, { "item_dessertbase_ff", "Dessert Base" }, { "item_dessertbase_desc_ff", "Used in baking recipies" }, { "item_vatrushkabase_ff", "Vatrushka Base" }, { "item_vatrushkabase_desc_ff", "Used in baking recipies" }, { "item_biscuitbase_ff", "Biscuit Base" }, { "item_biscuitbase_desc_ff", "Used in baking recipies" }, { "item_applejam_ff", "Apple and Raspberry Compote" }, { "item_applejam_desc_ff", "Used in baking recipies" }, { "item_limejam_ff", "Lemon and Lime Compote" }, { "item_limejam_desc_ff", "Used in baking recipies" }, { "item_orangejam_ff", "Orange and Mango Compote" }, { "item_orangejam_desc_ff", "Used in baking recipies" }, { "item_plumjam_ff", "Plum and Grape Compote" }, { "item_plumjam_desc_ff", "Used in baking recipies" } }); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding Localication for Fancy Foods: {arg}"); } } public void LoadBundle() { FoodBundle = AssetUtils.LoadAssetBundleFromResources("fancyfoods", Assembly.GetExecutingAssembly()); } private void LoadAssets() { try { Crockery1 = FoodBundle.LoadAsset<GameObject>("WoodPlate_Item_FF"); Crockery2 = FoodBundle.LoadAsset<GameObject>("WoodTray_Item_FF"); Crockery3 = FoodBundle.LoadAsset<GameObject>("StonePlate_Item_FF"); Crockery4 = FoodBundle.LoadAsset<GameObject>("StoneTray_Item_FF"); Crockery5 = FoodBundle.LoadAsset<GameObject>("TinTray_Item_FF"); Crockery6 = FoodBundle.LoadAsset<GameObject>("TinPlatter_Item_FF"); Platters1 = FoodBundle.LoadAsset<GameObject>("BoarPlatter_Food_FF"); Platters2 = FoodBundle.LoadAsset<GameObject>("FishPlatter_Food_FF"); Platters3 = FoodBundle.LoadAsset<GameObject>("InnPlatter_Food_FF"); Platters4 = FoodBundle.LoadAsset<GameObject>("WolfPlatter_Food_FF"); Platters5 = FoodBundle.LoadAsset<GameObject>("LoxPlatter_Food_FF"); Platters6 = FoodBundle.LoadAsset<GameObject>("SerpentPlatter_Food_FF"); Platters7 = FoodBundle.LoadAsset<GameObject>("MeatPlatter_Food_FF"); Platters8 = FoodBundle.LoadAsset<GameObject>("TavernPlatter_Food_FF"); Butter1 = FoodBundle.LoadAsset<GameObject>("Butter_FF"); BowlVeg1 = FoodBundle.LoadAsset<GameObject>("BowlVegetables_Item_FF"); BowlVeg2 = FoodBundle.LoadAsset<GameObject>("BowlSaladVegetables_Item_FF"); Meals1 = FoodBundle.LoadAsset<GameObject>("SimpleMeal_Food_FF"); Meals2 = FoodBundle.LoadAsset<GameObject>("BasicMeal_Food_FF"); Meals3 = FoodBundle.LoadAsset<GameObject>("NiceMeal_Food_FF"); Meals4 = FoodBundle.LoadAsset<GameObject>("PleasantMeal_Food_FF"); Meals5 = FoodBundle.LoadAsset<GameObject>("DelightfulMeal_Food_FF"); Salad1 = FoodBundle.LoadAsset<GameObject>("BerrySalad_FF"); Salad2 = FoodBundle.LoadAsset<GameObject>("FruitSalad_FF"); CiderBase1 = FoodBundle.LoadAsset<GameObject>("AppleCider_Item_FF"); CiderBase2 = FoodBundle.LoadAsset<GameObject>("BerryCider_Item_FF"); CiderBase3 = FoodBundle.LoadAsset<GameObject>("BlackBerryCider_Item_FF"); CiderBase4 = FoodBundle.LoadAsset<GameObject>("MangoCider_Item_FF"); CiderBase5 = FoodBundle.LoadAsset<GameObject>("OrangeCider_Item_FF"); CiderBase6 = FoodBundle.LoadAsset<GameObject>("SourCider_Item_FF"); CiderBase7 = FoodBundle.LoadAsset<GameObject>("EitrCider_Item_FF"); Cider1 = FoodBundle.LoadAsset<GameObject>("AppleCider_Food_FF"); Cider2 = FoodBundle.LoadAsset<GameObject>("BerryCider_Food_FF"); Cider3 = FoodBundle.LoadAsset<GameObject>("BlackBerryCider_Food_FF"); Cider4 = FoodBundle.LoadAsset<GameObject>("MangoCider_Food_FF"); Cider5 = FoodBundle.LoadAsset<GameObject>("OrangeCider_Food_FF"); Cider6 = FoodBundle.LoadAsset<GameObject>("SourCider_Food_FF"); Cider7 = FoodBundle.LoadAsset<GameObject>("EitrCider_Food_FF"); Juice1 = FoodBundle.LoadAsset<GameObject>("AppleJuice_Food_FF"); Juice2 = FoodBundle.LoadAsset<GameObject>("BerryJuice_Food_FF"); Juice3 = FoodBundle.LoadAsset<GameObject>("BlackBerryJuice_Food_FF"); Juice4 = FoodBundle.LoadAsset<GameObject>("MangoJuice_Food_FF"); Juice5 = FoodBundle.LoadAsset<GameObject>("OrangeJuice_Food_FF"); Juice6 = FoodBundle.LoadAsset<GameObject>("SourJuice_Food_FF"); Juice7 = FoodBundle.LoadAsset<GameObject>("EitrJuice_Food_FF"); Wine1 = FoodBundle.LoadAsset<GameObject>("WhiteWine_Food_FF"); Wine2 = FoodBundle.LoadAsset<GameObject>("RedWine_Food_FF"); Wine3 = FoodBundle.LoadAsset<GameObject>("EitrWine_Food_FF"); WineBase1 = FoodBundle.LoadAsset<GameObject>("RedWine_Item_FF"); WineBase2 = FoodBundle.LoadAsset<GameObject>("WhiteWine_Item_FF"); WineBase3 = FoodBundle.LoadAsset<GameObject>("EitrWine_Item_FF"); Goblet1 = FoodBundle.LoadAsset<GameObject>("TinGoblet_Item_FF"); Goblet2 = FoodBundle.LoadAsset<GameObject>("CopperGoblet_Item_FF"); Goblet3 = FoodBundle.LoadAsset<GameObject>("FancyGoblet_Item_FF"); Tankard1 = FoodBundle.LoadAsset<GameObject>("WoodTankard_Item_FF"); Tankard2 = FoodBundle.LoadAsset<GameObject>("SilverTankard_Item_FF"); Broth1 = FoodBundle.LoadAsset<GameObject>("VegetableBroth_FF"); Jam1 = FoodBundle.LoadAsset<GameObject>("AppleJam_FF"); Jam2 = FoodBundle.LoadAsset<GameObject>("LimeJam_FF"); Jam3 = FoodBundle.LoadAsset<GameObject>("OrangeJam_FF"); Jam4 = FoodBundle.LoadAsset<GameObject>("PlumJam_FF"); Flour1 = FoodBundle.LoadAsset<GameObject>("CornFlour_FF"); Base1 = FoodBundle.LoadAsset<GameObject>("CakeBase_FF"); Base2 = FoodBundle.LoadAsset<GameObject>("CupCakeBase_FF"); Base3 = FoodBundle.LoadAsset<GameObject>("DessertBase_FF"); Base4 = FoodBundle.LoadAsset<GameObject>("VatrushkaBase_FF"); Base5 = FoodBundle.LoadAsset<GameObject>("BiscuitBase_FF"); WhippedCream1 = FoodBundle.LoadAsset<GameObject>("WhippedCream_FF"); Stew1 = FoodBundle.LoadAsset<GameObject>("CabbageBeefStew_FF"); Stew2 = FoodBundle.LoadAsset<GameObject>("GameStew_FF"); Stew3 = FoodBundle.LoadAsset<GameObject>("LambStew_FF"); Stew4 = FoodBundle.LoadAsset<GameObject>("PorkPearStew_FF"); Stew5 = FoodBundle.LoadAsset<GameObject>("PorkPepperStew_FF"); Stew6 = FoodBundle.LoadAsset<GameObject>("BeefStew_FF"); Cake1 = FoodBundle.LoadAsset<GameObject>("ChocolateCherryCake_FF"); Soup1 = FoodBundle.LoadAsset<GameObject>("BroccoliSoup_FF"); Soup2 = FoodBundle.LoadAsset<GameObject>("PumkinSoup_FF"); Soup3 = FoodBundle.LoadAsset<GameObject>("PotatoSoup_FF"); Soup4 = FoodBundle.LoadAsset<GameObject>("SweetPotatoSoup_FF"); Soup5 = FoodBundle.LoadAsset<GameObject>("MushroomSoup_FF"); Soup6 = FoodBundle.LoadAsset<GameObject>("BellPepperSoup_FF"); Food1 = FoodBundle.LoadAsset<GameObject>("VatrushkaPlain_FF"); Food2 = FoodBundle.LoadAsset<GameObject>("VatrushkaRaspberry_FF"); Food3 = FoodBundle.LoadAsset<GameObject>("VatrushkaLime_FF"); Food4 = FoodBundle.LoadAsset<GameObject>("VatrushkaOrange_FF"); Food5 = FoodBundle.LoadAsset<GameObject>("VatrushkaPlum_FF"); Cupcake1 = FoodBundle.LoadAsset<GameObject>("CupcakePlain_FF"); Cupcake2 = FoodBundle.LoadAsset<GameObject>("CupcakeCream_FF"); Cupcake3 = FoodBundle.LoadAsset<GameObject>("CupcakeChocolate_FF"); Cupcake4 = FoodBundle.LoadAsset<GameObject>("CupcakeOrange_FF"); Cupcake5 = FoodBundle.LoadAsset<GameObject>("CupcakeOrangeCream_FF"); Dessert1 = FoodBundle.LoadAsset<GameObject>("DessertChocolate_FF"); Dessert2 = FoodBundle.LoadAsset<GameObject>("DessertChocolatePear_FF"); Dessert3 = FoodBundle.LoadAsset<GameObject>("DessertCreamPear_FF"); Dessert4 = FoodBundle.LoadAsset<GameObject>("DessertRaspberry_FF"); Dessert5 = FoodBundle.LoadAsset<GameObject>("DessertRaspberryCream_FF"); Biscuit1 = FoodBundle.LoadAsset<GameObject>("Biscuit_FF"); Biscuit2 = FoodBundle.LoadAsset<GameObject>("ChocolateBiscuit_FF"); Biscuit3 = FoodBundle.LoadAsset<GameObject>("BiscuitChocolateCream_FF"); Biscuit4 = FoodBundle.LoadAsset<GameObject>("BiscuitOrange_FF"); Biscuit5 = FoodBundle.LoadAsset<GameObject>("BiscuitRaspberry_FF"); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding Assets for Fancy Foods: {arg}"); } finally { AssetBundle foodBundle = FoodBundle; if ((Object)(object)foodBundle != (Object)null) { foodBundle.Unload(false); } } } private void AddFlours() { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Expected O, but got Unknown //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Expected O, but got Unknown //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown try { GameObject flour = Flour1; ItemConfig val = new ItemConfig(); val.Amount = 2; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Corn_SC", Amount = 4 } }; CustomItem val2 = new CustomItem(flour, false, val); ItemManager.Instance.AddItem(val2); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding Flours for Fancy Foods: {arg}"); } } private void AddBroths() { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Expected O, but got Unknown //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Expected O, but got Unknown //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Expected O, but got Unknown //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Expected O, but got Unknown //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Expected O, but got Unknown //IL_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Expected O, but got Unknown try { GameObject broth = Broth1; ItemConfig val = new ItemConfig(); val.Amount = 1; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "Thistle", Amount = 2 }, new RequirementConfig { Item = "Turnip", Amount = 2 }, new RequirementConfig { Item = "Onion", Amount = 2 }, new RequirementConfig { Item = "Carrot", Amount = 2 } }; CustomItem val2 = new CustomItem(broth, false, val); ItemManager.Instance.AddItem(val2); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding Broths for Fancy Foods: {arg}"); } } private void AddMaterials() { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Expected O, but got Unknown //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Expected O, but got Unknown //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Expected O, but got Unknown //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Expected O, but got Unknown //IL_00c8: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Expected O, but got Unknown //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00eb: Expected O, but got Unknown //IL_0114: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_0125: Unknown result type (might be due to invalid IL or missing references) //IL_012e: Expected O, but got Unknown //IL_0136: Unknown result type (might be due to invalid IL or missing references) //IL_013d: Expected O, but got Unknown //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Expected O, but got Unknown //IL_0184: Unknown result type (might be due to invalid IL or missing references) //IL_0189: Unknown result type (might be due to invalid IL or missing references) //IL_0195: Unknown result type (might be due to invalid IL or missing references) //IL_019e: Expected O, but got Unknown //IL_01a6: Unknown result type (might be due to invalid IL or missing references) //IL_01ad: Expected O, but got Unknown //IL_01c4: Unknown result type (might be due to invalid IL or missing references) //IL_01cb: Expected O, but got Unknown //IL_01f4: Unknown result type (might be due to invalid IL or missing references) //IL_01f9: Unknown result type (might be due to invalid IL or missing references) //IL_0205: Unknown result type (might be due to invalid IL or missing references) //IL_020e: Expected O, but got Unknown //IL_0216: Unknown result type (might be due to invalid IL or missing references) //IL_021d: Expected O, but got Unknown //IL_0234: Unknown result type (might be due to invalid IL or missing references) //IL_023b: Expected O, but got Unknown //IL_0264: Unknown result type (might be due to invalid IL or missing references) //IL_0269: Unknown result type (might be due to invalid IL or missing references) //IL_0275: Unknown result type (might be due to invalid IL or missing references) //IL_027e: Expected O, but got Unknown //IL_0286: Unknown result type (might be due to invalid IL or missing references) //IL_028d: Expected O, but got Unknown //IL_02a4: Unknown result type (might be due to invalid IL or missing references) //IL_02ab: Expected O, but got Unknown //IL_02da: Unknown result type (might be due to invalid IL or missing references) //IL_02df: Unknown result type (might be due to invalid IL or missing references) //IL_02eb: Unknown result type (might be due to invalid IL or missing references) //IL_02f4: Expected O, but got Unknown //IL_02fc: Unknown result type (might be due to invalid IL or missing references) //IL_0303: Expected O, but got Unknown //IL_031a: Unknown result type (might be due to invalid IL or missing references) //IL_0321: Expected O, but got Unknown //IL_0350: Unknown result type (might be due to invalid IL or missing references) //IL_0355: Unknown result type (might be due to invalid IL or missing references) //IL_0361: Unknown result type (might be due to invalid IL or missing references) //IL_036b: Expected O, but got Unknown //IL_036d: Unknown result type (might be due to invalid IL or missing references) //IL_0372: Unknown result type (might be due to invalid IL or missing references) //IL_037e: Unknown result type (might be due to invalid IL or missing references) //IL_0388: Expected O, but got Unknown //IL_038a: Unknown result type (might be due to invalid IL or missing references) //IL_038f: Unknown result type (might be due to invalid IL or missing references) //IL_039b: Unknown result type (might be due to invalid IL or missing references) //IL_03a4: Expected O, but got Unknown //IL_03ac: Unknown result type (might be due to invalid IL or missing references) //IL_03b3: Expected O, but got Unknown //IL_03ca: Unknown result type (might be due to invalid IL or missing references) //IL_03d1: Expected O, but got Unknown //IL_0400: Unknown result type (might be due to invalid IL or missing references) //IL_0405: Unknown result type (might be due to invalid IL or missing references) //IL_0411: Unknown result type (might be due to invalid IL or missing references) //IL_041a: Expected O, but got Unknown //IL_041c: Unknown result type (might be due to invalid IL or missing references) //IL_0421: Unknown result type (might be due to invalid IL or missing references) //IL_042d: Unknown result type (might be due to invalid IL or missing references) //IL_0436: Expected O, but got Unknown //IL_0438: Unknown result type (might be due to invalid IL or missing references) //IL_043d: Unknown result type (might be due to invalid IL or missing references) //IL_0449: Unknown result type (might be due to invalid IL or missing references) //IL_0452: Expected O, but got Unknown //IL_0454: Unknown result type (might be due to invalid IL or missing references) //IL_0459: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_046e: Expected O, but got Unknown //IL_0476: Unknown result type (might be due to invalid IL or missing references) //IL_047d: Expected O, but got Unknown //IL_0494: Unknown result type (might be due to invalid IL or missing references) //IL_049b: Expected O, but got Unknown //IL_04c4: Unknown result type (might be due to invalid IL or missing references) //IL_04c9: Unknown result type (might be due to invalid IL or missing references) //IL_04d5: Unknown result type (might be due to invalid IL or missing references) //IL_04de: Expected O, but got Unknown //IL_04e6: Unknown result type (might be due to invalid IL or missing references) //IL_04ed: Expected O, but got Unknown //IL_0504: Unknown result type (might be due to invalid IL or missing references) //IL_050b: Expected O, but got Unknown //IL_0534: Unknown result type (might be due to invalid IL or missing references) //IL_0539: Unknown result type (might be due to invalid IL or missing references) //IL_0545: Unknown result type (might be due to invalid IL or missing references) //IL_054e: Expected O, but got Unknown //IL_0556: Unknown result type (might be due to invalid IL or missing references) //IL_055d: Expected O, but got Unknown //IL_0574: Unknown result type (might be due to invalid IL or missing references) //IL_057b: Expected O, but got Unknown //IL_05a4: Unknown result type (might be due to invalid IL or missing references) //IL_05a9: Unknown result type (might be due to invalid IL or missing references) //IL_05b5: Unknown result type (might be due to invalid IL or missing references) //IL_05be: Expected O, but got Unknown //IL_05c0: Unknown result type (might be due to invalid IL or missing references) //IL_05c5: Unknown result type (might be due to invalid IL or missing references) //IL_05d1: Unknown result type (might be due to invalid IL or missing references) //IL_05da: Expected O, but got Unknown //IL_05e2: Unknown result type (might be due to invalid IL or missing references) //IL_05e9: Expected O, but got Unknown //IL_0600: Unknown result type (might be due to invalid IL or missing references) //IL_0607: Expected O, but got Unknown //IL_0636: Unknown result type (might be due to invalid IL or missing references) //IL_063b: Unknown result type (might be due to invalid IL or missing references) //IL_0647: Unknown result type (might be due to invalid IL or missing references) //IL_0650: Expected O, but got Unknown //IL_0652: Unknown result type (might be due to invalid IL or missing references) //IL_0657: Unknown result type (might be due to invalid IL or missing references) //IL_0663: Unknown result type (might be due to invalid IL or missing references) //IL_066c: Expected O, but got Unknown //IL_066e: Unknown result type (might be due to invalid IL or missing references) //IL_0673: Unknown result type (might be due to invalid IL or missing references) //IL_067f: Unknown result type (might be due to invalid IL or missing references) //IL_0688: Expected O, but got Unknown //IL_068a: Unknown result type (might be due to invalid IL or missing references) //IL_068f: Unknown result type (might be due to invalid IL or missing references) //IL_069b: Unknown result type (might be due to invalid IL or missing references) //IL_06a4: Expected O, but got Unknown //IL_06ac: Unknown result type (might be due to invalid IL or missing references) //IL_06b3: Expected O, but got Unknown //IL_06ca: Unknown result type (might be due to invalid IL or missing references) //IL_06d1: Expected O, but got Unknown //IL_0700: Unknown result type (might be due to invalid IL or missing references) //IL_0705: Unknown result type (might be due to invalid IL or missing references) //IL_0711: Unknown result type (might be due to invalid IL or missing references) //IL_071a: Expected O, but got Unknown //IL_071c: Unknown result type (might be due to invalid IL or missing references) //IL_0721: Unknown result type (might be due to invalid IL or missing references) //IL_072d: Unknown result type (might be due to invalid IL or missing references) //IL_0736: Expected O, but got Unknown //IL_0738: Unknown result type (might be due to invalid IL or missing references) //IL_073d: Unknown result type (might be due to invalid IL or missing references) //IL_0749: Unknown result type (might be due to invalid IL or missing references) //IL_0752: Expected O, but got Unknown //IL_075a: Unknown result type (might be due to invalid IL or missing references) //IL_0761: Expected O, but got Unknown //IL_0778: Unknown result type (might be due to invalid IL or missing references) //IL_077f: Expected O, but got Unknown //IL_07ae: Unknown result type (might be due to invalid IL or missing references) //IL_07b3: Unknown result type (might be due to invalid IL or missing references) //IL_07bf: Unknown result type (might be due to invalid IL or missing references) //IL_07c8: Expected O, but got Unknown //IL_07ca: Unknown result type (might be due to invalid IL or missing references) //IL_07cf: Unknown result type (might be due to invalid IL or missing references) //IL_07db: Unknown result type (might be due to invalid IL or missing references) //IL_07e4: Expected O, but got Unknown //IL_07e6: Unknown result type (might be due to invalid IL or missing references) //IL_07eb: Unknown result type (might be due to invalid IL or missing references) //IL_07f7: Unknown result type (might be due to invalid IL or missing references) //IL_0800: Expected O, but got Unknown //IL_0802: Unknown result type (might be due to invalid IL or missing references) //IL_0807: Unknown result type (might be due to invalid IL or missing references) //IL_0813: Unknown result type (might be due to invalid IL or missing references) //IL_081c: Expected O, but got Unknown //IL_0824: Unknown result type (might be due to invalid IL or missing references) //IL_082b: Expected O, but got Unknown //IL_0842: Unknown result type (might be due to invalid IL or missing references) //IL_0849: Expected O, but got Unknown //IL_0878: Unknown result type (might be due to invalid IL or missing references) //IL_087d: Unknown result type (might be due to invalid IL or missing references) //IL_0889: Unknown result type (might be due to invalid IL or missing references) //IL_0892: Expected O, but got Unknown //IL_0894: Unknown result type (might be due to invalid IL or missing references) //IL_0899: Unknown result type (might be due to invalid IL or missing references) //IL_08a5: Unknown result type (might be due to invalid IL or missing references) //IL_08ae: Expected O, but got Unknown //IL_08b0: Unknown result type (might be due to invalid IL or missing references) //IL_08b5: Unknown result type (might be due to invalid IL or missing references) //IL_08c1: Unknown result type (might be due to invalid IL or missing references) //IL_08ca: Expected O, but got Unknown //IL_08cc: Unknown result type (might be due to invalid IL or missing references) //IL_08d1: Unknown result type (might be due to invalid IL or missing references) //IL_08dd: Unknown result type (might be due to invalid IL or missing references) //IL_08e6: Expected O, but got Unknown //IL_08ee: Unknown result type (might be due to invalid IL or missing references) //IL_08f5: Expected O, but got Unknown //IL_090c: Unknown result type (might be due to invalid IL or missing references) //IL_0913: Expected O, but got Unknown //IL_0942: Unknown result type (might be due to invalid IL or missing references) //IL_0947: Unknown result type (might be due to invalid IL or missing references) //IL_0953: Unknown result type (might be due to invalid IL or missing references) //IL_095c: Expected O, but got Unknown //IL_095e: Unknown result type (might be due to invalid IL or missing references) //IL_0963: Unknown result type (might be due to invalid IL or missing references) //IL_096f: Unknown result type (might be due to invalid IL or missing references) //IL_0978: Expected O, but got Unknown //IL_097a: Unknown result type (might be due to invalid IL or missing references) //IL_097f: Unknown result type (might be due to invalid IL or missing references) //IL_098b: Unknown result type (might be due to invalid IL or missing references) //IL_0994: Expected O, but got Unknown //IL_0996: Unknown result type (might be due to invalid IL or missing references) //IL_099b: Unknown result type (might be due to invalid IL or missing references) //IL_09a7: Unknown result type (might be due to invalid IL or missing references) //IL_09b0: Expected O, but got Unknown //IL_09b8: Unknown result type (might be due to invalid IL or missing references) //IL_09bf: Expected O, but got Unknown //IL_09d6: Unknown result type (might be due to invalid IL or missing references) //IL_09dd: Expected O, but got Unknown //IL_0a0c: Unknown result type (might be due to invalid IL or missing references) //IL_0a11: Unknown result type (might be due to invalid IL or missing references) //IL_0a1d: Unknown result type (might be due to invalid IL or missing references) //IL_0a26: Expected O, but got Unknown //IL_0a28: Unknown result type (might be due to invalid IL or missing references) //IL_0a2d: Unknown result type (might be due to invalid IL or missing references) //IL_0a39: Unknown result type (might be due to invalid IL or missing references) //IL_0a42: Expected O, but got Unknown //IL_0a44: Unknown result type (might be due to invalid IL or missing references) //IL_0a49: Unknown result type (might be due to invalid IL or missing references) //IL_0a55: Unknown result type (might be due to invalid IL or missing references) //IL_0a5e: Expected O, but got Unknown //IL_0a66: Unknown result type (might be due to invalid IL or missing references) //IL_0a6d: Expected O, but got Unknown //IL_0a84: Unknown result type (might be due to invalid IL or missing references) //IL_0a8b: Expected O, but got Unknown //IL_0aba: Unknown result type (might be due to invalid IL or missing references) //IL_0abf: Unknown result type (might be due to invalid IL or missing references) //IL_0acb: Unknown result type (might be due to invalid IL or missing references) //IL_0ad4: Expected O, but got Unknown //IL_0ad6: Unknown result type (might be due to invalid IL or missing references) //IL_0adb: Unknown result type (might be due to invalid IL or missing references) //IL_0ae7: Unknown result type (might be due to invalid IL or missing references) //IL_0af0: Expected O, but got Unknown //IL_0af2: Unknown result type (might be due to invalid IL or missing references) //IL_0af7: Unknown result type (might be due to invalid IL or missing references) //IL_0b03: Unknown result type (might be due to invalid IL or missing references) //IL_0b0c: Expected O, but got Unknown //IL_0b14: Unknown result type (might be due to invalid IL or missing references) //IL_0b1b: Expected O, but got Unknown //IL_0b32: Unknown result type (might be due to invalid IL or missing references) //IL_0b39: Expected O, but got Unknown //IL_0b68: Unknown result type (might be due to invalid IL or missing references) //IL_0b6d: Unknown result type (might be due to invalid IL or missing references) //IL_0b79: Unknown result type (might be due to invalid IL or missing references) //IL_0b82: Expected O, but got Unknown //IL_0b84: Unknown result type (might be due to invalid IL or missing references) //IL_0b89: Unknown result type (might be due to invalid IL or missing references) //IL_0b95: Unknown result type (might be due to invalid IL or missing references) //IL_0b9e: Expected O, but got Unknown //IL_0ba0: Unknown result type (might be due to invalid IL or missing references) //IL_0ba5: Unknown result type (might be due to invalid IL or missing references) //IL_0bb1: Unknown result type (might be due to invalid IL or missing references) //IL_0bba: Expected O, but got Unknown //IL_0bbc: Unknown result type (might be due to invalid IL or missing references) //IL_0bc1: Unknown result type (might be due to invalid IL or missing references) //IL_0bcd: Unknown result type (might be due to invalid IL or missing references) //IL_0bd6: Expected O, but got Unknown //IL_0bde: Unknown result type (might be due to invalid IL or missing references) //IL_0be5: Expected O, but got Unknown //IL_0bfc: Unknown result type (might be due to invalid IL or missing references) //IL_0c03: Expected O, but got Unknown //IL_0c32: Unknown result type (might be due to invalid IL or missing references) //IL_0c37: Unknown result type (might be due to invalid IL or missing references) //IL_0c43: Unknown result type (might be due to invalid IL or missing references) //IL_0c4c: Expected O, but got Unknown //IL_0c4e: Unknown result type (might be due to invalid IL or missing references) //IL_0c53: Unknown result type (might be due to invalid IL or missing references) //IL_0c5f: Unknown result type (might be due to invalid IL or missing references) //IL_0c68: Expected O, but got Unknown //IL_0c6a: Unknown result type (might be due to invalid IL or missing references) //IL_0c6f: Unknown result type (might be due to invalid IL or missing references) //IL_0c7b: Unknown result type (might be due to invalid IL or missing references) //IL_0c84: Expected O, but got Unknown //IL_0c8c: Unknown result type (might be due to invalid IL or missing references) //IL_0c93: Expected O, but got Unknown //IL_0caa: Unknown result type (might be due to invalid IL or missing references) //IL_0cb1: Expected O, but got Unknown //IL_0ce0: Unknown result type (might be due to invalid IL or missing references) //IL_0ce5: Unknown result type (might be due to invalid IL or missing references) //IL_0cf1: Unknown result type (might be due to invalid IL or missing references) //IL_0cfa: Expected O, but got Unknown //IL_0cfc: Unknown result type (might be due to invalid IL or missing references) //IL_0d01: Unknown result type (might be due to invalid IL or missing references) //IL_0d0d: Unknown result type (might be due to invalid IL or missing references) //IL_0d16: Expected O, but got Unknown //IL_0d1e: Unknown result type (might be due to invalid IL or missing references) //IL_0d25: Expected O, but got Unknown //IL_0d3c: Unknown result type (might be due to invalid IL or missing references) //IL_0d43: Expected O, but got Unknown //IL_0d6c: Unknown result type (might be due to invalid IL or missing references) //IL_0d71: Unknown result type (might be due to invalid IL or missing references) //IL_0d7d: Unknown result type (might be due to invalid IL or missing references) //IL_0d86: Expected O, but got Unknown //IL_0d88: Unknown result type (might be due to invalid IL or missing references) //IL_0d8d: Unknown result type (might be due to invalid IL or missing references) //IL_0d99: Unknown result type (might be due to invalid IL or missing references) //IL_0da2: Expected O, but got Unknown //IL_0daa: Unknown result type (might be due to invalid IL or missing references) //IL_0db1: Expected O, but got Unknown //IL_0dc8: Unknown result type (might be due to invalid IL or missing references) //IL_0dcf: Expected O, but got Unknown //IL_0df8: Unknown result type (might be due to invalid IL or missing references) //IL_0dfd: Unknown result type (might be due to invalid IL or missing references) //IL_0e09: Unknown result type (might be due to invalid IL or missing references) //IL_0e12: Expected O, but got Unknown //IL_0e1a: Unknown result type (might be due to invalid IL or missing references) //IL_0e21: Expected O, but got Unknown try { GameObject crockery = Crockery1; ItemConfig val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 1 } }; CustomItem val2 = new CustomItem(crockery, false, val); ItemManager.Instance.AddItem(val2); GameObject crockery2 = Crockery2; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Wood", Amount = 2 } }; CustomItem val3 = new CustomItem(crockery2, false, val); ItemManager.Instance.AddItem(val3); GameObject crockery3 = Crockery3; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 1 } }; CustomItem val4 = new CustomItem(crockery3, false, val); ItemManager.Instance.AddItem(val4); GameObject crockery4 = Crockery4; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Stone", Amount = 2 } }; CustomItem val5 = new CustomItem(crockery4, false, val); ItemManager.Instance.AddItem(val5); GameObject crockery5 = Crockery5; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Tin", Amount = 2 } }; CustomItem val6 = new CustomItem(crockery5, false, val); ItemManager.Instance.AddItem(val6); GameObject crockery6 = Crockery6; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Tin", Amount = 2 } }; CustomItem val7 = new CustomItem(crockery6, false, val); ItemManager.Instance.AddItem(val7); GameObject butter = Butter1; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Milk_FYA", Amount = 2 } }; CustomItem val8 = new CustomItem(butter, false, val); ItemManager.Instance.AddItem(val8); GameObject bowlVeg = BowlVeg1; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[3] { new RequirementConfig { Item = "Carrot", Amount = 9 }, new RequirementConfig { Item = "Potato_SC", Amount = 9 }, new RequirementConfig { Item = "Broccoli_SC", Amount = 6 } }; CustomItem val9 = new CustomItem(bowlVeg, false, val); ItemManager.Instance.AddItem(val9); GameObject bowlVeg2 = BowlVeg2; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "Cucumber_SC", Amount = 1 }, new RequirementConfig { Item = "Tomato_SC", Amount = 1 }, new RequirementConfig { Item = "SpringOnion_SC", Amount = 3 }, new RequirementConfig { Item = "Lime_SC", Amount = 3 } }; CustomItem val10 = new CustomItem(bowlVeg2, false, val); ItemManager.Instance.AddItem(val10); GameObject goblet = Goblet1; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Tin", Amount = 1 } }; CustomItem val11 = new CustomItem(goblet, false, val); ItemManager.Instance.AddItem(val11); GameObject goblet2 = Goblet2; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Copper", Amount = 1 } }; CustomItem val12 = new CustomItem(goblet2, false, val); ItemManager.Instance.AddItem(val12); GameObject goblet3 = Goblet3; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "Tin", Amount = 1 }, new RequirementConfig { Item = "Ruby", Amount = 4 } }; CustomItem val13 = new CustomItem(goblet3, false, val); ItemManager.Instance.AddItem(val13); GameObject jam = Jam1; val = new ItemConfig(); val.Amount = 3; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 4 }, new RequirementConfig { Item = "Apple_SC", Amount = 3 }, new RequirementConfig { Item = "Raspberry", Amount = 6 }, new RequirementConfig { Item = "Lemon_SC", Amount = 1 } }; CustomItem val14 = new CustomItem(jam, false, val); ItemManager.Instance.AddItem(val14); GameObject jam2 = Jam2; val = new ItemConfig(); val.Amount = 3; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[3] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 4 }, new RequirementConfig { Item = "Lime_SC", Amount = 4 }, new RequirementConfig { Item = "Lemon_SC", Amount = 3 } }; CustomItem val15 = new CustomItem(jam2, false, val); ItemManager.Instance.AddItem(val15); GameObject jam3 = Jam3; val = new ItemConfig(); val.Amount = 3; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 4 }, new RequirementConfig { Item = "Orange_SC", Amount = 3 }, new RequirementConfig { Item = "Mango_SC", Amount = 3 }, new RequirementConfig { Item = "Lemon_SC", Amount = 1 } }; CustomItem val16 = new CustomItem(jam3, false, val); ItemManager.Instance.AddItem(val16); GameObject jam4 = Jam4; val = new ItemConfig(); val.Amount = 3; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 4 }, new RequirementConfig { Item = "Blackcurrent_Food_FT", Amount = 3 }, new RequirementConfig { Item = "Grapes_SC", Amount = 3 }, new RequirementConfig { Item = "Lemon_SC", Amount = 1 } }; CustomItem val17 = new CustomItem(jam4, false, val); ItemManager.Instance.AddItem(val17); GameObject @base = Base1; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 2 }, new RequirementConfig { Item = "EggG_FYA", Amount = 2 }, new RequirementConfig { Item = "Butter_FF", Amount = 2 }, new RequirementConfig { Item = "CornFlour_FF", Amount = 3 } }; CustomItem val18 = new CustomItem(@base, false, val); ItemManager.Instance.AddItem(val18); GameObject base2 = Base2; val = new ItemConfig(); val.Amount = 3; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[3] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 }, new RequirementConfig { Item = "Butter_FF", Amount = 3 }, new RequirementConfig { Item = "CornFlour_FF", Amount = 3 } }; CustomItem val19 = new CustomItem(base2, false, val); ItemManager.Instance.AddItem(val19); GameObject base3 = Base3; val = new ItemConfig(); val.Amount = 3; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[3] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 }, new RequirementConfig { Item = "Butter_FF", Amount = 3 }, new RequirementConfig { Item = "CornFlour_FF", Amount = 3 } }; CustomItem val20 = new CustomItem(base3, false, val); ItemManager.Instance.AddItem(val20); GameObject base4 = Base4; val = new ItemConfig(); val.Amount = 3; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 2 }, new RequirementConfig { Item = "EggG_FYA", Amount = 1 }, new RequirementConfig { Item = "Butter_FF", Amount = 2 }, new RequirementConfig { Item = "CornFlour_FF", Amount = 3 } }; CustomItem val21 = new CustomItem(base4, false, val); ItemManager.Instance.AddItem(val21); GameObject base5 = Base5; val = new ItemConfig(); val.Amount = 8; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[3] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 }, new RequirementConfig { Item = "Butter_FF", Amount = 4 }, new RequirementConfig { Item = "CornFlour_FF", Amount = 4 } }; CustomItem val22 = new CustomItem(base5, false, val); ItemManager.Instance.AddItem(val22); GameObject whippedCream = WhippedCream1; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 }, new RequirementConfig { Item = "Milk_FYA", Amount = 3 } }; CustomItem val23 = new CustomItem(whippedCream, false, val); ItemManager.Instance.AddItem(val23); GameObject tankard = Tankard1; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "ElderBark", Amount = 1 }, new RequirementConfig { Item = "Iron", Amount = 1 } }; CustomItem val24 = new CustomItem(tankard, false, val); ItemManager.Instance.AddItem(val24); GameObject tankard2 = Tankard2; val = new ItemConfig(); val.Amount = 1; val.CraftingStation = "piece_workbench"; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[1] { new RequirementConfig { Item = "Silver", Amount = 2 } }; CustomItem val25 = new CustomItem(tankard2, false, val); ItemManager.Instance.AddItem(val25); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding items for Fancy Foods: {arg}"); } } private void AddVatrushka() { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0011: 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_005a: Expected O, but got Unknown //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Expected O, but got Unknown //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Expected O, but got Unknown //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Expected O, but got Unknown //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Expected O, but got Unknown //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_0120: Expected O, but got Unknown //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_013c: Expected O, but got Unknown //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_014a: Expected O, but got Unknown //IL_0160: Unknown result type (might be due to invalid IL or missing references) //IL_0167: Expected O, but got Unknown //IL_0196: Unknown result type (might be due to invalid IL or missing references) //IL_019b: Unknown result type (might be due to invalid IL or missing references) //IL_01a7: Unknown result type (might be due to invalid IL or missing references) //IL_01b0: Expected O, but got Unknown //IL_01b2: Unknown result type (might be due to invalid IL or missing references) //IL_01b7: Unknown result type (might be due to invalid IL or missing references) //IL_01c3: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: Expected O, but got Unknown //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Expected O, but got Unknown //IL_01f2: Unknown result type (might be due to invalid IL or missing references) //IL_01f9: Expected O, but got Unknown //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_022d: Unknown result type (might be due to invalid IL or missing references) //IL_0239: Unknown result type (might be due to invalid IL or missing references) //IL_0242: Expected O, but got Unknown //IL_0244: Unknown result type (might be due to invalid IL or missing references) //IL_0249: Unknown result type (might be due to invalid IL or missing references) //IL_0255: Unknown result type (might be due to invalid IL or missing references) //IL_025e: Expected O, but got Unknown //IL_0266: Unknown result type (might be due to invalid IL or missing references) //IL_026d: Expected O, but got Unknown //IL_0284: Unknown result type (might be due to invalid IL or missing references) //IL_028b: Expected O, but got Unknown //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02cb: Unknown result type (might be due to invalid IL or missing references) //IL_02d4: Expected O, but got Unknown //IL_02d6: Unknown result type (might be due to invalid IL or missing references) //IL_02db: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02f0: Expected O, but got Unknown //IL_02f8: Unknown result type (might be due to invalid IL or missing references) //IL_02ff: Expected O, but got Unknown try { GameObject food = Food1; ItemConfig val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "VatrushkaBase_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 3 }, new RequirementConfig { Item = "EdamCheese_SC", Amount = 3 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 } }; CustomItem val2 = new CustomItem(food, false, val); ItemManager.Instance.AddItem(val2); GameObject food2 = Food2; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "VatrushkaPlain_FF", Amount = 6 }, new RequirementConfig { Item = "AppleJam_FF", Amount = 1 } }; CustomItem val3 = new CustomItem(food2, false, val); ItemManager.Instance.AddItem(val3); GameObject food3 = Food3; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "VatrushkaPlain_FF", Amount = 6 }, new RequirementConfig { Item = "LimeJam_FF", Amount = 1 } }; CustomItem val4 = new CustomItem(food3, false, val); ItemManager.Instance.AddItem(val4); GameObject food4 = Food4; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "VatrushkaPlain_FF", Amount = 6 }, new RequirementConfig { Item = "OrangeJam_FF", Amount = 1 } }; CustomItem val5 = new CustomItem(food4, false, val); ItemManager.Instance.AddItem(val5); GameObject food5 = Food5; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "VatrushkaPlain_FF", Amount = 6 }, new RequirementConfig { Item = "PlumJam_FF", Amount = 1 } }; CustomItem val6 = new CustomItem(food5, false, val); ItemManager.Instance.AddItem(val6); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding Vatrushka for Fancy Foods: {arg}"); } } private void AddCupcakes() { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0011: 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_005a: Expected O, but got Unknown //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Expected O, but got Unknown //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Expected O, but got Unknown //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Expected O, but got Unknown //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Expected O, but got Unknown //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_0120: Expected O, but got Unknown //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_013c: Expected O, but got Unknown //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) //IL_014f: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Expected O, but got Unknown //IL_0160: Unknown result type (might be due to invalid IL or missing references) //IL_0166: Expected O, but got Unknown //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Expected O, but got Unknown //IL_01b2: Unknown result type (might be due to invalid IL or missing references) //IL_01b7: Unknown result type (might be due to invalid IL or missing references) //IL_01c3: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: Expected O, but got Unknown //IL_01ce: Unknown result type (might be due to invalid IL or missing references) //IL_01d3: Unknown result type (might be due to invalid IL or missing references) //IL_01df: Unknown result type (might be due to invalid IL or missing references) //IL_01e8: Expected O, but got Unknown //IL_01ea: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0204: Expected O, but got Unknown //IL_0206: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0217: Unknown result type (might be due to invalid IL or missing references) //IL_0220: Expected O, but got Unknown //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_022f: Expected O, but got Unknown //IL_0246: Unknown result type (might be due to invalid IL or missing references) //IL_024d: Expected O, but got Unknown //IL_027c: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028d: Unknown result type (might be due to invalid IL or missing references) //IL_0296: Expected O, but got Unknown //IL_0298: Unknown result type (might be due to invalid IL or missing references) //IL_029d: Unknown result type (might be due to invalid IL or missing references) //IL_02a9: Unknown result type (might be due to invalid IL or missing references) //IL_02b2: Expected O, but got Unknown //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02c1: Expected O, but got Unknown //IL_02d8: Unknown result type (might be due to invalid IL or missing references) //IL_02df: Expected O, but got Unknown //IL_030e: Unknown result type (might be due to invalid IL or missing references) //IL_0313: Unknown result type (might be due to invalid IL or missing references) //IL_031f: Unknown result type (might be due to invalid IL or missing references) //IL_0328: Expected O, but got Unknown //IL_032a: Unknown result type (might be due to invalid IL or missing references) //IL_032f: Unknown result type (might be due to invalid IL or missing references) //IL_033b: Unknown result type (might be due to invalid IL or missing references) //IL_0344: Expected O, but got Unknown //IL_0346: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0357: Unknown result type (might be due to invalid IL or missing references) //IL_0360: Expected O, but got Unknown //IL_0362: Unknown result type (might be due to invalid IL or missing references) //IL_0367: Unknown result type (might be due to invalid IL or missing references) //IL_0373: Unknown result type (might be due to invalid IL or missing references) //IL_037c: Expected O, but got Unknown //IL_0384: Unknown result type (might be due to invalid IL or missing references) //IL_038b: Expected O, but got Unknown try { GameObject cupcake = Cupcake1; ItemConfig val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "CupCakeBase_FF", Amount = 6 }, new RequirementConfig { Item = "CornFlour_FF", Amount = 3 }, new RequirementConfig { Item = "Butter_FF", Amount = 2 }, new RequirementConfig { Item = "EggG_FYA", Amount = 2 } }; CustomItem val2 = new CustomItem(cupcake, false, val); ItemManager.Instance.AddItem(val2); GameObject cupcake2 = Cupcake2; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[3] { new RequirementConfig { Item = "CupcakePlain_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 3 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 } }; CustomItem val3 = new CustomItem(cupcake2, false, val); ItemManager.Instance.AddItem(val3); GameObject cupcake3 = Cupcake3; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "CupcakePlain_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 3 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 2 }, new RequirementConfig { Item = "CocoPowder_SC", Amount = 1 } }; CustomItem val4 = new CustomItem(cupcake3, false, val); ItemManager.Instance.AddItem(val4); GameObject cupcake4 = Cupcake4; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[2] { new RequirementConfig { Item = "CupcakePlain_FF", Amount = 6 }, new RequirementConfig { Item = "Orange_SC", Amount = 3 } }; CustomItem val5 = new CustomItem(cupcake4, false, val); ItemManager.Instance.AddItem(val5); GameObject cupcake5 = Cupcake5; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "CupcakePlain_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 3 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 2 }, new RequirementConfig { Item = "Orange_SC", Amount = 2 } }; CustomItem val6 = new CustomItem(cupcake5, false, val); ItemManager.Instance.AddItem(val6); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding Cupcakes for Fancy Foods: {arg}"); } } private void AddDesserts() { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0011: 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_005a: Expected O, but got Unknown //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Expected O, but got Unknown //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Expected O, but got Unknown //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Expected O, but got Unknown //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Expected O, but got Unknown //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_0120: Expected O, but got Unknown //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_013c: Expected O, but got Unknown //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) //IL_014f: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Expected O, but got Unknown //IL_015a: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_016b: Unknown result type (might be due to invalid IL or missing references) //IL_0174: Expected O, but got Unknown //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0182: Expected O, but got Unknown //IL_0198: Unknown result type (might be due to invalid IL or missing references) //IL_019f: Expected O, but got Unknown //IL_01ce: Unknown result type (might be due to invalid IL or missing references) //IL_01d3: Unknown result type (might be due to invalid IL or missing references) //IL_01df: Unknown result type (might be due to invalid IL or missing references) //IL_01e8: Expected O, but got Unknown //IL_01ea: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0204: Expected O, but got Unknown //IL_0206: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0217: Unknown result type (might be due to invalid IL or missing references) //IL_0220: Expected O, but got Unknown //IL_0222: Unknown result type (might be due to invalid IL or missing references) //IL_0227: Unknown result type (might be due to invalid IL or missing references) //IL_0233: Unknown result type (might be due to invalid IL or missing references) //IL_023c: Expected O, but got Unknown //IL_0244: Unknown result type (might be due to invalid IL or missing references) //IL_024b: Expected O, but got Unknown //IL_0262: Unknown result type (might be due to invalid IL or missing references) //IL_0269: Expected O, but got Unknown //IL_0298: Unknown result type (might be due to invalid IL or missing references) //IL_029d: Unknown result type (might be due to invalid IL or missing references) //IL_02a9: Unknown result type (might be due to invalid IL or missing references) //IL_02b2: Expected O, but got Unknown //IL_02b4: Unknown result type (might be due to invalid IL or missing references) //IL_02b9: Unknown result type (might be due to invalid IL or missing references) //IL_02c5: Unknown result type (might be due to invalid IL or missing references) //IL_02ce: Expected O, but got Unknown //IL_02d0: Unknown result type (might be due to invalid IL or missing references) //IL_02d5: Unknown result type (might be due to invalid IL or missing references) //IL_02e1: Unknown result type (might be due to invalid IL or missing references) //IL_02ea: Expected O, but got Unknown //IL_02ec: Unknown result type (might be due to invalid IL or missing references) //IL_02f1: Unknown result type (might be due to invalid IL or missing references) //IL_02fd: Unknown result type (might be due to invalid IL or missing references) //IL_0306: Expected O, but got Unknown //IL_030e: Unknown result type (might be due to invalid IL or missing references) //IL_0315: Expected O, but got Unknown //IL_032c: Unknown result type (might be due to invalid IL or missing references) //IL_0333: Expected O, but got Unknown //IL_0362: Unknown result type (might be due to invalid IL or missing references) //IL_0367: Unknown result type (might be due to invalid IL or missing references) //IL_0373: Unknown result type (might be due to invalid IL or missing references) //IL_037c: Expected O, but got Unknown //IL_037e: Unknown result type (might be due to invalid IL or missing references) //IL_0383: Unknown result type (might be due to invalid IL or missing references) //IL_038f: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Expected O, but got Unknown //IL_039a: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03ab: Unknown result type (might be due to invalid IL or missing references) //IL_03b4: Expected O, but got Unknown //IL_03b6: Unknown result type (might be due to invalid IL or missing references) //IL_03bb: Unknown result type (might be due to invalid IL or missing references) //IL_03c7: Unknown result type (might be due to invalid IL or missing references) //IL_03d0: Expected O, but got Unknown //IL_03d8: Unknown result type (might be due to invalid IL or missing references) //IL_03df: Expected O, but got Unknown try { GameObject dessert = Dessert1; ItemConfig val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "DessertBase_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 3 }, new RequirementConfig { Item = "CocoPowder_SC", Amount = 2 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 2 } }; CustomItem val2 = new CustomItem(dessert, false, val); ItemManager.Instance.AddItem(val2); GameObject dessert2 = Dessert2; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "DessertChocolate_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 1 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 }, new RequirementConfig { Item = "Pear_SC", Amount = 3 } }; CustomItem val3 = new CustomItem(dessert2, false, val); ItemManager.Instance.AddItem(val3); GameObject dessert3 = Dessert3; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "DessertBase_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 3 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 }, new RequirementConfig { Item = "Pear_SC", Amount = 3 } }; CustomItem val4 = new CustomItem(dessert3, false, val); ItemManager.Instance.AddItem(val4); GameObject dessert4 = Dessert4; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "DessertBase_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 3 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 1 }, new RequirementConfig { Item = "Raspberry", Amount = 8 } }; CustomItem val5 = new CustomItem(dessert4, false, val); ItemManager.Instance.AddItem(val5); GameObject dessert5 = Dessert5; val = new ItemConfig(); val.Amount = 6; val.CraftingStation = PreperationPrefab.Value; val.MinStationLevel = 1; val.Requirements = (RequirementConfig[])(object)new RequirementConfig[4] { new RequirementConfig { Item = "DessertBase_FF", Amount = 6 }, new RequirementConfig { Item = "Milk_FYA", Amount = 5 }, new RequirementConfig { Item = "SugarPowder_SC", Amount = 2 }, new RequirementConfig { Item = "Raspberry", Amount = 3 } }; CustomItem val6 = new CustomItem(dessert5, false, val); ItemManager.Instance.AddItem(val6); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding Desserts for Fancy Foods: {arg}"); } } private void AddBiscuits() { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0011: 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_005a: Expected O, but got Unknown //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Expected O, but got Unknown //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Expected O, but got Unknown //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Expected O, but got Unknown //IL_00ea: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Expected O, but got Unknown //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_0120: Expected O, but got Unknown //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_013c: Expected O, but got Unknown //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) //IL_014f: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Expected O, but got Unknown //IL_0160: Unknown result type (might be due to invalid IL or missing references) //IL_0166: Expected O, but got Unknown //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Expected O, but got Unknown //IL_01b2: Unknown result type (might be due to invalid IL or missing references) //IL_01b7: Unknown result type (might be due to invalid IL or missing references) //IL_01c3: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: Expected O, but got Unknown //IL_01ce: Unknown result type (might be due to invalid IL or missing references) //IL_01d3: Unknown result type (might be due to invalid IL or missing references) //IL_01df: Unknown result type (might be due to invalid IL or missing references) //IL_01e8: Expected O, but got Unknown //IL_01ea: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0204: Expected O, but got Unknown //IL_0206: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0217: Unknown result type (might be due to invalid IL or missing references) //IL_0220: Expected O, but got Unknown //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_022f: Expected O, but got Unknown //IL_0246: Unknown result type (might be due to invalid IL or missing references) //IL_024d: Expected O, but got Unknown //IL_027c: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028d: Unknown result type (might be due to invalid IL or missing references) //IL_0296: Expected O, but got Unknown //IL_0298: Unknown result type (might be due to invalid IL or missing references) //IL_029d: Unknown result type (might be due to invalid IL or missing references) //IL_02a9: Unknown result type (might be due to invalid IL or missing references) //IL_02b2: Expected O, but got Unknown //IL_02b4: Unknown result type (might be due to invalid IL or missing references) //IL_02b9: Unknown result type (might be due to invalid IL or missing references) //IL_02c5: Unknown result type (might be due to invalid IL or missing references) //IL_02ce: Expected O, but got Unknown //IL_02d0: Unknown result type (might be due to invalid IL or missing references) //IL_02d5: Unknown result type (might be due to invalid IL or missing references) //IL_02e1: Unknown result type (might be due to invalid IL or missing references) //IL_02ea: Expected O, but got Unknown //IL_02f2: Unknown result type (might be due to invalid IL or missing references) //IL_02f9: Expected O, but got Unknown //IL_0310: Unknown result type (might be due to invalid IL or missing references) //IL_0317: Expected O, but got Unknown //IL_0346: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0357: Unknown result type (might be due to invalid I