# Items

### **QBInventory – shared/items.lua**

```lua
pirate_tablet = {
    name = 'pirate_tablet',
    label = 'Heist Tablet',
    weight = 200,
    type = 'item',
    image = 'pirate_tablet.png',
    unique = false,
    useable = true,
    shouldClose = true,
},

compass = {
    name = 'compass',
    label = 'Compass',
    weight = 100,
    type = 'item',
    image = 'compass.png',
    unique = false,
    useable = true,
    shouldClose = true,
},
```

### **OX Inventory – data/items.lua**

```lua
['pirate_tablet'] = {
    label = 'Heist Tablet',
    weight = 200,
    stack = true,
    close = true,
    consume = 0,
    client = { 
		export = 'frkn-pirateheist.useTablet'
	},
},

['compass'] = {
    label = 'Compass',
    weight = 100,
    stack = true,
    close = true,
    consume = 0,
    client = { 
		export = 'frkn-pirateheist.useCompass'
	},
},

```

<figure><img src="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FqENqfZvMKUqitlrTyuiV%2Fcompass.png?alt=media&#x26;token=303e475c-dc03-45b5-8e09-3bab77c97f7d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2F40UYDlZNhBvnbl67HLQl%2Fpirate_tablet.png?alt=media&#x26;token=37ed86c9-f9ab-4e5d-90e4-f59f040e3554" alt=""><figcaption></figcaption></figure>
