Job ranks
Guide for editing the ranks that are available in the resource
This file can be located in peuren_towjob/shared/sh_main.lua.
You can edit the pre-configured rank levels or add your new rank levels by following the examples.
Config.Ranks = {
Levels = {
[1] = {-- [level number] = {}
minXP = 0,--The required minimum xp to unlock this level
name = 'towing',
icon = "pi pi-car",
label = "Tow Vehicles",
description = 'Ability to tow vehicles'
},
[2] = {-- [level number] = {}
minXP = 1000,--The required minimum xp to unlock this level
name = 'flat_tyre',
icon = "pi pi-circle",
label = "Flat tire Repairs",
description = 'Ability to repair flat tyres'
},
[3] = {-- [level number] = {}
minXP = 5000,--The required minimum xp to unlock this level
name = 'dead_battery',
icon = "pi pi-wrench",
label = "Battery boosting",
description = 'Ability to boost dead vehicle batteries'
},
},
GainPerAction = { min = 50, max = 100 }, --XP you get after successfully completing a job call
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