SS1984 - Modules - Types — Var Details - Proc Details

differentiate_storage_size

Component 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.

Vars

expanded_sizeThe weight class of the storage item when it contains at least one item.
folded_sizeThe weight class of the storage item when it is empty. Falls back to initial_size if not specified.
initial_sizeThe original weight class of the storage item before the component was attached.
storageReference to the parent object cast as a storage item.

Procs

check_insertion_possibility_before_updateChecks some item inserting possible blocking conditions.
on_examineExamine info.
return_component_existentFor checking this component's existence on some storage.
update_weightChecks the storage contents and updates its weight class to either folded_size or expanded_size.

Var Details

expanded_size

The weight class of the storage item when it contains at least one item.

folded_size

The weight class of the storage item when it is empty. Falls back to initial_size if not specified.

initial_size

The original weight class of the storage item before the component was attached.

storage

Reference to the parent object cast as a storage item.

Proc Details

check_insertion_possibility_before_update

Checks some item inserting possible blocking conditions.

on_examine

Examine info.

return_component_existent

For checking this component's existence on some storage.

update_weight

Checks the storage contents and updates its weight class to either folded_size or expanded_size.