> For the complete documentation index, see [llms.txt](https://mscripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mscripts.gitbook.io/docs/premium/scripts/house-robbery/installation.md).

# Installation

## Items

{% tabs %}
{% tab title="qb-core/shared/items.lua" %}

```lua
["television"]   	= {["name"] = "television", 		["label"] = "Television", 	["weight"] = 150, 		["type"] = "item", 		["image"] = "television.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["microwave"]   	= {["name"] = "microwave", 		["label"] = "Microwave", 	["weight"] = 150, 		["type"] = "item", 		["image"] = "microwave.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["painting"]   		= {["name"] = "painting", 		["label"] = "Painting", 	["weight"] = 150, 		["type"] = "item", 		["image"] = "painting.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["safe"]   	        = {["name"] = "safe", 		        ["label"] = "Safe", 		["weight"] = 150, 		["type"] = "item", 		["image"] = "safe.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
['houselockpick']       = {['name'] = 'houselockpick',          ['label'] = 'House Lockpick',             ['weight'] = 300,         ['type'] = 'item',         ['image'] = 'houselockpick.png',             ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,       ['combinable'] = nil,   ['description'] = 'If you lose your house keys a lot this is very useful... '},
```

{% endtab %}

{% tab title="ox\_inventory/data/items.lua" %}

```lua
['television'] = { label = 'Television', weight = 250, stack = true, allowArmed = false },
['microwave'] = { label = 'Microwave', weight = 250, stack = true, allowArmed = false },
['painting'] = { label = 'Painting', weight = 250, stack = true, allowArmed = false },
['safe'] = { label = 'Safe', weight = 250, stack = true, allowArmed = false },
['houselockpick'] = { label = 'House Lockpick', weight = 50, stack = true, allowArmed = false },
```

{% endtab %}
{% endtabs %}

## Database

```sql
CREATE TABLE IF NOT EXISTS `houserobbery_xp` (
  `citizenid` varchar(50) NOT NULL,
  `xp` int(11) NOT NULL DEFAULT 0,
  `level` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`citizenid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
```
