Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/proximity

Vars

enabledAre we currectly detecting movement?
listening_toTurfs we are currently listening to.
rangeTiles out to detect.
turfonlyDo we only detect if we are on a turf?

Procs

DetectCalled when something crosses our range of detection.
parent_movedUpdate if our parent move into or out of a movable or onto a turf.
set_detectionSets whether or not we are detecting.
set_rangeSet our range of detection to num.

Var Details

enabled

Are we currectly detecting movement?

listening_to

Turfs we are currently listening to.

range

Tiles out to detect.

turfonly

Do we only detect if we are on a turf?

Proc Details

Detect

Called when something crosses our range of detection.

parent_moved

Update if our parent move into or out of a movable or onto a turf.

set_detection

Sets whether or not we are detecting.

set_range

Set our range of detection to num.