public PetRezStoneGump(PlayerMobile from, PetRezStone stone, int cost) : base(75, 75) { m_Stone = stone; m_From = from; this.Closable = true; this.Disposable = true; this.Dragable = true; this.Resizable = false; this.AddPage(0); this.AddImage(60, 125, 30501); this.AddImage(169, 129, 71); if (cost > 0) { this.AddHtml(190, 143, 134, 77, @"<basefont color=white>The magic of this stone can return your pet to the living for a price.", (bool)false, (bool)false); string costString = string.Format("<basefont color=white>Cost: <basefont color=#FFFFAA>{0} gold<basefont color=white>", cost.ToString("N0")); this.AddHtml(189, 234, 133, 21, costString, (bool)false, (bool)false); } else this.AddHtml(190, 143, 134, 77, @"<basefont color=white>The magic of this stone can return your pet to the living.", (bool)false, (bool)false); this.AddButton(186, 264, 247, 248, (int)Buttons.Okay, GumpButtonType.Reply, 0); this.AddButton(260, 264, 242, 241, (int)Buttons.Cancel, GumpButtonType.Reply, 0); }
public PetRezStoneTarget(PetRezStone stone) : base(18, false, TargetFlags.None) { m_Stone = stone; }