using Server.Random;

namespace Server.Commands;

public class ResetRng
{
    public static void Configure()
    {
        CommandSystem.Register("ResetRng", AccessLevel.Administrator, ResetRng_OnCommand);
    }

    [Usage("ResetRng")]
    [Description(
        "Resets the global RNG. Use with care! Do not reset often as this will affect the over-all distribution."
    )]
    private static void ResetRng_OnCommand(CommandEventArgs e)
    {
        BuiltInRng.Reset();
    }
}
