Koja Scripts
NEW

Missions

Explanation of the missions configuration in the script

Missions

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)
}


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

  • Changing Language — Explanation of the locale configuration in the script
  • Debug Prints — Explanation of the debug configuration in the script
  • Open Commands — Explanation of the commands configuration in the script
  • Shop Link — Explanation of the shop link configuration in the script
  • Theme — Explanation of the color configuration in the script
  • Auto Table — Explanation of the auto table configuration in the script
  • Configuration — back to the section overview