public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            this.m_ID    = reader.ReadInt();
            this.m_Altar = reader.ReadItem() as MedusaAltar;
        }
Example #2
0
        public MedusaNest(MedusaAltar altar, int hue) : base(0x207B)
        {
            Hue     = 2416;
            Movable = false;

            m_Altar = altar;

            if (m_Altar != null)
            {
                m_ID = m_Altar.GetID();
            }
        }
        public MedusaNest(MedusaAltar altar, int hue)
            : base(0x207B)
        {
            this.Hue     = 2416;
            this.Movable = false;

            this.m_Altar = altar;

            if (this.m_Altar != null)
            {
                this.m_ID = this.m_Altar.GetID();
            }
        }
Example #4
0
		private static void DecorateML_OnCommand( CommandEventArgs e )
		{
			e.Mobile.SendMessage( "Generating Mondain's Legacy world decoration, please wait." );
			
			Decorate.Generate( "Data/Mondain's Legacy/Trammel", Map.Trammel );
			Decorate.Generate( "Data/Mondain's Legacy/Felucca", Map.Felucca );
			Decorate.Generate( "Data/Mondain's Legacy/Ilshenar", Map.Ilshenar );
			Decorate.Generate( "Data/Mondain's Legacy/Malas", Map.Malas );
			Decorate.Generate( "Data/Mondain's Legacy/Tokuno", Map.Tokuno );
            Decorate.Generate( "Data/Mondain's Legacy/TerMur", Map.TerMur );
			
			PeerlessAltar altar;
			PeerlessTeleporter tele;				
			PrismOfLightPillar pillar;
            StygianDragonBrazier brazier;
            MedusaNest nest;
			
			// Bedlam - Malas
			altar = new BedlamAltar();
			
			if ( !FindItem( 86, 1627, 0, Map.Malas, altar ) )
			{
				altar = new BedlamAltar();
				altar.MoveToWorld( new Point3D( 86, 1627, 0 ), Map.Malas );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.MoveToWorld( new Point3D( 99, 1617, 50 ), Map.Malas );
			}
			
			// Blighted Grove - Trammel
			altar = new BlightedGroveAltar();
			
			if ( !FindItem( 6502, 875, 0, Map.Trammel, altar ) )
			{
				altar.MoveToWorld( new Point3D( 6502, 875, 0 ), Map.Trammel );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.MoveToWorld( new Point3D( 6511, 949, 26 ), Map.Trammel );
			}
			
			// Blighted Grove - Felucca
			altar = new BlightedGroveAltar();
			
			if ( !FindItem( 6502, 875, 0, Map.Felucca, altar ) )
			{
				altar.MoveToWorld( new Point3D( 6502, 875, 0 ), Map.Felucca );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.MoveToWorld( new Point3D( 6511, 949, 26 ), Map.Felucca );
			}
			
			// Palace of Paroxysmus - Trammel
			altar = new ParoxysmusAltar();
			
			if ( !FindItem( 6511, 506, -34, Map.Trammel, altar ) )
			{
				altar.MoveToWorld( new Point3D( 6511, 506, -34 ), Map.Trammel );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.MoveToWorld( new Point3D( 6518, 365, 46 ), Map.Trammel );
			}
			
			// Palace of Paroxysmus - Felucca
			altar = new ParoxysmusAltar();
			
			if ( !FindItem( 6511, 506, -34, Map.Felucca, altar ) )
			{
				altar.MoveToWorld( new Point3D( 6511, 506, -34 ), Map.Felucca );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.MoveToWorld( new Point3D( 6518, 365, 46 ), Map.Felucca );
			}
			
			// Prism of Light - Trammel
			altar = new PrismOfLightAltar();
			
			if ( !FindItem( 6509, 167, 6, Map.Trammel, altar ) )
			{
				altar.MoveToWorld( new Point3D( 6509, 167, 6 ), Map.Trammel );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.Visible = true;
				tele.ItemID = 0xDDA;
				tele.MoveToWorld( new Point3D( 6501, 137, -20 ), Map.Trammel );
					
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x581 );
				pillar.MoveToWorld( new Point3D( 6506, 167, 0 ), Map.Trammel );
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x581 );
				pillar.MoveToWorld( new Point3D( 6509, 164, 0 ), Map.Trammel );
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x581 );
				pillar.MoveToWorld( new Point3D( 6506, 164, 0 ), Map.Trammel );
				
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x481 );
				pillar.MoveToWorld( new Point3D( 6512, 167, 0 ), Map.Trammel );
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x481 );
				pillar.MoveToWorld( new Point3D( 6509, 170, 0 ), Map.Trammel );
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x481 );
				pillar.MoveToWorld( new Point3D( 6512, 170, 0 ), Map.Trammel );
			}
			
			// Prism of Light - Felucca
			altar = new PrismOfLightAltar();
			
			if ( !FindItem( 6509, 167, 6, Map.Felucca, altar ) )
			{
				altar.MoveToWorld( new Point3D( 6509, 167, 6 ), Map.Felucca );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.Visible = true;
				tele.ItemID = 0xDDA;
				tele.MoveToWorld( new Point3D( 6501, 137, -20 ), Map.Felucca );
					
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x581 );
				pillar.MoveToWorld( new Point3D( 6506, 167, 0 ), Map.Felucca );
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x581 );
				pillar.MoveToWorld( new Point3D( 6509, 164, 0 ), Map.Felucca );
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x581 );
				pillar.MoveToWorld( new Point3D( 6506, 164, 0 ), Map.Felucca );
				
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x481 );
				pillar.MoveToWorld( new Point3D( 6512, 167, 0 ), Map.Felucca );
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x481 );
				pillar.MoveToWorld( new Point3D( 6509, 170, 0 ), Map.Felucca );
				
				pillar = new PrismOfLightPillar( (PrismOfLightAltar) altar, 0x481 );
				pillar.MoveToWorld( new Point3D( 6512, 170, 0 ), Map.Felucca );
			}
						
			// The Citadel - Malas
			altar = new CitadelAltar();
			
			if ( !FindItem( 89, 1885, 0, Map.Malas, altar ) )
			{
				altar.MoveToWorld( new Point3D( 89, 1885, 0 ), Map.Malas );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.MoveToWorld( new Point3D( 111, 1955, 0 ), Map.Malas );
			}
						
			// Twisted Weald - Ilshenar
			altar = new TwistedWealdAltar();
			
			if ( !FindItem( 2170, 1255, -60, Map.Ilshenar, altar ) )
			{
				altar.MoveToWorld( new Point3D( 2170, 1255, -60 ), Map.Ilshenar );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
				tele.MoveToWorld( new Point3D( 2139, 1271, -57 ), Map.Ilshenar );
			}

            // Stygian Dragon Lair - Abyss
            altar = new StygianDragonAltar();

            if ( !FindItem( 363, 157, 5, Map.TerMur, altar ) )
            {
                altar.MoveToWorld( new Point3D( 363, 157, 0 ), Map.TerMur );
				tele = new PeerlessTeleporter( altar );
				tele.PointDest = altar.ExitDest;
                //tele.Visible = true;
                //tele.ItemID = 0xDDA;
                tele.MoveToWorld(new Point3D(305, 159, 105), Map.TerMur);

                brazier = new StygianDragonBrazier((StygianDragonAltar)altar, 0x207B);
                brazier.MoveToWorld(new Point3D(362, 156, 5), Map.TerMur);

                brazier = new StygianDragonBrazier((StygianDragonAltar)altar, 0x207B);
                brazier.MoveToWorld(new Point3D(364, 156, 7), Map.TerMur);

                brazier = new StygianDragonBrazier((StygianDragonAltar)altar, 0x207B);
                brazier.MoveToWorld(new Point3D(364, 158, 7), Map.TerMur);

                brazier = new StygianDragonBrazier((StygianDragonAltar)altar, 0x207B);
                brazier.MoveToWorld(new Point3D(362, 158, 7), Map.TerMur);
               
			}

            //Medusa Lair - Abyss
            altar = new MedusaAltar();

            if (!FindItem(822, 756, 56, Map.TerMur, altar))
            {
                altar.MoveToWorld(new Point3D(822, 756, 56), Map.TerMur);
                tele = new PeerlessTeleporter(altar);
                tele.PointDest = altar.ExitDest;
                //tele.Visible = true;
                //tele.ItemID = 0xDDA;
                tele.MoveToWorld(new Point3D(840, 926, -5), Map.TerMur);

                nest = new MedusaNest((MedusaAltar)altar, 0x207B);
                nest.MoveToWorld(new Point3D(821, 755, 56), Map.TerMur);

                nest = new MedusaNest((MedusaAltar)altar, 0x207B);
                nest.MoveToWorld(new Point3D(823, 755, 56), Map.TerMur);

                nest = new MedusaNest((MedusaAltar)altar, 0x207B);
                nest.MoveToWorld(new Point3D(821, 757, 56), Map.TerMur);

                nest = new MedusaNest((MedusaAltar)altar, 0x207B);
                nest.MoveToWorld(new Point3D(823, 757, 56), Map.TerMur);

            }
			
			e.Mobile.SendMessage( "Mondain's Legacy world generating complete." );
		}
Example #5
0
		public MedusaNest( MedusaAltar altar, int hue ) : base( 0x207B )
		{
			Hue = 2416;
			Movable = false;
		
			m_Altar = altar;
			
			if ( m_Altar != null )
				m_ID = m_Altar.GetID();
		}	
Example #6
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();
			
			m_ID = reader.ReadInt();
			m_Altar = reader.ReadItem() as MedusaAltar;
		}
Example #7
0
        public MedusaNest(MedusaAltar altar, int hue)
            : base(0x207B)
        {
            this.Hue = 2416;
            this.Movable = false;
		
            this.m_Altar = altar;
			
            if (this.m_Altar != null)
                this.m_ID = this.m_Altar.GetID();
        }