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

cosmic_beam

Vars

activeWether the beam is active or not
check_delayThe delay of when the beam gets checked
cosmic_effect_trailThe effect trail that we add to our victim
current_beamThe storage for the beam
current_targetStores the current beam target
last_checkChecks the time of the last check
max_rangeThe maximum range of the beam
teleport_timerThe timer for the teleport effect

Procs

beam_diedProc that is only called when the beam fails due to something, so not when manually ended. manual disconnection = lose_target, so it can silently end automatic disconnection = beam_died, so we can give a warning message first
lose_targetProc that always is called when we want to end the beam and makes sure things are cleaned up, see beam_died()
on_beam_hitWhat to add when the beam connects to a target
on_beam_releaseWhat to remove when the beam disconnects from a target
start_beamUsed for starting the beam when a target has been acquired
yoink_victimPuts the victim to sleep and teleports them to the casters' location

Var Details

active

Wether the beam is active or not

check_delay

The delay of when the beam gets checked

cosmic_effect_trail

The effect trail that we add to our victim

current_beam

The storage for the beam

current_target

Stores the current beam target

last_check

Checks the time of the last check

max_range

The maximum range of the beam

teleport_timer

The timer for the teleport effect

Proc Details

beam_died

Proc that is only called when the beam fails due to something, so not when manually ended. manual disconnection = lose_target, so it can silently end automatic disconnection = beam_died, so we can give a warning message first

lose_target

Proc that always is called when we want to end the beam and makes sure things are cleaned up, see beam_died()

on_beam_hit

What to add when the beam connects to a target

on_beam_release

What to remove when the beam disconnects from a target

start_beam

Used for starting the beam when a target has been acquired

yoink_victim

Puts the victim to sleep and teleports them to the casters' location