Adds a sound effect to health analyzers (#13425)
This commit is contained in:
@@ -3,6 +3,7 @@ using Content.Server.UserInterface;
|
||||
using Content.Shared.Disease;
|
||||
using Content.Shared.MedicalScanner;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Medical.Components
|
||||
@@ -25,6 +26,18 @@ namespace Content.Server.Medical.Components
|
||||
public CancellationTokenSource? CancelToken;
|
||||
public BoundUserInterface? UserInterface => Owner.GetUIOrNull(HealthAnalyzerUiKey.Key);
|
||||
|
||||
/// <summary>
|
||||
/// Sound played on scanning begin
|
||||
/// </summary>
|
||||
[DataField("scanningBeginSound")]
|
||||
public SoundSpecifier? ScanningBeginSound = null;
|
||||
|
||||
/// <summary>
|
||||
/// Sound played on scanning end
|
||||
/// </summary>
|
||||
[DataField("scanningEndSound")]
|
||||
public SoundSpecifier? ScanningEndSound = null;
|
||||
|
||||
/// <summary>
|
||||
/// The disease this will give people.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user