stage_equip
Creates an item from a template in a creature’s inventory and equips it, in the item’s own slot or in slot. The answer includes the item (item gives it in full) and whether it was equipped; an item the creature cannot use there stays in the backpack. To move items the party already has, use equip.
Arguments
| Name | Type | Required | What |
|---|---|---|---|
id | string | yes | The creature, by id (from creatures). |
template | string | yes | The item’s template; resources with type uti finds them. |
slot | string | The slot: main, offhand, ammo, chest, head, boots, gloves, cloak, ring1, ring2, neck or belt. Default: the item’s own. | |
equip | boolean | Whether to equip it; false leaves it in the backpack. Default true. |
Call it as stage_equip over MCP, or POST /api/tool/stage_equip with the arguments as JSON.