Space Station 13 - Modules - TypesVar Details - Proc Details

haunt_object

Makes objects be haunted and then throws them at conscious people to do damage, spooky!

Vars

attack_timersA list of all attack timers started by this spell being cast
haunt_timeSelf explanatory
max_targetsThe maximum number of objects to haunt

Procs

attackHandles finding a valid target and throwing us at it.
make_spookyHandles making an object haunted and setting it up to attack.
set_outlineSets the glow on the haunted object, scales up based on throwforce.
stop_timersStop all attack timers cast by the previous spell use.

Var Details

attack_timers

A list of all attack timers started by this spell being cast

haunt_time

Self explanatory

max_targets

The maximum number of objects to haunt

Proc Details

attack

Handles finding a valid target and throwing us at it.

make_spooky

Handles making an object haunted and setting it up to attack.

set_outline

Sets the glow on the haunted object, scales up based on throwforce.

stop_timers

Stop all attack timers cast by the previous spell use.