mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* Fix foolbox storage insertion heisentest * Revert "Fix foolbox storage insertion heisentest" This reverts commit 2cf98c50a65ae683019b352163ee2e874fa04e6c. * sorter + YAML changes * requested changes * yuuuuup
20 lines
642 B
C#
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;
|
|
}
|