예제 #1
0
 public override void RenderMessage(BaseQuestGump gump)
 {
     if (this.CurProgress > 0 && this.CurProgress < this.MaxProgress)
         gump.AddHtmlObject(70, 130, 300, 100, 1050028, BaseQuestGump.Blue, false, false); // Victoria has accepted the Daemon bones, but the requirement is not yet met.
     else
         base.RenderMessage(gump);
 }
 public override void RenderMessage( BaseQuestGump gump )
 {
     if ( CurProgress > 0 && CurProgress < MaxProgress )
         gump.AddHtmlObject( 70, 130, 300, 100, "Zuleika has accepted the Poison fungus, but the requirement is not yet met.", BaseQuestGump.Blue, false, false );
     else
         base.RenderMessage( gump );
 }
예제 #3
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            string count = NestArea.NonSpecialCount.ToString();

            gump.AddHtmlLocalized(70, 260, 270, 100, 1054055, BaseQuestGump.Blue, false, false); // Solen Nests Studied :
            gump.AddLabel(70, 280, 0x64, count);
            gump.AddLabel(100, 280, 0x64, "/");
            gump.AddLabel(130, 280, 0x64, count);
        }
 public override void RenderProgress(BaseQuestGump gump)
 {
     if (!Completed)
     {
         gump.AddLabel(70, 260, 270, "Abysmal Horror");
         gump.AddLabel(70, 280, 0x64, CurProgress.ToString());
         gump.AddLabel(100, 280, 0x64, "/");
         gump.AddLabel(130, 280, 0x64, MaxProgress.ToString());
     }
     else
     {
         base.RenderProgress(gump);
     }
 }
예제 #5
0
 public override void RenderProgress(BaseQuestGump gump)
 {
     if (!this.Completed)
     {
         gump.AddHtmlLocalized(70, 260, 270, 100, 1054093, BaseQuestGump.Blue, false, false); // Gallons of Water gathered:
         gump.AddLabel(70, 280, 0x64, (this.CurProgress / 5).ToString());
         gump.AddLabel(100, 280, 0x64, "/");
         gump.AddLabel(130, 280, 0x64, (this.MaxProgress / 5).ToString());
     }
     else
     {
         base.RenderProgress(gump);
     }
 }
        public override void RenderProgress( BaseQuestGump gump )
        {
            if ( CurProgress > 0 && CurProgress < MaxProgress )
            {
                gump.AddHtmlObject( 70, 260, 270, 100, "Number of fungus collected:", BaseQuestGump.Blue, false, false );

                gump.AddLabel( 70, 280, 100, CurProgress.ToString() );
                gump.AddLabel( 100, 280, 100, "/" );
                gump.AddLabel( 130, 280, 100, MaxProgress.ToString() );
            }
            else
            {
                base.RenderProgress( gump );
            }
        }
예제 #7
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (this.CurProgress > 0 && this.CurProgress < this.MaxProgress)
            {
                gump.AddHtmlObject(70, 260, 270, 100, 1050019, BaseQuestGump.Blue, false, false); // Number of bones collected:

                gump.AddLabel(70, 280, 100, this.CurProgress.ToString());
                gump.AddLabel(100, 280, 100, "/");
                gump.AddLabel(130, 280, 100, this.MaxProgress.ToString());
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #8
0
파일: Objectives.cs 프로젝트: Godkong/RunUO
		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				// Red/Black Solen Queens killed:
				gump.AddHtmlLocalized( 70, 260, 270, 100, ((AmbitiousQueenQuest)System).RedSolen ? 1054064 : 1054065, BaseQuestGump.Blue, false, false );
				gump.AddLabel( 70, 280, 0x64, CurProgress.ToString() );
				gump.AddLabel( 100, 280, 0x64, "/" );
				gump.AddLabel( 130, 280, 0x64, MaxProgress.ToString() );
			}
			else
			{
				base.RenderProgress( gump );
			}
		}
예제 #9
0
		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				// Black/Red Solen Infiltrators killed:
				gump.AddHtmlLocalized( 70, 260, 270, 100, ((SolenMatriarchQuest)System).RedSolen ? 1054088 : 1054087, BaseQuestGump.Blue, false, false );
				gump.AddLabel( 70, 280, 0x64, CurProgress.ToString() );
				gump.AddLabel( 100, 280, 0x64, "/" );
				gump.AddLabel( 130, 280, 0x64, MaxProgress.ToString() );
			}
			else
			{
				base.RenderProgress( gump );
			}
		}
