Ejemplo n.º 1
0
        public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar)
            : base(100, 0)
        {
            this.m_Healer        = healer;
            this.m_FromSacrifice = fromSacrifice;
            this.m_HitsScalar    = hitsScalar;

            this.m_Msg = msg;

            this.AddPage(0);

            this.AddBackground(0, 0, 400, 350, 2600);

            this.AddHtmlLocalized(0, 20, 400, 35, 1011022, false, false);            // <center>Resurrection</center>

            this.AddHtmlLocalized(50, 55, 300, 140, 1011023 + (int)msg, true, true); /* It is possible for you to be resurrected here by this healer. Do you wish to try?<br>
                                                                                      * CONTINUE - You chose to try to come back to life now.<br>
                                                                                      * CANCEL - You prefer to remain a ghost for now.
                                                                                      */

            this.AddButton(200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0);
            this.AddHtmlLocalized(235, 230, 110, 35, 1011012, false, false); // CANCEL

            this.AddButton(65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0);
            this.AddHtmlLocalized(100, 230, 110, 35, 1011011, false, false); // CONTINUE
        }
Ejemplo n.º 2
0
 public ResurrectGump(Mobile m, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar) : base(String.Format("It is possible for you to be resurrected now. Do you wish to try?"),
                                                                                                                   new string[] { "YES - You choose to try to come back to life now.", "NO - You prefer to remain a ghost for now." })
 {
     m_Healer     = healer;
     m_Mobile     = m;
     m_HitsScalar = hitsScalar;
 }
Ejemplo n.º 3
0
        public ResurrectMenu( Mobile owner, Mobile healer, ResurrectMessage msg )
            : base("", m_Options)
        {
            m_Location = owner.Location;
            m_Healer = healer;

            m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 5.0 ), m_Unfreeze, owner );

            owner.Frozen = true;

            switch ( msg )
            {
                case ResurrectMessage.Healer:
                    Question = "It is possible for you to be resurrected here by this healer. Do you wish to try?";
                    break;
                case ResurrectMessage.VirtueShrine:
                    m_Heal = true;
                    Question = "It is possible for you to be resurrected at this Shrine to the Virtues. Do you wish to try?";
                    break;
                case ResurrectMessage.ChaosShrine:
                    m_Heal = true;
                    Question = "It is possible for you to be resurrected at the Chaos Shrine. Do you wish to try?";
                    break;
                case ResurrectMessage.Generic:
                default:
                    Question = "It is possible for you to be resurrected now. Do you wish to try?";
                    break;
            }
        }
Ejemplo n.º 4
0
        public ResurrectMenu(Mobile owner, Mobile healer, ResurrectMessage msg) : base("", m_Options)
        {
            m_Location = owner.Location;
            m_Healer   = healer;

            m_Timer = Timer.DelayCall(TimeSpan.FromSeconds(5.0), m_Unfreeze, owner);

            owner.Frozen = true;

            switch (msg)
            {
            case ResurrectMessage.Healer:
                Question = "It is possible for you to be resurrected here by this healer. Do you wish to try?";
                break;

            case ResurrectMessage.VirtueShrine:
                m_Heal   = true;
                Question = "It is possible for you to be resurrected at this Shrine to the Virtues. Do you wish to try?";
                break;

            case ResurrectMessage.ChaosShrine:
                m_Heal   = true;
                Question = "It is possible for you to be resurrected here at the Chaos Shrine. Do you wish to try?";
                break;

            case ResurrectMessage.Generic:
            default:
                Question = "It is possible for you to be resurrected now. Do you wish to try?";
                break;
            }
        }
Ejemplo n.º 5
0
        public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar, Action <Mobile> callback)
            : base(100, 0)
        {
            m_Healer        = healer;
            m_FromSacrifice = fromSacrifice;
            m_HitsScalar    = hitsScalar;

            m_Msg = msg;

            AddPage(0);

            AddBackground(0, 0, 400, 350, 2600);

            AddHtmlLocalized(0, 20, 400, 35, 1011022, false, false); // <center>Resurrection</center>

            //AddHtmlLocalized(50, 55, 300, 140, 1011023 + (int)msg, true, true); /* It is possible for you to be resurrected here by this healer. Do you wish to try?<br>
            //* CONTINUE - You chose to try to come back to life now.<br>
            //* CANCEL - You prefer to remain a ghost for now.
            //*/
            AddLabel(50, 55, 55, "Voce gostaria de ressusitar ?");

            m_Callback = callback;

            AddButton(200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0);
            // AddHtmlLocalized(235, 230, 110, 35, 1011012, false, false); // CANCEL
            AddLabel(235, 230, 55, "Cancelar");

            AddLabel(100, 230, 55, "Ressar");
            AddButton(65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0);
            //AddHtmlLocalized(100, 230, 110, 35, 1011011, false, false); // CONTINUE
        }
