gta6/prompts
mechanic
Vaultintermediatemechanic

Engine Overheating & Cooling

A server-authoritative coolant-temp model that raises heat with driving load, throttles power and degrades the engine on overheat, then clears on cooling or a radiator repair.

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
~93 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A coolant-temperature model that accumulates heat from driving load, and once it passes the overheat threshold throttles engine power and bleeds engine health while emitting smoke. The heat is cleared either by idling/cooling or by an anim-gated radiator repair, giving long drives a real maintenance stake.

Prompt Template

You are writing a FiveM resource for QBCore/QBox (resolve 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/14-engine-overheating-cooling.lua implements a per-plate heat record on the server, a 5-second client speed reporter, an overheat power/health…

🔒 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 threshold — each client evaluates overheat locally and they disagree on engine state. Evaluate the threshold only on the server.
  • Unloaded repair animTaskPlayAnim runs before mini@repair loads, so the radiator-repair gesture never plays.
  • One-sided net event — the cool/sync event is registered on a single side, so the reset never round-trips.

Corrective re-prompt: Move the OVERHEAT_THRESHOLD comparison into the server tick handler, register every net event with RegisterNetEvent + AddEventHandler on both sides, and ensure the while not HasAnimDictLoaded(dict) do Wait(0) end loop precedes TaskPlayAnim in the radiator repair.

Framework Integration

  • ESX: not targeted here, but resolvable via exports["es_extended"]:getSharedObject() if you port the job-gating.
  • QBCore: resolve with exports["qb-core"]:GetCoreObject(); restrict the radiator repair to job.name == "mechanic" and require a "coolant" item.
  • QBox: use exports.qbx_core plus exports.ox_inventory:RemoveItem to consume the coolant on a successful repair.

Profit Potential

$150–$2000/mo on Tebex (expected ~$520). [INFERRED] Priced inside the $50-389 script band against the signal-scraper corpus (median seller $11.85K/mo, n=100); steady realism demand puts it mid-band.

Trend Signal

stable — inferred: Overheating sim is steady realism demand; distinct from the existing collision-damage stall script [inferred].

Sales Angle

Position it as the realism layer that turns long highway drives into a maintenance risk, feeding the mechanic economy. Recommended Tebex price $69.

Difficulty & Ship Time

intermediate · ships in 4-6h.