예제 #10
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                // Rainbow pearls collected:
                gump.AddHtmlObject(70, 260, 270, 100, 1055085, BaseQuestGump.Blue, false, false);

                gump.AddLabel(70, 280, 0x64, CurProgress.ToString());
                gump.AddLabel(100, 280, 0x64, "/");
                gump.AddLabel(130, 280, 0x64, MaxProgress.ToString());
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #11
0
파일: Objectives.cs 프로젝트: zmazza/ServUO
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                // Deathwatch Beetle Hatchlings killed:
                gump.AddHtmlLocalized(70, 260, 270, 100, 1063318, 0x12DC6BF, false, false);

                gump.AddLabel(70, 280, 0x64, "1");
                gump.AddLabel(100, 280, 0x64, "/");
                gump.AddLabel(130, 280, 0x64, "10");
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #12
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (CurProgress > 0 && CurProgress < MaxProgress)
            {
                gump.AddHtmlObject(70, 260, 270, 100, 1050019, BaseQuestGump.Blue, false, false);
                // Number of bones collected:

                gump.AddLabel(70, 280, 100, CurProgress.ToString());
                gump.AddLabel(100, 280, 100, "/");
                gump.AddLabel(130, 280, 100, MaxProgress.ToString());
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #13
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                IngredientInfo info = IngredientInfo.Get(this.Ingredient);

                gump.AddHtmlLocalized(70, 260, 270, 100, info.Name, BaseQuestGump.Blue, false, false);
                gump.AddLabel(70, 280, 0x64, CurProgress.ToString());
                gump.AddLabel(100, 280, 0x64, "/");
                gump.AddLabel(130, 280, 0x64, info.Quantity.ToString());
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #14
0
 public override void RenderProgress(BaseQuestGump gump)
 {
     if (!Completed)
     {
         // Black/Red Solen Infiltrators killed:
         gump.AddHtmlLocalized(70, 260, 270, 100, ((SolenMatriarchQuest)System).RedSolen ? 1054088 : 1054087,
                               BaseQuestGump.Blue, false, false);
         gump.AddLabel(70, 280, 0x64, CurProgress.ToString());
         gump.AddLabel(100, 280, 0x64, "/");
         gump.AddLabel(130, 280, 0x64, MaxProgress.ToString());
     }
     else
     {
         base.RenderProgress(gump);
     }
 }
예제 #15
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!this.Completed)
            {
                // Deathwatch Beetle Hatchlings killed:
                gump.AddHtmlLocalized(70, 260, 270, 100, 1063318, 0x12DC6BF, false, false);

                gump.AddLabel(70, 280, 0x64, "1");
                gump.AddLabel(100, 280, 0x64, "/");
                gump.AddLabel(130, 280, 0x64, "10");
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #16
0
파일: Objectives.cs 프로젝트: Godkong/RunUO
		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				// Rainbow pearls collected:
				gump.AddHtmlObject( 70, 260, 270, 100, 1055085, BaseQuestGump.Blue, false, false );

				gump.AddLabel( 70, 280, 0x64, CurProgress.ToString() );
				gump.AddLabel( 100, 280, 0x64, "/" );
				gump.AddLabel( 130, 280, 0x64, MaxProgress.ToString() );
			}
			else
			{
				base.RenderProgress( gump );
			}
		}
