CatStation/Content.Shared/Containers/EntityTableContainerFillComponent.cs
ArtisticRoomba 4c5fb476a6
Fix foolbox storage insertion heisentest (#44134)
* Fix foolbox storage insertion heisentest

* Revert "Fix foolbox storage insertion heisentest"

This reverts commit 2cf98c50a65ae683019b352163ee2e874fa04e6c.

* sorter + YAML changes

* requested changes

* yuuuuup
2026-06-21 20:51:24 +00:00

20 lines
642 B
C#

using Content.Shared.EntityTable.EntitySelectors;
namespace Content.Shared.Containers;
/// <summary>
/// Version of <see cref="ContainerFillComponent"/> that utilizes <see cref="EntityTableSelector"/>
/// </summary>
[RegisterComponent, Access(typeof(ContainerFillSystem))]
public sealed partial class EntityTableContainerFillComponent : Component
{
[DataField]
public Dictionary<string, EntityTableSelector> Containers = new();
/// <summary>
/// Whether to sort the contents of the table by size before inserting.
/// Helps with fitting items into containers.
/// </summary>
[DataField]
public bool Sort;
}