security 
Vars | |
cell | Cell to use, can be a path, to start loaded. |
---|---|
cell_hit_cost | How much power does it cost to stun someone. |
knockdown_delay_time | Time passed between a hit and knockdown effect. |
throw_stun_chance | Chance for the baton to stun when thrown at someone. |
Procs | |
apply_stun_effect_end | After the initial stun period, we check to see if the target needs to have the stun applied. |
link_new_cell | Updates the linked power cell on the baton. |
Var Details
cell 
Cell to use, can be a path, to start loaded.
cell_hit_cost 
How much power does it cost to stun someone.
knockdown_delay_time 
Time passed between a hit and knockdown effect.
throw_stun_chance 
Chance for the baton to stun when thrown at someone.
Proc Details
apply_stun_effect_end
After the initial stun period, we check to see if the target needs to have the stun applied.
link_new_cell
Updates the linked power cell on the baton.
If the baton is held by a cyborg, link it to their internal cell. Else, spawn a new cell and use that instead. Arguments:
- unlink - If TRUE, sets the
cell
variable tonull
rather than linking it to a new one.