gta6/prompts
medical
Vaultadvancedmedical

Surgeon Operating Table — Multi-Stage Surgery Minigame

Multi-stage surgery minigame (incision, clamp, extract, suture) performed at an operating table, with the server validating the ordered sequence before applying the heal.

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

Description

A four-stage surgery minigame — incision, clamp, extract, suture — performed by a surgeon at an operating table, where the server validates that every stage landed in order before applying the heal. It is a craft-depth moat far above a one-button revive, which is exactly why depth-chasing roleplay servers buy it: it gives surgeons a real skill ceiling.

Prompt Template

You are writing a FiveM resource for a roleplay server. Detect 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

See content/expected-outputs/medical/11-surgeon-operation-minigame.lua. It runs…

🔒 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 heal — healing when the minigame ends lets a client skip stages. The heal must fire only from the server's final-stage handler.
  • Unordered stage acceptance — without an order check a client fires suture first and finishes instantly. Each stage must be exactly previous+1.
  • Missing anim-load waitRequestAnimDict without the HasAnimDictLoaded loop drops the first stage's animation.

Corrective re-prompt: "Enforce ordering on the server: store progress as the last completed stage index and reject any stage whose ORDER index is not previous+1, resetting progress on a violation. Apply the heal only inside the suture (index 4) branch via TriggerClientEvent; the client must never heal."

Framework Integration

  • ESX: not the primary target, but you could resolve exports["es_extended"]:getSharedObject() and apply the heal via your revive export inside the final-stage handler.
  • QBCore: apply the heal with TriggerClientEvent('hospital:client:Revive', patient) or health setters on QBCore.Functions.GetPlayer(patient), gated on the ambulance job.
  • QBox: use exports.qbx_core:GetPlayer(src) and the qbx_medical heal export; the progress table fits qbx_medical's injury model for partial heals.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex corpus (median seller $11.85K/mo, n=100); a rising depth module commanding the upper-mid band.

Trend Signal

rising — strategy: Surgeon operating-table minigame is a craft-depth moat (defensibility axis) far above one-button revive.

Sales Angle

Position as the surgical skill ceiling that separates a serious medical server from a casual one. Recommended Tebex price $279.

Difficulty & Ship Time

advanced · ships in 1 day.