Example #1
0
        public override void OnLocationChange(Point3D old)
        {
            base.OnLocationChange(old);

            if (SecondContainer != null)
            {
                SecondContainer.MoveToWorld(new Point3D(X + m_Offset.X, Y + m_Offset.Y, Z + m_Offset.Z), Map);
            }
        }
Example #2
0
        public override void OnDelete()
        {
            if (SecondContainer != null)
            {
                SecondContainer.Delete();
            }

            base.OnDelete();
        }
Example #3
0
 public override void OnChop(Mobile from)
 {
     if (!SecondContainer.IsSecure)
     {
         SecondContainer.DropItemsToGround();
         base.OnChop(from);
     }
     else
     {
         from.SendLocalizedMessage(1074870); // This item must be unlocked/unsecured before re-deeding it.
     }
 }