private static void DecorateTOL_OnCommand(CommandEventArgs e) { e.Mobile.SendMessage("Generating Time Of Legends world decoration, please wait."); Decorate.Generate("tol", "Data/Decoration/TimeOfLegends/TerMur", Map.TerMur); Decorate.Generate("tol", "Data/Decoration/TimeOfLegends/Felucca", Map.Felucca); ChampionSpawn sp = new ChampionSpawn(); sp.Type = ChampionSpawnType.DragonTurtle; sp.MoveToWorld(new Point3D(451, 1696, 65), Map.TerMur); sp.Active = true; WeakEntityCollection.Add("tol", sp); sp = new ChampionSpawn(); sp.SpawnRadius = 35; sp.Type = ChampionSpawnType.DragonTurtle; sp.MoveToWorld(new Point3D(7042, 1889, 60), Map.Felucca); sp.Active = true; WeakEntityCollection.Add("tol", sp); PublicMoongate gate = new PublicMoongate(); gate.MoveToWorld(new Point3D(719, 1863, 40), Map.TerMur); ShadowguardController.SetupShadowguard(e.Mobile); Server.Engines.MyrmidexInvasion.GenerateMyrmidexQuest.Generate(); MacawSpawner.Generate(); CommandSystem.Handle(e.Mobile, Server.Commands.CommandSystem.Prefix + "XmlLoad Spawns/Eodon.xml"); e.Mobile.SendMessage("Time Of Legends world generating complete."); }
public static void Initialize() { if (World.Items.Any(kv => kv.Value is BaseDoor)) { return; } ConsoleKey key; if (AutoSetupNewWorld) { Console.WriteLine("This appears to be a new world, automatically setting it up."); key = ConsoleKey.Y; } else { Console.WriteLine("This appears to be a new world, do you want generate signs/doors/decoration? (y/n)"); key = Console.ReadKey(true).Key; } if (key == ConsoleKey.Y) { Console.Write("Generating... "); DoorGenerator.Generate(); Decorate.Generate(); SignGenerator.Generate(); GenerateSpawners.Generate("felucca.json"); PublicMoongate.MoonGen(PMList.Felucca); new GenTeleporter.TeleportersCreator().CreateTeleporters(); Console.WriteLine("New world generation complete."); Timer.DelayCall(TimeSpan.FromMilliseconds(100), World.Save); } }
public static void Initialize() { if (Enabled) { Decorate.Generate("Data/Decoration/Britannia/Barrels", Map.Felucca); } }
private static void DecorateSA_OnCommand(CommandEventArgs e) { e.Mobile.SendMessage("Generating Stygian Abyss world decoration, please wait."); Decorate.Generate("sa", "Data/Decoration/Stygian Abyss/Ter Mur", Map.TerMur); Decorate.Generate("sa", "Data/Decoration/Stygian Abyss/Trammel", Map.Trammel); Decorate.Generate("sa", "Data/Decoration/Stygian Abyss/Felucca", Map.Felucca); e.Mobile.SendMessage("Stygian Abyss world generation complete."); }
private static void DecorateML_OnCommand(CommandEventArgs e) { e.Mobile.SendMessage("Generating Mondain's Legacy world decoration, please wait."); Decorate.Generate("Data/Decoration/Mondain's Legacy/Trammel", Map.Trammel); Decorate.Generate("Data/Decoration/Mondain's Legacy/Felucca", Map.Felucca); Decorate.Generate("Data/Decoration/Mondain's Legacy/Ilshenar", Map.Ilshenar); Decorate.Generate("Data/Decoration/Mondain's Legacy/Malas", Map.Malas); Decorate.Generate("Data/Decoration/Mondain's Legacy/Tokuno", Map.Tokuno); e.Mobile.SendMessage("Mondain's Legacy world generation complete."); }
private static void DecorateSA_OnCommand(CommandEventArgs e) { e.Mobile.SendMessage("Generating Stygian Abyss world decoration, please wait."); Decorate.Generate("sa", "Data/Decoration/Stygian Abyss/Ter Mur", Map.TerMur); Decorate.Generate("sa", "Data/Decoration/Stygian Abyss/Trammel", Map.Trammel); Decorate.Generate("sa", "Data/Decoration/Stygian Abyss/Felucca", Map.Felucca); NavreysController.GenNavery(e.Mobile); Server.Engines.CannedEvil.PrimevalLichPuzzle.GenLichPuzzle(e.Mobile); e.Mobile.SendMessage("Stygian Abyss world generation complete."); }
private static void DecorateSA_OnCommand(CommandEventArgs e) { e.Mobile.SendMessage("Generating Stygian Abyss world decoration, please wait."); Decorate.Generate("sa", "Data/Decoration/Ter Mur", Map.TerMur); NavreysController.GenNavery(e.Mobile); CommandSystem.Handle(e.Mobile, CommandSystem.Prefix + "GenToK"); CommandSystem.Handle(e.Mobile, CommandSystem.Prefix + "GenSutek"); GenerateUnderworldRooms.Generate(); Engines.ResortAndCasino.FireCasinoGenerator.Generate(e); Engines.ExploringTheDeep.GenerateExploringTheDeep.Generate(e); e.Mobile.SendMessage("Stygian Abyss world generation complete."); }
private static void DecorateML_OnCommand(CommandEventArgs e) { e.Mobile.SendMessage("Generating Mondain's Legacy world decoration, please wait."); Decorate.Generate("ml", "Data/Mondain's Legacy/Trammel", Map.Trammel); Decorate.Generate("ml", "Data/Mondain's Legacy/Felucca", Map.Felucca); Decorate.Generate("ml", "Data/Mondain's Legacy/Ilshenar", Map.Ilshenar); Decorate.Generate("ml", "Data/Mondain's Legacy/Malas", Map.Malas); Decorate.Generate("ml", "Data/Mondain's Legacy/Tokuno", Map.Tokuno); Decorate.Generate("ml", "Data/Mondain's Legacy/TerMur", Map.TerMur); PeerlessAltar altar; PeerlessTeleporter tele; PrismOfLightPillar pillar; // Bedlam - Malas altar = new BedlamAltar(); if (!FindItem(86, 1627, 0, Map.Malas, altar)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(86, 1627, 0), Map.Malas); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(6502, 875, 0), Map.Trammel); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(6502, 875, 0), Map.Felucca); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(6511, 506, -34), Map.Trammel); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(6511, 506, -34), Map.Felucca); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(6509, 167, 6), Map.Trammel); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6506, 167, 0), Map.Trammel); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6509, 164, 0), Map.Trammel); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6506, 164, 0), Map.Trammel); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6512, 167, 0), Map.Trammel); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6509, 170, 0), Map.Trammel); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6512, 170, 0), Map.Trammel); } // Prism of Light - Felucca altar = new PrismOfLightAltar(); if (!FindItem(6509, 167, 6, Map.Felucca, altar)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(6509, 167, 6), Map.Felucca); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6506, 167, 0), Map.Felucca); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6509, 164, 0), Map.Felucca); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x581); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6506, 164, 0), Map.Felucca); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6512, 167, 0), Map.Felucca); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6509, 170, 0), Map.Felucca); pillar = new PrismOfLightPillar((PrismOfLightAltar)altar, 0x481); WeakEntityCollection.Add("ml", pillar); pillar.MoveToWorld(new Point3D(6512, 170, 0), Map.Felucca); } // The Citadel - Malas altar = new CitadelAltar(); if (!FindItem(89, 1885, 0, Map.Malas, altar)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(89, 1885, 0), Map.Malas); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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)) { WeakEntityCollection.Add("ml", altar); altar.MoveToWorld(new Point3D(2170, 1255, -60), Map.Ilshenar); tele = new PeerlessTeleporter(altar); WeakEntityCollection.Add("ml", tele); 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)) { WeakEntityCollection.Add("ml", 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)) { WeakEntityCollection.Add("ml", sAltar); mAltar.MoveToWorld(new Point3D(822, 756, 56), Map.TerMur); } e.Mobile.SendMessage("Mondain's Legacy world generating complete."); }
public static void Generate_ExodusNexus(CommandEventArgs e) { Decorate.Generate("exodus", "Data/Decoration/Exodus", Map.Ilshenar); }
public static void Generate_NewWrong(CommandEventArgs e) { DeleteOldWrong(e.Mobile); CommandSystem.Handle(e.Mobile, Server.Commands.CommandSystem.Prefix + "XmlLoad RevampedSpawns/WrongRevamped.xml"); Decorate.Generate("wrong", "Data/Decoration/Wrong", Map.Trammel, Map.Felucca); Item spawner = new BedrollSpawner(); spawner.MoveToWorld(new Point3D(5823, 601, 0), Map.Felucca); spawner = new BedrollSpawner(); spawner.MoveToWorld(new Point3D(5823, 601, 0), Map.Trammel); EnchantedHotItem.SpawnChests(Map.Trammel); EnchantedHotItem.SpawnChests(Map.Felucca); Teleporter teleporter = new Teleporter(new Point3D(5690, 569, 25), Map.Felucca); teleporter.MoveToWorld(new Point3D(5827, 590, 1), Map.Felucca); teleporter = new Teleporter(new Point3D(5829, 595, 0), Map.Felucca); teleporter.MoveToWorld(new Point3D(5690, 573, 25), Map.Felucca); teleporter = new Teleporter(new Point3D(5690, 569, 25), Map.Felucca); teleporter.MoveToWorld(new Point3D(5872, 532, 24), Map.Felucca); teleporter = new Teleporter(new Point3D(5827, 593, 0), Map.Felucca); teleporter.MoveToWorld(new Point3D(5732, 554, 24), Map.Felucca); teleporter = new Teleporter(new Point3D(5703, 639, 0), Map.Felucca); teleporter.MoveToWorld(new Point3D(5708, 625, 0), Map.Felucca); teleporter = new Teleporter(new Point3D(5792, 526, 10), Map.Felucca); teleporter.MoveToWorld(new Point3D(5698, 662, 0), Map.Felucca); teleporter = new Teleporter(new Point3D(2041, 215, 14), Map.Felucca); teleporter.MoveToWorld(new Point3D(5824, 631, 5), Map.Felucca); teleporter = new Teleporter(new Point3D(2043, 215, 14), Map.Felucca); teleporter.MoveToWorld(new Point3D(5825, 631, 5), Map.Felucca); teleporter = new Teleporter(new Point3D(5690, 569, 25), Map.Trammel); teleporter.MoveToWorld(new Point3D(5827, 590, 1), Map.Trammel); teleporter = new Teleporter(new Point3D(5829, 595, 0), Map.Trammel); teleporter.MoveToWorld(new Point3D(5690, 573, 25), Map.Trammel); teleporter = new Teleporter(new Point3D(5690, 569, 25), Map.Trammel); teleporter.MoveToWorld(new Point3D(5872, 532, 24), Map.Trammel); teleporter = new Teleporter(new Point3D(5827, 593, 0), Map.Trammel); teleporter.MoveToWorld(new Point3D(5732, 554, 24), Map.Trammel); teleporter = new Teleporter(new Point3D(5703, 639, 0), Map.Trammel); teleporter.MoveToWorld(new Point3D(5708, 625, 0), Map.Trammel); teleporter = new Teleporter(new Point3D(5792, 526, 10), Map.Trammel); teleporter.MoveToWorld(new Point3D(5698, 662, 0), Map.Trammel); teleporter = new Teleporter(new Point3D(2041, 215, 14), Map.Trammel); teleporter.MoveToWorld(new Point3D(5824, 631, 5), Map.Trammel); teleporter = new Teleporter(new Point3D(2043, 215, 14), Map.Trammel); teleporter.MoveToWorld(new Point3D(5825, 631, 5), Map.Trammel); e.Mobile.SendMessage("Wrong Revamp generation complete."); }
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); PeerlessAltar altar; PeerlessTeleporter tele; PrismOfLightPillar pillar; // 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); } // Citadel - Malas altar = new CitadelAltar(); if (!FindItem(90, 1884, 0, Map.Malas, altar)) { altar.MoveToWorld(new Point3D(90, 1884, 0), Map.Malas); tele = new PeerlessTeleporter(altar); tele.PointDest = altar.ExitDest; tele.MoveToWorld(new Point3D(114, 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); } e.Mobile.SendMessage("Mondain's Legacy world generating complete."); }