private static object[] CreateParcel(params decimal[] prices)
                {
                    var parcel = new Parcel();

                    foreach (var price in prices)
                    {
                        parcel.AddItem(new Item(price));
                    }

                    return(new object[] { parcel });
                }
        private static Parcel CreateParcel(decimal[] prices)
        {
            var parcel = new Parcel();

            foreach (var price in prices)
            {
                var item = new Item(price);
                parcel.AddItem(item);
            }

            return(parcel);
        }
 protected override void OnTarget(Mobile from, object target)
 {
     if (target == from)
     {
         from.SendMessage("Your attempts to gift-wrap yourself are met with failure.");
     }
     else if (target is Mobile)
     {
         from.SendMessage("That being refuses to be gift wrapped, and looks quite put out.");
     }
     else if (target is Item)
     {
         Item c = (Item)target;
         if (c.IsChildOf(from.Backpack))
         {
             from.SendMessage("You gift-wrap the item.");
             Parcel box = new Parcel();
             box.To   = m_To;
             box.From = m_From;
             box.AddItem(c);
             from.AddToBackpack(box);
         }
     }
 }