Skip to content
ct

Class

CraftingSave

Generated GDScript class reference for ItemVault.CraftingSave.

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

Persistence for Crafting-domain state ONLY. Crafting owns: recipe registry identity for runtime-authored recipes; the craft operation counter (operation identity). Item Vault continues to own everything about items: item instances, stacks, inventories, containers, transaction state, custody. Crafting save data NEVER contains a second copy of inventory contents — saves are composed by the game (Item Vault save + Crafting save side by side), not merged here. Deterministic: recipes serialize sorted by id; the payload is schema-versioned and loaders fail closed on unsupported versions.

Source: addons/item_vault/crafting/persistence/crafting_save.gd

Syntax

class CraftingSave extends RefCounted

Members

NameKindSummary
SCHEMA_VERSIONFieldSchema version of the save shape. Bump on breaking changes.
to_dictMethod
from_dictMethod