internal static bool Prefix(Panel_Cooking __instance)
        {
            if (!InputManager.GetInventoryDropPressed(GameManager.Instance()))
            {
                return(true);
            }

            GearItem cookedItem    = __instance.GetSelectedFood();
            bool     requiresWater = (cookedItem?.m_Cookable?.m_PotableWaterRequiredLiters ?? 0) > 0;

            if (!requiresWater)
            {
                return(true);
            }

            MeltAndCookButton.Execute();
            return(false);
        }
        internal static bool Prefix(Panel_Cooking __instance)
        {
            if (!InputManager.GetInventoryDropPressed(__instance))
            {
                return(true);
            }

            GearItem cookedItem    = Traverse.Create(__instance).Method("GetSelectedFood").GetValue <GearItem>();
            bool     requiresWater = (cookedItem?.m_Cookable?.m_PotableWaterRequiredLiters ?? 0) > 0;

            if (!requiresWater)
            {
                return(true);
            }

            MeltAndCookButton.Execute();
            return(false);
        }