public void DropOff()
    {
        if (MyDeliv.Armor.Count != 0)
        {
        }
        if (MyDeliv.Weapon.Count != 0)
        {
        }
        if (MyDeliv.Mats.Count != 0)
        {
            List <MatInfo> Stillneed = new List <MatInfo> ();
            foreach (MatInfo temp in MyDeliv.Mats)
            {
                if ((MyMoney.CanIBuy(MyDeliv.Price, true) == true) && (MyMoney.IsResourceMax(temp, 1, temp.isRefine) == false))
                {
                    MyHero.HeroGold += MyDeliv.Price;
                    MyMoney.AddResource(temp, 1, temp.isRefine);
                }
                else
                {
                    DeliveryFailed = true;
                    Stillneed.Add(temp);
                    TimeBeforeTryDelivery = Time.time + 20.0f;
                }
            }
            if (DeliveryFailed == true)
            {
                MyDeliv.Mats = Stillneed;
            }
        }


        if (DeliveryFailed == false)
        {
            MyDeliv = new DeliveryItem();
        }
        //	resNodeTarget = null;
        MyPickup = new PickupInfo();
    }