CONTENT CONTRACT · VERSION 1
equip
Equip an item from the target's own inventory in the slot its equip record names, replacing the slot's content.
Signature
{ item: ItemId, kind: "equip", target: ActorRef }Fields
| Name | Type | Meaning |
|---|---|---|
item | ItemId | Item with an equip record in the target's inventory. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item |
kind | "equip" | Discriminant |
target | ActorRef | Actor the effect applies to. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"item": "core:hill_golem_chest_raging",
"kind": "equip",
"target": "b1"
}