# Configuration

The main configuration file is `0r-garbage/config.lua`.

## Main Settings You Will Usually Change

| Field                           | What it controls                                   |
| ------------------------------- | -------------------------------------------------- |
| `Config.Commands`               | Menu, leave task, and invite commands              |
| `Config.JobOptions.ranks`       | Experience requirements for job levels             |
| `Config.JobOptions.startPoints` | Employer NPC, blip, spawn points, and return point |
| `Config.Tasks`                  | Task rewards, goals, levels, and max team size     |
| `Config.DumpsterCoords`         | Dumpster route coordinates                         |
| `Config.Models`                 | Dumpster, bin bag, and box models                  |
| `Config.ThrowBinBag`            | Broken bag reward system                           |
| `Config.Tablet`                 | Item based menu access                             |
| `Config.JobUniforms`            | Job clothing toggle                                |
| `Config.TaskVehicles`           | Garbage vehicle models and plate                   |
| `Config.Bundle`                 | Shortcut links to other 0Resmon tablet apps        |
| `Config.debug`                  | Debug mode                                         |

## Menu Access

This version supports:

* Command access
* Item access
* Lobby invite accept command

Default commands:

```lua
garbagejob
leavegarbagetask
acceptgarbage
```

## Levels and Tasks

The progression system is split into two sections:

* `Config.JobOptions.ranks`
* `Config.Tasks`

`ranks` controls how much XP is needed for each level.

`Tasks` controls:

* Required level
* XP reward
* Money reward
* Goal count
* Maximum player count

## Employer and Spawn Points

Use `Config.JobOptions.startPoints` to change:

* Employer ped model
* Employer location
* Map blip
* Task vehicle spawn points
* Final return/destroy point

## Trash Bag Reward Drops

Use `Config.ThrowBinBag` if you want players to receive extra items when a bag breaks.

You can change:

* `active`
* `breakChance`
* Reward item names
* Reward labels
* Reward counts

## Vehicle and Bundle Settings

Use `Config.TaskVehicles` to change the vehicle model names.

Use `Config.Bundle` if you want the tablet shortcuts to point to different resource names for:

* `0r-delivery`
* `0r-towtruck`

## Localization

This resource uses locale files in the `locales/` folder. The default locale is handled through `ox_lib`.

Example:

```cfg
set ox:locale "en"
```
