Configuration
Here you can find a breakdown of the config of MedAnnounce
Config file
Debug
Debug - To display known error sources
cfg.debug = true
General
DarkMode - When set to 'true', the system is displayed in DarkMode
cfg.darkMode = false
Control center
Dispatch Jobs - To define the jobs of the control center employees
cfg.dispatchJobs = {"ils"}
Dispatch Jobs Rank - To define the job rank of the control center employees
cfg.dispatchJobsRank = { ["ambulance"] = 0, ["ils"] = 5}
Dispatch Pc's - Here you can define the positions of the control center computers
cfg.dispatchPcs = {
vector3(31.1399, 6366.1626, 31.2327),
vector3(1115.0096, -924.9387, 51.2714),
vector3(1114.8762, -922.6482, 51.2714)
}
Ambulance service
Ambulance Jobs - To define the jobs of the ambulance service
cfg.ambulanceJobs = {"ambulance", "fire"}
Ambulance Open - Define the options for the ambulance service to open the Medan tablet
"command" = Comamnd from cfg.ambulanceCommand
"item" = Item from cfg.ambulanceitem
"both" = Uses the command and the item
"false" = Only the control center can log in
cfg.ambulanceOpen = "both"
Ambulance Command - Define the command to open the tablet
cfg.ambulanceCommand = "medan"
Important! -> cfg.ambulanceOpen must be set to "command" or "both"
Ambulance Item - Define the item to open the tray
cfg.ambulanceitem = "bread"
Important! -> cfg.ambulanceOpen must be set to "item" or "both"
Ambulance Cars - Define the vehicles of the ambulance service
cfg.ambulanceCars = {
{name = "FL SH 1/83-01", type = "RTW"},
{name = "FL SH 1/83-02", type = "RTW"},
{name = "FL SH 1/85-01", type = "KTW"},
{name = "FL SH 2/83-01", type = "RTW"},
{name = "FL SH 2/82-01", type = "NEF"}
}
Tip -> We recommend only entering transporting vehicles (no ELW, KDOW, NEF etc.)
Hospital
Hospitals - Define your hospitals
cfg.hospitals = {
{
name = "Central Medical Center 1", -- name of the hospital
job = "ambulance", -- Job of the hospital employees
jobRank = 0, -- Job rank for logging off the hospital
item = "bread", -- Item which acoustically indicates pre-registrations
stats = {
chirurgie_alg = true, -- Does the hospital have a "Surgical General" ward?
chirurgie_its = true, -- Does the hospital have a "Surgical Intensive Care" ward?
internal_alg = true, -- Does the hospital have an "Internal General" ward?
innere_its = true, -- Does the hospital have an "Internal Intensive Care" ward?
neuro_alg = true, -- Does the hospital have a "Neurological General" ward?
neuro_its = true, -- Does the hospital have a "neurological intensive care" ward?
hkl = true, -- Does the hospital have a "cardiac catheterization laboratory"?
sr = true, -- Does the hospital have a "shock room" ward?
},
pcPos = { -- Define the positions of the hospital PCs
vector3(26.1726, 6359.8594, 31.2354),
vector3(1115.0096, -924.9387, 51.2714),
vector3(1114.8762, -922.6482, 51.2714)
}
}
}
Categories
Hospitals - Define your keywords of the categories in the tablet
cfg.categories = {
["surgery_alg"] = { -- Keywords for "Surgical General"
"laceration",
"Head injury",
"extremity closed",
"extremity open",
"Burn",
"Superficial injuries",
"Back pain or neuro. Failures",
"Abdomen acute",
},
["chirurgie_its"] = { -- Keywords for "Surgical Intensive"
"Polytrauma with SHT",
"Polytrauma without SHT",
"Thoracic trauma",
"Thorax open",
"Abdomen open",
"Amputation",
},
["internal_alg"] = { -- keywords for "internal general"
"Circulatory disorder / syncope",
"abdomen unclear",
"frostbite",
"vomiting",
"chest pain",
"Acute coronary syndrome",
"exicosis",
"alcohol intoxication",
"drug intoxication",
"drug intoxication",
},
["internal_its"] = { -- keywords for "internal intensive"
"Resuscitation ongoing",
"Resuscitation with ROSC",
"unconsciousness",
"STEMI",
"mixed intoxication",
"Hypoglycemia",
},
["neuro_alg"] = { -- Keywords for "neurological general"
"Dizziness",
"Head / facial pain",
"Epileptic seizure (occurred)",
"Vigilance reduction",
},
["neuro_its"] = { -- Keywords for "Neurological intensive"
"Stroke / hemorrhage",
"coma",
"Epileptic seizure persistent",
},
}
Are there any problems or questions?
Then contact us in our Discord