2022-03-20 05:27:26 +11:00
|
|
|
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]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class NukeDiskComponent : Component
|
2022-12-19 21:38:34 -05:00
|
|
|
{
|
2025-05-22 04:06:58 +10:00
|
|
|
/// <summary>
|
|
|
|
|
/// Used to modify the nuke's countdown timer.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
public TimeSpan? TimeModifier;
|
2022-12-19 21:38:34 -05:00
|
|
|
|
2025-05-22 04:06:58 +10:00
|
|
|
[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
|
2022-12-19 21:38:34 -05:00
|
|
|
}
|