Esempio n. 1
0
        public override bool OnDragDropInto(Mobile from, Item item, Point3D p)
        {
            if (!base.OnDragDropInto(from, item, p))
            {
                return(false);
            }
            if (item is Gold)
            {
                return(false);
            }
            if (item.CheckNewbied() || item.Insured || item.PayedInsurance)
            {
                return(false);
            }
            if (item is BaseContainer)
            {
                seachbag(item, from);
            }
            m_Points += item.Amount;
            item.Delete();

            item.InvalidateProperties();
            return(true);
        }