Items

data/items.lua

This file contains all items required by this script. Data from each definition is pulled from this file to construct UI elements (requiring data such as the image URL in the inventory and the item label).

These items will automatically be added to your shared items database/table if they don't already exist.

local items = {
    {
        typeof = "item",
        name = "lockpick",
        label = "Lockpick",
        description = "A lockpick",
        weight = 0.5,
        unique = false,
        image = "lockpick.png",
        useable = false,
        shouldClose = false,
        combinable = false,
        rare = false,
        canRemove = true,
        degradeModifier = 1.0
    },
}

Last updated