示例#1
0
            public AskAboutFutureEntry(Mobile from, Sphynx Sphynx)
                : base(6199, 8)
            {
                m_Sphynx = Sphynx;
                m        = from;

                Enabled = !SphynxFortune.UnderEffect(from);
            }
示例#2
0
文件: Sphynx.cs 项目: dpisanu/xrunuo
            public SphynxGump(Mobile m, Sphynx s)
                : base(150, 50)
            {
                from = m;

                Sphynx = s;

                AddPage(0);

                Closable = false;

                AddImage(0, 0, 0xE10);
                AddImageTiled(0, 14, 15, 200, 0xE13);
                AddImageTiled(380, 14, 14, 200, 0xE15);

                AddImage(0, 201, 0xE16);
                AddImageTiled(15, 201, 370, 16, 0xE17);
                AddImageTiled(15, 0, 370, 16, 0xE11);

                AddImage(380, 0, 0xE12);
                AddImage(380, 201, 0xE18);
                AddImageTiled(15, 15, 365, 190, 0xA40);

                AddRadio(30, 140, 0x25FF, 0x2602, false, 1);
                AddHtmlLocalized(65, 145, 300, 25, 1060863, 0xFFFFFF, false, false);                   // Pay for the reading.

                AddRadio(30, 175, 0x25FF, 0x2602, true, 0);
                AddHtmlLocalized(65, 178, 300, 25, 1060862, 0xFFFFFF, false, false);                  // No thanks. I decide my own destiny!

                AddHtmlLocalized(30, 20, 360, 35, 1060864, 0xFFFFFF, false, false);                   // Interested in your fortune, are you?  The ancient Sphynx can read the future for you - for a price of course...

                AddImage(65, 72, 0x15E5);
                AddImageTiled(80, 90, 200, 1, 0x2393);
                AddImageTiled(95, 92, 200, 1, 0x23C5);

                AddLabel(90, 70, 0x66D, "5000");

                AddHtmlLocalized(140, 70, 100, 25, 1023823, 0xFFFFFF, false, false);                   // gold coins

                AddButton(290, 175, 0xF7, 0xF8, 2, GumpButtonType.Reply, 0);

                AddImageTiled(15, 14, 365, 1, 0x2393);
                AddImageTiled(380, 14, 1, 190, 0x2391);
                AddImageTiled(15, 205, 365, 1, 0x2393);
                AddImageTiled(15, 14, 1, 190, 0x2391);
                AddImageTiled(0, 0, 395, 1, 0x23C5);
                AddImageTiled(394, 0, 1, 217, 0x23C3);
                AddImageTiled(0, 216, 395, 1, 0x23C5);
                AddImageTiled(0, 0, 1, 217, 0x23C3);

                AddHtmlLocalized(30, 105, 340, 40, 1060865, 0x1DB2D, false, false);                   // Do you accept this offer?  The funds will be withdrawn from your backpack.
            }
        public FortuneGump( Sphynx sphynx )
            : base(150, 50)
        {
            m_Sphynx = sphynx;

            Closable=false;
            Disposable=false;
            Dragable=true;
            Resizable=false;
            AddPage( 0 );
            AddImage( 0, 0, 3600 );
            AddImageTiled( 0, 14, 15, 200, 3603 );
            AddImageTiled( 380, 14, 14, 200, 3605 );
            AddImage( 0, 201, 3606 );
            AddImageTiled( 15, 201, 370, 16, 3607 );
            AddImageTiled( 15, 0, 370, 16, 3601 );
            AddImage( 380, 0, 3602 );
            AddImage( 380, 201, 3608 );
            AddImageTiled( 15, 15, 365, 190, 2624);
            AddRadio( 30, 140, 9727, 9730, false, 1 );
            AddHtmlLocalized( 65, 145, 300, 25, 1060863, 32767, false, false ); // Pay for the reading.
            AddRadio( 30, 175, 9727, 9730, true, 2 );
            AddHtmlLocalized( 65, 178, 300, 25, 1060862, 32767, false, false ); // No thanks. I decide my own destiny!
            AddHtmlLocalized( 30, 20, 360, 35, 1060864, 32767, false, false ); // Interested in your fortune, are you?  The ancient Sphynx can read the future for you - for a price of course...
            AddImage( 65, 72, 5605 );
            AddImageTiled( 80, 90, 200, 1, 9107 );
            AddImageTiled( 95, 92, 200, 1, 9157 );
            AddLabel( 90, 70, 140, "5000" );
            AddHtmlLocalized( 140, 70, 100, 25, 1023823, 32767, false, false ); // gold coins
            AddButton( 290, 175, 247, 248, 1, GumpButtonType.Reply, 0 );
            AddImageTiled( 15, 14, 365, 1, 9107 );
            AddImageTiled( 380, 14, 1, 190, 9105 );
            AddImageTiled( 15, 205, 365, 1, 9107 );
            AddImageTiled( 15, 14, 1, 190, 9105 );
            AddImageTiled( 0, 0, 395, 1, 9157 );
            AddImageTiled( 394, 0, 1, 217, 9155 );
            AddImageTiled( 0, 216, 395, 1, 9157 );
            AddImageTiled( 0, 0, 1, 217, 9155 );
            AddHtmlLocalized( 30, 105, 340, 40, 1060865, 0xB5CE6B, false, false ); // Do you accept this offer?  The funds will be withdrawn from your backpack.
        }
