Salary Progression
This rewards long-term activity and dedication within specific job roles.
🛠️ This feature requires g-dutyv2
to function properly, as it relies on accurate duty time tracking.
The Salary Progression system allows you to dynamically increase employee salaries based on how long they've worked on duty. Each job and grade can have its own base salary, off-duty salary, and progression milestones that provide percentage-based raises for their total on-duty time.
Config.SalaryProgression = {
police = {
[0] = { -- grade
base = 1000,
offdutySalary = 100,
progression = {
[5] = 10, -- 5 hours = 10% will increase salary by 10%
[10] = 15, -- 10 hours = 15% increase
[20] = 20 -- 20 hours = 20% increase
}
},
[1] = {
base = 1200,
offdutySalary = 100,
progression = {
[5] = 3,
[10] = 4,
[20] = 6
}
},
},
-- Add more jobs as needed
};
Example Use Case:
A police officer of grade 0 who has worked 12 total hours will get:
Base salary:
$1000
Progression boost:
+15%
(from 10-hour milestone)Final salary:
$1000 + 15% = $1150
(before deductions)
Last updated