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); } }
public override void RenderProgress(BaseQuestGump gump) { if (!Completed) { gump.AddHtmlLocalized(70, 260, 270, 100, 1054055, BaseQuestGump.Blue, false, false); // Solen Nests Studied : 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.AddHtmlObject(70, 260, 270, 100, 1063207, BaseQuestGump.Blue, false, false); // Henchmen killed: 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, "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) { // 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); } }
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); } }
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); } }
public override void RenderProgress(BaseQuestGump gump) { if (!Completed) { // Deathwatch Beetle Hatchlings killed: gump.AddHtmlLocalized(70, 260, 270, 100, 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); } }
public override void RenderProgress(BaseQuestGump gump) { if (CurProgress > 0 && CurProgress < MaxProgress) { gump.AddHtmlObject(70, 260, 270, 100, "Number of Soul Crystals given to Jalinde.", 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); } }
public override void RenderProgress(BaseQuestGump gump) { if (!Completed) { IngredientInfo info = IngredientInfo.Get(Ingredient); gump.AddHtmlLocalized(70, 260, 270, 100, info.Name, BaseQuestGump.Blue); gump.AddLabel(70, 280, 0x64, CurProgress.ToString()); gump.AddLabel(100, 280, 0x64, "/"); gump.AddLabel(130, 280, 0x64, info.Quantity.ToString()); } else { base.RenderProgress(gump); } }
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); } }
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); } }
public override void RenderProgress(BaseQuestGump gump) { if (!Completed) { IngredientInfo info = IngredientInfo.Get(this.Ingredient); gump.Intern("/"); gump.Intern(CurProgress.ToString()); gump.Intern(info.Quantity.ToString()); gump.AddHtmlLocalized(70, 260, 270, 100, info.Name, 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 bool Update(object o) { Type t = o as Type; if (t != null && t == GameType && Quest != null && Quest.Owner != null && Quest.Owner.Region.IsPartOf("FireIsleCasino")) { if (t == typeof(ChucklesLuck)) { CurProgress++; Quest.Owner.SendSound(Quest.UpdateSound); if (CurProgress <= MaxProgress) { Quest.Owner.SendLocalizedMessage(1156795, string.Format("{0}\t{1}\t{2}", CurProgress.ToString(), MaxProgress.ToString(), "Chuckles' Luck")); // [Quest Event: Getting Even] You have won ~1_count~ of ~2_req~ games of ~3_game~! } } else if (t == typeof(HiMiddleLow)) { CurProgress++; Quest.Owner.SendSound(Quest.UpdateSound); if (CurProgress <= MaxProgress) { Quest.Owner.SendLocalizedMessage(1156795, string.Format("{0}\t{1}\t{2}", CurProgress.ToString(), MaxProgress.ToString(), "Hi-Middle-Low")); // [Quest Event: Getting Even] You have won ~1_count~ of ~2_req~ games of ~3_game~! } } else if (t == typeof(DiceRider)) { CurProgress++; Quest.Owner.SendSound(Quest.UpdateSound); if (CurProgress <= MaxProgress) { Quest.Owner.SendLocalizedMessage(1156795, string.Format("{0}\t{1}\t{2}", CurProgress.ToString(), MaxProgress.ToString(), "Dice Rider")); // [Quest Event: Getting Even] You have won ~1_count~ of ~2_req~ games of ~3_game~! } } return(true); } return(false); }