---
description: >-
  Detailed explanation of the config file to adapt the resource to your player
  needs.
---

# Configuration

## The config.lua

```lua
Config = {}
Config.Framework        = 'qb'          -- ('esx')
Config.FrameworkPseudo  = 'qb-core'     -- custom framework name ('es_extended')

Config.Perks = {
    {
        id          = 'weird-science',
        label       = 'Weird Science',
        description = 'Speed up production, increase yield, and gain added effects, with each batch. you are upping the quality of your product.',
        img         = 'https://www.shutterstock.com/image-photo/underground-laboratory-two-clandestine-chemists-600nw-729061090.jpg',
        edges       = {}, -- don't touch this
        gap         = 350, 
        available   = true, -- in case you want to disable a category ...
        nodes       = {
            {
                id          = 'numb-liberation',
                position    = { x = 250, y = 0 },
                data        = { 
                    icon        = 'fa-solid fa-book-skull',
                    title       = 'Numb Liberation',
                    description = 'You break free from the grip of addiction.',
                    metadata    = {
                        level       = 0,        -- minimum required level to unlock this perk
                        perk        = nil,      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1         -- minimum points to unlock this perk
                    }       
                },
            },
            {
                id          = 'backyard-chemist',
                position    = { x = 625, y = 0 },
                data        = { 
                    icon        = 'fa-solid fa-hands',
                    title       = 'Backyard Chemist',
                    description = 'Unlocks basic meth cooking (small batches).',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = nil,      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'pablos-apprentice',
                position    = { x = 750, y = 0 },
                data        = { 
                    icon        = 'fa-solid fa-radiation',
                    title       = 'Pablos Apprentice',
                    description = 'Cocaine production yield increased by 15%.',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = nil,      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'weed-botanist',
                position    = { x = 1125, y = 0 },
                data        = { 
                    icon        = 'fa-solid fa-seedling',
                    title       = 'Weed Botanist',
                    description = 'Grow weed 20% faster in hidden farms',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = nil,      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
        },
    },
    {
        id = 'hulster',
        label = 'Hulster',
        description = 'You know how to make a lot of money on the side from stolen goods.',
        img = 'https://media.istockphoto.com/id/1281426795/photo/vintage-bank-robbery-scene.jpg?s=612x612&w=0&k=20&c=hITEUTmTpEPGONZ8LLaDhCTudk4M43EWkT1u9llAnns=',
        edges       = {}, -- don't touch this
        gap         = 350, 
        available   = true, -- in case you want to disable a category ...
        nodes       = {
            {
                id          = 'node-1',
                position    = { x = 250, y = 0 },
                data        = { 
                    icon        = 'fa-solid fa-book-skull',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,        -- minimum required level to unlock this perk
                        perk        = nil,      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1         -- minimum points to unlock this perk
                    }       
                },
            },
            {
                id          = 'node-2',
                position    = { x = 100, y = 150 },
                data        = { 
                    icon        = 'fa-solid fa-hands',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-3',
                position    = { x = 400, y = 150 },
                data        = { 
                    icon        = 'fa-solid fa-radiation',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-4',
                position    = { x = 400, y = 300 },
                data        = { 
                    icon        = 'fa-solid fa-seedling',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-3',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-5',
                position    = { x = 400, y = 450 }, 
                data        = { 
                    icon        = 'fa-solid fa-fire',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-4',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-6',
                position    = { x   = 250, y    = 300 },  
                data        = { 
                    icon        = 'fa-solid fa-shoe-prints',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
        },
    },
    {
        id = 'combat-engineer',
        label = 'Combat engineer',
        description = 'From guns to specialized war tools, set up elite loadouts in record time with extra power and durability. Your gear dominates the frontline.',
        img = 'https://wallpapers.com/images/hd/gangster-skeleton-zu6fhrpopxmbmcwl.jpg',        
        edges       = {}, -- don't touch this
        gap         = 350, 
        available   = true, -- in case you want to disable a category ...
        nodes       = {
            {
                id          = 'node-1',
                position    = { x = 250, y = 0 },
                data        = { 
                    icon        = 'fa-solid fa-book-skull',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,        -- minimum required level to unlock this perk
                        perk        = nil,      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1         -- minimum points to unlock this perk
                    }       
                },
            },
            {
                id          = 'node-2',
                position    = { x = 100, y = 150 },
                data        = { 
                    icon        = 'fa-solid fa-hands',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-3',
                position    = { x = 400, y = 150 },
                data        = { 
                    icon        = 'fa-solid fa-radiation',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-4',
                position    = { x = 400, y = 300 },
                data        = { 
                    icon        = 'fa-solid fa-seedling',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-3',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-5',
                position    = { x = 400, y = 450 }, 
                data        = { 
                    icon        = 'fa-solid fa-fire',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-4',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-6',
                position    = { x   = 250, y    = 300 },  
                data        = { 
                    icon        = 'fa-solid fa-shoe-prints',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
        },
    },
    {
        id = 'ledger-looter',
        label = 'Ledger_Looter.ts',
        description = 'Master of burgling and bypassing security.',
        img = 'https://img.freepik.com/premium-photo/cyber-hacker-wallpaper-4k_1046319-116067.jpg',        
        edges       = {}, -- don't touch this
        gap         = 350, 
        available   = true, -- in case you want to disable a category ...
        nodes       = {
            {
                id          = 'node-1',
                position    = { x = 250, y = 0 },
                data        = { 
                    icon        = 'fa-solid fa-book-skull',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,        -- minimum required level to unlock this perk
                        perk        = nil,      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1         -- minimum points to unlock this perk
                    }       
                },
            },
            {
                id          = 'node-2',
                position    = { x = 100, y = 150 },
                data        = { 
                    icon        = 'fa-solid fa-hands',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-3',
                position    = { x = 400, y = 150 },
                data        = { 
                    icon        = 'fa-solid fa-radiation',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-4',
                position    = { x = 400, y = 300 },
                data        = { 
                    icon        = 'fa-solid fa-seedling',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-3',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-5',
                position    = { x = 400, y = 450 }, 
                data        = { 
                    icon        = 'fa-solid fa-fire',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-4',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
            {
                id          = 'node-6',
                position    = { x   = 250, y    = 300 },  
                data        = { 
                    icon        = 'fa-solid fa-shoe-prints',
                    title       = 'Database Server',
                    description = 'Primary data storage node',
                    metadata    = {
                        level       = 0,             -- minimum required level to unlock this perk
                        perk        = 'node-1',      -- required perk to unlock this perk (if nil then it shall be not linked on the head)
                        points      = 1              -- minimum points to unlock this perk
                    }  
                },
            },
        },
    },
}
```
