Paradise Station 13 - Modules - TypesVar Details - Proc Details

baton

Vars

hitcostHow much power does it cost to stun someone
stunforceHow many life ticks does the stun last for
throw_hit_chanceChance for the baton to stun when thrown at someone
turned_onIs the baton currently turned on

Procs

deductchargeRemoves the specified amount of charge from the batons power cell.
link_new_cellUpdates the linked power cell on the baton.

Var Details

hitcost

How much power does it cost to stun someone

stunforce

How many life ticks does the stun last for

throw_hit_chance

Chance for the baton to stun when thrown at someone

turned_on

Is the baton currently turned on

Proc Details

deductcharge

Removes the specified amount of charge from the batons power cell.

If src is a cyborg baton, this removes the charge from the borg's internal power cell instead. Arguments:

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: