defibrillator

Vars | |
charge_cost | How much charge is used on a shock |
---|---|
dcell | The defibrillator's power cell |
defib_cooldown | The cooldown for using the defib, applied to shocking and toggling |
defibrillator_healing | The base healing number when someone is shocked. Uses DEFIBRILLATOR_HEALING_TIMES_SKILL to change based on user skill. |
ready | If the defibrillator is ready to use (paddles out) |
ready_needed | Whether this defibrillator has to be turned on to use |
sparks | Var for quickly creating sparks on shock |
Procs | |
charge_information | Returns the amount of charges left and how to recharge the defibrillator. |
defib_ready | Proc for checking that the defib is ready to operate |
defibrillate | Split proc that actually does the defibrillation. Separated to be used more easily by medical gloves |
on_cell_deletion | Called by the deletion of the referenced powercell. |
set_dcell | Wrapper to guarantee powercells are properly nulled and avoid hard deletes. |
Var Details
charge_cost

How much charge is used on a shock
dcell

The defibrillator's power cell
defib_cooldown

The cooldown for using the defib, applied to shocking and toggling
defibrillator_healing

The base healing number when someone is shocked. Uses DEFIBRILLATOR_HEALING_TIMES_SKILL
to change based on user skill.
ready

If the defibrillator is ready to use (paddles out)
ready_needed

Whether this defibrillator has to be turned on to use
sparks

Var for quickly creating sparks on shock
Proc Details
charge_information
Returns the amount of charges left and how to recharge the defibrillator.
defib_ready
Proc for checking that the defib is ready to operate
defibrillate
Split proc that actually does the defibrillation. Separated to be used more easily by medical gloves
on_cell_deletion
Called by the deletion of the referenced powercell.
set_dcell
Wrapper to guarantee powercells are properly nulled and avoid hard deletes.