Exemplo n.º 1
0
        public EtherealRideGump(EtherealDeed deed) : base(220, 182)
        {
            m_Deed = deed;
            int x  = 30;
            int x2 = 65;
            int y  = 35;
            int id = 1;

            AddPage(0);

            AddImage(0, 0, 0x820);
            AddImage(18, 30, 0x821);
            AddImage(18, 85, 0x822);
            AddImage(18, 135, 0x823);

            AddHtml(60, 5, 275, 20, "<b>Choose your ethereal mount:</b>", false, false);

            AddButton(x, y, 4023, 4025, id, GumpButtonType.Reply, 0);
            AddLabel(x2, y, 0x480, "Horse");
            id = id + 1;
            y  = y + 25;

            AddButton(x, y, 4023, 4025, id, GumpButtonType.Reply, 0);
            AddLabel(x2, y, 0x480, "Ostard");
            id = id + 1;
            y  = y + 25;

            AddButton(x, y, 4023, 4025, id, GumpButtonType.Reply, 0);
            AddLabel(x2, y, 0x480, "Llama");
            id = id + 1;
            y  = y + 25;

            AddButton(x, y, 4023, 4025, id, GumpButtonType.Reply, 0);
            AddLabel(x2, y, 0x480, "Kirin");
            id = id + 1;

            if (!m_Deed.IsDonation)
            {
                y  = 35;
                x  = 150;
                x2 = 185;

                AddButton(x, y, 4023, 4025, id, GumpButtonType.Reply, 0);
                AddLabel(x2, y, 0x480, "Unicorn");
                id = id + 1;
                y  = y + 25;

                AddButton(x, y, 4023, 4025, id, GumpButtonType.Reply, 0);
                AddLabel(x2, y, 0x480, "Ridgeback");
                id = id + 1;
                y  = y + 25;

                AddButton(x, y, 4023, 4025, id, GumpButtonType.Reply, 0);
                AddLabel(x2, y, 0x480, "Beetle");
                id = id + 1;
                y  = y + 25;

                AddButton(x, y, 4023, 4025, id, GumpButtonType.Reply, 0);
                AddLabel(x2, y, 0x480, "Swamp Dragon");
            }
        }
Exemplo n.º 2
0
		public EtherealRideGump ( EtherealDeed deed ) : base ( 220, 182 )
		{
			m_Deed = deed;
			int x = 30;
			int x2 = 65;
			int y = 35;
			int id = 1;

			AddPage ( 0 );

			AddImage( 0, 0, 0x820 );
			AddImage( 18, 30, 0x821);
			AddImage( 18, 85, 0x822 );
			AddImage( 18, 135, 0x823 );

			AddHtml( 60, 5, 275, 20, "<b>Choose your ethereal mount:</b>", false, false);

			AddButton( x, y, 4023, 4025, id, GumpButtonType.Reply, 0 );
			AddLabel( x2, y, 0x480, "Horse" );
			id=id+1;
			y=y+25;

			AddButton( x, y, 4023, 4025, id, GumpButtonType.Reply, 0 );
			AddLabel( x2, y, 0x480, "Ostard" );
			id=id+1;
			y=y+25;

			AddButton( x, y, 4023, 4025, id, GumpButtonType.Reply, 0 );
			AddLabel( x2, y, 0x480, "Llama" );
			id=id+1;
			y=y+25;

			AddButton( x, y, 4023, 4025, id, GumpButtonType.Reply, 0 );
			AddLabel( x2, y, 0x480, "Kirin" );
			id=id+1;

			if (!m_Deed.IsDonation)
			{
				y = 35;
				x = 150;
				x2 = 185;

				AddButton( x, y, 4023, 4025, id, GumpButtonType.Reply, 0 );
				AddLabel( x2, y, 0x480, "Unicorn" );
				id=id+1;
				y=y+25;

				AddButton( x, y, 4023, 4025, id, GumpButtonType.Reply, 0 );
				AddLabel( x2, y, 0x480, "Ridgeback" );
				id=id+1;
				y=y+25;

				AddButton( x, y, 4023, 4025, id, GumpButtonType.Reply, 0 );
				AddLabel( x2, y, 0x480, "Beetle" );
				id=id+1;
				y=y+25;

				AddButton( x, y, 4023, 4025, id, GumpButtonType.Reply, 0 );
				AddLabel( x2, y, 0x480, "Swamp Dragon" );
			}
		}