SS1984 - Modules - Types

code/datums/components/storage_size_differentiate.dm

/datum/component/differentiate_storage_sizeComponent that dynamically toggles a storage item's weight class (w_class) based on whether it is completely empty or contains any items. Note: This component operates in a strict binary mode, not progressively. It instantly resizes the storage to its maximum expanded size as soon as a single item is placed inside, rather than scaling up incrementally based on the volume or number of stored items.