using Content.Shared.MachineLinking; using Robust.Shared.Audio; 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 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 readonly string LinkingPort = "ArtifactAnalyzerSender"; /// /// The sound played when an artifact is destroyed. /// [DataField("destroySound")] public SoundSpecifier DestroySound = new SoundPathSpecifier("/Audio/Effects/radpulse11.ogg"); }