Files
OldThink/Content.Server/Gatherable/Components/GatheringProjectileComponent.cs

15 lines
388 B
C#
Raw Normal View History

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