Skip to content
ct

Class

ItemStack

Generated GDScript class reference for ItemVault.ItemStack.

Status
Draft
Version
v1.0
Updated
Development docs generated from GDScript source

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

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
copy_with_quantityMethod
stackProperty
to_dictMethod
dProperty
from_dictMethod
id_valProperty
defProperty
stackProperty
iidProperty
mxProperty
wtProperty