gta6/prompts
medical
Vaultadvancedmedical

Blood Typing & Transfusion — Compatibility & Reactions

Eight ABO/Rh blood types with a server-side crossmatch table and a transfusion-reaction penalty when a mismatched bag is given to a patient.

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

Description

Eight ABO/Rh blood types with a real crossmatch compatibility matrix: give a patient a compatible bag and the transfusion is accepted, give a mismatched one and the server applies a transfusion-reaction penalty. Heavy-RP hospital servers buy it because clinical depth at this level is almost never shipped — it turns transfusion from a cosmetic prop into an actual decision.

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/08-blood-type-transfusion.lua. It defines…

🔒 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-held blood type — storing the type on the client lets a player read or spoof it. The type must live only in the server's patientType table.
  • Backwards compatibility matrix — keying by donor-can-give instead of recipient-can-receive inverts the whole table; AB+ should receive everything, O- only O-.
  • Round-trip via TriggerEvent — the reaction penalty never reaches the patient without RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Keep blood type server-only and rebuild COMPATIBLE keyed by recipient: COMPATIBLE[recipient] is the set of donor types that recipient can safely receive. Verify AB+ accepts all 8, O- accepts only O-, and that a mismatch triggers medical:blood:reaction on the patient via a net event."

Framework Integration

  • ESX: not targeted here, but exports["es_extended"]:getSharedObject() plus a blood_type metadata column would back the type assignment if you extend it.
  • QBCore: persist the type in Player.PlayerData.metadata.bloodtype via Player.Functions.SetMetaData, and apply the reaction as a damage/effect through QBCore.Functions.GetPlayer.
  • QBox: read/write the type with exports.qbx_core:GetPlayer(src) metadata and apply the reaction penalty through the qbx_medical damage events.

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 clinical-realism layer with little competition.

Trend Signal

rising — inferred: Blood-type crossmatch is a rare realism layer; rising with hospital-sim heavy-RP servers wanting clinical depth.

Sales Angle

Position as the realism layer no one else ships — a true ABO/Rh crossmatch with consequences. Recommended Tebex price $249.

Difficulty & Ship Time

advanced · ships in 1 day.