Description
A toxicology layer for QB/QBox servers: a server-owned toxin state (ingested poison, snakebite venom, gas) ticks damage on a timer and is cancelled only when the player uses the matching antidote for that toxin type. Servers buy it for survival and event RP — poisoning becomes a real threat that demands the right antidote, not a generic heal.
Prompt Template
You are writing a FiveM resource for qb-core.
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/23-toxicology-poison-antidote.lua. It implements a server-owned toxin state ticking damage on a timer, escalating poisoned screen FX, and…
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 tick — Claude runs the tickdown locally; keep
poison[src], the tick and the damage server-side keyed by source. - Anim before load —
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+ aHasAnimDictLoadedwait loop before the antidote anim. - Wrong antidote cures — without a type match any antidote cancels any poison; the server must reject
antidote ~= TOXINS[type].antidote.
Corrective re-prompt: "Keep poison[src] = authoritative with a server tick loop applying TOXINS[type].dmg; in tox:cure reject the cure whenever the passed antidote item does not equal TOXINS[type].antidote."
Framework Integration
- QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); resolveQBCore.Functions.GetPlayer(src)and consume the antidote viaPlayer.Functions.RemoveItem. - QBox:
exports.qbx_core:GetPlayer(src)and remove the antidote throughexports.ox_inventory:RemoveItem. - ESX: swap to
exports['es_extended']:getSharedObject()/ESX.GetPlayerFromId(src)if porting; the toxin tables are unchanged.
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), set for a stable, under-served survival-realism niche.
Trend Signal
→ stable — inferred: Poison/venom + antidote is a niche realism layer (snakebite/gas events); steady, under-served interest.
Sales Angle
Position as the survival-realism layer for snakebite, gas and poison events — each needs its specific antidote, not a generic medkit. Recommended Tebex price $119.
Difficulty & Ship Time
intermediate · ships in 1 day.