Deterministic request data for a craft. Plain data plus the real Item Vault services it operates on: the recipe describes requirements by item identity, the inventory is a real [Inventory], and the database resolves those identities into real [ItemDefinition]s. No fake storage abstraction crosses this boundary.
Source: addons/item_vault/crafting/services/crafting_request.gd
Syntax
class CraftingRequest extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
recipe | Property | Recipe to validate or execute. |
inventory | Property | Real Item Vault inventory the craft consumes from and produces into. |
database | Property | Real Item Vault item database resolving recipe identities. |
quantity | Property | Requested craft quantity (crafts of the recipe). Must be > 0. |
request_id | Property | Optional request identity. The service rejects duplicate requests that carry the same identity (see CraftingResult.REASON_DUPLICATE_REQUEST). |
metadata | Property | Optional game-defined metadata. The module does not interpret this. |