gta6/prompts
medical
Vaultadvancedmedical

Internal Organ Trauma — Internal Bleeding & Surgical Repair

QBCore hidden internal-bleed/organ-damage state that no medkit can clear — only a job-gated operating-table surgery, owned entirely server-side, resolves it.

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

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).

🔒 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 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…

🔒 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-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 loadTaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + a HasAnimDictLoaded wait 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 on xPlayer.job.name == 'ambulance'.
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); resolve the medic with QBCore.Functions.GetPlayer(src) and check PlayerData.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.