Exemplo n.º 1
0
        public override void OnDoubleClick(Mobile from)
        {
            if (f_owner == null || f_owner.Deleted)
            {
                f_owner = from;
            }

            if (from != f_owner)
            {
                from.SendMessage("You realize that the trap isn't yours so you leave it alone.");//1116391
                return;
            }

            FullTrap trap = new FullTrap();

            from.AddToBackpack(trap);
            this.Delete();
        }
        public override void OnDoubleClick(Mobile from)
        {
            if (f_owner == null || f_owner.Deleted)
                f_owner = from;

            if (from != f_owner)
            {
                from.SendMessage("You realize that the trap isn't yours so you leave it alone.");//1116391
                return;
            }

            FullTrap trap = new FullTrap();
            from.AddToBackpack(trap);
            this.Delete();
        }