Mechanic Locations
Each mechanic location is defined in Config.Mechanics with a unique ID. Alternatively, use the /mechanics in-game editor.
Structure
lua
Config.Mechanics = {
['downtown'] = {
label = "Downtown Customs",
job = 'mechanic',
minGrade = 0,
blip = {
enabled = true,
sprite = 446,
color = 47,
scale = 0.8,
},
zone = {
coords = vector3(-205.0, -1312.0, 31.0),
radius = 15.0,
heading = 270.0,
},
vehicleSpawn = vector3(-212.0, -1312.0, 31.0),
interaction = {
key = 'E',
keyCode = 38,
},
categories = {
cosmetic = true,
performance = true,
wheels = true,
respray = true,
lights = true,
extras = true,
livery = true,
tyres = true,
stance = true,
},
-- Optional sub-features (set to nil to disable)
lift = { ... },
craft = { ... },
shop = { ... },
boss = { ... },
storage = { ... },
},
}
Fields
| Field | Type | Description |
|---|---|---|
label | string | Display name for the mechanic |
job | string | Required job to access |
minGrade | number | Minimum job grade (0 = all) |
blip | table | Map blip configuration |
zone | table | Zone coords, radius, and heading |
vehicleSpawn | vector3 | Where vehicle is positioned |
interaction | table | Key and keyCode for interaction |
categories | table | Enabled mod categories |
lift | table? | Vehicle lift config (nil = disabled) |
craft | table? | Craft table config (nil = disabled) |
shop | table? | Shop config (nil = disabled) |
boss | table? | Boss menu config (nil = disabled) |
storage | table? | Storage config (nil = disabled) |
