public override void OnResponse(NetState state, RelayInfo info) { if (info.ButtonID == 2) { int doubloonsInHold = m_Ship.GetHoldDoubloonTotal(m_Ship); if (!Banker.CanDepositUniqueCurrency(m_From, typeof(Doubloon), doubloonsInHold)) { m_From.SendMessage("Your bankbox would not be able to hold all of the doubloons from your ship's hold. You must clear out some items from your bank before you may dock this ship."); } else { m_Ship.EndDryDock(m_From, doubloonsInHold); } } }