Ejemplo n.º 6
0
        public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar, Action<Mobile> callback)
            : base(100, 0)
        {
            this.m_Healer = healer;
            this.m_FromSacrifice = fromSacrifice;
            this.m_HitsScalar = hitsScalar;

            this.m_Msg = msg;

            this.AddPage(0);

            this.AddBackground(0, 0, 400, 350, 2600);

            this.AddHtmlLocalized(0, 20, 400, 35, 1011022, false, false); // <center>Resurrection</center>

            this.AddHtmlLocalized(50, 55, 300, 140, 1011023 + (int)msg, true, true); /* It is possible for you to be resurrected here by this healer. Do you wish to try?<br>
            * CONTINUE - You chose to try to come back to life now.<br>
            * CANCEL - You prefer to remain a ghost for now.
            */

            m_Callback = callback;

            this.AddButton(200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0);
            this.AddHtmlLocalized(235, 230, 110, 35, 1011012, false, false); // CANCEL

            this.AddButton(65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0);
            this.AddHtmlLocalized(100, 230, 110, 35, 1011011, false, false); // CONTINUE
        }
Ejemplo n.º 7
0
        public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar)
            : base(100, 0)
        {
            if (msg == 0)
            {
                m_FromChaos = true;
            }

            PlayerMobile pm = (PlayerMobile)owner;

            if (owner == null || healer == null)
            {
                return;
            }

            m_Healer        = healer;
            m_FromSacrifice = fromSacrifice;
            m_HitsScalar    = hitsScalar;

            AddPage(0);

            AddBackground(0, 0, 400, 350, 2600);

            AddHtmlLocalized(0, 20, 400, 35, 1011022, false, false); // <center>Resurrection</center>
            AddHtml(50, 55, 300, 140, /*1011023 + */ "It is possible for you to be resurrected here by this healer. Do you wish to try?<br>CONTINUE - You chose to try to come back to life now.<br>CANCEL - You prefer to remain a ghost for now.", true, true);
            //AddHtmlLocalized(50, 55, 300, 140, 1011023 + (int)msg, true, true);

            AddButton(65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0);
            AddHtmlLocalized(100, 230, 110, 35, 1011011, false, false); // CONTINUE

            AddButton(200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0);
            AddHtmlLocalized(235, 230, 110, 35, 1011012, false, false); // CANCEL
        }
        public ResurrectItem(ResurrectMessage message) : base(0x1BC3)
        {
            m_Message = message;

            Movable = false;

            Visible = false;
        }
Ejemplo n.º 9
0
 public ResurrectGump(Mobile m, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar)
     : base(String.Format("It is possible for you to be resurrected now. Do you wish to try?"),
     new string[] { "YES - You choose to try to come back to life now.", "NO - You prefer to remain a ghost for now."})
 {
     m_Healer = healer;
     m_Mobile = m;
     m_HitsScalar = hitsScalar;
 }
Ejemplo n.º 10
0
        public ResurrectItem( ResurrectMessage message )
            : base(0x1BC3)
        {
            m_Message = message;

            Movable = false;

            Visible = false;
        }
Ejemplo n.º 11
0
        public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg) : base(100, 0)
        {
            m_Healer = healer;

            AddPage(0);

            AddBackground(0, 0, 400, 350, 2600);

            AddHtmlLocalized(0, 20, 400, 35, 1011022, false, false);               // <center>Resurrection</center>

            /* It is possible for you to be resurrected here by this healer. Do you wish to try?<br>
             * CONTINUE - You chose to try to come back to life now.<br>
             * CANCEL - You prefer to remain a ghost for now.
             */
            string text = String.Format("{0}<br>",
                                        "It is possible for you to be resurrected here by this healer. Do you wish to try?");

            // no statloss if an inmate or server wars are on
            if (StatLossCandidate(owner))
            {
                text += "<br>You will experience both skill and stat loss if you continue.";
            }
            else if (StatLossReprieve(owner))
            {
                text += "<br>You will not experience stat loss if you continue.";
            }
            else
            {
                text += "CONTINUE - You chose to try to come back to life now.<br>";
                text += "CANCEL - You prefer to remain a ghost for now.";
            }

            //AddHtmlLocalized( 50, 55, 300, 140, 1011023 + (int)msg, true, true );
            AddHtml(50, 55, 300, 140, text, true, true);

            // Warn of statloss if not an inmate and server wars are not running
            if (StatLossCandidate(owner))
            {
                AddLabel(90, 270, 0x20, "Warning: YOU ARE IN STAT LOSS!");
            }
            else
            {
                //Make sure that we mark no statloss - this protects vs getting a 5th count WHILE the ressurectgump is up
                m_Statloss = false;
            }

            AddButton(200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0);
            AddHtmlLocalized(235, 230, 110, 35, 1011012, false, false);               // CANCEL

            AddButton(65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0);
            AddHtmlLocalized(100, 230, 110, 35, 1011011, false, false);               // CONTINUE
        }
