Kartik Scripts

Alcohol

A blood alcohol system that police can test and medics can read.

๐Ÿ“Š The stages

The highest level you reach is the one that applies.

BACSymptomsVitals
0.05Dizziness-
0.12Dizziness, blurred visionHeart rate +8
0.20Confusion, nauseaHeart rate +14, systolic โˆ’6
0.30Confusion, passing out, nauseaHeart rate +20, breathing โˆ’4, oxygen โˆ’6, temp โˆ’0.8
0.40Alcohol poisoning, you collapse and need a medic

Above 0.40 the player collapses into last stand. Drinking yourself to death is a real outcome.


โณ Sobering up

Your body clears 0.015 per hour.


๐Ÿป Built-in drinks

ItemBAC per drink
Beer+0.02
Wine+0.035
Whiskey+0.055

๐Ÿฅƒ Connecting your own drinks

If you run your own bar or drink script, add to a player's BAC with either:

exports['kartik-ambulancejob']:AddBac(source, 0.02)
TriggerEvent('kartik-ambulancejob:server:drink', source, 0.02)

๐ŸŒฌ๏ธ The breathalyzer

On-duty medics with a breathalyzer in their inventory can target someone and choose Breath Test. It reads the patient's BAC and says whether they are over or under the legal limit, 0.08 by default.

The breath test is a medical tool: police and admins do not get the option, even carrying a breathalyzer. The patient cannot be dead.


๐Ÿฉธ The blood test

A hospital blood test always shows the exact BAC, as part of the toxicology panel.

That difference is deliberate. A quick breath test at the scene tells the medic what they are dealing with; a hospital blood test is the full toxicology panel for the record.


โš™๏ธ Settings

SettingDefault
enabledtrue
decayPerHour0.015
legalLimit0.08
poisoning0.40 (false = never collapse)
breathItembreathalyzer

All in shared/config/vitals.lua under Config.Alcohol.

On this page