Type Alias ItemJSONMessagePart

A textual node containing item metadata.

JSONMessagePart for all possible message part node subtypes.

type ItemJSONMessagePart = {
    flags: number;
    player: number;
    text: string;
    type: "item_id" | "item_name";
}
Index
flags: number

Bit flags that determine if an item is progression, "nice to have", filler, or a trap.

player: number

The id of the player who owns this item.

text: string

Used to supply text data for this node.

type: "item_id" | "item_name"

Used to denote the intent of the message part.