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

active_sonar

Active Sonar - Displays a hud circle on the turf of any living creatures in the given radius

Vars

keyed_creaturesA keyed list of all creatures
radar_slicesHow many slices we make 360
scan_cooldownTime between us displaying radial scans
scan_cooldown_timeTime between us displaying radial scans
scanned_sliceThe current slice we're going to scan
sorted_creaturesA list of all creatures in range sorted by angle.

Procs

detect_living_creaturesDetects all living creatures within world.view, and returns the amount.
sort_all_creaturesSwaps all creatures when mod.wearer moves
sort_creature_angleSwaps around where a creature is, when they move or when they're first detected

Var Details

keyed_creatures

A keyed list of all creatures

radar_slices

How many slices we make 360

scan_cooldown

Time between us displaying radial scans

scan_cooldown_time

Time between us displaying radial scans

scanned_slice

The current slice we're going to scan

sorted_creatures

A list of all creatures in range sorted by angle.

Proc Details

detect_living_creatures

Detects all living creatures within world.view, and returns the amount.

sort_all_creatures

Swaps all creatures when mod.wearer moves

sort_creature_angle

Swaps around where a creature is, when they move or when they're first detected