Ejemplo n.º 12
0
        public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar) : base(100, 0)
        {
            if (msg == 0)
            {
                m_FromChaos = true;
            }

            PlayerMobile pm = (PlayerMobile)owner;

            if (owner == null || healer == null)
            {
                return;
            }

            m_Healer        = healer;
            m_FromSacrifice = fromSacrifice;
            m_HitsScalar    = hitsScalar;

            #region Images

            AddImage(5, 4, 103, 2499);
            AddImage(5, 64, 103, 2499);
            AddImage(140, 4, 103, 2499);
            AddImage(140, 64, 103, 2499);
            AddImage(140, 144, 103, 2499);
            AddImage(5, 144, 103, 2499);
            AddImage(15, 106, 3604, 2052);
            AddImage(143, 106, 3604, 2052);
            AddImage(15, 14, 3604, 2052);
            AddImage(143, 14, 3604, 2052);
            AddItem(102, 121, 3816);
            AddItem(124, 136, 3808);
            AddItem(95, 103, 4455);
            AddItem(101, 145, 2322);
            AddItem(141, 139, 2322);
            AddItem(131, 121, 7681, 2415);
            AddItem(76, 145, 3898);
            AddItem(98, 156, 2581);

            #endregion

            AddLabel(99, 20, 2603, "Resurrection");
            AddLabel(25, 50, WhiteTextHue, "Do you wish to resurrect at this time?");

            AddLabel(77, 203, 63, "Accept");
            AddButton(42, 198, 9721, 9724, 1, GumpButtonType.Reply, 0);

            AddLabel(200, 203, 2101, "Decline");
            AddButton(165, 199, 9721, 9724, 2, GumpButtonType.Reply, 0);
        }
Ejemplo n.º 13
0
        public override void Deserialize( GenericReader reader )
        {
            base.Deserialize( reader );

            int version = reader.ReadInt();

            switch ( version )
            {
                case 1:
                    {
                        m_Message = (ResurrectMessage) reader.ReadInt();

                        goto case 0;
                    }
                case 0:
                    {
                        break;
                    }
            }
        }
Ejemplo n.º 14
0
        public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar) : base(25, 25)
        {
            m_Healer        = healer;
            m_FromSacrifice = fromSacrifice;
            m_HitsScalar    = hitsScalar;

            this.Closable   = true;
            this.Disposable = true;
            this.Dragable   = true;
            this.Resizable  = false;

            AddPage(0);
            AddImage(0, 0, 154);
            AddImage(300, 99, 154);
            AddImage(0, 99, 154);
            AddImage(300, 0, 154);
            AddImage(298, 97, 129);
            AddImage(2, 97, 129);
            AddImage(298, 2, 129);
            AddImage(2, 2, 129);
            AddImage(7, 6, 145);
            AddImage(5, 143, 142);
            AddImage(255, 171, 144);
            AddImage(171, 47, 132);
            AddImage(379, 8, 134);
            AddImage(167, 7, 156);
            AddImage(209, 11, 156);
            AddImage(189, 10, 156);
            AddImage(170, 44, 159);
            AddItem(156, 67, 2);
            AddItem(178, 67, 3);
            AddItem(185, 118, 3244);
            AddButton(146, 260, 4023, 4023, 1, GumpButtonType.Reply, 0);
            AddButton(374, 260, 4020, 4020, 0, GumpButtonType.Reply, 0);
            AddHtml(267, 95, 224, 22, @"<BODY><BASEFONT Color=#FBFBFB><BIG>RESURRECTION</BIG></BASEFONT></BODY>", (bool)false, (bool)false);
            AddHtml(93, 163, 400, 76, @"<BODY><BASEFONT Color=#FCFF00><BIG>It is possible for you to be resurrected here by this healer. Do you want to return to the land of the living? If not, you can remain in the spirit realm.</BIG></BASEFONT></BODY>", (bool)false, (bool)false);
            AddImage(36, 124, 162);
            AddImage(33, 131, 162);
            AddImage(45, 138, 162);
            AddImage(17, 135, 162);
        }
