Nested typed outcome from the Item Vault mutation layer. Crafting never flattens Item Vault's authoritative typed reasons into a generic string: when a mutation is rejected, the underlying typed [InventoryResultCode.Code] (and, when available, the operation type) is preserved here on the [CraftingResult].
Source: addons/item_vault/crafting/results/crafting_inventory_outcome.gd
Syntax
class CraftingInventoryOutcome extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
SCHEMA_VERSION | Field | Schema version of this outcome shape. |
schema_version | Property | |
code | Property | Typed Item Vault outcome code ([InventoryResultCode.Code]). |
message | Property | Human-readable detail from the mutation layer (transaction message). |
operation_type | Property | Operation type ([InventoryCommand.Type]) when known; -1 for the atomic transaction path or unknown operations. |
affected_quantity | Property | Quantity actually affected by the mutation (0 on outright rejection). |
rollback_required | Property | True when the mutation layer had to roll back previously applied steps. |
is_success | Method | |
ok | Method |