AI Core

ai-mechanic

Mechanic shops with repair and tuning with a live preview, job shops with a stash and customer bills, car washes and a repair kit.

ai-mechanic repairs and tunes vehicles. Shops can be open to everyone or run by a job (a mechanic job with its own stash, whose staff bill customers). It also runs car washes and the repair kit item.

What it does in the game

  • Opening a shop. Drive into a shop's area and, from the driver seat, press the interact key at Open .... A menu opens with Repair, Performance, Body parts, Wheels, Paint and Lights, tint and plate (only what the shop offers).
  • Tuning with a preview. Moving through a list shows each part on the car before you pay. Each purchase is one part: the price shows next to it, Installed marks what the car has. Closing a list puts back the last bought look.
  • Saved for good. On an owned vehicle, bought tuning is saved in ai-vehicles: ai-mechanic is the only script that changes a car's stored tuning.
  • Repair. Fixes engine and body. The price follows the damage (price per damage point times up to 2000 points).
  • Who pays. At a public shop the driver pays from the panel's accounts. At a job shop, only on-duty members of that job can work, and the job's bank account pays, except for a car the member's own character owns, which the member pays.
  • Job shop stash. A job shop can have a shared stash (Open the shop stash) for its members.
  • Customer bills. On-duty members of a job that runs a job shop see Bill customer in the radial menu. It bills the nearest player with an amount and a reason; the job's account gets the money when the customer pays the bill.
  • Car wash. Drive into a car wash and press the interact key at Wash the vehicle ($...). A progress bar runs in the car; the price is taken and the dirt removed at the end.
  • Repair kit. Use the repair kit item on foot next to a vehicle (within 4 m). After a progress bar, the engine comes back up to the panel's value ("The engine runs again, get it to a mechanic"). The kit is used up only if you are still within 5 m.

Installation

Installed by the AI Core recipe. By hand: ensure ai-mechanic after ai-core (and after ai-vehicles so tuning is saved). Add a repairkit item to your inventory if it has none (or set another item in the panel).

Default places: five shops (LS Customs Burton, a job shop of the mechanic job with price multiplier 0.8; LS Customs Harmony and Airport; Benny's Motorworks with multiplier 1.2; Beeker's Garage in Paleto with repairs only) and five car washes (Strawberry, Davis, Paleto, Sandy Shores, Little Seoul).

Panel settings

Admin panel > Mechanics.

Tab: Shops

Places where drivers repair and tune their vehicles, open to everyone or run by a job. One record per shop (New shop / Delete shop). Deleting a shop keeps its stash in the inventory database.

Shop card: where the shop is and what it offers. Drivers open it from the driver seat inside the area.

SettingWhat it changesUnitDefault for new
NameShown on the prompt. 1-48 characters.
PlaceThe middle of the workshop floor.point
Area sizeHow far from the place a vehicle can be served. 2-40.m8
Show on the mapShows the shop's blip (public or job shop look from Settings).on / offon
RepairsFixes engine and body; the price follows the damage.on / offon
TuningPerformance, body parts, wheels, paint, tint, plate and lights.on / offon
Price multiplierEvery price here is multiplied by this (1 = the prices in Settings). 0-10, steps of 0.05.x1

Run by a job card: a job shop serves only that job's on-duty members and charges the job's account; its staff bill the customers.

SettingWhat it changesDefault for new
JobEmpty: a public shop, the driver pays.empty
StashA shared stash for the job's members. Leave at 0, 0, 0 for none.0, 0, 0

NPC card: an optional person at the shop (Model, What it does, Where it stands). Leave the model empty for none.

Tab: Car washes

Places where a driver pays to wash the vehicle. One record per wash (New car wash / Delete car wash). Drive in and press the prompt.

SettingWhat it changes
NameShown on the map and the prompt. 1-48 characters.
PlaceThe middle of the wash lane.

Tab: Settings

Prices of every service.

Prices: base prices; each shop multiplies them by its own multiplier.

SettingWhat it changesUnitDefault
AccountsPublic shops and car washes take the money from the first account that has enough.cash, bank
Repair per damage pointA wrecked vehicle has up to 2000 damage points (engine and body). 0-100, steps of 0.1.$2
Performance levelEngine, brakes, transmission, suspension and armor: level 1 costs this, level 2 twice this, and so on.$2,500
TurboThe turbo.$15,000
Xenon headlightsXenon lights.$2,000
Body partEvery spoiler, bumper, hood and other part.$750
WheelsOne set of wheels.$1,500
PaintOne color change.$1,000
Window tintOne tint.$500
Plate styleOne plate style.$300

All prices above are 0-1,000,000.

Car wash: what a wash costs and how long it takes.

SettingWhat it changesUnitDefault
Price0-100,000.$20
Duration1-60.s6

Repair kit: the repair kit item, used on foot next to a vehicle.

SettingWhat it changesUnitDefault
Engine health after1000 is a new engine; below 300 it smokes, at 0 it stops. 100-1000. A car already at or above this cannot use a kit.750
Duration1-60.s10
Kit itemThe item players use as a repair kit. A renamed item works at once; the old name stops working after a restart.repairkit

Customer bills: on-duty members of a job shop's job bill the player next to them from the radial menu; the job's account gets the money when the customer pays.

SettingWhat it changesUnitDefault
Smallest billThe least a mechanic can ask for in one bill. 1-10,000,000. Cannot be larger than the largest bill.$1
Largest billThe most a mechanic can ask for in one bill. 1-10,000,000.$50,000

Job shop stash: size of the shared stash in every job shop.

SettingWhat it changesUnitDefault
Slots1-200.50
Weight1,000-10,000,000.g250,000

Map blips: how shops and car washes look on the map (icon, color, size).

SettingDefault
Public shopicon 72, color 46, size 0.6
Job shopicon 72, color 46, size 0.6
Car washicon 100, color 37, size 0.75

Commands and keybinds

None. The prompts use the interact key (E by default). Customer bills are in the radial menu (F3 by default).

Logs

Log channels: tuning and repairs (off by default; each purchase and repair with its payer and vehicle id) and bills.

Known limits

  • Tuning, repair and wash need the driver seat.
  • A tuning change on a vehicle that is not owned (a job car that is not in ai-vehicles, a rental) is shown but not saved: it is lost when the vehicle is deleted.
  • Job shops always charge the job's bank shared account.

On this page