Пример #1
0
        private static void DecorateDeleteHSfirstAge_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateDeleteSA", prefix));
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/10-HS/Britannia", Map.Trammel, Map.Felucca);
        }
Пример #2
0
        private static void DecorateDeleteSA_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateDeleteKRsecondAge", prefix));
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/09-SA/TerMur", Map.TerMur);
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/09-SA/Trammel", Map.Trammel);
        }
Пример #3
0
        private static void DecorateDeleteKRsecondAge_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateDeleteKRfirstAge", prefix));
            DecorateDelete.Remove("Data/Decoration/RuinedMaginciaTram", Map.Trammel);
            DecorateDelete.Remove("Data/Decoration/RuinedMaginciaFel", Map.Felucca);
        }
Пример #4
0
        private static void DecorateDeleteKRfirstAge_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateDeleteML", prefix));
            //Nerun's Distro custom decoration
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/08-KR/Trammel", Map.Trammel);
        }
        private static void MaginciaDelete_OnCommand(CommandEventArgs e)
        {
            e.Mobile.SendMessage("Deleting Magincia world decoration, please wait.");

            DecorateDelete.Generate("Data/Magincia/Trammel", Map.Trammel);
            DecorateDelete.Generate("Data/Magincia/Felucca", Map.Felucca);

            e.Mobile.SendMessage("Magincia world decoration deleting complete.");
        }
Пример #6
0
        private static void DecorateDeleteSE_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateDelete", prefix));

            //Nerun's Distro custom decoration
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/06-SE/Britannia", Map.Trammel, Map.Felucca);

            e.Mobile.SendMessage("Decoration removal completed.");
        }
Пример #7
0
        private static void DecorateDeleteML_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateDeleteSE", prefix));
            //Nerun's Distro custom decoration
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/07-ML/Britannia", Map.Trammel, Map.Felucca);
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/07-ML/Felucca", Map.Felucca);
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/07-ML/Trammel", Map.Trammel);
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/07-ML/Ilshenar", Map.Ilshenar);
            DecorateDelete.Remove("Data/Nerun's Distro/Decoration/07-ML/Malas", Map.Malas);
        }
Пример #8
0
        private static void DecorateSE_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}Decorate", prefix));
            //Remove some default decorations
            DecorateDelete.RemoveOne("Data/Decoration/Britannia", "britain.cfg", Map.Trammel, Map.Felucca);
            //SE
            Decorate.Generate("Data/Nerun's Distro/Decoration/06-SE/Britannia", Map.Trammel, Map.Felucca);

            e.Mobile.SendMessage("Samurai Empire decorated.");
        }
Пример #9
0
        private static void DecorateKRsecondAge_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateKRfirstAge", prefix));
            //Decorate.Generate( "Data/Decoration/RuinedMaginciaTram", Map.Trammel );
            //Decorate.Generate( "Data/Decoration/RuinedMaginciaFel", Map.Felucca );
            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateMag", prefix));
            //Remove some default decorations
            DecorateDelete.RemoveOne("Data/Decoration/Britannia", "magincia.cfg", Map.Trammel, Map.Felucca);

            e.Mobile.SendMessage("Kingdom's Reborn - II decorated.");
        }
Пример #10
0
        private static void DecorateKRfirstAge_OnCommand(CommandEventArgs e)
        {
            string prefix = Server.Commands.CommandSystem.Prefix;

            CommandSystem.Handle(e.Mobile, String.Format("{0}DecorateML", prefix));
            //Remove some default decorations
            DecorateDelete.RemoveOne("Data/Decoration/Trammel", "_haven additions.cfg", Map.Trammel);
            DecorateDelete.RemoveOne("Data/Decoration/Trammel", "collector quest.cfg", Map.Trammel);
            DecorateDelete.RemoveOne("Data/Decoration/Trammel", "haven.cfg", Map.Trammel);
            DecorateDelete.RemoveOne("Data/Decoration/Trammel", "uzeraan turmoil quest.cfg", Map.Trammel);
            //KR
            Decorate.Generate("Data/Nerun's Distro/Decoration/08-KR/Trammel", Map.Trammel);

            e.Mobile.SendMessage("Kingdom's Reborn - I decorated.");
        }
Пример #11
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();

            // The Citadel - Malas
            altar = new TheCitadelAltar();
            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.");
        }