Kartik Scripts

Overview

The landing page of /emsadmin. A live snapshot of the medical side of your server.

What it shows

Medics on dutyHow many are clocked in, and how many are actually available (not down themselves)
Active patientsPlayers currently down, dead or under treatment
HospitalsHow many you have configured, and whether each one is fully set up
Active AI calloutsOutstanding NPC calls
Bodies in the worldPermadeath bodies, if that system is on

Why it matters

It is the fastest way to answer "is EMS working right now?", if there are twelve patients down and zero medics on duty, you can see it in one glance and act.

The same medic counts are exposed to your other scripts as global state:

GlobalState['kaj:medics']        -- available medics
GlobalState['kaj:medicsOnDuty']  -- everyone clocked in

On this page