예제 #1
0
            public override void OnDoubleClick(Mobile from)
            {
                if (from.AccessLevel == AccessLevel.Player && (BaseHouse.FindHouseAt(from) == null || !BaseHouse.FindHouseAt(from).CoOwners.Contains(from)))
                {
                    from.SendMessage("You must get a staff member to place this deed.");
                }
                else
                {
                    TradeVendor vendor = new TradeVendor();
                    vendor.Owner = from;

                    vendor.MoveToWorld(from.Location, from.Map);

                    Delete();
                }
            }
예제 #2
0
 public BuyTarget(TradeVendor vendor)
     : base(-1, false, TargetFlags.None)
 {
     m_Vendor      = vendor;
     AllowNonlocal = true;
 }