using Content.Shared.Random;
using Robust.Shared.Prototypes;
namespace Content.Server.StationEvents.Components;
///
/// This is used for running meteor swarm events at regular intervals.
///
[RegisterComponent, Access(typeof(MeteorSchedulerSystem)), AutoGenerateComponentPause]
public sealed partial class MeteorSchedulerComponent : Component
{
///
/// The weights for which swarms will be selected.
///
[DataField]
public ProtoId Config = "DefaultConfig";
///
/// The time at which the next swarm occurs.
///
[DataField, AutoPausedField]
public TimeSpan NextSwarmTime = TimeSpan.Zero;
///
/// The minimum time between swarms
///
[DataField]
public TimeSpan MinSwarmDelay = TimeSpan.FromMinutes(7.5f);
///
/// The maximum time between swarms
///
[DataField]
public TimeSpan MaxSwarmDelay = TimeSpan.FromMinutes(12.5f);
}