> For the complete documentation index, see [llms.txt](https://quannsstudios.gitbook.io/quannsstudio-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quannsstudios.gitbook.io/quannsstudio-docs/mechanic-system/configuration.md).

# Configuration

here's the Configuration page:

***

**Configuration**

All configuration lives in `config/config.lua`.

**Locations**

lua

```lua
Config.Locations = {
    mechanic = {
        label = 'LS Customs',
        blip = { sprite = 446, color = 5, scale = 0.8 },
        coords = vector3(-337.58, -136.67, 39.01),
        garage = vector3(x, y, z),
        storage = vector3(x, y, z),
        bossmenu = vector3(x, y, z),
        tablet = vector3(x, y, z),
        workstations = {
            vector3(x, y, z),
            vector3(x, y, z)
        }
    }
}
```

**Pricing**

lua

```lua
Config.Prices = {
    repair = 500,
    clean  = 200,
    nos    = 25000,
    engine = { [0] = 0, [1] = 5000, [2] = 10000, [3] = 20000, [4] = 40000 },
}
```

**Boss Menu Access**

lua

```lua
Config.BossGrades = {
    mechanic = { 3, 4 },
    bennys    = { 3, 4 }
}
```

**NOS System**

lua

```lua
Config.NOS = {
    enabled      = true,
    maxNOS       = 100,
    consumption  = 0.5,  -- Per second while active
    boost        = 25.0,
    rechargeRate = 0.1   -- Per second when not in use
}
```

**Options**

| Option             | Description                                       |
| ------------------ | ------------------------------------------------- |
| `Prices.repair`    | Cost to repair a vehicle                          |
| `Prices.clean`     | Cost to clean a vehicle                           |
| `Prices.nos`       | Cost to install NOS                               |
| `BossGrades`       | Job grades that can access the boss menu          |
| `NOS.enabled`      | Enable or disable the NOS system                  |
| `NOS.consumption`  | How fast NOS drains per second while active       |
| `NOS.boost`        | Speed boost amount while NOS is active            |
| `NOS.rechargeRate` | How fast NOS recharges per second when not in use |

**Adding New Locations**

lua

```lua
newshop = {
    label = 'New Shop',
    blip = { sprite = 446, color = 5, scale = 0.8 },
    coords   = vector3(x, y, z),
    garage   = vector3(x, y, z),
    storage  = vector3(x, y, z),
    bossmenu = vector3(x, y, z),
    tablet   = vector3(x, y, z),
    workstations = {
        vector3(x, y, z),
        vector3(x, y, z)
    }
}
```

**NOS Usage**

* Install NOS via the Special upgrades menu in the customize shop
* Press **LEFT SHIFT** while driving to activate
* The HUD bar shows your current NOS level
* NOS recharges automatically when not in use


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://quannsstudios.gitbook.io/quannsstudio-docs/mechanic-system/configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
