using Content.Client.Chemistry.Visualizers; namespace Content.Client.Storage.Components; /// /// Essentially a version of fill level handling but for item storage. /// Depending on the fraction of storage that's filled, will change the sprite at to the nearest /// fill level, up to . /// [RegisterComponent] public sealed partial class StorageContainerVisualsComponent : Component { [DataField("maxFillLevels")] public int MaxFillLevels = 0; /// /// A prefix to use for the fill states., i.e. {FillBaseName}{fill level} for the state /// [DataField("fillBaseName")] public string? FillBaseName; [DataField("layer")] public StorageContainerVisualLayers FillLayer = StorageContainerVisualLayers.Fill; } public enum StorageContainerVisualLayers : byte { Fill }