예제 #1
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
            StygianDragonPlatform sAltar = new StygianDragonPlatform();

            if (!FindItem(363, 157, 5, Map.TerMur, sAltar))
            {
                sAltar.MoveToWorld(new Point3D(363, 157, 0), Map.TerMur);

            }

            //Medusa Lair - Abyss
            MedusaPlatform mAltar = new MedusaPlatform();

            if (!FindItem(822, 756, 56, Map.TerMur, mAltar))
            {
                mAltar.MoveToWorld(new Point3D(822, 756, 56), Map.TerMur);
            }

            e.Mobile.SendMessage("Mondain's Legacy world generating complete.");
        }
예제 #2
0
        private static void DecorateMLDelete_OnCommand(CommandEventArgs e)
        {
            e.Mobile.SendMessage("Deleting Mondain's Legacy world decoration, please wait.");

            DecorateDelete.Generate("Data/Mondain's Legacy/Trammel", Map.Trammel);
            DecorateDelete.Generate("Data/Mondain's Legacy/Felucca", Map.Felucca);
            DecorateDelete.Generate("Data/Mondain's Legacy/Ilshenar", Map.Ilshenar);
            DecorateDelete.Generate("Data/Mondain's Legacy/Malas", Map.Malas);
            DecorateDelete.Generate("Data/Mondain's Legacy/Tokuno", Map.Tokuno);

            PeerlessAltar altar;
            PeerlessTeleporter tele;
            PrismOfLightPillar pillar;

            // Bedlam - Malas
            altar = new BedlamAltar();
            FindItem(86, 1627, 0, Map.Malas, altar);
            tele = new PeerlessTeleporter(altar);
            FindItem(99, 1617, 50, Map.Malas, tele);
            tele.Delete();
            altar.Delete();

            // Blighted Grove - Trammel
            altar = new BlightedGroveAltar();
            FindItem(6502, 875, 0, Map.Trammel, altar);
            tele = new PeerlessTeleporter(altar);
            FindItem(6511, 949, 26, Map.Trammel, tele);
            tele.Delete();
            altar.Delete();

            // Blighted Grove - Felucca
            altar = new BlightedGroveAltar();
            FindItem(6502, 875, 0, Map.Felucca, altar);
            tele = new PeerlessTeleporter(altar);
            FindItem(6511, 949, 26, Map.Felucca, tele);
            tele.Delete();
            altar.Delete();

            // Palace of Paroxysmus - Trammel
            altar = new ParoxysmusAltar();
            FindItem(6511, 506, -34, Map.Trammel, altar);
            tele = new PeerlessTeleporter(altar);
            FindItem(6518, 365, 46, Map.Trammel, tele);
            tele.Delete();
            altar.Delete();

            // Palace of Paroxysmus - Felucca
            altar = new ParoxysmusAltar();
            FindItem(6511, 506, -34, Map.Felucca, altar);
            tele = new PeerlessTeleporter(altar);
            FindItem(6518, 365, 46, Map.Felucca, tele);
            tele.Delete();
            altar.Delete();

            // Prism of Light - Trammel
            altar = new PrismOfLightAltar();
            FindItem(6509, 167, 6, Map.Trammel, altar);
            tele = new PeerlessTeleporter(altar);
            tele.ItemID = 0xDDA;
            FindItem(6501, 137, -20, Map.Trammel, tele);
            tele.Delete();
            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581);
            FindItem(6506, 167, 0, Map.Trammel, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581);
            FindItem(6509, 164, 0, Map.Trammel, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581);
            FindItem(6506, 164, 0, Map.Trammel, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481);
            FindItem(6512, 167, 0, Map.Trammel, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481);
            FindItem(6509, 170, 0, Map.Trammel, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481);
            FindItem(6512, 170, 0, Map.Trammel, pillar);
            pillar.Delete();
            altar.Delete();

            // Prism of Light - Felucca
            altar = new PrismOfLightAltar();
            FindItem(6509, 167, 6, Map.Felucca, altar);
            tele = new PeerlessTeleporter(altar);
            tele.ItemID = 0xDDA;
            FindItem(6501, 137, -20, Map.Felucca, tele);
            tele.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581);
            FindItem(6506, 167, 0, Map.Felucca, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581);
            FindItem(6509, 164, 0, Map.Felucca, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581);
            FindItem(6506, 164, 0, Map.Felucca, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481);
            FindItem(6512, 167, 0, Map.Felucca, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481);
            FindItem(6509, 170, 0, Map.Felucca, pillar);
            pillar.Delete();

            pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481);
            FindItem(6512, 170, 0, Map.Felucca, pillar);
            pillar.Delete();
            altar.Delete();

            // Citadel - Malas
            altar = new CitadelAltar();
            FindItem(90, 1884, 0, Map.Malas, altar);
            tele = new PeerlessTeleporter(altar);
            FindItem(114, 1955, 0, Map.Malas, tele);
            tele.Delete();
            altar.Delete();

            // Twisted Weald - Ilshenar
            altar = new TwistedWealdAltar();
            FindItem(2170, 1255, -60, Map.Ilshenar, altar);
            tele = new PeerlessTeleporter(altar);
            FindItem(2139, 1271, -57, Map.Ilshenar, tele);
            tele.Delete();
            altar.Delete();

            e.Mobile.SendMessage("Mondain's Legacy world decoration deleting complete.");
        }