Builds and executes the ONE atomic Item Vault mutation path for a craft. A craft consumes every required input and inserts every net output inside a single [InventoryTransaction] created through [method Inventory.create_transaction]. Item Vault's transaction executes all operations in order and, on any failure, rolls back every already executed operation to its exact pre-transaction state — no inputs remain partially consumed, no outputs remain partially inserted, and no items are duplicated. The transaction path is deliberately NOT a loose chain of unrelated remove/add calls: Item Vault's transaction API guarantees complete rollback, so the crafting layer can rely on it for atomicity.
Source: addons/item_vault/crafting/transactions/crafting_transaction.gd
Syntax
class CraftingTransaction extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
total_quantities | Method | |
net_outputs | Method | |
build_ops | Method | |
preflight_fits | Method | |
clone | Property | |
dry_run | Property | |
execute | Method | |
required | Property | |
produced | Property | |
before_fingerprint | Property | |
tx | Property | |
outcome | Property | |
result | Property | |
after_fingerprint | Property | |
result | Property | |
fingerprint | Method |