Description
An internal-organ trauma system for QBCore servers: a hidden internal-bleed state pushes a damage screen, a medkit is explicitly rejected, and only a job-gated surgery performed at an operating table clears it. Servers sell this because medkit-proof injury that demands a real surgeon turns a one-button revive into genuine hospital RP and a career path.
Prompt Template
You are writing a FiveM resource for qb-core (exports GetCoreObject).
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 lives at content/expected-outputs/medical/05-internal-organ-surgery.lua. It implements a hidden server-side organ-damage flag, an explicit medkit-fail path, and a surgery handler…
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-trusted cure — Claude lets the client clear the state; keep organ damage server-side and only cure through the job-gated surgery handler.
- Anim before load —
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+ aHasAnimDictLoadedwait loop. - One-sided net event — defining the surgery round-trip on only one side leaves the patient stuck damaged; both sides use
RegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Keep organDamage[src] authoritative on the server, make organ:tryMedkit only ever fire organ:medkitFail, and in organ:surgery verify the source medic has job.name == 'ambulance' and the patient truly has organ damage before clearing and re-syncing."
Framework Integration
- ESX: port by swapping to
exports['es_extended']:getSharedObject()and gating onxPlayer.job.name == 'ambulance'. - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); resolve the medic withQBCore.Functions.GetPlayer(src)and checkPlayerData.job.name. - QBox: use
exports.qbx_core:GetPlayer(src)and the same job check; QBox shares the QB job schema.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), set for a rising high-defensibility surgery niche.
Trend Signal
↗ rising — strategy: Internal-only injury needing surgery is a high-defensibility, high-compound deepening over commodity one-button medkit revive.
Sales Angle
Position as the surgeon-tier endgame that forces real hospital RP and makes the ambulance job a career — the medkit-proof internal state is the moat. Recommended Tebex price $189.
Difficulty & Ship Time
advanced · ships in 1-2 days.