Example #1
0
        public PetResurrectGump(Mobile from, BaseCreature follower, double hitsScalar, VeterinarySalts salts = null) : base(50, 50)
        {
            from.CloseGump(typeof(PetResurrectGump));

            m_Follower   = follower;
            m_HitsScalar = hitsScalar;
            m_Healer     = from;
            m_Salts      = salts;

            AddPage(0);

            AddBackground(10, 10, 265, 140, 0x242C);

            AddItem(205, 40, 0x4);
            AddItem(227, 40, 0x5);

            AddItem(180, 78, 0xCAE);
            AddItem(195, 90, 0xCAD);
            AddItem(218, 95, 0xCB0);

            AddHtmlLocalized(30, 30, 150, 75, 1049665, false, false); // <div align=center>Wilt thou sanctify the resurrection of:</div>
            AddHtml(30, 70, 150, 25, String.Format("<div align=CENTER>{0}</div>", follower.Name), true, false);

            AddButton(40, 105, 0x81A, 0x81B, 0x1, GumpButtonType.Reply, 0);  // Okay
            AddButton(110, 105, 0x819, 0x818, 0x2, GumpButtonType.Reply, 0); // Cancel
        }
Example #2
0
 public PetResurrectGump(Mobile from, BaseCreature follower, VeterinarySalts salts = null) : this(from, follower, 0.0, salts)
 {
 }