ActiveScannedArtifactComponent.cs 683 B

12345678910111213141516171819202122
  1. using Robust.Shared.Audio;
  2. namespace Content.Server.Xenoarchaeology.Equipment.Components;
  3. /// <summary>
  4. /// This is used for tracking artifacts that are currently
  5. /// being scanned by <see cref="ActiveArtifactAnalyzerComponent"/>
  6. /// </summary>
  7. [RegisterComponent]
  8. public sealed partial class ActiveScannedArtifactComponent : Component
  9. {
  10. /// <summary>
  11. /// The scanner that is scanning this artifact
  12. /// </summary>
  13. [ViewVariables]
  14. public EntityUid Scanner;
  15. /// <summary>
  16. /// The sound that plays when the scan fails
  17. /// </summary>
  18. public readonly SoundSpecifier ScanFailureSound = new SoundPathSpecifier("/Audio/Machines/custom_deny.ogg");
  19. }