ThievingComponent.cs 660 B

12345678910111213141516171819202122
  1. namespace Content.Shared.Strip.Components;
  2. /// <summary>
  3. /// Give this to an entity when you want to decrease stripping times
  4. /// </summary>
  5. [RegisterComponent]
  6. public sealed partial class ThievingComponent : Component
  7. {
  8. /// <summary>
  9. /// How much the strip time should be shortened by
  10. /// </summary>
  11. [ViewVariables(VVAccess.ReadWrite)]
  12. [DataField("stripTimeReduction")]
  13. public TimeSpan StripTimeReduction = TimeSpan.FromSeconds(0.5f);
  14. /// <summary>
  15. /// Should it notify the user if they're stripping a pocket?
  16. /// </summary>
  17. [ViewVariables(VVAccess.ReadWrite)]
  18. [DataField("stealthy")]
  19. public bool Stealthy;
  20. }