Ejemplo n.º 15
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            switch (version)
            {
            case 1:
            {
                m_Message = (ResurrectMessage)reader.ReadInt();

                goto case 0;
            }

            case 0:
            {
                break;
            }
            }
        }
Ejemplo n.º 16
0
        public ResurrectGump( Mobile owner, Mobile healer, ResurrectMessage msg )
            : base(100, 0)
        {
            m_Healer = healer;

            AddPage( 0 );

            AddBackground( 0, 0, 400, 350, 2600 );

            AddHtmlLocalized( 0, 20, 400, 35, 1011022, false, false ); // <center>Resurrection</center>

            AddHtmlLocalized( 50, 55, 300, 140, 1011023 + (int)msg, true, true ); /* It is possible for you to be resurrected here by this healer. Do you wish to try?<br>
                                                                                   * CONTINUE - You chose to try to come back to life now.<br>
                                                                                   * CANCEL - You prefer to remain a ghost for now.
                                                                                   */

            AddButton( 200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0 );
            AddHtmlLocalized( 235, 230, 110, 35, 1011012, false, false ); // CANCEL

            AddButton( 65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0 );
            AddHtmlLocalized( 100, 230, 110, 35, 1011011, false, false ); // CONTINUE
        }
Ejemplo n.º 17
0
        public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar)
            : base(100, 0)
        {
            m_Healer        = healer;
            m_FromSacrifice = fromSacrifice;
            m_HitsScalar    = hitsScalar;

            AddPage(0);

            AddBackground(0, 0, 400, 350, 9270);

            AddHtml(0, 20, 400, 35, "<center>Ress</center>", false, false);                                          // <center>Resurrection</center>

            AddHtml(50, 55, 300, 140, "Você pode ser ressucitado por este curandeiro. Deseja tentar ?", true, true); /* It is possible for you to be resurrected here by this healer. Do you wish to try?<br>
                                                                                                                      * CONTINUE - You chose to try to come back to life now.<br>
                                                                                                                      * CANCEL - You prefer to remain a ghost for now.
                                                                                                                      */

            AddButton(200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0);
            AddHtml(235, 230, 110, 35, "Cancelar", false, false); // CANCEL

            AddButton(65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0);
            AddHtml(100, 230, 110, 35, "Continuar", false, false); // CONTINUE
        }
Ejemplo n.º 18
0
        public ResurrectGump( Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice, double hitsScalar )
            : base(100, 0)
        {
            m_Healer = healer;
            m_FromSacrifice = fromSacrifice;
            m_HitsScalar = hitsScalar;

            AddPage( 0 );

            AddBackground(0, 0, 400, 350, 9270);

            AddHtml(0, 20, 400, 35, "<center>Ress</center>", false, false); // <center>Resurrection</center>

            AddHtml( 50, 55, 300, 140, "Você pode ser ressucitado por este curandeiro. Deseja tentar ?", true, true ); /* It is possible for you to be resurrected here by this healer. Do you wish to try?<br>
                                                                                   * CONTINUE - You chose to try to come back to life now.<br>
                                                                                   * CANCEL - You prefer to remain a ghost for now.
                                                                                   */

            AddButton( 200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0 );
            AddHtml(235, 230, 110, 35, "Cancelar", false, false); // CANCEL

            AddButton( 65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0 );
            AddHtml(100, 230, 110, 35, "Continuar", false, false); // CONTINUE
        }
Ejemplo n.º 19
0
 public AnkhResurrectGump(Mobile owner, ResurrectMessage msg)
     : base(owner, owner, msg, false)
 {
 }
Ejemplo n.º 20
0
 public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice)
     : this(owner, healer, msg, fromSacrifice, 0.0)
 {
 }
