Files
OldThink/Content.Server/Botany/Components/SeedComponent.cs
CaypenNow 9581c466b9 Tweaks (#247)
* fix: stimulator now have rainbow effect

* tweak: botany return

* tweak: up delay

* tweak: change delay
2024-03-27 07:35:15 +03:00

25 lines
966 B
C#

using Content.Server.Botany.Systems;
using Content.Shared.Botany.Components;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Botany.Components
{
[RegisterComponent, Access(typeof(BotanySystem))]
public sealed partial class SeedComponent : SharedSeedComponent
{
/// <summary>
/// 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 <see
/// cref="SeedId"/>.
/// </summary>
[DataField("seed")]
public SeedData? Seed;
/// <summary>
/// Name of a base seed prototype that is used if <see cref="Seed"/> is null.
/// </summary>
[DataField("seedId", customTypeSerializer:typeof(PrototypeIdSerializer<SeedPrototype>))]
public string? SeedId;
}
}