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(); } }
public BuyTarget(TradeVendor vendor) : base(-1, false, TargetFlags.None) { m_Vendor = vendor; AllowNonlocal = true; }