Files
OldThink/Content.Server/Botany/Components/SeedAnalyzerComponent.cs

33 lines
921 B
C#
Raw Permalink Normal View History

using Content.Server.UserInterface;
using Content.Shared.Botany;
using Robust.Server.GameObjects;
using Robust.Shared.Audio;
namespace Content.Server.Botany.Components
{
/// <summary>
/// After scanning, retrieves the target Uid to use with its related UI.
/// </summary>
[RegisterComponent]
public sealed partial class SeedAnalyzerComponent : Component
{
/// <summary>
/// How long it takes to scan a seed.
/// </summary>
[DataField("scanDelay")]
public float ScanDelay = 0.8f;
/// <summary>
/// Sound played on scanning begin
/// </summary>
[DataField("scanningBeginSound")]
public SoundSpecifier? ScanningBeginSound;
/// <summary>
/// Sound played on scanning end
/// </summary>
[DataField("scanningEndSound")]
public SoundSpecifier? ScanningEndSound;
}
}