# Campfire

{% embed url="<https://github.com/Arius-Scripts/ars_hunting/blob/a84cca5f4d3bd8257a82d9b5f65c105c55572c39/shared/config.lua#L39C1-L68C2>" %}

```lua
Config.Campfire = {
    enable = true,
    campfireItem = "campfire",
    items = {
        {
            label = "Cooked meat",
            give = "cooked_meat",
            cookTime = 5, -- seconds
            require = {
                {
                    label = "Raw Meat",
                    quantity = 1,
                    item = "raw_meat",
                },
            }
        },
    }
}
```

> How to add more items to cook

```lua
items = {
    {
        label = "Cooked meat",
        give = "cooked_meat",
        cookTime = 5, -- seconds
        require = {
            {
                label = "Raw Meat",
                quantity = 1,
                item = "raw_meat",
            },
        }
    },
    {
        label = "L Meat",
        give = "l_meat",
        cookTime = 5, -- seconds
        require = {
            {
                label = "Raw Meat",
                quantity = 1,
                item = "raw_meat",
            },
        }
    },
     -- add how many you want copy and paste
}
```

> How to require more then 1 item to cook an item

```lua
    require = {
        {
            label = "Raw Meat",
            quantity = 1,
            item = "raw_meat",
        },
        {
            label = "Salt",
            quantity = 1,
            item = "salt",
        },
        -- add how many you want copy and paste
    }
```
