# QS Inventory

## Creating the Items

Go to `qb-core/shared/items.lua`, `COPY and PASTE` this items:

```lua
-- mg-jerrycan
 ["mg_jerrycan"] = {
    ["name"] = "mg_jerrycan",
    ["label"] = "Jerrycan 20L",
    ["weight"] = 20000,
    ["type"] = "item",
    ["image"] = "mg_jerrycan.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "A can full of Fuel."
},
["empty_jerrycan"] = {
    ["name"] = "empty_jerrycan",
    ["label"] = "Empty Jerrycan",
    ["weight"] = 1000,
    ["type"] = "item",
    ["image"] = "empty_jerrycan.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "An empty Jerrycan."
},
```

## Creating the Metadata

You must add the following line in `qs-inventory/config/metadata.js`:

```js
} else if (itemData.name == "mg_jerrycan") {
    $(".item-info-title").html("<p>" + itemData.label + "</p>");
    $(".item-info-description").html(
        "<p><strong>Fuel: </strong><span>" +
        itemData.info.fuel +
        "</span></p>"
    );
```
