# Installation

### DEPENDENCIES

> **REQUIRED DEPENDENCIES**

| Type               | Resource                                                                                            | Alternatives                                                                                                           | Download                                 |
| ------------------ | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| Framework          | [compatibility](https://dragon-heart-studios.gitbook.io/dragonheartstudios/compatibility "mention") | <ul><li>NA</li></ul>                                                                                                   | <ul><li>Included in Bridge</li></ul>     |
| Bridge             | <ul><li>DHS-Bridge</li></ul>                                                                        | <ul><li>NA</li></ul>                                                                                                   | <ul><li>Included in Keymaster</li></ul>  |
| Interaction System | <ul><li>Handled By The Bridge</li></ul>                                                             | <ul><li>NA</li></ul>                                                                                                   | <ul><li>Included in the Bridge</li></ul> |
| Menu System        | <ul><li>ox\_lib</li></ul>                                                                           | <ul><li>qb-menu</li></ul>                                                                                              | <https://github.com/overextended/ox_lib> |
| Progressbar System | <ul><li>Handled By The Bridge</li></ul>                                                             | <ul><li>NA</li></ul>                                                                                                   | <ul><li>Included in the Bridge</li></ul> |
| Notify System      | <ul><li>ox\_lib</li></ul>                                                                           | [integration](https://dragon-heart-studios.gitbook.io/dragonheartstudios/scripts/dhs-lumberjack/integration "mention") | <https://github.com/overextended/ox_lib> |

### RESOURCE INSTALLATION GUIDE

> **1) RESOURCE DOWNLOAD**

{% hint style="info" %}
Download your resource from [FiveM's Keymaster](https://keymaster.fivem.net/asset-grants).
{% endhint %}

***

> **2) ADD THE ITEMS**

{% tabs %}
{% tab title="QB Based Inventories" %}

```lua
--Lumberjack Items
['cedarwood']             = {['name'] = 'cedarwood', 	            ['label'] = 'Cedar Wood', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'wood.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Cedar Wood'},
['cypresswood']             = {['name'] = 'cypresswood', 	            ['label'] = 'Cypress Wood', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'wood.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Cypress Wood'},
['sprucewood']             = {['name'] = 'sprucewood', 	            ['label'] = 'Spruce Wood', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'wood.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Spruce Wood'},
['sequoiawood']             = {['name'] = 'sequoiawood', 	            ['label'] = 'Sequoia Wood', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'wood.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Sequoia Wood'},
['redwood']             = {['name'] = 'redwood', 	            ['label'] = 'Red Wood', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'wood.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Red Wood'},
['cedarwoodplanks']             = {['name'] = 'cedarwoodplanks', 	            ['label'] = 'Cedar Wood Planks', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'woodplanks.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Cedar Wood Planks'},
['cypresswoodplanks']             = {['name'] = 'cypresswoodplanks', 	            ['label'] = 'Cypress Wood Planks', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'woodplanks.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Cypress Wood Planks'},
['sprucewoodplanks']             = {['name'] = 'sprucewoodplanks', 	            ['label'] = 'Spruce Wood Planks', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'woodplanks.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Spruce Wood Planks'},
['sequoiawoodplanks']             = {['name'] = 'sequoiawoodplanks', 	            ['label'] = 'Sequoia Wood Planks', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'woodplanks.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Sequoia Wood Planks'},
['redwoodplanks']             = {['name'] = 'redwoodplanks', 	            ['label'] = 'Red Wood Planks', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'woodplanks.png', 	['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Red Wood Planks
```

{% endtab %}

{% tab title="Ox Inventory" %}

```lua
-- Lumberjack Items
['cedarwood'] = {
    label = 'Cedar Wood',
    weight = 100,
    stack = true,
    close = true,
    description = 'Cedar Wood',
    client = {
        image = 'wood.png'
    }
},
['cypresswood'] = {
    label = 'Cypress Wood',
    weight = 100,
    stack = true,
    close = true,
    description = 'Cypress Wood',
    client = {
        image = 'wood.png'
    }
},
['sprucewood'] = {
    label = 'Spruce Wood',
    weight = 100,
    stack = true,
    close = true,
    description = 'Spruce Wood',
    client = {
        image = 'wood.png'
    }
},
['sequoiawood'] = {
    label = 'Sequoia Wood',
    weight = 100,
    stack = true,
    close = true,
    description = 'Sequoia Wood',
    client = {
        image = 'wood.png'
    }
},
['redwood'] = {
    label = 'Red Wood',
    weight = 100,
    stack = true,
    close = true,
    description = 'Red Wood',
    client = {
        image = 'wood.png'
    }
},
['cedarwoodplanks'] = {
    label = 'Cedar Wood Planks',
    weight = 100,
    stack = true,
    close = true,
    description = 'Cedar Wood Planks',
    client = {
        image = 'woodplanks.png'
    }
},
['cypresswoodplanks'] = {
    label = 'Cypress Wood Planks',
    weight = 100,
    stack = true,
    close = true,
    description = 'Cypress Wood Planks',
    client = {
        image = 'woodplanks.png'
    }
},
['sprucewoodplanks'] = {
    label = 'Spruce Wood Planks',
    weight = 100,
    stack = true,
    close = true,
    description = 'Spruce Wood Planks',
    client = {
        image = 'woodplanks.png'
    }
},
['sequoiawoodplanks'] = {
    label = 'Sequoia Wood Planks',
    weight = 100,
    stack = true,
    close = true,
    description = 'Sequoia Wood Planks',
    client = {
        image = 'woodplanks.png'
    }
},
['redwoodplanks'] = {
    label = 'Red Wood Planks',
    weight = 100,
    stack = true,
    close = true,
    description = 'Red Wood Planks',
    client = {
        image = 'woodplanks.png'
    }
},
```

{% endtab %}
{% endtabs %}

***

> **3) ADD THE IMAGES TO YOUR INVENTORY**

{% hint style="info" %}

* Open DHS-LumberJack > images
* Copy files from the folder and add them into your inventory image folder
  {% endhint %}

***

***

> **4) INSTALL COMPLETE**

{% hint style="success" %}
The Install is now complete, you may move onto looking at the config.
{% endhint %}
