> For the complete documentation index, see [llms.txt](https://docs.rytrak.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rytrak.fr/scripts/firefighter-scba-system/create-the-scba-item-for-ox_inventory.md). Agents can also search and read this documentation through its [MCP server](https://docs.rytrak.fr/~gitbook/mcp).

# Create the SCBA Item for ox\_inventory

This guide explains how to create and configure the **SCBA item** for **ox\_inventory** so players can equip/remove the SCBA directly from their inventory.

***

### **1. Configure the SCBA ItemName in `config.lua`**

In **r\_scba**, open:

* `r_scba/config.lua`

Find your EUP SCBA entry and set the new option:

```lua
ItemName = 'scba'
```

{% hint style="danger" %}
**Important:** This value **must match** the item name you will define in ox\_inventory.
{% endhint %}

***

### **2. Create the item in `ox_inventory/data/items.lua`**

Open:

* `ox_inventory/data/items.lua`

Add this item definition:

```lua
['scba'] = {
    label = 'MSA G1 SCBA',
    weight = 10000,
    stack = false,
    consume = 0,
    client = {
        event = 'r_scba:client:useSCBA'
    }
},
```

#### **What each value means**

* **label**: Display name shown in the inventory
* **weight**: Item weight (example: `10000` = 10kg depending on your setup)
* **stack = false**: Prevents stacking multiple SCBAs in one slot (recommended)
* **consume = 0**: The item is **not consumed** on use (recommended)
* **client.event**: Calls the **client event** `r_scba:client:useSCBA`when using the item

### **3. Add the SCBA image**

ox\_inventory loads item images from:

```
ox_inventory/web/images/
```

You already have the icon here:

```
r_scba/scba.png
```

Copy it to:

```
ox_inventory/web/images/scba.png
```
