Task System

Quest Structure and Objectives

Each quest consists of tasks with progression methods.

Example of a Quest with Objectives:

["first_stage"] = {
    label = "Meeting Benoît",
    description = "A man named Benoît seems to have interesting information. Go talk to him.",
    tasks = {
        ["talk_benoit"] = {
            description = "Speak with Benoît at the Vinewood café.",
            progress_total = 1,
            method = {
                client_event = "quetes:talkBenoit",
                cb = function()
                    return 1
                end,
            },
        },
    },
}

Tasks are validated through client/server events.


Last updated