# Change fuel capacity for vehicle

### Location

This configuration is located in `rcore_fuel/config/fuel_config.lua`.

### Vehicle Fuel Capacity Configuration

The configuration is managed within the `Config.CustomFuelCapacity` array.

### Structure

The array structure consists of:

* `model`: The spawn model of the vehicle.
* `maxFuel` Maximum fuel capacity for the model

Example of a new entry:

{% code overflow="wrap" lineNumbers="true" %}

```lua
{
    model = "myCar",
    maxFuel = 999,
}
```

{% endcode %}

### Example of the "CustomFuelCapacity"

{% code overflow="wrap" lineNumbers="true" %}

```lua
-- custom list with custom values for each car you want
Config.CustomFuelCapacity = {
    -- entry 1
    {
        model = "phantom3",
        maxFuel = 300,
    },
    -- entry 2
    {
        model = "anotherCar",
        maxFuel = 10,
    },
}
```

{% endcode %}
