craft
Makes poisons, potions, traps and runes as the game’s crafting screen does, so the game’s own rules apply. kind picks the craft: poison, herbalism, traps or runes (Awakening’s). The maker is id, a party member (default: the creature you control); no screen is opened and control stays where it is.
- Without
recipe, lists the party’s known recipes of the craft, as the screen shows them to the maker, and makes nothing. Each has itsid,name,product, whether itcanMakenow, theskillrank it needs and whether the maker has it (skillHeld), and itsingredientswith how many it needs and how many the pack has. - With
recipe(an id or a name from that list), makes itcounttimes, one at a time, like the screen’s Create button, for as long as the game allows.
The answer includes made, the recipe’s ingredients afterwards, done, and reason: what ran short or which skill rank was missing, if it stopped. Recipes are bought from merchants.
Arguments
| Name | Type | Required | What |
|---|---|---|---|
kind | "poison" | "herbalism" | "traps" | "runes" | yes | The craft whose recipes to use. |
id | string | The maker, a party member’s creature id. Default: the creature you control. | |
recipe | any | The recipe to make: its id (a number) or name, as the list shows. Omit it to list the recipes. | |
count | integer (≥ 1, ≤ 99) | How many to make. Default 1. |
Call it as craft over MCP, or POST /api/tool/craft with the arguments as JSON.