using Content.Shared.DoAfter; using Robust.Shared.Audio; namespace Content.Server.Botany.Components; /// /// After scanning, retrieves the target Uid to use with its related UI. /// [RegisterComponent] public sealed partial class PlantAnalyzerComponent : Component { [DataDefinition] public partial struct PlantAnalyzerSetting { [DataField] public bool AdvancedScan; [DataField] public float ScanDelay; [DataField] public float AdvScanDelay; } [DataField, ViewVariables] public PlantAnalyzerSetting Settings = new(); [DataField, ViewVariables(VVAccess.ReadOnly)] public DoAfterId? DoAfter; [DataField] public SoundSpecifier? ScanningEndSound; }