2022-11-06 18:05:44 -05:00
|
|
|
|
using Robust.Shared.Audio;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Xenoarchaeology.Equipment.Components;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This is used for tracking artifacts that are currently
|
|
|
|
|
|
/// being scanned by <see cref="ActiveArtifactAnalyzerComponent"/>
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class ActiveScannedArtifactComponent : Component
|
2022-11-06 18:05:44 -05:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The scanner that is scanning this artifact
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[ViewVariables]
|
|
|
|
|
|
public EntityUid Scanner;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The sound that plays when the scan fails
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public readonly SoundSpecifier ScanFailureSound = new SoundPathSpecifier("/Audio/Machines/custom_deny.ogg");
|
|
|
|
|
|
}
|