/tg/ Station 13 - Modules - Types — Var Details

defibrillator

Vars

cell_removableIf the cell can be removed via screwdriver
charge_stateThe icon state for the charge bar overlay, not applied if null
combatIf true, revive through space suits, allow for combat shocking
cooldown_durationHow long does it take to recharge
emagged_stateThe icon state for the emagged overlay, not applied if null
nocell_stateThe icon state for the missing cell overlay, not applied if null
onIf the paddles are equipped (1) or on the defib (0)
paddle_stateThe icon state for the paddle overlay, not applied if null
poweredIf there's a cell in the defib with enough power for a revive, blocks paddles from reviving otherwise
powered_stateThe icon state for the powered on overlay, not applied if null
recently_empedIf TRUE, will not attempt to retoggle safeties if emp'd again.
safetyIf TRUE, will allow you to zap people while in combat mode.

Var Details

cell_removable

If the cell can be removed via screwdriver

charge_state

The icon state for the charge bar overlay, not applied if null

combat

If true, revive through space suits, allow for combat shocking

cooldown_duration

How long does it take to recharge

emagged_state

The icon state for the emagged overlay, not applied if null

nocell_state

The icon state for the missing cell overlay, not applied if null

on

If the paddles are equipped (1) or on the defib (0)

paddle_state

The icon state for the paddle overlay, not applied if null

powered

If there's a cell in the defib with enough power for a revive, blocks paddles from reviving otherwise

powered_state

The icon state for the powered on overlay, not applied if null

recently_emped

If TRUE, will not attempt to retoggle safeties if emp'd again.

safety

If TRUE, will allow you to zap people while in combat mode.