15 lines
396 B
C#
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;
|
|
}
|