using Content.Shared.Anomaly; using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared.Anomaly.Components; /// /// This is used for scanning anomalies and /// displaying information about them in the ui /// [RegisterComponent, Access(typeof(SharedAnomalyScannerSystem))] [NetworkedComponent] public sealed partial class AnomalyScannerComponent : Component { /// /// The anomaly that was last scanned by this scanner. /// [ViewVariables] public EntityUid? ScannedAnomaly; /// /// How long the scan takes /// [DataField] public float ScanDoAfterDuration = 5; /// /// The sound plays when the scan finished /// [DataField] public SoundSpecifier? CompleteSound = new SoundPathSpecifier("/Audio/Items/beep.ogg"); }