6
StarHorizon_Public/Content.Shared/Nuke/NukeDiskComponent.cs
2025-11-12 10:55:00 +03:00

24 lines
670 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Nuke;
/// <summary>
/// Used for tracking the nuke disk - isn't a tag for pinpointer purposes.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class NukeDiskComponent : Component
{
/// <summary>
/// Used to modify the nuke's countdown timer.
/// </summary>
[DataField]
public TimeSpan? TimeModifier;
[DataField]
public TimeSpan MicrowaveMean = TimeSpan.Zero;
[DataField]
public TimeSpan MicrowaveStd = TimeSpan.FromSeconds(27.35);
// STD of 27.36s means theres an 90% chance the time is between +-45s, and a ~99% chance its between +-70s
}