Exemplo n.º 1
0
		public override void OnDoubleClick( Mobile from )
		{
			ttt = this;
			if( !IsChildOf( from.Backpack ) && !IsChildOf( from.BankBox ) )
				from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
			else
				from.SendGump( new SelectTicketGump( from, ttt ) );
		}
Exemplo n.º 2
0
 public override void OnDoubleClick(Mobile from)
 {
     ttt = this;
     if (!IsChildOf(from.Backpack) && !IsChildOf(from.BankBox))
     {
         from.SendLocalizedMessage(1042001);                   // That must be in your pack for you to use it.
     }
     else
     {
         from.SendGump(new SelectTicketGump(from, ttt));
     }
 }
Exemplo n.º 3
0
        public SelectTicketGump(Mobile from, TourTicket ttt) : base(50, 50)
        {
            m_From = from;
            rttt   = ttt;
            from.CloseGump(typeof(SelectTicketGump));

            AddBackground(100, 10, 230, 180, 9390);
            AddHtml(157, 18, 400, 35, "Tour ticket selection", false, false);

            AddHtml(126, 55, 200, 35, "This ticket can be used at a PVP Reward Stone", false, false);
            //AddHtml( 150, 75, 200, 35, "Convert into 80k gold", false, false );
            AddHtml(150, 105, 170, 35, "Convert a Tourney ticket into 12 Team tour tickets", false, false);

            //AddButton( 118, 73, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0 ); //Turn to gold:
            AddButton(118, 111, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0);               //Get 12 team tourney ticket:
        }
Exemplo n.º 4
0
		public SelectTicketGump( Mobile from, TourTicket ttt ) : base( 50, 50 )
		{
			m_From = from;
			rttt = ttt;
			from.CloseGump( typeof( SelectTicketGump ) );

			AddBackground( 100, 10, 230, 180, 9390 );
			AddHtml( 157, 18, 400, 35, "Tour ticket selection", false, false );
			
			AddHtml( 126, 55, 200, 35, "This ticket can be used at a PVP Reward Stone", false, false );
			//AddHtml( 150, 75, 200, 35, "Convert into 80k gold", false, false );
			AddHtml( 150, 105, 170, 35, "Convert a Tourney ticket into 12 Team tour tickets", false, false );

			//AddButton( 118, 73, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0 ); //Turn to gold:
			AddButton( 118, 111, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0 ); //Get 12 team tourney ticket:
		}