Skip to content

five-on-it / packages/protocol/src/messages / ItemInfo

Variable: ItemInfo ​

const ItemInfo: ZodObject<{ actions: ZodArray<ZodEnum<{ drop: "drop"; give: "give"; use: "use"; }>>; heal: ZodOptional<ZodNumber>; id: ZodString; name: ZodString; price: ZodOptional<ZodNumber>; stack: ZodNumber; tags: ZodArray<ZodString>; weapon: ZodOptional<ZodString>; }, $strip>

Defined in: packages/protocol/src/messages.ts:313

An item of the room's table (the simulation's ItemDef): what a stack's index names.