Skip to content
ct

Class

CraftingInventoryOutcome

Generated GDScript class reference for ItemVault.CraftingInventoryOutcome.

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

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 RefCounted

Members

NameKindSummary
SCHEMA_VERSIONFieldSchema version of this outcome shape.
schema_versionProperty
codePropertyTyped Item Vault outcome code ([InventoryResultCode.Code]).
messagePropertyHuman-readable detail from the mutation layer (transaction message).
operation_typePropertyOperation type ([InventoryCommand.Type]) when known; -1 for the atomic transaction path or unknown operations.
affected_quantityPropertyQuantity actually affected by the mutation (0 on outright rejection).
rollback_requiredPropertyTrue when the mutation layer had to roll back previously applied steps.
is_successMethod
okMethod