Skip to content
ct

Class

CraftingFact

Generated GDScript class reference for ItemVault.CraftingFact.

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

One exact consumed-input or produced-output fact from a craft. Facts are immutable-by-convention value objects reported on a [CraftingResult] so callers can render, log, or persist exactly what a craft consumed and produced without re-querying inventory.

Source: addons/item_vault/crafting/results/crafting_fact.gd

Syntax

class CraftingFact extends RefCounted

Members

NameKindSummary
item_idPropertyItem Vault item identity affected.
quantityPropertyExact quantity consumed or produced.
container_idPropertyContainer identity when the module can attribute it; empty otherwise. Item Vault remains the authority on container placement.
to_dictMethod