# OX Inventory

{% hint style="danger" %}
if everything works fine and you are able to use all camping items leave `Config.ox_inventory` as `false`
{% endhint %}

A lot of people have problem with ox\_inventory and its backward compatability with "ESX.RegisterUsableItems" so its best to switch in config to ox\_inventory.

in rcore\_camping/config.lua

```lua
Config.ox_inventory = true
```

in ox\_inventory item list add/update your camping items if you add new items to camping do not forget to add them also into ox\_inventory item list

```lua
['tent_1'] = {
    label = 'Tent',
    weight = 5,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.tent_1',
    },
},
['tent_2'] = {
    label = 'Big Tent',
    weight = 5,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.tent_2',
    },
},
['chair_1'] = {
    label = 'Chair',
    weight = 2,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.chair_1',
    },
},
['chair_2'] = {
    label = 'Chair',
    weight = 2,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.chair_2',
    },
},
['chair_3'] = {
    label = 'Chair',
    weight = 2,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.chair_3',
    },
},
['gazebo_1'] = {
    label = 'Gazebo Black',
    weight = 1,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.gazebo_1',
    },
},
['gazebo_2'] = {
    label = 'Gazebo Blue',
    weight = 1,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.gazebo_2',
    },
},
['gazebo_3'] = {
    label = 'Gazebo White',
    weight = 1,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.gazebo_3',
    },
},
['beerkeg'] = {
    label = 'Beer Keg - 30L',
    weight = 8,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.beerkeg',
    },
},
['beerkeg_2_3'] = {
    label = 'Beer Keg - 30L - 2/3',
    weight = 6,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.beerkeg_2_3',
    },
},
['beerkeg_1_3'] = {
    label = 'Beer Keg - 30L - 1/3',
    weight = 3,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.beerkeg_1_3',
    },
},
['beerkeg_0_3'] = {
    label = 'Beer Keg - 30L - Empty',
    weight = 1,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.beerkeg_0_3',
    },
},
['fireplace'] = {
    label = 'Fireplace',
    weight = 5,
    consume = 0,
    stack = true,
    close = true,
    description = nil,
    server = {
        export = 'rcore_camping.fireplace',
    },
},
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_camping/ox_inventory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