예제 #17
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                // Calcifina killed:
                gump.AddHtmlLocalized(70, 260, 270, 100, BaseQuestGump.Blue, false, false);

                gump.AddLabel(70, 280, 0x64, "0");
                gump.AddLabel(100, 280, 0x64, "/");
                gump.AddLabel(130, 280, 0x64, "1");
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #18
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                gump.Intern("/");
                gump.Intern(CurProgress.ToString());
                gump.Intern(MaxProgress.ToString());

                gump.AddHtmlLocalized(70, 260, 270, 100, 1054055, BaseQuestGump.Blue, false, false);                   // Solen Nests Studied :
                gump.AddLabelIntern(70, 280, 0x64, 1);
                gump.AddLabelIntern(100, 280, 0x64, 0);
                gump.AddLabelIntern(130, 280, 0x64, 2);
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #19
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                gump.Intern("/");
                gump.Intern((CurProgress / 5).ToString());
                gump.Intern((MaxProgress / 5).ToString());

                gump.AddHtmlLocalized(70, 260, 270, 100, 1054093, BaseQuestGump.Blue, false, false);                   // Gallons of Water gathered:
                gump.AddLabelIntern(70, 280, 0x64, 1);
                gump.AddLabelIntern(100, 280, 0x64, 0);
                gump.AddLabelIntern(130, 280, 0x64, 2);
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #20
0
        public override void RenderProgress( BaseQuestGump gump )
        {
            if ( !Completed )
            {
                gump.Intern( "/" );
                gump.Intern( CurProgress.ToString() );
                gump.Intern( MaxProgress.ToString() );

                gump.AddHtmlObject( 70, 260, 270, 100, 1063318, BaseQuestGump.Blue, false, false ); // Deathwatch Beetle Hatchlings killed:
                gump.AddLabelIntern( 70, 280, 0x64, 1 );
                gump.AddLabelIntern( 100, 280, 0x64, 0 );
                gump.AddLabelIntern( 130, 280, 0x64, 2 );
            }
            else
            {
                base.RenderProgress( gump );
            }
        }
예제 #21
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                gump.Intern("/");
                gump.Intern(CurProgress.ToString());
                gump.Intern(MaxProgress.ToString());

                gump.AddHtmlObject(70, 260, 270, 100, 1063318, BaseQuestGump.Blue, false, false);                   // Deathwatch Beetle Hatchlings killed:
                gump.AddLabelIntern(70, 280, 0x64, 1);
                gump.AddLabelIntern(100, 280, 0x64, 0);
                gump.AddLabelIntern(130, 280, 0x64, 2);
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #22
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                for (int i = 0; i < m_Images.Length; i++)
                {
                    ImageTypeInfo info = ImageTypeInfo.Get(m_Images[i]);

                    gump.AddHtmlObject(70, 260 + 20 * i, 200, 100, info.Name, BaseQuestGump.Blue, false, false);
                    gump.AddLabel(200, 260 + 20 * i, 0x64, " : ");
                    gump.AddHtmlObject(220, 260 + 20 * i, 100, 100, m_Done[i] ? 1055121 : 1055122, BaseQuestGump.Blue, false, false);
                }
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
예제 #23
0
        public override void RenderProgress( BaseQuestGump gump )
        {
            if ( CurProgress > 0 && CurProgress < MaxProgress )
            {
                gump.Intern( "/" );
                gump.Intern( CurProgress.ToString() );
                gump.Intern( MaxProgress.ToString() );

                gump.AddHtmlObject( 70, 260, 270, 100, 1050019, BaseQuestGump.Blue, false, false ); // Number of bones collected:

                gump.AddLabelIntern( 70, 280, 100, 1 );
                gump.AddLabelIntern( 100, 280, 100, 0 );
                gump.AddLabelIntern( 130, 280, 100, 2 );
            }
            else
            {
                base.RenderProgress( gump );
            }
        }
예제 #24
0
파일: Objective.cs 프로젝트: pallop/Servuo
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (System is TimeForLegendsQuest)
            {
                TimeForLegendsQuest q = System as TimeForLegendsQuest;

                if (q.ToSlay == null)
                {
                    gump.AddHtmlObject(70, 260, 270, 100, this.Completed ? 1049077 : 1049078, BaseQuestGump.Blue, false, false);
                }
                else
                {
                    int index = Array.IndexOf(TimeForLegendsQuest.Targets, q.ToSlay);

                    gump.AddHtmlObject(70, 260, 150, 100, index <= 13 ? 1156324 + index : 1156354 + (index - 14), BaseQuestGump.Blue, false, false);
                    gump.AddHtmlObject(230, 260, 10, 100, ":", BaseQuestGump.Blue, false, false);
                    gump.AddHtmlObject(235, 260, 150, 100, this.Completed ? 1046033 : 1046034, BaseQuestGump.Blue, false, false);
                }
            }
        }
