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 | |
payload | Property | |
spawned | Property | |
select_random_items | Method | |
remaining | Property | |
selected | Property | |
idx | Property | |
remove_items_from_inventory | Method | |
removed | Property |