🎟️Missions

Explanation of the missions configuration in the script

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

reward = { item - Item respname label - Reward name displayed to the player count - Number of rewards type - Type of reward (item, vehicle, money) }


shared/config.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',
            }
        },
        -- ...
    }
}
```

Last updated