# Config

```lua

Config = {}


-- ██╗░░░██╗████████╗██╗██╗░░░░░██╗████████╗██╗░░░██╗
-- ██║░░░██║╚══██╔══╝██║██║░░░░░██║╚══██╔══╝╚██╗░██╔╝
-- ██║░░░██║░░░██║░░░██║██║░░░░░██║░░░██║░░░░╚████╔╝░
-- ██║░░░██║░░░██║░░░██║██║░░░░░██║░░░██║░░░░░╚██╔╝░░
-- ╚██████╔╝░░░██║░░░██║███████╗██║░░░██║░░░░░░██║░░░
-- ░╚═════╝░░░░╚═╝░░░╚═╝╚══════╝╚═╝░░░╚═╝░░░░░░╚═╝░░░

Config.CoreName = "qb-core" -- Core name
Config.Job = "coolbeans" -- Job
Config.BillingType = "qb" -- "qb" | "jim" | "okok"
Config.Target = "qb-target" -- Name of your qb-target resource
Config.Menu = "ox_lib" -- "qb-menu" or "ox_lib"
Config.Progressbar = "qb" -- "qb" or "ox"
Config.Input = "qb-input" -- Name of your qb-input resource
Config.InvLink = "lj-inventory/html/images/" -- Your directory images inventory | ox_inventory/web/images/
Config.Bossmenu = "qb-bossmenu:client:OpenMenu" -- Your trigger to open boss menu
Config.ToggleDuty = "QBCore:ToggleDuty" -- Your trigger to be duty / off duty
Config.EmoteMenu = "rpemotes" -- "dpemotes" or "rpemotes"
Config.Inventory = "qb" -- "qb" or "ox"

Config.Values = { -- Values of eating
    Eeating = math.random(10,20),
    Drinking = math.random(10,20),
}

-- ██████╗░██╗░░░░░██╗██████╗░
-- ██╔══██╗██║░░░░░██║██╔══██╗
-- ██████╦╝██║░░░░░██║██████╔╝
-- ██╔══██╗██║░░░░░██║██╔═══╝░
-- ██████╦╝███████╗██║██║░░░░░
-- ╚═════╝░╚══════╝╚═╝╚═╝░░░░░

Config.Blip = {
	Enable = true,
	Location = vector3(-1202.41, -1132.75, 7.83),
	Sprite = 266,
	Display = 2,
	Scale = 0.8,
	Colour = 14,
	Name = "Cool Beans",
}


-- ░██████╗████████╗░█████╗░░██████╗██╗░░██╗
-- ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║░░██║
-- ╚█████╗░░░░██║░░░███████║╚█████╗░███████║
-- ░╚═══██╗░░░██║░░░██╔══██║░╚═══██╗██╔══██║
-- ██████╔╝░░░██║░░░██║░░██║██████╔╝██║░░██║
-- ╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═════╝░╚═╝░░╚═╝

Config.Stash = {
	NameOfStash = "Cool_Beans_Storage",
	MaxWeighStash = 50000,
	MaxSlotsStash = 50,
}


-- ██████╗░██╗██╗░░░░░██╗░░░░░██╗███╗░░██╗░██████╗░
-- ██╔══██╗██║██║░░░░░██║░░░░░██║████╗░██║██╔════╝░
-- ██████╦╝██║██║░░░░░██║░░░░░██║██╔██╗██║██║░░██╗░
-- ██╔══██╗██║██║░░░░░██║░░░░░██║██║╚████║██║░░╚██╗
-- ██████╦╝██║███████╗███████╗██║██║░╚███║╚██████╔╝
-- ╚═════╝░╚═╝╚══════╝╚══════╝╚═╝╚═╝░░╚══╝░╚═════╝░

Config.Billing = {
	EnableCommand = true,
	Command = "billingbeans",
}


-- ░██████╗██╗░░██╗░█████╗░██████╗░
-- ██╔════╝██║░░██║██╔══██╗██╔══██╗
-- ╚█████╗░███████║██║░░██║██████╔╝
-- ░╚═══██╗██╔══██║██║░░██║██╔═══╝░
-- ██████╔ ██║░░██║╚█████╔╝██║░░░░░
-- ╚═════╝░╚═╝░░╚═╝░╚════╝░╚═╝░░░░░

Config.Items = {
    [1] = { name = "cb_chocolate_cake", price = 0, amount = 10, info = {}, type = "item", slot = 1 },
    [2] = { name = "cb_cake", price = 0, amount = 10, info = {}, type = "item", slot = 2, },
    [3] = { name = "cb_candy", price = 0, amount = 10, info = {}, type = "item", slot = 3, },
    [4] = { name = "cb_candycrunchbar", price = 0, amount = 10, info = {}, type = "item", slot = 4, },
    [5] = { name = "cb_candyheath", price = 0, amount = 10, info = {}, type = "item", slot = 5, },
    [6] = { name = "cb_candyhersheybar", price = 0, amount = 10, info = {}, type = "item", slot = 6, },
    [7] = { name = "cb_candykitkat", price = 0, amount = 10, info = {}, type = "item", slot = 7, },
    [8] = { name = "cb_candymilkyway", price = 0, amount = 10, info = {}, type = "item", slot = 8, },
    [9] = { name = "cb_candynerds", price = 0, amount = 10, info = {}, type = "item", slot = 9, },
    [10] = { name = "cb_candyskittles", price = 0, amount = 10, info = {}, type = "item", slot = 10, },
}

-- ░█████╗░██████╗░░█████╗░███████╗████████╗░██████╗
-- ██╔══██╗██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔════╝
-- ██║░░╚═╝██████╔╝███████║█████╗░░░░░██║░░░╚█████╗░
-- ██║░░██╗██╔══██╗██╔══██║██╔══╝░░░░░██║░░░░╚═══██╗
-- ╚█████╔╝██║░░██║██║░░██║██║░░░░░░░░██║░░░██████╔╝
-- ░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░░░░╚═╝░░░╚═════╝░

Config.CraftCupcakes = {
    ["cb_banana_nut"] = { 
        hash = "cb_banana_nut", 
        label = "Banana",
        materials = {
            [1] = { item = "cb_sugar",      amount = 1 },
            [2] = { item = "cb_banana",     amount = 1 },
        }
    },
    ["cb_chocolatecup"] = { 
        hash = "cb_chocolatecup", 
        label = "Chocolate",
        materials = {
            [1] = { item = "cb_chocolate",   amount = 2 },
            [2] = { item = "cb_sugar",       amount = 1 },
        }
    },
    ["cb_strawberrycheese"] = { 
        hash = "cb_strawberrycheese", 
        label = "Strawberry Cheese",
        materials = {
            [1] = { item = "cb_strawberry",  amount = 2 },
            [2] = { item = "cb_sugar",       amount = 1 },
            [3] = { item = "cb_cheese",      amount = 2 },
        }
    },
    ["cb_strawberrycup"] = { 
        hash = "cb_strawberrycup", 
        label = "Strawberry",
        materials = {
            [1] = { item = "cb_sugar",       amount = 1 },
            [2] = { item = "cb_strawberry",  amount = 1 },
        }
    },
    ["cb_vanillacupcakes"] = { 
        hash = "cb_vanillacupcakes", 
        label = "Vanilla",
        materials = {
            [1] = { item = "cb_chocolate",    amount = 2 },
            [2] = { item = "cb_sugar",        amount = 1 },
            [3] = { item = "cb_milk",         amount = 1 },
        }
    },
}


-- Craft non-alcoholic drinks

Config.NonAlcoholic = {
    ["cb_berry_hydrating"] = { 
        hash = "cb_berry_hydrating", 
        label = "Hydrating",
        materials = {
            [1] = { item = "cb_water",      amount = 1 },
            [2] = { item = "cb_strawberry", amount = 1 },
            [3] = { item = "cb_sugar",      amount = 1 },
        }
    },
    ["cb_green_dream"] = { 
        hash = "cb_green_dream", 
        label = "Green Dream",
        materials = {
            [1] = { item = "cb_water",       amount = 1 },
            [2] = { item = "cb_kiwi",        amount = 1 },
            [3] = { item = "cb_sugar",       amount = 1 },
        }
    },
    ["cb_island_breeze"] = { 
        hash = "cb_island_breeze", 
        label = "Island Breeze",
        materials = {
            [1] = { item = "cb_strawberry",  amount = 2 },
            [2] = { item = "cb_sugar",       amount = 1 },
            [3] = { item = "cb_water",       amount = 2 },
        }
    },
    ["cb_just_peachy"] = { 
        hash = "cb_just_peachy", 
        label = "Just Peachy",
        materials = {
            [1] = { item = "cb_water",       amount = 1 },
            [2] = { item = "cb_caramel",     amount = 1 },
            [3] = { item = "cb_sugar",       amount = 1 },
        }
    },
    ["cb_watermelon_dream"] = { 
        hash = "cb_watermelon_dream", 
        label = "Watermelon Dream",
        materials = {
            [1] = { item = "cb_water",    amount = 2 },
            [2] = { item = "cb_sugar",        amount = 1 },
            [3] = { item = "cb_watermelon",         amount = 1 },
        }
    },
}


-- Craft alcoholic drinks

Config.Alcoholic = {
    ["cb_cocktail"] = { 
        hash = "cb_cocktail", 
        label = "Cocktail",
        materials = {
            [1] = { item = "cb_water",      amount = 1 },
            [2] = { item = "cb_strawberry", amount = 1 },
            [3] = { item = "cb_sugar",      amount = 1 },
            [4] = { item = "cb_tequila",     amount = 1 },
        }
    },
    ["cb_coconut_drink"] = { 
        hash = "cb_coconut_drink", 
        label = "Coconut Drink",
        materials = {
            [1] = { item = "cb_water",       amount = 1 },
            [2] = { item = "cb_coconut",     amount = 1 },
            [3] = { item = "cb_sugar",       amount = 1 },
            [4] = { item = "cb_tequila",     amount = 1 },
        }
    },
    ["cb_island_fantasy"] = { 
        hash = "cb_island_fantasy", 
        label = "Island Fantasy",
        materials = {
            [1] = { item = "cb_orange",      amount = 1 },
            [2] = { item = "cb_sugar",       amount = 1 },
            [3] = { item = "cb_water",       amount = 1 },
            [4] = { item = "cb_tequila",     amount = 1 },
        }
    },
    ["cb_kamikaze"] = { 
        hash = "cb_kamikaze", 
        label = "Kamikaze",
        materials = {
            [1] = { item = "cb_water",       amount = 1 },
            [3] = { item = "cb_sugar",       amount = 1 },
            [4] = { item = "cb_tequila",     amount = 1 },
        }
    },
    ["cb_redhot_daquiri"] = { 
        hash = "cb_redhot_daquiri", 
        label = "Red Hot Daquiri",
        materials = {
            [1] = { item = "cb_water",           amount = 1 },
            [2] = { item = "cb_sugar",           amount = 1 },
            [3] = { item = "cb_watermelon",      amount = 1 },
            [4] = { item = "cb_daquiri",         amount = 1 },
        }
    },
}


```


---

# 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://mscripts.gitbook.io/docs/qbcore/jobs/qb-coolbeans/config.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.
