gta6/prompts
medical
Vaultbeginnermedical

First-Aid Kit — Tiered Medical-Item Crafting & Use

ESX crafting + consumable layer where a server-owned recipe table turns raw items into tiered medical kits (bandage → suture kit → medkit), each with its own server-validated heal amount and use-time.

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

Description

A tiered medical crafting + consumable layer for ESX servers: a server-owned recipe table turns raw items into three kit tiers (bandage, suture kit, medkit), and using a kit plays a tier-correct anim before the server applies that tier's heal amount. Servers buy it as a clean, readable replacement for the heavy inventory-crafting bloat — every heal value lives in one auditable table instead of scattered item metadata.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports getSharedObject).

🔒 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/19-first-aid-kit-crafting.lua. It implements a server-owned recipe/heal table, server-validated ingredient consumption on craft, and a…

🔒 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 heal — Claude lets the client pass the heal number; look the heal up server-side by tier id so a kit cannot full-heal.
  • Anim before loadTaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + a HasAnimDictLoaded wait loop before the use anim.
  • Client-only craft — ingredients removed only client-side desync; the server must re-verify and remove every ingredient on craft.

Corrective re-prompt: "Keep a server-owned RECIPES table keyed by tier with ingredients, heal and useTime; in firstaid:craft verify and removeInventoryItem each ingredient before adding the kit, and in firstaid:use read the heal from RECIPES, never from the client."

Framework Integration

  • ESX: local ESX = exports['es_extended']:getSharedObject(); gate items with xPlayer.getInventoryItem('bandage').count and xPlayer.removeInventoryItem.
  • QBCore: swap to exports['qb-core']:GetCoreObject() and use Player.Functions.GetItemByName / RemoveItem / AddItem.
  • QBox: resolve exports.qbx_core:GetPlayer(src) and run ingredient checks through exports.ox_inventory:Search / RemoveItem.

Profit Potential

$80–$1000/mo on Tebex (expected ~$250). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), set low for a saturated crafting niche won on quality not novelty.

Trend Signal

saturated — strategy: Tiered consumable crafting is ox_inventory commodity territory; saturated — win on quality/migration per matrix, do not lead.

Sales Angle

Position as the clean, framework-native migration off bloated inventory crafting: one readable recipe table, server-validated heals, no metadata sprawl. Recommended Tebex price $59.

Difficulty & Ship Time

beginner · ships in 2-4h.