RE:CORD
Jobs and gangs

Definitions

Jobs and gangs for REC_Core, with configuration and implementation details.
Added
Updated

Define jobs in config/sh_jobs.lua and gangs in config/sh_gangs.lua. Each character has one job and one gang. Both use numbered grades; duty state belongs to the job.

FieldMeaning
nameThe lower-case table key used in exports, such as police.
label / typeDisplay name and optional group type.
defaultDutyJob duty state used when assigning a job.
gradesA table indexed by integer grades starting at 0.
grades[n].name / payment / isBossGrade label, paycheck amount, and boss flag.
config/sh_jobs.lua
    ["police"] = {
        label = "LSPD",
        type = "leo",
        defaultDuty = true,
        grades = {
            [0] = { name = "Recruit", payment = 50, },
            [1] = { name = "Chief", payment = 150, isBoss = true, },
        },
    },

Add or replace the entry inside the existing return table. The example defines grades 0 and 1; it does not create the intermediate grades from the shipped police definition. isBoss is data other resources can inspect; it does not create a boss menu.

©2026 RE:CORD Development Group. All rights reserved.