Skip to content
ct

Class

ItemVaultBus

Generated GDScript class reference for ItemVault.ItemVaultBus.

Status
Current
Version
v1.0
Updated
2026-07-31

Scoped signal bus for ItemVault events.

Source: addons/item_vault/item_vault_bus.gd

Syntax

class ItemVaultBus extends RefCounted

Members

NameKindSummary
item_droppedSignalEmitted when a scene is dropped into the game world.
item_pickedSignalEmitted when a pickup is collected.
pickup_rejectedSignalEmitted when a pickup cannot be accepted by the configured vault target.
item_addedSignalEmitted when an item is added to a container.
currency_addedSignalEmitted when currency is credited to a wallet. Prefer this over `item_added(..., &"wallet")` for currency-specific subscribers — the `&"wallet"` container-id on item_added is a deprecated sentinel kept for backwards compatibility (issue #149).
item_removedSignalEmitted when an item is removed from a container.
container_addedSignalEmitted when a container is added to an inventory.
container_removedSignalEmitted when a container is removed from an inventory.
item_movedSignalEmitted when an item is moved between containers.
item_resource_changedSignalEmitted when a numeric resource changes on a retained item instance.
inventory_operation_recordSignalImmutable, versioned record of an inventory operation, captured at emission time. Contains stable operation ID, typed outcome, and caller-supplied correlation context. The record is frozen after construction and does not depend on later mutation of inventory state.