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

damage_chain

Draws a line between you and another atom, hurt anyone stood in the line

Vars

chainOur chain
chain_damage_feedbackOptional callback for additional visuals or text display when dealing damage
damage_per_tickDamage inflicted per tick
damage_typeType of damage to inflict
feedback_intervalWe will fire the damage feedback callback on every x successful attacks
reset_feedback_timerTime between making any attacks at which we just reset the successful attack counter
successful_attacksHow many successful attacks have we made?
tick_cooldownTracks when we can next deal damage
tick_intervalHow often do we attempt to deal damage?
validate_targetOptional callback which checks if we can damage the target

Procs

end_beamDestroy ourself
reset_feedbackMake it so that the next time we hit something we'll invoke the feedback callback

Var Details

chain

Our chain

chain_damage_feedback

Optional callback for additional visuals or text display when dealing damage

damage_per_tick

Damage inflicted per tick

damage_type

Type of damage to inflict

feedback_interval

We will fire the damage feedback callback on every x successful attacks

reset_feedback_timer

Time between making any attacks at which we just reset the successful attack counter

successful_attacks

How many successful attacks have we made?

tick_cooldown

Tracks when we can next deal damage

tick_interval

How often do we attempt to deal damage?

validate_target

Optional callback which checks if we can damage the target

Proc Details

end_beam

Destroy ourself

reset_feedback

Make it so that the next time we hit something we'll invoke the feedback callback