# Config

{% code fullWidth="true" %}

```lua
Config = {}

Config.requiredItemToPlay = {
    type = "money", -- item or money
    item = "bread", -- item name if type is item
    minBetAmount = 10, -- minimum bet amount
    maxBetAmount = 100 -- maximum bet amount
}

Config.wheels = {
    { 
        cooldown = 30, -- cooldown in seconds between spins
        coords = vec4(308.0555, -1378.9960, 30.8148, 263.6017), -- coordinates of the wheel
        blip = {
            enabled = true, -- enable blip
            id = 681, -- blip id
            color = 39, -- blip color   
            size = 0.8, -- blip size
            alpha = 0, -- blip alpha
            shortRange = true -- short range
        }
    }
}

Config.weheelColors = { -- do not change the numbers
    [1] = {2, 4, 6, 8, 10, 12, 14, 15, 18}, -- yellow
    [2] = {1, 3, 20, 13, 17}, -- green  
    [3] = {5, 9, 11}, -- blue
    [4] = {16, 7}, -- purple
    [5] = {19} -- red
}

Config.prizes = {
    [1] = 1, -- bet aumount * 1 + bet amount
    [2] = 3, -- bet aumount * 3 + bet amount    
    [3] = 5, -- bet aumount * 5 + bet amount
    [4] = 10, -- bet aumount * 10 + bet amount
    [5] = 20 -- bet aumount * 20 + bet amount
}

```

{% endcode %}


---

# 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://5scripts-1.gitbook.io/docs/assets/5s_luckywheel/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.
