示例#1
0
        public override void OnDoubleClick(Mobile from)
        {
            YardTarget yt;

            if (m_Category != null)
            {
                yt = new YardTarget(this, from, 0, 0, Category, Page);
            }
            else
            {
                yt = new YardTarget(this, from, 0, 0, "", 0);
            }

            yt.GumpUp();
        }
示例#2
0
        public override void OnDoubleClick(Mobile from)
        {
            YardTarget yt;

            if (Map == Map.Felucca)
            {
                from.SendMessage("You can't use this item in Felucca");
                return;
            }

            else if (m_Category != null)
            {
                yt = new YardTarget(this, from, 0, 0, Category, Page);
            }
            else
            {
                yt = new YardTarget(this, from, 0, 0, "", 0);
            }

            yt.GumpUp();
        }