Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,47 @@
using System;
using Server.Commands;
using Server.Items;
namespace Server
{
public static class StygianAbyss
{
public static void Initialize()
{
CommandSystem.Register("DecorateSA", AccessLevel.Administrator, new CommandEventHandler(DecorateSA_OnCommand));
CommandSystem.Register("DecorateSADelete", AccessLevel.Administrator, new CommandEventHandler(DecorateSADelete_OnCommand));
}
[Usage("DecorateSADelete")]
[Description("Deletes Stygian Abyss world decoration.")]
private static void DecorateSADelete_OnCommand(CommandEventArgs e)
{
WeakEntityCollection.Delete("sa");
Server.Engines.ExploringTheDeep.GenerateExploringTheDeep.Delete(e);
SpawnerPersistence.RemoveSpawnsFromXmlFile("Spawns", "GravewaterLake");
}
[Usage("DecorateSA")]
[Description("Generates Stygian Abyss world decoration.")]
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);
CommandSystem.Handle(e.Mobile, Server.Commands.CommandSystem.Prefix + "GenToK");
CommandSystem.Handle(e.Mobile, Server.Commands.CommandSystem.Prefix + "GenSutek");
GenerateUnderworldRooms.Generate();
Server.Engines.ResortAndCasino.FireCasinoGenerator.Generate(e);
Server.Engines.ExploringTheDeep.GenerateExploringTheDeep.Generate(e);
e.Mobile.SendMessage("Stygian Abyss world generation complete.");
}
}
}