Add microwave-nukedisk interaction (#36114)

* Add microwave-nukedisk interaction

* popup

* Fix UninitializedSaveTest
This commit is contained in:
Leon Friedrich
2025-05-22 04:06:58 +10:00
committed by GitHub
parent 3385c45d80
commit 38d7949777
5 changed files with 46 additions and 13 deletions

View File

@@ -8,5 +8,16 @@ namespace Content.Shared.Nuke;
[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
}