Skills
Guide for editing the ranks that are available in the resource
This file can be located in peuren_electricianjob/shared/sh_main.lua.
You can edit the pre-configured skill levels or add your new skill levels by following the examples.
Config.Skills = {
["tools"] = { --This skill impacts the players ability to do the tool minigame
Icon = 'pi pi-wrench',
Title = 'Working with tools',
Description = 'Ability to do the tool minigame',
Levels = {
[1] = {-- [level number] = {}
minXP = 0,--The required minimum xp to unlock this level
timePerTask = 5, --Time it takes to choose the right tool
tasksToComplete = 5 --How many tasks the player has to complete to finish the minigame
},
[2] = {-- [level number] = {}
minXP = 1000,--The required minimum xp to unlock this level
timePerTask = 10, --Time it takes to choose the right tool
tasksToComplete = 4 --How many tasks the player has to complete to finish the minigame
},
[3] = {-- [level number] = {}
minXP = 5000,--The required minimum xp to unlock this level
timePerTask = 15, --Time it takes to choose the right tool
tasksToComplete = 3 --How many tasks the player has to complete to finish the minigame
},
},
GainPerAction = {min = 50, max = 100}, --XP you get after successfully completing the minigame
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
},
["fuzepattern"] = { --This skill impacts the players ability to do the fuze pattern memory minigame
Icon = 'pi-calculator',
Title = 'Fuze matching',
Description = 'Ability to do the fuze pattern memory minigame',
Levels = {
[1] = {-- [level number] = {}
minXP = 0,--The required minimum xp to unlock this level
patternLength = 2,
maxLevel = 1,
patternsToComplete = 3
},
[2] = {-- [level number] = {}
minXP = 1000,--The required minimum xp to unlock this level
patternLength = 2,
maxLevel = 1,
patternsToComplete = 3
},
[3] = {-- [level number] = {}
minXP = 5000,--The required minimum xp to unlock this level
patternLength = 2,
maxLevel = 1,
patternsToComplete = 3
},
},
GainPerAction = {min = 50, max = 100}, --XP you get after successfully completing the minigame
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
},
["cables"] = { --This skill impacts the players ability to do the cable defect checking minigame
Icon = 'pi pi-link',
Title = 'Wiring',
Description = 'Ability to do the cable defect checking minigame',
Levels = {
[1] = {-- [level number] = {}
minXP = 0,--The required minimum xp to unlock this level
cableSpeed = 15, --The speed of the cable checking
maxMissedDefects = 3,--How many defects the player can miss before failing the minigame
totalDefectsToSpawn = 20, --How many defects will spawn in total
scannerPosition = 25,---The position of the scanner in the minigame
},
[2] = {-- [level number] = {}
minXP = 1000,--The required minimum xp to unlock this level
cableSpeed = 15, --The speed of the cable checking
maxMissedDefects = 4,--How many defects the player can miss before failing the minigame
totalDefectsToSpawn = 15, --How many defects will spawn in total
scannerPosition = 25,---The position of the scanner in the minigame
},
[3] = {-- [level number] = {}
minXP = 5000,--The required minimum xp to unlock this level
cableSpeed = 10, --The speed of the cable checking
maxMissedDefects = 5,--How many defects the player can miss before failing the minigame
totalDefectsToSpawn = 10, --How many defects will spawn in total
scannerPosition = 25,---The position of the scanner in the minigame
},
},
GainPerAction = {min = 50, max = 100}, --XP you get after successfully completing the minigame
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
},
["distributor"] = { --This skill impacts the players ability to do the power distribution minigame
Icon = 'pi-align-justify',
Title = 'Distributing',
Description = 'Ability to do the power distribution minigame',
Levels = {
[1] = {-- [level number] = {}
minXP = 0,--The required minimum xp to unlock this level
maxOutageTime = 10, --The max time the player has to fix the outage
},
[2] = {-- [level number] = {}
minXP = 1000,--The required minimum xp to unlock this level
maxOutageTime = 15, --The max time the player has to fix the outa
},
[3] = {-- [level number] = {}
minXP = 5000,--The required minimum xp to unlock this level
maxOutageTime = 20, --The max time the player has to fix the outa
},
},
GainPerAction = {min = 50, max = 100}, --XP you get after successfully completing the minigame
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
}
}Job problems
This file can be located in peuren_towjob/shared/sh_locationslua.
Last updated