# Crafting

```lua
{
    name = 'Demo Crafting', -- unique name
    blip = {enable = true, id = 643, color = 35, scale = 0.6},

    --job check to open the bench
    jobs = {
        police = 0, --job name and minumum rank
        sheriff = 0
    },

    --gang check to open the bench
    gangs = {
        balles = 1, --gang name and minumum rank
        lostmc = 0,
    },

    recipes = {
        {
            item = 'weapon_pistol', -- reward item name
            amount = 1, -- reward amount
            required = {
                weapon_pistol = {amount = 1, remove = true}, -- item that will remove
                cleaner = {amount = 1}, -- item that will not remove
                toolkit = {amount = 0.2}, -- remove required item quality 20%
            },
            duration = 5,--seconds
        },
    },
    zones = {
        {
            coords = vector4(607.55, -3092.41, 6.02, 360.0),
            size = vector3(2.5, 1.0, 1.5),
        },
    },
    target = {label = 'Weapon Repair', icon = 'fa-pen-ruler', distance = 2.5},
    peds = { -- if empty then there will be no ped. Only polyzone with target
        'mp_m_waremech_01',
    }
},
```


---

# 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://docs.menanak47.com/qbcore/ak47_qb_inventory/templates/crafting.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.
