Docs · Engineering reference
Qualifications
docs/features/qualifications.mdEdit on GitHub
LF_QualificationRules, LF_QualificationConfig — Feature/Qualifications/, Configs/Qualifications/LF_Qualifications.conf (#3424, 2026-11-19)
- A course (id, faction, minimum rank, fee, study time, unlock ids) is config, and a pure rule says whether a character may take it: the wrong faction, too low a rank, a course already held and a short purse are each refused with their own localization key (
LF-Qual_*), and a pass returns the unlock ids (strings such asdetective,traffic), the fee and the study time. The core ships four neutral courses; a pack adds, replaces, patches or removes courses by id through an overlay. Nothing takes money, runs the study or saves a held course yet. Tests:qualifications/rules(LOGIC).
LF_Qualifications, LF_QualificationsSavePayload — Feature/Qualifications/ (#3425, 2026-11-19)
- The courses each character holds, keyed by the character's record key:
Grant(character, courseId)adds a course the table lists (an unknown or already-held course is refused and logged),Has(character, unlock)answers by unlock id through the course table, andGetHeldgives the held ids forLF_QualificationRules.Check. Held courses survive a restart in thequalificationssave section; a saved course the table no longer lists is dropped on load and logged, and a boot whose save predates the section starts with nobody holding a course. Nothing callsGrantyet: the course desk does. Tests:qualifications/restart(PERSISTENCE, with awt e2erestart check).
LF_TrainingDesk, LF_TrainingDeskAction — Feature/Qualifications/, Prefabs/Props/Police/LF_TrainingDesk.et (#3426, 2026-11-19)
- At the training desk an officer on duty picks a course (one held action per shipped course; the hold is the study, a quarter of a second per in-game minute, so the detective course is a 60 s hold). When the hold completes the server checks the course rules, takes the fee from carried cash (a cost to the officer, never a raise), grants the course and toasts "You've qualified: Detective". Off duty, the wrong faction or rank, a held course and a short purse are each refused with a toast and no charge. The fee is taken at completion, not at the start of the hold, because the start of a hold only runs on the acting client: leaving mid-study charges and grants nothing. The desk lists the four shipped courses; a pack course added by overlay has no action until the pack adds one. Tests:
qualifications/training-desk(WORLD). Look:grid:training-desk.
LF_QualificationGate — Feature/Qualifications/ (#3427, 2026-11-19)
- A qualification now means something. The quick vehicle search stays open to every on-duty officer; the new "Full search" row (
LF_VehicleSearchFullAction, the quick search and the car's hidden compartment too) and "Pin evidence" on the case board (opening a case) need thedetectiveunlock. On the server the action asksLF_QualificationGate.Allows(character, action)and an officer without the course gets "That's detective work. The training desk runs the course." and nothing happens. Unpinning stays open to every officer. The two searches keep separate repeat cooldowns. The "Full search" row sits next to "Search vehicle" on the ten vehicle prefabs that carry it. Tests:qualifications/gate(LOGIC).
LF_Qualifications_Everon1989 — LF_Everon1989/Configs/Qualifications/ (#3436, 2026-11-19)
- The 1989 pack patches the two police courses: the detective course (rank 1, fee 450, 360 study minutes) and the traffic course (open to every rank, fee 200, 120 minutes). The fee is a cost to the officer, never a pay rise; it stays under two days of civilian pay. The pack also adds licence seizure rows (
LF_LicenceSeizure_Everon1989.conf): vehicle theft 14 days and carjacking 21 days off the driving licence, armoury heist 30 days and robbery 14 days off the firearm permit, speeding 2 days off the driving licence. - Which cars take a hidden compartment is a new core table,
LF_VehicleCompartmentConfig(Configs/Vehicles/LF_VehicleCompartments.conf, empty in core, layered with the pack overlay like the course table). The pack (LF_Compartments_Everon1989.conf) lists the period Lada 2101 and Skoda 105 (size 1, 160-180), the UAZ 469 (size 2, 320) and the UAZ 452 (size 3, 420), with the fitting price at the chop shop; a stock truck or an ambulance has no row.LF_VehicleCompartmentConfig.SizeFor(prefab)is the lookup. Nothing calls it yet: the chop shop fitting action reads it. The sticker window staysLF_Inspection.VALID_DAYS(7 game days), not yet config. - Proof:
everon/detective(LOGIC, pack leg).