storage
Vars | |
allow_quick_empty | If set, this item can use the empty verb to dump its contents. |
---|---|
allow_quick_gather | If set, this item can attempt to collect all items on a turf with a click. |
allow_slow_dump | Allows dumping the contents of storage after a duration. |
contents_allowed | |
contents_banned | |
max_storage_space | The space available in this item. If unset, calculate from storage_slots. |
max_w_class | The largest item size that can be stored. Ignored if contents_allowed is set. |
open_sound | If set, a sound to play when opening the storage item. |
opened | True when this storage item has been opened. Used by storage/fancy. |
quick_gather_single | When quick gathering, falsy collects all valid items, truthy collects only one. |
startswith | |
storage_slots | If set, the number of storage slots available. |
use_sound | If set, a sound to play when accessing the storage item's UI. |
virtual | If truthy, disallows use of the storage UI. |
Var Details
allow_quick_empty
If set, this item can use the empty verb to dump its contents.
allow_quick_gather
If set, this item can attempt to collect all items on a turf with a click.
allow_slow_dump
Allows dumping the contents of storage after a duration.
contents_allowed
- If set, a list of paths this item can hold, disallowing all others. May be associative, in which case the value is a limit per path.
contents_banned
- If set, a list of paths this item cannot hold, allowing all others. Ignored when contents_allowed is set.
max_storage_space
The space available in this item. If unset, calculate from storage_slots.
max_w_class
The largest item size that can be stored. Ignored if contents_allowed is set.
open_sound
If set, a sound to play when opening the storage item.
opened
True when this storage item has been opened. Used by storage/fancy.
quick_gather_single
When quick gathering, falsy collects all valid items, truthy collects only one.
startswith
- An optional map of (path = config) to create on initialize. Config may be a count to create or a sublist of (count, ...args), where args is passed to each new instance
storage_slots
If set, the number of storage slots available.
use_sound
If set, a sound to play when accessing the storage item's UI.
virtual
If truthy, disallows use of the storage UI.