Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
47
Scripts/Commands/DecorateSA.cs
Normal file
47
Scripts/Commands/DecorateSA.cs
Normal 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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user