Configuration

This showcases and explains the config.lua file within the Nail Crafting / Selling!

Config = {}

Config.RequiredJob = 'stylist'
Config.CraftingTime = 5000

Config.CraftingStations = {
    {
        coords = vec3(-582.9776, -619.4707, 41.4304),
        label = "Beauty Salon Station",
        size = vec3(2.0, 2.0, 2.0),
        rotation = 0,
        debug = false,
        blip = {
            enabled = true,
            sprite = 71,
            color = 47,
            scale = 0.7,
            display = 4,
            shortRange = true
        }
    }
}

Config.MaxSellAmount = 5

Config.SellPrices = {
    ["wig_hair_bundle"] = {
        label = "Wig Bundle",
        min = 500,
        max = 1000
    },
    ["nail_bundle"] = {
        label = "Nail Set",
        min = 300,
        max = 600
    },
    ["lash_set"] = {
        label = "Lash Set",
        min = 200,
        max = 400
    }
}

Config.CraftableItems = {
    ["wig_hair_bundle"] = {
        label = "Wig Bundle",
        materials = {
            ["wig_dye"] = 5,
            ["wig_glue"] = 5,
            ["wig_cap"] = 5
        },
        output = { 
            item = "wig_hair_bundle", 
            count = 1
        }
    },
    ["nail_bundle"] = {
        label = "Acrylic Nails",
        materials = {
            ["nail_kit"] = 5,
            ["wig_glue"] = 5
        },
        output = { 
            item = "nail_bundle", 
            count = 1
        }
    }
}

Config.Notifications = {
    craftingStarted = "Started crafting %s...",
    craftingFinished = "Successfully crafted %s!",
    missingMaterials = "Missing materials: %s",
    wrongJob = "You need to be a stylist to do this!",
    noSpace = "Not enough inventory space!"
}

Last updated