Guide 1 Docs 2 Reference 3

Function of Items

items.define

Load-time only. Hands back the item table: give it, match it, craft it.

items.define(spec: { name: string, texture: TextureRef?, label: Text?, lore: ({ Text } | Text)?, looks: string?, stack: number?, glint: boolean?, }) → ItemTable

Parameters

spec{ name: string, texture: TextureRef?, label: Text?, lore: ({ Text } | Text)?, looks: string?, stack: number?, glint: boolean?, }required

Returns

ItemTable

Used in