⁉️How To Use

Healing System

Script includes Damages System which register every damage for player. As Medic you can check player injuries with using Target. It will open Healing Menu for you.


Pulse System

Script randomize value between minPulse and minPulse + 30 and set it to player pulse when he joins

---@class Config.Pulse
---@field enabled boolean [enable pulse feature?]
---@field minPulse number [default minimum pulse value]
---@field maxPulse number [default maximum pulse value]
---@field critical table {enabled: boolean, chance: number, requiredInjuries: number, pulse: table<number>} [critical pulse settings]
--- Info: Pulse will decrease when player get injuries and increase when player heal injuries
--- Info: When player is in death/bleeding state there is a chance to get critical pulse value
Config.Pulse = {
    enabled = true,
    minPulse = 70, 
    maxPulse = 200,
    critical = {
        enabled = true,
        chance = 10, -- 10% chance to get critical pulse when in death/bleeding state
        requiredInjuries = 10, -- required number of injuries to get critical pulse
        pulse = {35, 50}, -- pulse value when critical [script will choose 35 or 50]
    }
}

When player has required amount of injuries, there is chance to get Critical Pulse.

To stabilize player pulse you need to use Defibrilator, place it next to him by using item. Attach Defibrilator to this player and Use It. Script will start mini-game. Player pulse will stabilize when u finish game successfully.


Temperature System

Script randomize value between minTemperature and maxTemperature and set it to player pulse when he joins.

---@class Config.Temperature
---@field enabled boolean [enable temperature feature?]
---@field minTemperature number [minimum temperature]
---@field maxTemperature number [maximum temperature]
---@field items table<string, number> [list of items that can affect temperature and their effect value]
---@field critical table {enabled: boolean, chance: number, requiredInjuries: number, temperature: table<number>} [critical temperature settings]
--- Info: Temperature will decrease when player get cold items and increase when player get hot items
--- Info: When player is in death/bleeding state there is a chance to get critical temperature value
Config.Temperature = {
    enabled = true,
    minTemperature = 36.0, -- minimum temperature
    maxTemperature = 38.0, -- maximum temperature
    items = {
        ['icepack'] = -0.5, -- icepack will reduce temperature by 0.5
        ['antipyretics'] = 0.5, -- antipyretics will increase temperature by 0.5
    },
    critical = {
        enabled = true,
        chance = 10, -- 10% chance to get critical temperature when in death/bleeding state
        requiredInjuries = 10, -- required number of injuries to get critical temperature
        temperature = {32.0, 41.0}, -- temperature value when critical [script will choose 34.0 or 42.0]
    }
}

When player has required amount of injuries, there is chance to get Critical Temperature of Body.

To stabilize player temperature you need to use items for increasing/decreasing temperature in Healing UI on this green square.


Outfits System

Script includes in-built Outfit System with Creator

Open Outfit Creator

This command will open outfit creator in ambulance job

/medicOutfit

Remove Outfit Menu

This command will open menu where you can select outfits to remove

/removeMedicOutfit
---@class Config.Outfits
---@field enabled: boolean [enable outfits feature?]
---@field access table<{[jobName]: grade}> [which jobs and grades are allowed to create outfits]
Config.Outfits = {
    enabled = true,
    access = {
        ['ambulance'] = 0
    }
}

TV Terminal System

Script includes Terminal on TV's which medics can use to alert other medics about incoming patient

Open Terminal

This command will open terminal menu where you can choose tv and set data

/openTerminal

Clear Terminal

To clear terminal, you need to use Target on TV Prop and click Clear Terminal option

Last updated