Ejemplo n.º 21
0
		public ResurrectGump( Mobile owner, Mobile healer, ResurrectMessage msg ) : base( 100, 0 )
		{
			m_Healer = healer;

			AddPage( 0 );

			AddBackground( 0, 0, 400, 350, 2600 );

			AddHtmlLocalized( 0, 20, 400, 35, 1011022, false, false ); // <center>Resurrection</center>

			/* It is possible for you to be resurrected here by this healer. Do you wish to try?<br>
			 * CONTINUE - You chose to try to come back to life now.<br>
			 * CANCEL - You prefer to remain a ghost for now.
			 */
            string text = String.Format("{0}<br>",
                "It is possible for you to be resurrected here by this healer. Do you wish to try?");

			// no statloss if an inmate or server wars are on
			if (StatLossCandidate(owner))
                text += "<br>You will experience both skill and stat loss if you continue.";
			else if (StatLossReprieve(owner))
                text += "<br>You will not experience stat loss if you continue.";
            else
            {
                text += "CONTINUE - You chose to try to come back to life now.<br>";
                text += "CANCEL - You prefer to remain a ghost for now.";
            }

			//AddHtmlLocalized( 50, 55, 300, 140, 1011023 + (int)msg, true, true ); 
            AddHtml(50, 55, 300, 140, text, true, true); 

			// Warn of statloss if not an inmate and server wars are not running
			if (StatLossCandidate(owner))
			{
				AddLabel(90,270,0x20, "Warning: YOU ARE IN STAT LOSS!");	
			}
			else
			{
				//Make sure that we mark no statloss - this protects vs getting a 5th count WHILE the ressurectgump is up
				m_Statloss = false;
			}
			
			AddButton( 200, 227, 4005, 4007, 0, GumpButtonType.Reply, 0 );
			AddHtmlLocalized( 235, 230, 110, 35, 1011012, false, false ); // CANCEL

			AddButton( 65, 227, 4005, 4007, 1, GumpButtonType.Reply, 0 );
			AddHtmlLocalized( 100, 230, 110, 35, 1011011, false, false ); // CONTINUE
		}
Ejemplo n.º 22
0
 public ResurrectGump(Mobile healer, ResurrectMessage msg) : this(healer, msg, 0.0)
 {
 }
Ejemplo n.º 23
0
 public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg)
     : this(owner, healer, msg, false)
 {
 }
Ejemplo n.º 24
0
 public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg)
     : this(owner, healer, msg, false)
 {
 }
Ejemplo n.º 25
0
 public ResurrectGump(Mobile owner, Mobile healer, ResurrectMessage msg, bool fromSacrifice)
     : this(owner, healer, msg, fromSacrifice, 0.0, null)
 {
 }
Ejemplo n.º 26
0
 public ResurrectGump(Mobile owner, Item shrine, ResurrectMessage msg)
     : this(owner, null, shrine, msg, false, 0.0)
 {
 }
Ejemplo n.º 27
0
 public ResurrectGump(Mobile owner, ResurrectMessage msg) : this(owner, owner, msg)
 {
 }
Ejemplo n.º 28
0
 public ResurrectGump(Mobile owner, ResurrectMessage msg)
     : this(owner, owner, null, msg, false, 0.0)
 {
 }
Ejemplo n.º 29
0
 public ResurrectGump(Mobile owner, Item shrine, ResurrectMessage msg)
     : this(owner, null, shrine, msg, false, 0.0)
 {
 }