예제 #25
0
 public override void RenderMessage(BaseQuestGump gump)
 {
     if (CurProgress > 0 && CurProgress < MaxProgress)
     {
         gump.AddHtmlObject(
             70,
             130,
             300,
             100,
             1050028,
             BaseQuestGump.Blue,
             false,
             false
             ); // Victoria has accepted the Daemon bones, but the requirement is not yet met.
     }
     else
     {
         base.RenderMessage(gump);
     }
 }
예제 #26
0
        public override void RenderProgress(BaseQuestGump gump)
        {
            if (!Completed)
            {
                gump.Intern("/");
                gump.Intern(CurProgress.ToString());
                gump.Intern(MaxProgress.ToString());

                // Red/Black Solen Queens killed:
                gump.AddHtmlLocalized(70, 260, 270, 100, ((AmbitiousQueenQuest)System).RedSolen ? 1054064 : 1054065, BaseQuestGump.Blue, false, false);

                gump.AddLabelIntern(70, 280, 0x64, 1);
                gump.AddLabelIntern(100, 280, 0x64, 0);
                gump.AddLabelIntern(130, 280, 0x64, 2);
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
 public override void RenderProgress(BaseQuestGump gump)
 {
     if (!Completed)
     {
         gump.AddHtml(70, 260, 270, 100, Color(m_PlantEntry.Name, HtmlBlue), false, false);
         gump.AddLabel(70, 280, 0x64, string.Format( "{0} / {1}", CurProgress.ToString(), m_PlantEntry.Amount.ToString()) );
     }
     else
     {
         base.RenderProgress(gump);
     }
 }
예제 #28
0
		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				gump.AddHtmlObject( 70, 260, 270, 100, 1049090, BaseQuestGump.Blue, false, false ); // Horde Minions killed:
				gump.AddLabel( 70, 280, 0x64, CurProgress.ToString() );
			}
			else
			{
				base.RenderProgress( gump );
			}
		}
예제 #29
0
파일: Objectives.cs 프로젝트: Godkong/RunUO
		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				for ( int i = 0; i < m_Images.Length; i++ )
				{
					ImageTypeInfo info = ImageTypeInfo.Get( m_Images[i] );

					gump.AddHtmlObject( 70, 260 + 20 * i, 200, 100, info.Name, BaseQuestGump.Blue, false, false );
					gump.AddLabel( 200, 260 + 20 * i, 0x64, " : " );
					gump.AddHtmlObject( 220, 260 + 20 * i, 100, 100, m_Done[i] ? 1055121 : 1055122, BaseQuestGump.Blue, false, false );
				}
			}
			else
			{
				base.RenderProgress( gump );
			}
		}
예제 #30
0
        public override void RenderProgress( BaseQuestGump gump )
        {
            if ( !Completed )
            {
                gump.Intern( "/" );
                gump.Intern( CurProgress.ToString() );
                gump.Intern( MaxProgress.ToString() );

                gump.AddHtmlLocalized( 70, 260, 270, 100, 1054055, BaseQuestGump.Blue, false, false ); // Solen Nests Studied :
                gump.AddLabelIntern( 70, 280, 0x64, 1 );
                gump.AddLabelIntern( 100, 280, 0x64, 0 );
                gump.AddLabelIntern( 130, 280, 0x64, 2 );
            }
            else
            {
                base.RenderProgress( gump );
            }
        }
예제 #31
0
 public override void RenderProgress(BaseQuestGump gump)
 {
     if (!this.Completed)
     {
         // Henchmen killed:
         gump.AddHtmlLocalized(70, 260, 270, 100, 1063207, BaseQuestGump.Blue, false, false);
         gump.AddLabel(70, 280, 0x64, this.CurProgress.ToString());
         gump.AddLabel(100, 280, 0x64, "/");
         gump.AddLabel(130, 280, 0x64, this.MaxProgress.ToString());
     }
     else
     {
         base.RenderProgress(gump);
     }
 }
예제 #32
0
		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				IngredientInfo info = IngredientInfo.Get( this.Ingredient );

				gump.AddHtmlLocalized( 70, 260, 270, 100, info.Name, BaseQuestGump.Blue, false, false );
				gump.AddLabel( 70, 280, 0x64, CurProgress.ToString() );
				gump.AddLabel( 100, 280, 0x64, "/" );
				gump.AddLabel( 130, 280, 0x64, info.Quantity.ToString() );
			}
			else
			{
				base.RenderProgress( gump );
			}
		}