Chris' Tutorials
Docs/Item Vault

Class

ItemStack

Generated GDScript class reference for ItemVault.ItemStack.

StatusDraft
Versionv1.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

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 RefCounted

Members

NameKindSummary
itemPropertyA 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.
quantityPropertyCurrent quantity in this stack.
instance_idProperty--- Optional instance overrides (0 / empty = use definition default) --- Unique identity for this particular stack instance (e.g. for save/load tracing).
max_overridePropertyOverride for max_stack on this specific stack. 0 = use item.max_stack.
weight_overridePropertyOverride for weight on this specific stack. 0 = use item.weight.
effective_maxMethod
effective_weightMethod
is_fullMethod
spaceMethod
to_dictMethod
dProperty
from_dictMethod
id_valProperty
defProperty
stackProperty
iidProperty
mxProperty
wtProperty

Source

addons/item_vault/items/item_stack.gd

Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides