Skills

Skills configuration (sh_skills.lua)

Skill types

Config.Skills = {
    ["weed_planting"] = { --This skill impacts the players ability to plant the seed. If the set chance is hit the plants base health will be decreased by the set amount.
        Levels = {
            [1] = {-- [level number] = {}
                minXP = 0,--The required minimum xp to unlock this level
                chance = 50, --The chance of the player messing up the planting
                amount = {min = 30, max = 60} --The amount of health the plant will lose if the player messes up
            },
            [2] = {-- [level number] = {}
                minXP = 1000,--The required minimum xp to unlock this level
                chance = 30, --The chance of the player messing up the planting
                amount = {min = 10, max = 30} --The amount of health the plant will lose if the player messes up
            },
            [3] = {-- [level number] = {}
                minXP = 5000,--The required minimum xp to unlock this level
                chance = 10, --The chance of the player messing up the planting
                amount = {min = 5, max = 15} --The amount of health the plant will lose if the player messes up
            },
        },
        GainPerAction = {min = 50, max = 100}, --XP you get after planting the seed
        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
    },
    ["weed_actions"] = { --This skill impacts the players ability to perform actions on the planted weed. Watering/Fertilizing. If the set chance is hit the amount of influence the action has will be decreased by the set amount.
        --The amount of influence reduced is determined by multiplying the base influence by the generated number.
        --For example when watering the plants water should increase by 50, but the chance was hit. The water increase will now only be 50 - 5 / 100 * 50 = 47.5 for example.
        Levels = {
            [1] = {-- [level number] = {}
                minXP = 0,--The required minimum xp to unlock this level
                chance = 50, --The chance of the player messing up the action
                amount = {min = 15, max = 30} --The amount of influence to reduce. The number is divided by zero and the total influence is then multiplied by it. influence = influence - number / 100 * influence
            },
            [2] = {-- [level number] = {}
                minXP = 1000,--The required minimum xp to unlock this level
                chance = 30, --The chance of the player messing up the action
                amount = {min = 10, max = 20} --The amount of influence to reduce. The number is divided by zero and the total influence is then multiplied by it. influence = influence - number / 100 * influence
            },
            [3] = {-- [level number] = {}
                minXP = 5000,--The required minimum xp to unlock this level
                chance = 10, --The chance of the player messing up the action
                amount = {min = 5, max = 10} --The amount of influence to reduce. The number is divided by zero and the total influence is then multiplied by it. influence = influence - number / 100 * influence
            },
        },
        GainPerAction = {min = 50, max = 100}, --XP you get after completing the action
        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
    },
    ["joint_rolling"] = { --This skill impacts the players ability to roll joints. If the set chance is hit the player will fail to roll a proper joint. There's also a chance where all the drugs will be lost.
        --This skill also impacts the time it takes to roll a joint or pack a brick of weed.
        Levels = {
            [1] = {-- [level number] = {}
                minXP = 0,--The required minimum xp to unlock this level
                time = 5000, --The time it takes to roll the joint
                chance = 50, --The chance of the player messing up the action
                chanceOfLossing = 20 --If the basic mess up chance is hit, this is rolled and if this is also hit, the player will lose the drugs used for the joint
            },
            [2] = {-- [level number] = {}
                minXP = 1000,--The required minimum xp to unlock this level
                time = 4000, --The time it takes to roll the joint
                chance = 30, --The chance of the player messing up the action
                chanceOfLossing = 10 --If the basic mess up chance is hit, this is rolled and if this is also hit, the player will lose the drugs used for the joint
            },
            [3] = {-- [level number] = {}
                minXP = 5000,--The required minimum xp to unlock this level
                time = 3000, --The time it takes to roll the joint
                chance = 10, --The chance of the player messing up the action
                chanceOfLossing = 5 --If the basic mess up chance is hit, this is rolled and if this is also hit, the player will lose the drugs used for the joint
            },
        },
        GainPerAction = {min = 50, max = 100}, --XP you get after harvesting the plant
        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
    },
    ["negotiations"] = { --This skill impacts the players ability to negotiate drug deals. If the set chance is hit the player will fail to make a deal.
        --This skill also impacts the time it takes to make a deal.
        Levels = {
            [1] = {-- [level number] = {}
                minXP = 0,--The required minimum xp to unlock this level
                time = 5000, --The time it takes to negotiate a deal
                chance = 50, --The chance of the player messing up the action
                priceBuff = 0.3 --Increases deal price
            },
            [2] = {-- [level number] = {}
                minXP = 1000,--The required minimum xp to unlock this level
                time = 4000, --The time it takes to negotiate a deal
                chance = 30, --The chance of the player messing up the action
                priceBuff = 0.3 --Increases deal price
            },
            [3] = {-- [level number] = {}
                minXP = 5000,--The required minimum xp to unlock this level
                time = 3000, --The time it takes to negotiate a deal
                chance = 10, --The chance of the player messing up the action
                priceBuff = 0.3 --Increases deal price
            },
        },
        GainPerAction = {min = 50, max = 100}, --XP you get after a successful negotiation deal
        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
    },
    ["coke_production"] = {
        Levels = {
            [1] = {                  -- [level number] = {}
                minXP = 0,           --The required minimum xp to unlock this level
                time = 15000,         --The time it takes to prepare the stage for production
                chance = 50,         --The chance of the player messing up the action
                chanceOfLossing = 20, --If the basic mess up chance is hit, this is rolled and if this is also hit, the player will lose randomly selected items based on the settings below
                lossing = {
                    count = {min = 1, max = 3}, --How much of items should lose?
                    ignore = { --Items in this list will be ignored and will never be lost.
                        "coco_leaves_batch",
                        "cocaine_alkaloid",
                        "cocaine_base",
                        "cocaine_paste",
                        "wet_cocaine_brick",
                        "cocaine_brick"
                    }
                }
            },
            [2] = {                  -- [level number] = {}
                minXP = 1000,                     --The required minimum xp to unlock this level
                time = 12500,                   --The time it takes to prepare the stage for production
                chance = 30,                   --The chance of the player messing up the action
                chanceOfLossing = 15,           --If the basic mess up chance is hit, this is rolled and if this is also hit, the player will lose randomly selected items based on the settings below
                lossing = {
                    count = { min = 1, max = 2 }, --How much of items should lose?
                    ignore = {                 --Items in this list will be ignored and will never be lost.
                        "coco_leaves_batch",
                        "cocaine_alkaloid",
                        "cocaine_base",
                        "cocaine_paste",
                        "wet_cocaine_brick",
                        "cocaine_brick"
                    }
                }
            },
            [3] = {                  -- [level number] = {}
                minXP = 2500,                     --The required minimum xp to unlock this level
                time = 10000,                   --The time it takes to prepare the stage for production
                chance = 10,                   --The chance of the player messing up the action
                chanceOfLossing = 10,           --If the basic mess up chance is hit, this is rolled and if this is also hit, the player will lose randomly selected items based on the settings below
                lossing = {
                    count = { min = 1, max = 1 }, --How much of items should lose?
                    ignore = {                 --Items in this list will be ignored and will never be lost.
                        "coco_leaves_batch",
                        "cocaine_alkaloid",
                        "cocaine_base",
                        "cocaine_paste",
                        "wet_cocaine_brick",
                        "cocaine_brick"
                    }
                }
            },
        },
        GainPerAction = { min = 25, max = 50 },    --XP you get after harvesting the plant
        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
    }
}

Last updated