# Configuration

## LANGUAGE

The active locale name.

```lua
LANGUAGE = "en"
```

## KEY\_CURSOR

The key to show the cursor. ([See the list of keys](https://github.com/femga/rdr3_discoveries/tree/master/Controls))

```lua
KEY_CURSOR = "INPUT_SELECT_RADAR_MODE" -- LEFT ALT
```

## RANGE

The range at which interactions can be triggered.

```lua
RANGE = 1.5
```

## ENTITY\_SPRITE

The indicators' customization.

* `DICT`: **string**, texture dictionary.
* `NAME`: **string**, texture name.
* `WIDTH`: **number**, indicator's width.
* `HEIGHT`: **number**, indicator's height.
* `ROT`: **number** (deg), indicator's rotation.
* `COLOR_R`: **integer** (0-255), Red amount in RGBA.
* `COLOR_G`: **integer** (0-255), Green amount in RGBA.
* `COLOR_B`: **integer** (0-255), Blue amount in RGBA.
* `COLOR_A`: **integer** (0-255), Alpha amount in RGBA.

```lua
ENTITY_SPRITE = {
    DICT = "rpg_meter_track",
    NAME = "rpg_meter_track_9",
    WIDTH = 0.02,
    HEIGHT = 0.02*GetAspectRatio(),
    ROT = 45.0,
    COLOR_R = 216,
    COLOR_G = 13,
    COLOR_B = 13,
    COLOR_A = 170
}
```

## ENTITY\_SPRITE\_HOVER

The indicators' customization when hovered.

* `DICT`: **string**, texture dictionary.
* `NAME`: **string**, texture name.
* `WIDTH`: **number**, indicator's width.
* `HEIGHT`: **number**, indicator's height.
* `ROT`: **number** (deg), indicator's rotation.
* `COLOR_R`: **integer** (0-255), Red amount in RGBA.
* `COLOR_G`: **integer** (0-255), Green amount in RGBA.
* `COLOR_B`: **integer** (0-255), Blue amount in RGBA.
* `COLOR_A`: **integer** (0-255), Alpha amount in RGBA.

```lua
ENTITY_SPRITE_HOVER = {
    DICT = "rpg_meter",
    NAME = "rpg_meter_99",
    WIDTH = 0.02,
    HEIGHT = 0.02*GetAspectRatio(),
    ROT = 45.0,
    COLOR_R = 216,
    COLOR_G = 13,
    COLOR_B = 13,
    COLOR_A = 255
}
```