示例#4
0
            public SphynxGump( Mobile m, Sphynx s )
                : base(150, 50)
            {
                from = m;

                Sphynx = s;

                AddPage( 0 );

                Closable = false;

                AddImage( 0, 0, 0xE10 );
                AddImageTiled( 0, 14, 15, 200, 0xE13 );
                AddImageTiled( 380, 14, 14, 200, 0xE15 );

                AddImage( 0, 201, 0xE16 );
                AddImageTiled( 15, 201, 370, 16, 0xE17 );
                AddImageTiled( 15, 0, 370, 16, 0xE11 );

                AddImage( 380, 0, 0xE12 );
                AddImage( 380, 201, 0xE18 );
                AddImageTiled( 15, 15, 365, 190, 0xA40 );

                AddRadio( 30, 140, 0x25FF, 0x2602, false, 1 );
                AddHtmlLocalized( 65, 145, 300, 25, 1060863, 0xFFFFFF, false, false ); // Pay for the reading.

                AddRadio( 30, 175, 0x25FF, 0x2602, true, 0 );
                AddHtmlLocalized( 65, 178, 300, 25, 1060862, 0xFFFFFF, false, false ); // No thanks. I decide my own destiny!

                AddHtmlLocalized( 30, 20, 360, 35, 1060864, 0xFFFFFF, false, false ); // Interested in your fortune, are you?  The ancient Sphynx can read the future for you - for a price of course...

                AddImage( 65, 72, 0x15E5 );
                AddImageTiled( 80, 90, 200, 1, 0x2393 );
                AddImageTiled( 95, 92, 200, 1, 0x23C5 );

                AddLabel( 90, 70, 0x66D, "5000" );

                AddHtmlLocalized( 140, 70, 100, 25, 1023823, 0xFFFFFF, false, false ); // gold coins

                AddButton( 290, 175, 0xF7, 0xF8, 2, GumpButtonType.Reply, 0 );

                AddImageTiled( 15, 14, 365, 1, 0x2393 );
                AddImageTiled( 380, 14, 1, 190, 0x2391 );
                AddImageTiled( 15, 205, 365, 1, 0x2393 );
                AddImageTiled( 15, 14, 1, 190, 0x2391 );
                AddImageTiled( 0, 0, 395, 1, 0x23C5 );
                AddImageTiled( 394, 0, 1, 217, 0x23C3 );
                AddImageTiled( 0, 216, 395, 1, 0x23C5 );
                AddImageTiled( 0, 0, 1, 217, 0x23C3 );

                AddHtmlLocalized( 30, 105, 340, 40, 1060865, 0x1DB2D, false, false ); // Do you accept this offer?  The funds will be withdrawn from your backpack.
            }
示例#5
0
            public AskAboutFutureEntry( Mobile from, Sphynx Sphynx )
                : base(6199, 8)
            {
                m_Sphynx = Sphynx;

                m = from;

                Enabled = !UnderEffect( from );
            }
示例#6
0
 public FortuneEntry(Sphynx sphynx) : base(6199, 8)
 {
     m_Sphynx = sphynx;
 }
示例#7
0
			public FortuneEntry( Sphynx sphynx ) : base( 6199, 8 )
			{
				m_Sphynx = sphynx;
			}