StrawCollectorComponent.cs 524 B

12345678910111213141516171819202122232425
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Gathering;
  3. [RegisterComponent]
  4. public sealed partial class StrawCollectorComponent : Component
  5. {
  6. /// <summary>
  7. /// Time in seconds to collect straw
  8. /// </summary>
  9. [DataField]
  10. public float CollectTime = 5.0f;
  11. /// <summary>
  12. /// Minimum amount harversted
  13. /// </summary>
  14. [DataField]
  15. public int MinAmount = 0;
  16. /// <summary>
  17. /// Maximum amount harversted
  18. /// </summary>
  19. [DataField]
  20. public int MaxAmount = 3;
  21. }