CONTENT CONTRACT · VERSION 1
open_inventory
Open an NPC's inventory for the player who leads the conversation with it; it closes when the conversation ends or the player walks away.
Signature
{ kind: "open_inventory", target: ActorRef }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "open_inventory" | Discriminant |
target | ActorRef | NPC whose `inventory.open` belongings are shown; in a conversation of the same faction or an allied one. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"kind": "open_inventory",
"target": "a2"
}