gta6/prompts
mechanic
Vaultbeginnermechanic

Oil & Fluids Maintenance

A server-authoritative oil/coolant/brake-fluid service loop (modeled on ox_fuel) that drains with driving, throttles engine power when overdue, and warns the driver.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~98 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A maintenance loop that tracks oil, coolant and brake-fluid life per vehicle, drains it as players drive, and throttles engine power plus warns the driver once any fluid falls below threshold. It gives a mechanic economy a reason to exist — vehicles degrade on their own and only a paid-for service restores them.

Prompt Template

You are writing a FiveM resource (framework-agnostic, resolve the framework via…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

The reference Lua at content/expected-outputs/mechanic/13-oil-fluids-maintenance.lua implements a per-plate fluid record on the server, a 30-second client drain reporter, an engine-power throttle…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-side refill — Claude lets the client set fluid life to 100 locally; a spoofed event then refills for free. Force the restore to happen only inside the server event.
  • Missing anim loadTaskPlayAnim fires before mini@repair is resident, so no service animation plays.
  • Entity-handle keying — state stored against the vehicle handle desyncs on re-stream; key it by plate.

Corrective re-prompt: Move all fluid mutation into the server event handlers, key the record by GetVehicleNumberPlateText (plate), validate the fluid name server-side before restoring, and guarantee the while not HasAnimDictLoaded(dict) do Wait(0) end loop precedes TaskPlayAnim.

Framework Integration

  • ESX: resolve with exports["es_extended"]:getSharedObject(); gate the service action behind xPlayer.job.name == "mechanic" and bill via xPlayer.removeMoney.
  • QBCore: resolve with exports["qb-core"]:GetCoreObject(); check QBCore.Functions.GetPlayer(src).PlayerData.job.name and charge through Player.Functions.RemoveMoney.
  • QBox: identical to QBCore via exports.qbx_core; use exports.ox_inventory to require an "oil_can" item before refill.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] Priced inside the $50-389 script band against the signal-scraper corpus (median seller $11.85K/mo, n=100); a stable evergreen-utility niche lands mid-band.

Trend Signal

stable — corpus: Maintenance loop modeled on the ox_fuel consumption pattern; evergreen utility.

Sales Angle

Position it as the realism upsell that gives mechanic jobs a recurring revenue loop — vehicles wear down by themselves and only a paid service restores them. Recommended Tebex price $59.

Difficulty & Ship Time

beginner · ships in 3-5h.