Config

Fichier de configuration par default. n'oubliez pas de bien configurer les options pour une meilleur expérience

Config = {}

-- All grade used to generate the job if not exist
Config.jobGrades = {
    ['0'] = {
        name = 'Recrut',
        payment = 50
    },
    ['1'] = {
        name = 'Employer',
        payment = 75
    },
    ['2'] = {
        name = 'Supervisor',
        payment = 100
    },
    ['3'] = {
        name = 'Gérant',
        isboss = true,
        payment = 150
    },
}

-- List of all building to create
Config.Buildings = {
    ['pawnshop'] = {
        isJob = true,
        blipSprite = 618,
        label = "Davis Pawnshop",

        -- coord of the current building
        coords = vector4(447.0542, -1471.9764, 29.2923, 299.0680),

        -- music player from mx-audioplayer
        djBooth = vector3(449.5959, -1462.5460, 29.2922),

        -- list of all crafting bench created for qs-inventory
        craftingBench = {
            vector3(448.1887, -1481.8510, 29.2923)
        },

        -- liste of all storage
        storage = {
            vector3(455.0377, -1471.8047, 29.2922), -- backstore
            vector3(452.3395, -1470.3064, 29.2878), -- frontdesk
        }
    },

    ['families'] = {
        isGang = true,
        blipSprite = false,
        label = "Families Crew",

        -- coord of the current building
        coords = vector4(-157.0055, -1616.0131, 33.6494, 235.6038),

        -- music player from mx-audioplayer
        djBooth = vector3(-153.7729, -1615.9805, 33.6494),

        -- list of all crafting bench created for qs-inventory
        craftingBench = {},

        -- liste of all storage
        storage = {
            vector3(-157.0675, -1609.8997, 33.6494), -- Beer storage
            vector3(-162.9366, -1613.0565, 33.6494), -- Gang storage
        }
    },
}

-- List of all receipes available for each building
Config.Receipes = {

    ['weapon_pistol'] = { 
        time = 30000,
        building = 'families',  
        items = { 
            ['iron'] = 1, 
            ['steel'] = 5,
            ['metalscrap'] = 1
        } 
    },
    
    ['weed_brick'] = { 
        time = 30000,
        building = 'families',  
        items = { 
            ['weed_purplehaze'] = 128, 
        } 
    },
    
    ['bandage'] = { 
        time = 10000,
        isGlobal = true,  
        items = { 
            ['tissue'] = 2, 
            ['painkiller'] = 2,
        } 
    },
    
    ['ifaks'] = { 
        time = 35000,
        isGlobal = true,  
        items = { 
            ['bandage'] = 2, 
            ['firstaid'] = 1,
            ['painkiller'] = 2,
        } 
    },
    
}

Mis à jour