using Content.Server.Botany.Systems; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Botany.Components { [RegisterComponent, Friend(typeof(BotanySystem))] public sealed class SeedComponent : Component { /// /// Seed data containing information about the plant type & properties that this seed can grow seed. If /// null, will instead attempt to get data from a seed prototype, if one is defined. See . /// [DataField("seed")] public SeedData? Seed; /// /// Name of a base seed prototype that is used if is null. /// [DataField("seedId", customTypeSerializer:typeof(PrototypeIdSerializer))] public readonly string? SeedId; } }