using Robust.Shared.Audio;
using Robust.Shared.GameStates;
namespace Content.Shared.Xenoarchaeology.Equipment.Components;
///
/// A machine that is combined and linked to the
/// in order to analyze artifacts and extract points.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
public sealed partial class ArtifactAnalyzerComponent : Component
{
///
/// How long it takes to analyze an artifact
///
[DataField]
public TimeSpan AnalysisDuration = TimeSpan.FromSeconds(30);
///
/// The current artifact placed on this analyzer.
/// Can be null if none are present.
///
[DataField, AutoNetworkedField]
public EntityUid? CurrentArtifact;
///
/// The corresponding console entity.
/// Can be null if not linked.
///
[ViewVariables, AutoNetworkedField]
public EntityUid? Console;
///
/// Marker, if artifact graph data is ready for printing.
///
[ViewVariables(VVAccess.ReadWrite)]
public bool ReadyToPrint = false;
}