using Content.Shared.DeviceLinking; using Robust.Shared.Audio; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Xenoarchaeology.Equipment.Components; /// /// The console that is used for artifact analysis /// [RegisterComponent] public sealed partial class AnalysisConsoleComponent : Component { /// /// The analyzer entity the console is linked. /// Can be null if not linked. /// [ViewVariables(VVAccess.ReadWrite)] public EntityUid? AnalyzerEntity; /// /// The machine linking port for the analyzer /// [DataField("linkingPort", customTypeSerializer: typeof(PrototypeIdSerializer))] public string LinkingPort = "ArtifactAnalyzerSender"; /// /// The sound played when an artifact has points extracted. /// [DataField("extractSound")] public SoundSpecifier ExtractSound = new SoundPathSpecifier("/Audio/Effects/radpulse11.ogg"); /// /// The entity spawned by a report. /// [DataField("reportEntityId", customTypeSerializer: typeof(PrototypeIdSerializer))] public string ReportEntityId = "Paper"; }