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 NodeMembers
| Name | Kind | Summary |
|---|---|---|
item_dropped | Event | Drops items from an inventory into the game world. Reads world scenes directly from ItemDefinition — no reflection bridge needed. |
drop_all | Property | When true, calling drop will place all items in the inventory into the world. |
drop_count | Property | How many items to drop when drop_all is false. |
inventory | Property | The inventory node (must implement method_get_contents / method_remove). |
scene_spawner | Property | SceneSpawner2D/SceneSpawner3D (or compatible) to place scenes into the game world. |
access | Property | Settings defining what methods to call on the inventory for access/removal. |
rng | Property | |
drop | Method | |
results | Property | |
items | Property | |
instances | Property | |
spawned_items | Property | |
scene | Property | |
spawned | Property | |
stack | Property | |
select_random_items | Method | |
remaining | Property | |
selected | Property | |
idx | Property | |
remove_items_from_inventory | Method | |
removed | Property |
Source
addons/item_vault/drops/inventory_drops.gd
Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides