# Items

{% hint style="info" %}
**Installation of the script**\
\
• OX: Placement location: ox\_Inventory/data/items.lua&#x20;

• QB: Placement qb-core/shared/items.lua

• Item images in script folder (**Ox inventory weapon attachment images not included since if using ox\_inventory they should be with the inventory**)

• Minigames in script folder

• Feel free to change items label, weight and description.
{% endhint %}

## Items

{% tabs %}
{% tab title="OX" %}

<pre class="language-lua"><code class="lang-lua"><strong>       ['grinder'] = {
</strong>		label = 'Grinder',
		weight = 1000,
		stack = true,
		close = true,
		description = "Heavy duty metal grinder",
	},
	["c4_bomb"] = {
		label = "C4",
		weight = 100,
		stack = true,
		close = false,
		description = "Explosive charge",
	},
	["safecracker"] = {
		label = "Safecracker",
		weight = 100,
		stack = true,
		close = false,
		description = "Electronic device that helps you to crack safe codes",
	},
	['topsecretdocs'] = {
		label = 'Secret documents',
		weight = 200,
		stack = false,
		close = false,
		description = 'Secret documents, containing valuable information to merryweather troops',
	},
</code></pre>

{% endtab %}

{% tab title="QB" %}

<pre class="language-lua"><code class="lang-lua"><strong>    ['c4_bomb'] = {
</strong>    name = 'c4_bomb',
    label = 'C4',
    weight = 250,
    type = 'item',
    image = 'c4_bomb.png',
    unique = false,
    useable = false,
    shouldClose = false,
    description = 'High power explosive can be used to blow up some doors'},
    
    ['grinder'] = {
    name = 'grinder',
    label = 'Grinder',
    weight = 250,
    type = 'item',
    image = 'grinder.png',
    unique = false,
    useable = false,
    shouldClose = false,
    description = 'Heavy duty metal grinder'},
    
    ['safecracker'] = {
    name = 'safecracker',
    label = 'Safecracker',
    weight = 50,
    type = 'item',
    image = 'safecracker.png',
    unique = false,
    useable = false,
    shouldClose = false,
    description = 'Electronic device to crack safe codes'
},

  ['topsecretdocs'] = {
    name = 'topsecretdocs',
    label = 'Secret documents',
    weight = 50,
    type = 'item',
    image = 'topsecretdocs.png',
    unique = false,
    useable = false,
    shouldClose = false,
    description = 'Secret documents, containing valuable information to merryweather troops'
},


</code></pre>

{% endtab %}
{% endtabs %}
