fish-station/Content.Server/Plants/Components/RandomPottedPlantComponent.cs
wrexbe 332ff89609
Convert RandomPlant to entity system (#5952)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-01 22:27:54 -07:00

22 lines
631 B
C#

using Content.Server.Plants.Systems;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Plants.Components
{
[RegisterComponent]
[Friend(typeof(RandomPottedPlantSystem))]
[ComponentProtoName("RandomPottedPlant")]
public class RandomPottedPlantComponent : Component
{
[ViewVariables(VVAccess.ReadOnly)]
[DataField("selected")]
public string? State;
[ViewVariables(VVAccess.ReadOnly)]
[DataField("plastic")]
public bool Plastic;
}
}