Optional scene-owned composition root for ItemVault runtime services. Wires the pickup-to-inventory path: collectors' picked_up signals are forwarded onto the scoped bus as item_picked events, which the bridge routes into the configured inventory target.
Source: addons/item_vault/item_vault_runtime.gd
Syntax
class ItemVaultRuntime extends NodeMembers
| Name | Kind | Summary |
|---|---|---|
bus | Property | Scoped event bus. Created automatically when omitted. |
database | Property | Scoped item lookup. Created automatically when omitted. |
bridge | Property | Optional bridge from pickup events to an ItemVault inventory target. |
inventory_target | Property | Inventory-like target for the bridge. Must provide add(stack) -> ItemStack. |
database_dirs | Property | Folders scanned by ItemDatabase when auto_reload_database is enabled. |
auto_reload_database | Property | Reload the database in _ready after applying database_dirs. |
bridge_enabled | Property | Enables or disables the bridge. |
auto_connect_collectors | Property | When true, descendant PickupsCollector2D/3D nodes are auto-connected on _ready so pickups reach the inventory target without manual connect_pickup calls. Off to preserve explicit-wiring scenes. |
initialize | Method | |
set_inventory_target | Method | |
connect_pickup | Method | |
disconnect_pickup | Method |