Skip to content

np_mechanic v1.0.0 ​

A mechanic and tuner system where GTA lore workshops stay places and jobs are composed from granular staff capabilities. Los Santos Customs and Benny's tune. LS Car Meet has the dyno, test drives and a reputation ladder. Hao's is invite only. Hayes and Beeker's repair and tow. Three underground tuners sell what the police are looking for: the Salvage Yard chop shop, a Ghost Garage that moves every week, and the Arena Workshop.

Parts come from real lore makers (Vortex, Jackal Racing, Halt, Atomic, Demonoil, Power Metal …), and each maker has its own price, gain, wear and warranty. Tuning creates a work order: a player mechanic claims it and installs the parts on a lift, or the NPC crew does it, slower and at a higher price. Parts are items with a maker and a serial number. Every car keeps a service book, a VIN and its mileage.

It uses the Nimbus UI look of np_hud and np_phone: grey glass, grey tiles and white glyphs. Colour is used only where it means something (green for money and OK, red for illegal, orange for warnings, blue for police). A shop shows who it is with its logo plate. It runs on es_extended, qbx_core or qb-core, or standalone, with np_inventory, ox_inventory, qb-inventory or no inventory. es_extended with np_inventory is the first target. The only hard dependency is oxmysql, and every np_* sibling is optional with a built-in fallback.

When np_jobs is attached, a job can grant capabilities such as repair, diagnosis, tuning, paint, parts, management, roadside help or towing at selected workshop places. When np_jobs is absent, np_mechanic uses its transition framework job map. See Jobs & capabilities.

Not yet run on a live server

v1.0.0 is covered by a plain-Lua test suite (23 suites, 256 tests across four framework and inventory combinations, plus an end-to-end flow across a restart). Every NUI screen is rendered from mock data. The parts that depend on the game (coordinates, lifts, natives that differ per game build) need the checks in Installation → Before you open it.

The tuner at Los Santos Customs

LS Car Meet: maker compare, dyno, reputation Benny's: the paint studio
Car Meet Benny's
Fine tune with presets Hayes: diagnosis, OBD scan, checklist
Fine tune Repair
The customer's bill (insurance split) The work order board
Bill Board
Install step with the torque check Collection: the invoice
Install Invoice
The Salvage Yard: under the counter Knock code at the Ghost Garage
Underground Knock
Police inspection with the scanner Boss tablet (player-owned workshop)
Inspection Boss tablet
Parts stock and reorders Delivery jobs for anyone
Stock Deliveries
Roadside: the mechanic's street card Mechanic app: my vehicles
Roadside Phone

The screenshots are real NUI renders from mock data at 1920×1080 (see Development). The UI ships in English and German.

At a glance ​

  • Tuner at every workshop that sells something. The real car is the live preview and is reverted on close. Parts are filtered by the shop (its makers, categories and legality), your skill and your reputation. You can compare makers for the same slot and tier, read a build sheet with stat changes and a computed dyno curve, fine tune the car (boost, final drive, camber, ride height, anti-roll, tyre pressure, presets, share code), use the paint studio, and take a timed test drive with the previewed parts. Every price is computed on the server. See Tuning.
  • Workshop floor: an order board for the staff on duty, lifts that survive a resource restart, install steps with a server-timed torque check, parts from the shop's stock or the customer's own item, warranty, service book and skill XP. When nobody is on duty or nobody claims an order within 10 minutes, the NPC crew takes over at +25 %. See Work orders & installs.
  • Repair: a diagnosis built from the real vehicle health, OBD fault codes with the mech_scanner, a checklist that uses consumables from the shop's supply stash, timed repairs, a Mors Mutual insurance split, and a bill or an np_payments invoice. Quick fixes work anywhere: repair kit, spare tyre, jump start. See Repair & diagnosis.
  • Underground: heat per player and per shop, tip-offs to the police, shops that go dark when they run too hot, dirty money, illegal parts (nitrous, ECU unlock, hidden compartment, armour plating, kill-switch jammer), the chop shop, VIN scrub, fake plates, knock codes and np_gangs turf. Police inspect cars with the same scanner. See Underground & police.
  • Player-owned workshops (Benny's and Albany by default): bought or given by staff, ranks, hiring, wages, clock-in duty, pricing within server caps, opening hours, KPIs, stock per part, and reorders that become delivery jobs for any player. See Player-owned workshops.
  • Roadside: tow, jump start, flat tyre and fuel delivery. The customer picks a workshop, the mechanics on call get the job, the customer pays on arrival, and a towed car opens a repair work order at the workshop. See Roadside & towing.
  • Phone: an np_phone store app "Mechanic" with your vehicles, roadside requests, the Dynamic Island, the service book and, for mechanics, the job board. Without np_phone the same app opens in np_mechanic's own UI. See Phone app.
  • Reputation at LS Car Meet: levels from collected builds, finished test drives and showing up at meet nights. They unlock stage 3 and Tenshun parts and a member discount.

Workshops ​

Workshop Mode Role
Los Santos Customs (Burton, LSIA, La Mesa, Route 68) job (mechanic) Full catalogue, respray, performance, repair, test drives
Benny's Original Motor Works owned (bennys) Body kits, lowrider, paint studio, repair
LS Car Meet npc Performance, dyno, fine tune, test drives, reputation
Hao's Special Works invite (mech_invite_haos) HSW and top-tier performance, dyno, fine tune
Hayes Auto Body Shop job (mechanic) Repair, tow, inspection
Beeker's Garage (Paleto Bay) job (mechanic) Repair, tow, basic performance
Albany Service & Repair owned (albany) Repair, paint studio, engine and chassis
Classique Service npc Respray, interior, engine and brakes, repair, inspection
Salvage Yard (Red's) gang, illegal Chop shop, VIN scrub, fake plates, compartments, jammers
Ghost Garage invite, illegal, moves weekly Nitrous, ECU unlock, compartments, plating, fake plates
Arena Workshop invite, illegal Armour, plating, heavy performance

What each mode means is explained in Configuration → Workshops.

For other resources ​

lua
-- server: an MDT or impound script
local illegal, parts, flags = exports.np_mechanic:IsVehicleIllegal(plate)
exports.np_mechanic:SetVehicleStolen(plate, true)   -- the owner reported it: it may be chopped

exports.np_mechanic:registerHook('beforeChop', function(p)   -- { source, plate, model, shop, owner }
  if isJobVehicle(p.model) then return false, 'job vehicles cannot be chopped' end
end)

AddEventHandler('np_mechanic:server:tipOff', function(t)     -- { shop, kind, heat, coords, via }
  exports.my_dispatch:Send(t.coords, 'Suspicious activity at a garage')
end)

Next steps ​