servuo/Scripts/Commands/DecorateSA.cs
TrueUO f608d123a4
Bug Fixes (#4762)
-Fixed issue where client helpers could bypass the container gump and add items directly to the seed box
-SearedFireAntGoo is no longer stackable
-Blue NPC's (mainly vendors, not initial innocent) can no longer be attacked on trammel maps
-Aggressors/Aggressed from pet masters now works properly. This was suspected to crated large numbers to redundant aggressor/aggressed added to a mobiles aggressor/aggressed lists
-Aggressive action for healing a mobile while fighting another mobile has been re-enabled
-AuraDamage is now a harmful act, ie those affected will aggro on your pet!
-MLDryads should no longer attack other wild creatures during Blackthorn Invasion Instance
-More code cleanup
2020-04-21 17:25:24 -07:00

46 lines
1.8 KiB
C#

using Server.Commands;
using Server.Items;
namespace Server
{
public static class StygianAbyss
{
public static void Initialize()
{
CommandSystem.Register("DecorateSA", AccessLevel.Administrator, DecorateSA_OnCommand);
CommandSystem.Register("DecorateSADelete", AccessLevel.Administrator, DecorateSADelete_OnCommand);
}
[Usage("DecorateSADelete")]
[Description("Deletes Stygian Abyss world decoration.")]
private static void DecorateSADelete_OnCommand(CommandEventArgs e)
{
WeakEntityCollection.Delete("sa");
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, 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.");
}
}
}