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/items/item_stack.gd
Syntax
class ItemStack extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
item | Property | A mutable stack of a single item type. Holds a reference to its `ItemDefinition` plus a quantity, with optional per-instance overrides. The item type this stack represents. |
quantity | Property | Current quantity in this stack. |
instance_id | Property | --- Optional instance overrides (0 / empty = use definition default) --- Unique identity for this particular stack instance (e.g. for save/load tracing). |
max_override | Property | Override for max_stack on this specific stack. 0 = use item.max_stack. |
weight_override | Property | Override for weight on this specific stack. 0 = use item.weight. |
effective_max | Method | |
effective_weight | Method | |
is_full | Method | |
space | Method | |
to_dict | Method | |
d | Property | |
from_dict | Method | |
id_val | Property | |
def | Property | |
stack | Property | |
iid | Property | |
mx | Property | |
wt | Property |
Source
addons/item_vault/items/item_stack.gd
Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides