using Content.Shared.Botany.Items.Systems; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.Botany.Items.Components; /// /// Component for items that can function as a plant cross-pollination tool. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] [Access(typeof(BotanySwabSystem))] public sealed partial class BotanySwabComponent : Component { /// /// Delay between swab uses. /// [DataField] public TimeSpan SwabDelay = TimeSpan.FromSeconds(2); /// /// Name of a base plant prototype for the stored pollen snapshot. /// [DataField("plantId"), AutoNetworkedField] public EntProtoId? PlantProtoId; /// /// Hidden entity with cloned plant components from the last swabbed plant. /// [DataField, AutoNetworkedField] public EntityUid? PlantData; }