gta6/prompts
medical
Vaultbeginnermedical

Anaphylaxis — Allergic Reaction & Adrenaline Auto-Injector

QB/QBox allergen-triggered anaphylaxis that ticks down health under an airway-swelling debuff and is reversed only by consuming a server-verified adrenaline auto-injector item.

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

A self-contained anaphylaxis realism add-on for QBCore or QBox: an allergen trigger starts an airway-swelling reaction that applies a deadman timecycle and drains health each tick, and the only cure is consuming an adrenaline auto-injector item the server verifies and removes. It is a small, easy-to-drop realism feature that upsells cleanly onto any medical or survival pack.

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/29-anaphylaxis-auto-injector.lua. It implements a server-owned reaction registry, a client airway-debuff loop that drains health while…

🔒 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-cleared reaction — Claude lets the client stop its own reaction; keep the reaction state and the cure server-side keyed by source.
  • Anim before load — the injector TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + a HasAnimDictLoaded wait loop.
  • One-sided net eventana:start/ana:stop on only one side means the tic never starts or never ends; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Keep the reactions table in server.lua keyed by source, and in ana:inject only clear the reaction and fire ana:stop after confirming the player is actually reacting and GetItemByName('adrenaline_injector') returns at least one — then RemoveItem; never let the client end its own anaphylaxis."

Framework Integration

  • ESX: not targeted, but xPlayer.getInventoryItem('adrenaline_injector').count would replace the item check if you port it.
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); verify with Player.Functions.GetItemByName('adrenaline_injector') and Player.Functions.RemoveItem.
  • QBox: use exports.qbx_core:GetPlayer(src) and exports.ox_inventory:Search / RemoveItem if running ox_inventory.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), sized for a stable realism-add-on niche.

Trend Signal

stable — inferred: Anaphylaxis/auto-injector is a small, self-contained realism add-on; steady niche interest, easy upsell.

Sales Angle

Position as a low-friction realism micro-add-on — a clean upsell on any medical or survival pack that adds a dramatic, item-gated emergency. Recommended Tebex price $89.

Difficulty & Ship Time

beginner · ships in 2-4h.