Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.
Source: addons/item_vault/inventory/item_container.gd
Syntax
class ItemContainer extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
type | Property | Serializable container for free-list or slot-based item storage. The item side follows the configured [ContainerType]'s slot vs free mode. |
configure | Method | |
clear | Method | |
is_slot_based | Method | |
add | Method | |
remove | Method | |
count | Method | |
total | Property | |
has | Method | |
has_space | Method | |
stack | Property | |
can_accept | Method | |
merge_space | Property | |
w_after | Property | |
unit_weight | Property | |
room | Property | |
weight | Method | |
total | Property | |
stack_at | Method | |
slot_at | Method | |
stacks | Method | |
slots | Method | |
all_items | Method | |
result | Property | |
to_dict | Method | |
d | Property | |
from_dict | Method | |
container | Property | |
mode | Property | |
slots | Property | |
slot_data | Property | |
slot | Property | |
stacks | Property | |
stack | Property | |
remaining | Property | |
accepted | Property | |
w_after | Property | |
accepted | Property | |
w_after | Property | |
stack | Property | |
unit_weight | Property | |
room | Property | |
remaining | Property | |
original_quantity | Property | |
stack | Property | |
accepted | Property | |
result | Property | |
removed | Property | |
remaining | Property | |
taken | Property | |
removed | Property | |
remaining | Property | |
stack | Property | |
quantity | Property | |
cleaned | Property | |
desired | Property | |
index | Property |
Source
addons/item_vault/inventory/item_container.gd
Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides