TraversalDistorterComponent.cs 580 B

123456789101112131415161718192021
  1. namespace Content.Server.Xenoarchaeology.Equipment.Components;
  2. /// <summary>
  3. /// This is used for a machine that biases
  4. /// an artifact placed on it to move up/down
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class TraversalDistorterComponent : Component
  8. {
  9. [ViewVariables(VVAccess.ReadWrite)]
  10. public BiasDirection BiasDirection = BiasDirection.Up;
  11. public TimeSpan NextActivation = default!;
  12. public TimeSpan ActivationDelay = TimeSpan.FromSeconds(1);
  13. }
  14. public enum BiasDirection : byte
  15. {
  16. Up, //Towards depth 0
  17. Down, //Away from depth 0
  18. }