# Installation

## Dependencies

{% tabs %}
{% tab title="QBCore" %}
QBCore Framework\
ox\_lib\
ps-ui - ([https://github.com/Project-Sloth/ps-ui](https://github.com/Project-Sloth/ps-ui))\
progressbar
{% endtab %}

{% tab title="ESX" %}
ESX Framework\
ox\_lib\
ps-ui - ([https://github.com/Project-Sloth/ps-ui](https://github.com/Project-Sloth/ps-ui))\
progressbar (Included in the pack)
{% endtab %}
{% endtabs %}

***

## How to install

Add the following item to `yourinventory/data/items.lua`\
QBCore users to `qbcore/shared/items.lua`\
\
Add the item image to your inventory/images

{% hint style="info" %}
If you are using a different inventory then literally create the same items for your custom inventory.
{% endhint %}

{% tabs %}
{% tab title="QBCore" %}
```lua
-- Fishing
["olta"] 	    = {["name"] = "olta", 		["label"] = "Fishing Rod", 	            ["weight"] = 100, 		["type"] = "item", 		["image"] = "olta.png", 	            ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	   ["combinable"] = nil,   ["description"] = ""},
["fish"] 	    = {["name"] = "fish", 		["label"] = "Fish", 	            ["weight"] = 150, 		["type"] = "item", 		["image"] = "fish.png", 	            ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	   ["combinable"] = nil,   ["description"] = ""},
["shark"] 	    = {["name"] = "shark", 		["label"] = "Shark", 	    ["weight"] = 1500, 		["type"] = "item", 		["image"] = "shark.png", 	            ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	   ["combinable"] = nil,   ["description"] = ""},
["yengec"] 	    = {["name"] = "yengec", 		["label"] = "Crab", 	            ["weight"] = 100, 		["type"] = "item", 		["image"] = "yengec.png", 	            ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	   ["combinable"] = nil,   ["description"] = ""},
["athapot"] 	    = {["name"] = "athapot", 		["label"] = "Octopus", 	            ["weight"] = 200, 		["type"] = "item", 		["image"] = "ahtapot.png", 	            ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	   ["combinable"] = nil,   ["description"] = ""},

```
{% endtab %}

{% tab title="ESX" %}
Example for ox\_inventory

```lua
    -- Fishing
    ['olta'] = {
		label = 'Fishing Rod',
		weight = 10,
		client = {
			image = 'olta.png',
		},
	},
	['fish'] = {
		label = 'Fish',
		weight = 10,
		client = {
			image = 'fish.png',
		},
	},
	['shark'] = {
		label = 'Shark',
		weight = 100,
		client = {
			image = 'shark.png',
		},
	},
	['yengec'] = {
		label = 'Crab',
		weight = 20,
		client = {
			image = 'yengec.png',
		},
	},
	['athapot'] = {
		label = 'Octopus',
		weight = 50,
		client = {
			image = 'ahtapot.png',
		},
	},

```
{% endtab %}
{% endtabs %}
