Page cover

πŸŽ’Moonshine Quests

  • If enabled players can work towards various quests that give rewards

  • These quests are fully configurable and are based on the amount of crops picked, batches made and batches sold

  • There is a command named moonshinequests that players can execute to view active quests they can claim or work towards detailing the rewards given and their current status


Config.Quests = {
    Enabled = true, -- set to true to enabled quests (make sure to import sql file if enabled)
    Quests = {
        ['Picking'] = { -- the key is the category name for menu
            [1] = {--the key is the quest number and must be in sequence
                cropsPicked = 10, -- amount of crops that must be picked
                label = 'Pick 10 crops', -- label for menu
                rewardType = 'cash', -- cash or item reward type
                cash = 100, -- if rewardType type is cash how much should the player get
                items = { }, -- if rewardType is items then define item rewards here and amounts given
            },
            [2] = {--the key is the quest number and must be in sequence
                cropsPicked = 100, -- amount of crops that must be picked
                label = 'Pick 100 crops', -- label for menu
                rewardType = 'item', -- cash or item reward type
                cash = 0, -- if rewardType type is cash how much should the player get
                items = { -- if rewardType is items then define item rewards here and amounts given
                    {name = 'goldchain', amount = 3, },
                    {name = 'diamond', amount = 3, },
                },
            },
            [3] = {--the key is the quest number and must be in sequence
                cropsPicked = 500, -- amount of crops that must be picked
                label = 'Pick 500 crops', -- label for menu
                rewardType = 'both', -- cash or item or both reward type
                cash = 500, -- if rewardType type is cash how much should the player get
                items = { -- if rewardType is items then define item rewards here and amounts given
                    {name = 'diamond', amount = 3, },
                },
            },
            --add more quests as required following the index number
        },
        --add more categories with quests as required
    },
}

Last updated