2023-04-25 20:23:14 -04:00
|
|
|
|
namespace Content.Server.StationEvents.Components;
|
|
|
|
|
|
|
|
|
|
|
|
[RegisterComponent, Access(typeof(BasicStationEventSchedulerSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class BasicStationEventSchedulerComponent : Component
|
2023-04-25 20:23:14 -04:00
|
|
|
|
{
|
|
|
|
|
|
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;
|
|
|
|
|
|
}
|