GatheringProjectileComponent.cs 396 B

1234567891011121314
  1. namespace Content.Server.Gatherable.Components;
  2. /// <summary>
  3. /// Destroys a gatherable entity when colliding with it.
  4. /// </summary>
  5. [RegisterComponent]
  6. public sealed partial class GatheringProjectileComponent : Component
  7. {
  8. /// <summary>
  9. /// How many more times we can gather.
  10. /// </summary>
  11. [ViewVariables(VVAccess.ReadWrite), DataField("amount")]
  12. public int Amount = 1;
  13. }