Ejemplo n.º 1
0
 public override void RenderProgress(BaseQuestGump gump)
 {
     if (!Completed)
     {
         gump.AddHtml(70, 260, 270, 100,
                      "Number of rabbits killed :", 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);
     }
 }
 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);
     }
 }