15 lines
525 B
C#
15 lines
525 B
C#
namespace Content.Server.StationEvents.Components;
|
|
|
|
[RegisterComponent, Access(typeof(BasicStationEventSchedulerSystem))]
|
|
public sealed partial class BasicStationEventSchedulerComponent : Component
|
|
{
|
|
public const float MinimumTimeUntilFirstEvent = 300;
|
|
|
|
/// <summary>
|
|
/// How long until the next check for an event runs
|
|
/// </summary>
|
|
/// Default value is how long until first event is allowed
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float TimeUntilNextEvent = MinimumTimeUntilFirstEvent;
|
|
}
|