has_crafts_remaining
Passes when the player can still craft the given custom recipe under its craft limits.
Categories: crafting
Required arguments
| Key(s) | Description | Type |
|---|---|---|
recipe | The ID of the custom recipe to check. | STRING |
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
amount | The minimum number of crafts that must remain. | INT | 1 |
Example
conditions:
- id: has_crafts_remaining
args:
recipe: epic_sword
amount: 1 # ← Optional