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 RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
item_id | Property | Item Vault item identity affected. |
quantity | Property | Exact quantity consumed or produced. |
container_id | Property | Container identity when the module can attribute it; empty otherwise. Item Vault remains the authority on container placement. |
to_dict | Method |