Chris' Tutorials
Docs/Item Vault

Class

InventoryDrop

Generated GDScript class reference for ItemVault.InventoryDrop.

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/drops/inventory_drops.gd

Syntax

class InventoryDrop extends Node

Members

NameKindSummary
item_droppedEventDrops items from an inventory into the game world. Reads world scenes directly from ItemDefinition — no reflection bridge needed.
drop_allPropertyWhen true, calling drop will place all items in the inventory into the world.
drop_countPropertyHow many items to drop when drop_all is false.
inventoryPropertyThe inventory node (must implement method_get_contents / method_remove).
scene_spawnerPropertySceneSpawner2D/SceneSpawner3D (or compatible) to place scenes into the game world.
accessPropertySettings defining what methods to call on the inventory for access/removal.
rngProperty
dropMethod
resultsProperty
itemsProperty
instancesProperty
spawned_itemsProperty
sceneProperty
spawnedProperty
stackProperty
select_random_itemsMethod
remainingProperty
selectedProperty
idxProperty
remove_items_from_inventoryMethod
removedProperty

Source

addons/item_vault/drops/inventory_drops.gd

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