6
StarHorizon_Public/Content.Server/Gatherable/Components/GatheringProjectileComponent.cs
2026-01-13 18:31:02 +02:00

15 lines
396 B
C#

namespace Content.Server.Gatherable.Components;
/// <summary>
/// Destroys a gatherable entity when colliding with it.
/// </summary>
[RegisterComponent]
public sealed partial class GatheringProjectileComponent : Component
{
/// <summary>
/// How many more times we can gather.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("amount")]
public int Amount = 1;
}