Kartik Scripts

The Blood Bank

Every character is born with a blood type, and it matters.

๐Ÿงฌ Blood types

Eight types, distributed realistically across your population:

TypeShare of players
O+38%
A+34%
B+9%
Oโˆ’7%
Aโˆ’6%
AB+3%
Bโˆ’2%
ABโˆ’1%

A character's blood type is unknown until a blood test reveals it. Once known, it is stored in their medical profile forever.


โœ… Compatibility

RecipientCan receive from
Oโˆ’Oโˆ’ only
O+Oโˆ’, O+
Aโˆ’Oโˆ’, Aโˆ’
A+Oโˆ’, O+, Aโˆ’, A+
Bโˆ’Oโˆ’, Bโˆ’
B+Oโˆ’, O+, Bโˆ’, B+
ABโˆ’Oโˆ’, Aโˆ’, Bโˆ’, ABโˆ’
AB+Everything

Oโˆ’ is the universal donor. AB+ is the universal recipient. That is why Oโˆ’ donors are the most valuable people on your server.


โ˜ ๏ธ Getting it wrong

An incompatible transfusion is a catastrophe:

Heart rate+40
Systolic pressureโˆ’35
Temperature+2.0 ยฐC
Blood volumeโˆ’400 ml, they lose more than they gained
Death chance15%

Survivors get the Transfusion Reaction disease, high fever, low blood pressure, shaking, cured with antihistamine or epinephrine.

Run a blood test before you transfuse. Guessing has a one in seven chance of killing your patient outright.


๐Ÿ’‰ Transfusing

  1. Get a blood_bag from the hospital's Blood Fridge.
  2. Check the bag's type against the patient's.
  3. Give it. +500 ml blood volume.

A transfusion goes through an IV line, if the patient doesn't have one yet, you place it first. A downed patient can get an IO line instead. See Surgery & Procedures โ†’ IV access.

Bags expire after 14 days.


๐Ÿท๏ธ The bag label

Every bag carries a printed label. Use the bag to read it:

Unit numberIts own number, like U26-04821, with a barcode
Blood groupOnly once the bag is typed
DonorThe donor's initials, never a name. Shop bags say Blood bank
Collected / ExpiresThe dates

An untyped bag is stamped Untyped - do not use, and an out-of-date one Expired.

In Patient Care, each bag in the transfusion list shows its unit number and expiry, so you hang the bag you meant to.


๐ŸŽ Donations

At a hospital's Blood Donation Chair, any player can donate.

Amount500 ml
Reward$250
Cooldown2 hours
Takes15 seconds

A medic runs the donation at the chair. The bag goes into the medic's inventory, untyped, the label carries the donor's initials but no blood group.

Before it can be given to anyone, type it at the Laboratory โ†’ Type Blood Bags. That types every untyped bag you carry at once.

Medics earn 10 XP for processing a donation.


๐Ÿ›’ Shop bags

For servers that cannot rely on player donations, the blood fridge can also sell universal Oโˆ’ bags for $400 (rank 1+).

Turn this off (shopBags.enabled = false) if you want a donation-driven economy where running out of blood is a real event.


๐Ÿฉธ Blood volume vs blood cells

MethodRestores
Saline IV (500 ml)+350 ml volume
Saline IV (250 ml)+175 ml volume
Electrolyte drink+50 ml
Blood bag+500 ml
Natural regeneration3 ml per tick, only when not bleeding

Saline buys time. Blood fixes the problem. For a patient who bled out, PEA will not convert to a pulse without real volume.


๐Ÿ“Š Reference

Maximum blood volume5,000 ml
Collapse into last standbelow 2,600 ml
Death while downbelow 1,500 ml
Minimum for a revive to hold3,000 ml

On this page