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 RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
SCHEMA_VERSION | Field | Schema version of the save shape. Bump on breaking changes. |
to_dict | Method | |
from_dict | Method |