Skills

Guide for editing the skills that are available in the resource

This file can be located in peuren_chopshop\shared\sh_main.lua.

You can edit the pre-configured skill levels or add your new skill levels by following the examples.

Config.Skills = {
    ["hacking"] = {--Hacking skills 
        Levels = {
            [1] = {-- [level number] = {}
                minXP = 0,--The required minimum xp to unlock this level
                numbers = { min = 5, max = 10 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 8000--The time in ms that you have to input numbers
            },
            [2] = {-- [level number] = {}
                minXP = 1000,--The required minimum xp to unlock this level
                numbers = { min = 9, max = 19 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3050--The time in ms that you have to input numbers
            },
            [3] = {-- [level number] = {}
                minXP = 5000,--The required minimum xp to unlock this level
                numbers = { min = 9, max = 18 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3100--The time in ms that you have to input numbers
            },
            [4] = {-- [level number] = {}
                minXP = 9000,--The required minimum xp to unlock this level
                numbers = { min = 9, max = 17 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3150--The time in ms that you have to input numbers
            },
            [5] = {-- [level number] = {}
                minXP = 16000,--The required minimum xp to unlock this level
                numbers = { min = 7, max = 16 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3150--The time in ms that you have to input numbers
            },
            [6] = {-- [level number] = {}
                minXP = 21000,--The required minimum xp to unlock this level
                numbers = { min = 7, max = 15 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3150--The time in ms that you have to input numbers
            },
            [7] = {-- [level number] = {}
                minXP = 26000,--The required minimum xp to unlock this level
                numbers = { min = 7, max = 14 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3250--The time in ms that you have to input numbers
            },
            [8] = {-- [level number] = {}
                minXP = 31000,--The required minimum xp to unlock this level
                numbers = { min = 6, max = 13 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3350--The time in ms that you have to input numbers
            },
            [9] = {-- [level number] = {}
                minXP = 36000,--The required minimum xp to unlock this level
                numbers = { min = 6, max = 12 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3450--The time in ms that you have to input numbers
            },
            [10] = {-- [level number] = {}
                minXP = 41000,--The required minimum xp to unlock this level
                numbers = { min = 5, max = 10 },--How many numbers ar displayed on the keys security hacking minigame
                completeTime = 3550--The time in ms that you have to input numbers
            },
        },
        GainPerAction = {min = 50, max = 100}, --XP you get after succesfully hacking (completing the minigame) -Use false to disable
        DecreaseOnFail = {min = 10, max = 30}, --Remove XP after failing the hack (failing the minigame) -Use false to disable.
        LoseOverTime = {minHours = 48, amount = 20} --How much hours required to pass before you start losing XP. Amount = the amount of XP lost each hour. --  -Use false to disable
    },

    ["disassemble"] = {--Disassemble skills 
        Levels = {
            [1] = {-- [level number] = {}
                minXP = 0,--The required minimum xp to unlock this level
                completeTime = 7000--The time in ms that you have to wait until you chop off a part
            },
            [2] = {-- [level number] = {}
                minXP = 2000,--The required minimum xp to unlock this level
                completeTime = 6500--The time in ms that you have to wait until you chop off a part
            },
            [3] = {-- [level number] = {}
                minXP = 6000,--The required minimum xp to unlock this level
                completeTime = 6000--The time in ms that you have to wait until you chop off a part
            },
            [4] = {-- [level number] = {}
                minXP = 10000,--The required minimum xp to unlock this level
                completeTime = 5500--The time in ms that you have to wait until you chop off a part
            },
            [5] = {-- [level number] = {}
                minXP = 15000,--The required minimum xp to unlock this level
                completeTime = 5000--The time in ms that you have to wait until you chop off a part
            },
            [6] = {-- [level number] = {}
                minXP = 20000,--The required minimum xp to unlock this level
                completeTime = 4500--The time in ms that you have to wait until you chop off a part
            },
            [7] = {-- [level number] = {}
                minXP = 25000,--The required minimum xp to unlock this level
                completeTime = 4000--The time in ms that you have to wait until you chop off a part
            },
            [8] = {-- [level number] = {}
                minXP = 30000,--The required minimum xp to unlock this level
                completeTime = 3500--The time in ms that you have to wait until you chop off a part
            },
            [9] = {-- [level number] = {}
                minXP = 35000,--The required minimum xp to unlock this level
                completeTime = 3000--The time in ms that you have to wait until you chop off a part
            },
            [10] = {-- [level number] = {}
                minXP = 40000,--The required minimum xp to unlock this level
                completeTime = 2500--The time in ms that you have to wait until you chop off a part
            },
        },
        GainPerAction = {min = 150, max = 200}, --XP you get after succesfully chop (completing the minigame) -Use false to disable
        DecreaseOnFail = {min = 100, max = 180}, --Remove XP after failing the chop (failing the minigame) -Use false to disable.
        LoseOverTime = {minHours = 10, amount = 50} --How much hours required to pass before you start losing XP. Amount = the amount of XP lost each hour. --  -Use false to disable
    },
}

Last updated