# Missions

**`id`** - Unique mission identifier (you will be updating this for players progression)\
\&#xNAN;**`title`** - Mission name\
\&#xNAN;**`desc`** - Mission description\
\&#xNAN;**`needed_progress`** - Required count of the needed task to complete\
\&#xNAN;**`type`** - Type of the mission (daily, weekly, monthly)

reward = { \
\&#xNAN;**`item`** - Item respname\
\&#xNAN;**`label`** - Reward name displayed to the player\
\&#xNAN;**`count`** - Number of rewards\
\&#xNAN;**`type`** - Type of reward (item, vehicle, money) \
}

***

{% code title="shared/config.lua" %}

````lua
Config.Missions = {
    daily = {
        {
            id = 'mission_1',
            title = "Drive 10 km",
            desc = "Get behind the wheel and drive a total of 10 km around the city.",
            needed_progress = 10,
            type = 'daily',
            reward = {
                item = 'bread',
                label = 'Bread',
                count = 1,
                type = 'item',
            }
        },
        -- ...  
    },
    weekly = {
        {
            id = 'mission_7',
            title = "Weekly Mission 1",
            desc = "Win 3 races.",
            needed_progress = 3,
            type = 'weekly',
            reward = {
                item = 'bread',
                label = 'Bread',
                count = 1,
                type = 'item',
            }
        },
        -- ...
    },
    monthly = {
        {
            id = 'mission_9',
            title = "Monthly Mission 1",
            desc = "Gather 50 items.",
            needed_progress = 50,
            type = 'monthly',
            reward = {
                item = 'bread',
                label = 'Bread',
                count = 1,
                type = 'item',
            }
        },
        -- ...
    }
}
```
````

{% endcode %}
