public bool CanOpenBank(Mobile from, BankHiive bt)
 {
     if (bt.Charges > 0)
     {
         return(true);
     }
     else
     {
         from.SendLocalizedMessage(502412);   // There are no charges left on that item.
         return(false);
     }
 }
        public void DoOpenBank(Mobile from, BankHiive bt)
        {
            BankBox box = from.BankBox;

            if (box != null)
            {
                box.Open();
                bt.Charges--;
                bt.Name = "Bank hive. Charges: " + Charges + " Recharges left: " + (MaxRecharges - Recharges);
            }
            else
            {
                from.SendMessage("Please page a gm immediately... you seem to have misplaced your bankbox....Boggle!");
            }
        }
        public void DoOpenBank( Mobile from, BankHiive bt )
        {
            BankBox box = from.BankBox;

            if ( box != null )
            {
                box.Open();
                bt.Charges--;
                bt.Name = "Bank hive. Charges: " + Charges + " Recharges left: " + ( MaxRecharges - Recharges );
            }
            else
                from.SendMessage( "Please page a gm immediately... you seem to have misplaced your bankbox....Boggle!" );

        }
 public bool CanOpenBank( Mobile from, BankHiive bt )
 {
     if ( bt.Charges > 0 )
     {
         return true;
     }
     else
     {
         from.SendLocalizedMessage( 502412 ); // There are no charges left on that item.
         return false;
     }
 }