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…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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 load —
TaskPlayAnimfires beforemini@repairis 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 behindxPlayer.job.name == "mechanic"and bill viaxPlayer.removeMoney. - QBCore: resolve with
exports["qb-core"]:GetCoreObject(); checkQBCore.Functions.GetPlayer(src).PlayerData.job.nameand charge throughPlayer.Functions.RemoveMoney. - QBox: identical to QBCore via
exports.qbx_core; useexports.ox_inventoryto 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.