Source: addons/item_vault/items/item_database.gd
Syntax
class ItemDatabase extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
definition_dirs | Property | Owns registered ItemDefinition resources and resolves stable ids. Folders (relative to res://) to scan for ItemDefinition .tres/.res files. Configure from ItemVaultRuntime or a game-owned composition root. |
definition_json_files | Property | JSON catalog files with shape: { "version": 1, "items": [...] }. Games with large catalogs can opt into data files without replacing .tres scans. |
reload | Method | |
get_def | Method | |
all | Method | |
result | Property | |
register | Method | |
load_json_file | Method | |
parsed | Property | |
items | Property | |
registered | Property | |
row | Property | |
def | Property | |
raw_id | Property | |
def | Property | |
tags | Property | |
tag_name | Property | |
resource_path | Property | |
resource | Property | |
dir | Property | |
file_name | Property | |
full_path | Property | |
res | Property |