Skip to content

Class

InventoryDrop

Generated GDScript class reference for ItemVault.InventoryDrop.

Status
Current
Version
v1.1
Source updated
2026-09-12
Generated on
2026-10-12

Source: addons/item_vault/drops/inventory_drops.gd

Syntax

class InventoryDrop extends Node

Members

NameKindSummary
item_droppedSignalDrops items from an inventory into the game world. Reads world scenes directly from ItemDefinition; no reflection bridge.
drop_allPropertyWhen true, drop places every item in the inventory into the world.
drop_countPropertyHow many items to drop when drop_all is false.
inventoryPropertyInventory node (must implement method_get_contents / method_remove).
scene_spawnerPropertySceneSpawner2D/SceneSpawner3D (or compatible) that places scenes in the world.
accessPropertyMethods to call on the inventory for access/removal.
rngProperty
dropMethod
select_random_itemsMethod
remove_items_from_inventoryMethod
remove_item_from_inventoryMethod
restore_item_to_inventoryMethod