# Configuration

```lua
CFG = {}
CFG.FRAMEWORK = 'qb' -- 'qb', 'esx', 'qbx'
CFG.INVENTORY = 'qb' -- 'qb', 'esx', 'ox', 'qs'
CFG.TARGET = false -- 'qb', 'ox' or false
CFG.NOTIFY = 'ox' -- 'qb', 'esx', 'default'

CFG.SETTINGS = {
    direction_speed = 0.13, -- direction speed when using A / D keys
    force_bar = {
        display = true,
        length = 0.02,
        width = 0.25,
        background = {r = 40, g = 40, b = 40, a = 100}, -- rgba
        force_color = {r = 204, g = 204, b = 0, a = 200} -- rgba
    },

    blip = {
        enabled = true,
        coords = vector3(755.0, -775.07, 26.34),
        label = 'Bowling',
        sprite = 106,
        color = 5,
        scale = 0.8
    },

    store = {
        coords = vector3(755.0, -775.07, 26.34), -- used only without target system
        npc = {
            enable = true,
            pos = vector4(756.52, -775.06, 25.34, 93.33),
            skin = `a_m_m_salton_02`,
        },

        title = 'Bowling',
        items = {
            {
                label = 'Bowling Ball (250$)',
                description = "Let's play some bowling!",
                item = 'bowlingball',
                price = 250,
            },
            -- you can add more items below
        }
    }
}

CFG.LANG = {
    strike = 'Strike!',
    spare = 'Spare!',
    you_downed = 'You downed %i pins!',
    throw_again = 'Throw again!',
    setup_pins = 'Press ~INPUT_CONTEXT~ setup pins.',
    setup_pins_target = 'Setup Pins', -- target system
    disqualified = 'You were disqualified from bowling.',
    open_store_target = 'Open Store', -- target system
    open_store = 'Press ~INPUT_CONTEXT~ to open store.',

    no_money = "You don't have enough money.",

    lane_taken = 'Lane is not available',
    use_ball = 'Use bowling ball to play.',
    cant_use_ball = "You can't use bowling ball at the moment.",

    move = 'Move: %s %s',
    throw = 'Throw ball: %s'
}

CFG.BowlingAlley = {
    [1] = {
        pos = vector3(748.0, -781.93, 26.45),
        pins = vector4(729.62, -782.32, 25.45, 277.96),
        length = 1.8, width = 2.0, -- qb target only
        size = vec3(2, 2, 3), -- ox target only
        heading = 0.0,
        debugPoly = false
    },
    [2] = {
        pos = vector3(747.93, -779.73, 26.45),
        pins = vector4(729.62, -780.15, 25.45, 277.96),
        length = 1.8, width = 2.0, -- qb target only
        size = vec3(2, 2, 3), -- ox target only
        heading = 0.0,
        debugPoly = false
    },
    [3] = {
        pos = vector3(747.9, -777.67, 26.45),
        pins = vector4(729.62, -778.05, 25.45, 277.96),
        length = 1.8, width = 2.0, -- qb target only
        size = vec3(2, 2, 3), -- ox target only
        heading = 0.0,
        debugPoly = false
    },
    [4] = {
        pos = vector3(747.87, -775.59, 26.45),
        pins = vector4(729.62, -775.98, 25.45, 277.96),
        length = 1.8, width = 2.0, -- qb target only
        size = vec3(2, 2, 3), -- ox target only
        heading = 0.0,
        debugPoly = false
    },
    [5] = {
        pos = vector3(747.92, -773.53, 26.45),
        pins = vector4(729.62, -773.91, 25.45, 277.96),
        length = 1.8, width = 2.0, -- qb target only
        size = vec3(2, 2, 3), -- ox target only
        heading = 0.0,
        debugPoly = false
    },
    [6] = {
        pos = vector3(747.89, -771.41, 26.45),
        pins = vector4(729.62, -771.89, 25.45, 277.96),
        length = 1.8, width = 2.0, -- qb target only
        size = vec3(2, 2, 3), -- ox target only
        heading = 0.0,
        debugPoly = false
    },
    [7] = {
        pos = vector3(747.91, -767.16, 26.45),
        pins = vector4(729.44, -767.64, 25.45, 277.96),
        length = 1.8, width = 2.0, -- qb target only
        size = vec3(2, 2, 3), -- ox target only
        heading = 0.0,
        debugPoly = false
    }
}
```


---

# 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://andrew-grenade.gitbook.io/sheen-scripts/paid-resources/sh-bowling/configuration.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.
