Skip to content
ct

Class

ItemDatabase

Generated GDScript class reference for ItemVault.ItemDatabase.

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

Owns registered ItemDefinition resources and resolves stable ids.

Source: addons/item_vault/items/item_database.gd

Syntax

class ItemDatabase extends RefCounted

Members

NameKindSummary
definition_dirsPropertyFolders (relative to res://) to scan for ItemDefinition .tres/.res files. Configure from ItemVaultRuntime or a game-owned composition root.
definition_json_filesPropertyJSON catalog files with shape: { "version": 1, "items": [...] }. Games with large catalogs can opt into data files without replacing .tres scans.
reloadMethod
get_defMethod
allMethod
registerMethod
load_json_fileMethod
resource_pathProperty
resourceProperty