Basic Item Structure
Every item is defined using a set of core properties that determine how it behaves in the inventory. These include the item identifier, the name shown to players, its weight, type (item or weapon), image, and whether it can stack or be used. You can also define if the inventory should close when the item is used and add a short description. These fields form the base configuration that every item should have before adding advanced behavior.
lua ['water_bottle'] = { name = 'water_bottle', -- Unique ID used internally by the inventory label = 'Water Bottle', -- Name shown to players weight = 500, -- Weight of the item type = 'item', -- Type: item or weapon image = 'water_bottle.png', -- Image located in html/images/ unique = false, -- Can stack with other items useable = true, -- Player can use this item shouldClose = true, -- Inventory closes when used description = 'A refreshing bottle of water.' }



