Files
tbd-station-14/Content.Shared/Nuke/NukeDiskComponent.cs
Leon Friedrich 38d7949777 Add microwave-nukedisk interaction (#36114)
* Add microwave-nukedisk interaction

* popup

* Fix UninitializedSaveTest
2025-05-21 11:06:58 -07: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
}