using Content.Server.Storage.EntitySystems;
using Content.Shared.Containers.ItemSlots;
using Content.Shared.Item;
using Content.Shared.Toilet;
using Robust.Shared.Containers;
using Robust.Shared.Prototypes;
namespace Content.Server.Storage.Components
{
///
/// Logic for a secret slot stash, like plant pot or toilet cistern.
/// Unlike it doesn't have interaction logic or verbs.
/// Other classes like should implement it.
///
[RegisterComponent]
[Access(typeof(SecretStashSystem))]
public sealed partial class SecretStashComponent : Component
{
///
/// Max item size that can be fitted into secret stash.
///
[DataField("maxItemSize")]
public ProtoId MaxItemSize = "Small";
///
/// IC secret stash name. For example "the toilet cistern".
/// If empty string, will replace it with entity name in init.
///
[DataField("secretPartName", readOnly: true)]
public string SecretPartName { get; set; } = "";
///
/// Container used to keep secret stash item.
///
[ViewVariables]
public ContainerSlot ItemContainer = default!;
}
}