Type Alias ItemJSONMessagePart

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

A textual node containing item metadata.

Type declaration

  • Readonlyflags: number

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

  • Readonlyplayer: number

    The id of the player who owns this item.

  • Readonlytext: string

    Used to supply text data for this node.

  • Readonlytype: "item_id" | "item_name"

    Used to denote the intent of the message part.

JSONMessagePart for all possible message part node subtypes.