/tg/ Station 13 - Modules - TypesVar Details - Proc Details

tased

Status effect tracking being tased by someone!

Vars

electrode_nameWhat do we name the electrodes?
energy_drainHow much energy does the taser use per tick?
firerWhat atom is using the atom tasing us? Sometimes the same as the taser, such as with turrets.
stamina_per_secondHow much stamina damage does it aim to cause in a second?
tase_lineThe beam datum representing the taser electrodes
tase_rangeHow far can the taser reach?
taserWhat atom is tasing us?

Procs

can_tase_withChecks if the passed atom is captable of being used to tase someone
do_tase_withActually does the tasing with the passed atom Returns TRUE if the tasing was successful, FALSE if it failed
set_firerSets the passed atom as the person operating the taser, the "firer"
set_taserSets the passed atom as the "taser"

Var Details

electrode_name

What do we name the electrodes?

energy_drain

How much energy does the taser use per tick?

firer

What atom is using the atom tasing us? Sometimes the same as the taser, such as with turrets.

stamina_per_second

How much stamina damage does it aim to cause in a second?

tase_line

The beam datum representing the taser electrodes

tase_range

How far can the taser reach?

taser

What atom is tasing us?

Proc Details

can_tase_with

Checks if the passed atom is captable of being used to tase someone

do_tase_with

Actually does the tasing with the passed atom Returns TRUE if the tasing was successful, FALSE if it failed

set_firer

Sets the passed atom as the person operating the taser, the "firer"

set_taser

Sets the passed atom as the "taser"