Files
tbd-station-14/Content.Server/Botany/Components/BotanySwabComponent.cs
2022-10-15 23:25:41 -07:00

26 lines
639 B
C#

using System.Threading;
namespace Content.Server.Botany
{
/// <summary>
/// Anything that can be used to cross-pollinate plants.
/// </summary>
[RegisterComponent]
public sealed class BotanySwabComponent : Component
{
[DataField("swabDelay")]
[ViewVariables]
public float SwabDelay = 2f;
/// <summary>
/// Token for interrupting swabbing do after.
/// </summary>
public CancellationTokenSource? CancelToken;
/// <summary>
/// SeedData from the first plant that got swabbed.
/// </summary>
public SeedData? SeedData;
}
}