byond - Modules - TypesVar Details - Proc Details

defibrillator

Vars

charge_costHow much charge is used on a shock
dcellThe defibrillator's power cell
defib_cooldownThe cooldown for using the defib, applied to shocking and toggling
defibrillator_healingThe base healing number when someone is shocked. Uses DEFIBRILLATOR_HEALING_TIMES_SKILL to change based on user skill.
readyIf the defibrillator is ready to use (paddles out)
ready_neededWhether this defibrillator has to be turned on to use
sparksVar for quickly creating sparks on shock

Procs

charge_informationReturns the amount of charges left and how to recharge the defibrillator.
defib_readyProc for checking that the defib is ready to operate
defibrillateSplit proc that actually does the defibrillation. Separated to be used more easily by medical gloves
on_cell_deletionCalled by the deletion of the referenced powercell.
set_dcellWrapper 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.