Ejemplo n.º 30
0
        public Item Construct()
        {
            Item item;

            try
            {
                if (m_Type == typeofStatic)
                {
                    item = new Static(m_ItemID);
                }
                else if (m_Type == typeofLocalizedStatic)
                {
                    int labelNumber = 0;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("LabelNumber"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                labelNumber = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                                break;
                            }
                        }
                    }

                    item = new LocalizedStatic(m_ItemID, labelNumber);
                }
                else if (m_Type == typeofLocalizedSign)
                {
                    int labelNumber = 0;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("LabelNumber"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                labelNumber = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                                break;
                            }
                        }
                    }

                    item = new LocalizedSign(m_ItemID, labelNumber);
                }
                else if (m_Type == typeofAnkhWest || m_Type == typeofAnkhEast)
                {
                    bool bloodied = false;

                    for (int i = 0; !bloodied && i < m_Params.Length; ++i)
                    {
                        bloodied = (m_Params[i] == "Bloodied");
                    }

                    if (m_Type == typeofAnkhWest)
                    {
                        item = new AnkhWest(bloodied);
                    }
                    else
                    {
                        item = new AnkhEast(bloodied);
                    }
                }
                else if (m_Type == typeofMarkContainer)
                {
                    bool bone   = false;
                    bool locked = false;
                    Map  map    = Map.Malas;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i] == "Bone")
                        {
                            bone = true;
                        }
                        else if (m_Params[i] == "Locked")
                        {
                            locked = true;
                        }
                        else if (m_Params[i].StartsWith("TargetMap"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                map = Map.Parse(m_Params[i].Substring(++indexOf));
                            }
                        }
                    }

                    MarkContainer mc = new MarkContainer(bone, locked);

                    mc.TargetMap   = map;
                    mc.Description = "strange location";

                    item = mc;
                }
                else if (m_Type == typeofHintItem)
                {
                    int      range         = 0;
                    int      messageNumber = 0;
                    string   messageString = null;
                    int      hintNumber    = 0;
                    string   hintString    = null;
                    TimeSpan resetDelay    = TimeSpan.Zero;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("Range"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                range = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                            }
                        }
                        else if (m_Params[i].StartsWith("WarningString"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                messageString = m_Params[i].Substring(++indexOf);
                            }
                        }
                        else if (m_Params[i].StartsWith("WarningNumber"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                messageNumber = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                            }
                        }
                        else if (m_Params[i].StartsWith("HintString"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                hintString = m_Params[i].Substring(++indexOf);
                            }
                        }
                        else if (m_Params[i].StartsWith("HintNumber"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                hintNumber = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                            }
                        }
                        else if (m_Params[i].StartsWith("ResetDelay"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                resetDelay = TimeSpan.Parse(m_Params[i].Substring(++indexOf));
                            }
                        }
                    }

                    HintItem hi = new HintItem(m_ItemID, range, messageNumber, hintNumber);

                    hi.WarningString = messageString;
                    hi.HintString    = hintString;
                    hi.ResetDelay    = resetDelay;

                    item = hi;
                }
                else if (m_Type == typeofWarningItem)
                {
                    int      range         = 0;
                    int      messageNumber = 0;
                    string   messageString = null;
                    TimeSpan resetDelay    = TimeSpan.Zero;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("Range"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                range = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                            }
                        }
                        else if (m_Params[i].StartsWith("WarningString"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                messageString = m_Params[i].Substring(++indexOf);
                            }
                        }
                        else if (m_Params[i].StartsWith("WarningNumber"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                messageNumber = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                            }
                        }
                        else if (m_Params[i].StartsWith("ResetDelay"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                resetDelay = TimeSpan.Parse(m_Params[i].Substring(++indexOf));
                            }
                        }
                    }

                    WarningItem wi = new WarningItem(m_ItemID, range, messageNumber);

                    wi.WarningString = messageString;
                    wi.ResetDelay    = resetDelay;

                    item = wi;
                }
                else if (m_Type == typeofCannon)
                {
                    CannonDirection direction = CannonDirection.North;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("CannonDirection"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                direction = (CannonDirection)Enum.Parse(typeof(CannonDirection), m_Params[i].Substring(++indexOf), true);
                            }
                        }
                    }

                    item = new Cannon(direction);
                }
                else if (m_Type == typeofSerpentPillar)
                {
                    string      word        = null;
                    Rectangle2D destination = new Rectangle2D();

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("Word"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                word = m_Params[i].Substring(++indexOf);
                            }
                        }
                        else if (m_Params[i].StartsWith("DestStart"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                destination.Start = Point2D.Parse(m_Params[i].Substring(++indexOf));
                            }
                        }
                        else if (m_Params[i].StartsWith("DestEnd"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                destination.End = Point2D.Parse(m_Params[i].Substring(++indexOf));
                            }
                        }
                    }

                    item = new SerpentPillar(word, destination);
                }
                else if (m_Type == typeofResurrectItem)
                {
                    ResurrectMessage message = ResurrectMessage.Generic;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("ResurrectMessage"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                message = (ResurrectMessage)Enum.Parse(typeof(ResurrectMessage), m_Params[i].Substring(++indexOf), true);
                            }
                        }
                    }

                    item = new ResurrectItem(message);
                }
                else if (m_Type.IsSubclassOf(typeofBeverage))
                {
                    BeverageType content = BeverageType.Liquor;
                    bool         fill    = false;

                    for (int i = 0; !fill && i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("Content"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                content = (BeverageType)Enum.Parse(typeof(BeverageType), m_Params[i].Substring(++indexOf), true);
                                fill    = true;
                            }
                        }
                    }

                    if (fill)
                    {
                        item = (Item)Activator.CreateInstance(m_Type, new object[] { content });
                    }
                    else
                    {
                        item = (Item)Activator.CreateInstance(m_Type);
                    }
                }
                else if (m_Type.IsSubclassOf(typeofBaseDoor))
                {
                    DoorFacing facing = DoorFacing.WestCW;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("Facing"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                facing = (DoorFacing)Enum.Parse(typeof(DoorFacing), m_Params[i].Substring(++indexOf), true);
                                break;
                            }
                        }
                    }

                    item = (Item)Activator.CreateInstance(m_Type, new object[] { facing });
                }
                else
                {
                    item = (Item)Activator.CreateInstance(m_Type);
                }
            }
            catch (Exception e)
            {
                throw new Exception(String.Format("Bad type: {0}", m_Type), e);
            }

            if (item is BaseAddon)
            {
                if (item is MaabusCoffin)
                {
                    MaabusCoffin coffin = (MaabusCoffin)item;

                    for (int i = 0; i < m_Params.Length; ++i)
                    {
                        if (m_Params[i].StartsWith("SpawnLocation"))
                        {
                            int indexOf = m_Params[i].IndexOf('=');

                            if (indexOf >= 0)
                            {
                                coffin.SpawnLocation = Point3D.Parse(m_Params[i].Substring(++indexOf));
                            }
                        }
                    }
                }
                else if (m_ItemID > 0)
                {
                    ArrayList comps = ((BaseAddon)item).Components;

                    for (int i = 0; i < comps.Count; ++i)
                    {
                        AddonComponent comp = (AddonComponent)comps[i];

                        if (comp.Offset == Point3D.Zero)
                        {
                            comp.ItemID = m_ItemID;
                        }
                    }
                }
            }
            else if (item is BaseLight)
            {
                bool unlit = false;

                for (int i = 0; !unlit && i < m_Params.Length; ++i)
                {
                    unlit = (m_Params[i] == "Unlit");
                }

                if (!unlit)
                {
                    ((BaseLight)item).Ignite();
                }

                ((BaseLight)item).Protected = true;

                if (m_ItemID > 0)
                {
                    item.ItemID = m_ItemID;
                }
            }
            else if (item is Server.Mobiles.Spawner)
            {
                Server.Mobiles.Spawner sp = (Server.Mobiles.Spawner)item;

                sp.NextSpawn = TimeSpan.Zero;

                for (int i = 0; i < m_Params.Length; ++i)
                {
                    if (m_Params[i].StartsWith("Spawn"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.CreaturesName.Add(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("MinDelay"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.MinDelay = TimeSpan.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("MaxDelay"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.MaxDelay = TimeSpan.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("NextSpawn"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.NextSpawn = TimeSpan.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Count"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.Count = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Team"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.Team = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("HomeRange"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.HomeRange = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Running"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.Running = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Group"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            sp.Group = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                }
            }
            else if (item is RecallRune)
            {
                RecallRune rune = (RecallRune)item;

                for (int i = 0; i < m_Params.Length; ++i)
                {
                    if (m_Params[i].StartsWith("Description"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            rune.Description = m_Params[i].Substring(++indexOf);
                        }
                    }
                    else if (m_Params[i].StartsWith("Marked"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            rune.Marked = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("TargetMap"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            rune.TargetMap = Map.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Target"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            rune.Target = Point3D.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                }
            }
            else if (item is SkillTeleporter)
            {
                SkillTeleporter tp = (SkillTeleporter)item;

                for (int i = 0; i < m_Params.Length; ++i)
                {
                    if (m_Params[i].StartsWith("Skill"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Skill = (SkillName)Enum.Parse(typeof(SkillName), m_Params[i].Substring(++indexOf), true);
                        }
                    }
                    else if (m_Params[i].StartsWith("RequiredFixedPoint"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Required = Utility.ToInt32(m_Params[i].Substring(++indexOf)) * 0.01;
                        }
                    }
                    else if (m_Params[i].StartsWith("Required"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Required = Utility.ToDouble(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("MessageString"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.MessageString = m_Params[i].Substring(++indexOf);
                        }
                    }
                    else if (m_Params[i].StartsWith("MessageNumber"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.MessageNumber = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("PointDest"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.PointDest = Point3D.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("MapDest"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.MapDest = Map.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Creatures"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Creatures = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("SourceEffect"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.SourceEffect = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("DestEffect"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.DestEffect = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("SoundID"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.SoundID = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Delay"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Delay = TimeSpan.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                }

                if (m_ItemID > 0)
                {
                    item.ItemID = m_ItemID;
                }
            }
            else if (item is KeywordTeleporter)
            {
                KeywordTeleporter tp = (KeywordTeleporter)item;

                for (int i = 0; i < m_Params.Length; ++i)
                {
                    if (m_Params[i].StartsWith("Substring"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Substring = m_Params[i].Substring(++indexOf);
                        }
                    }
                    else if (m_Params[i].StartsWith("Keyword"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Keyword = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Range"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Range = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("PointDest"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.PointDest = Point3D.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("MapDest"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.MapDest = Map.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Creatures"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Creatures = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("SourceEffect"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.SourceEffect = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("DestEffect"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.DestEffect = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("SoundID"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.SoundID = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Delay"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Delay = TimeSpan.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                }

                if (m_ItemID > 0)
                {
                    item.ItemID = m_ItemID;
                }
            }
            else if (item is Teleporter)
            {
                Teleporter tp = (Teleporter)item;

                for (int i = 0; i < m_Params.Length; ++i)
                {
                    if (m_Params[i].StartsWith("PointDest"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.PointDest = Point3D.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("MapDest"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.MapDest = Map.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Creatures"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Creatures = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("SourceEffect"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.SourceEffect = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("DestEffect"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.DestEffect = Utility.ToBoolean(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("SoundID"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.SoundID = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        }
                    }
                    else if (m_Params[i].StartsWith("Delay"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            tp.Delay = TimeSpan.Parse(m_Params[i].Substring(++indexOf));
                        }
                    }
                }

                if (m_ItemID > 0)
                {
                    item.ItemID = m_ItemID;
                }
            }
            else if (item is FillableContainer)
            {
                FillableContainer cont = (FillableContainer)item;

                for (int i = 0; i < m_Params.Length; ++i)
                {
                    if (m_Params[i].StartsWith("ContentType"))
                    {
                        int indexOf = m_Params[i].IndexOf('=');

                        if (indexOf >= 0)
                        {
                            cont.ContentType = (FillableContentType)Enum.Parse(typeof(FillableContentType), m_Params[i].Substring(++indexOf), true);
                        }
                    }
                }

                if (m_ItemID > 0)
                {
                    item.ItemID = m_ItemID;
                }
            }
            else if (m_ItemID > 0)
            {
                item.ItemID = m_ItemID;
            }

            item.Movable = false;

            for (int i = 0; i < m_Params.Length; ++i)
            {
                if (m_Params[i].StartsWith("Light"))
                {
                    int indexOf = m_Params[i].IndexOf('=');

                    if (indexOf >= 0)
                    {
                        item.Light = (LightType)Enum.Parse(typeof(LightType), m_Params[i].Substring(++indexOf), true);
                    }
                }
                else if (m_Params[i].StartsWith("Hue"))
                {
                    int indexOf = m_Params[i].IndexOf('=');

                    if (indexOf >= 0)
                    {
                        int hue = Utility.ToInt32(m_Params[i].Substring(++indexOf));

                        if (item is DyeTub)
                        {
                            ((DyeTub)item).DyedHue = hue;
                        }
                        else
                        {
                            item.Hue = hue;
                        }
                    }
                }
                else if (m_Params[i].StartsWith("Name"))
                {
                    int indexOf = m_Params[i].IndexOf('=');

                    if (indexOf >= 0)
                    {
                        item.Name = m_Params[i].Substring(++indexOf);
                    }
                }
                else if (m_Params[i].StartsWith("Label1"))
                {
                    int indexOf = m_Params[i].IndexOf('=');

                    if (indexOf >= 0)
                    {
                        item.Label1 = m_Params[i].Substring(++indexOf);
                    }
                }
                else if (m_Params[i].StartsWith("Label2"))
                {
                    int indexOf = m_Params[i].IndexOf('=');

                    if (indexOf >= 0)
                    {
                        item.Label2 = m_Params[i].Substring(++indexOf);
                    }
                }
                else if (m_Params[i].StartsWith("Label3"))
                {
                    int indexOf = m_Params[i].IndexOf('=');

                    if (indexOf >= 0)
                    {
                        item.Label3 = m_Params[i].Substring(++indexOf);
                    }
                }
                else if (m_Params[i].StartsWith("Amount"))
                {
                    int indexOf = m_Params[i].IndexOf('=');

                    if (indexOf >= 0)
                    {
                        // Must supress stackable warnings

                        bool wasStackable = item.Stackable;

                        item.Stackable = true;
                        item.Amount    = Utility.ToInt32(m_Params[i].Substring(++indexOf));
                        item.Stackable = wasStackable;
                    }
                }
            }

            return(item);
        }
Ejemplo n.º 31
0
 public ResurrectGump(Mobile owner, ResurrectMessage msg)
     : this(owner, owner, null, msg, false, 0.0)
 {
 }
Ejemplo n.º 32
0
 public ResurrectGump( Mobile owner, ResurrectMessage msg )
     : this(owner, owner, msg)
 {
 }
Ejemplo n.º 33
0
			public AnkhResurrectGump( Mobile owner, ResurrectMessage msg ) : base( owner, owner, msg, false )
			{
			}
Ejemplo n.º 34
0
		public ResurrectGump( Mobile healer, ResurrectMessage msg ) : this( healer, msg, 0.0 )
		{
		}