Source: addons/item_vault/drops/inventory_drops.gd
Syntax
class InventoryDrop extends NodeMembers
| Name | Kind | Summary |
|---|---|---|
item_dropped | Signal | Drops items from an inventory into the game world. Reads world scenes directly from ItemDefinition; no reflection bridge. |
drop_all | Property | When true, drop places every item in the inventory into the world. |
drop_count | Property | How many items to drop when drop_all is false. |
inventory | Property | Inventory node (must implement method_get_contents / method_remove). |
scene_spawner | Property | SceneSpawner2D/SceneSpawner3D (or compatible) that places scenes in the world. |
access | Property | Methods to call on the inventory for access/removal. |
rng | Property | |
drop | Method | |
select_random_items | Method | |
remove_items_from_inventory | Method | |
remove_item_from_inventory | Method | |
restore_item_to_inventory | Method |