five-on-it / packages/protocol/src/messages / ItemInfo
Variable: ItemInfo
constItemInfo:ZodObject<{actions:ZodArray<ZodEnum<{drop:"drop";give:"give";use:"use"; }>>;heal:ZodOptional<ZodNumber>;id:ZodString;look:ZodOptional<ZodEnum<{bomb:"bomb";box:"box";briefcase:"briefcase";cash_bag:"cash_bag";crowbar:"crowbar";laptop:"laptop";toolbox:"toolbox"; }>>;name:ZodString;price:ZodOptional<ZodNumber>;stack:ZodNumber;tags:ZodArray<ZodString>;weapon:ZodOptional<ZodString>; },$strip>
Defined in: packages/protocol/src/messages.ts:317
An item of the room's table (the simulation's ItemDef): what a stack's index names.