Yogstation 13 - Modules - TypesVar Details

/datum/component/echolocation

Vars

allowed_pathsTypecache of all the allowed paths to render.
black_white_matrixA matrix that turns everything except #ffffff into pure blackness, used for our images (the outlines are #ffffff).
client_colorRef of the client color we give to the echolocator.
cooldown_lastCooldown for the echolocation.
cooldown_timeTime between echolocations.
danger_turfsTypecache of turfs that are dangerous, to give them a special icon.
echo_groupWith mobs that have this echo group in their echolocation receiver trait, we share echo images.
echo_rangeCurrent radius, will set itself to default
fade_in_timeTime for the image to fade in.
fade_out_timeTime for the image to fade out and delete itself.
image_expiry_timeTime for the image to start fading out.
imagesAssociative list of world.time when created to a list of the images.
images_are_staticAre images static? If yes, spawns them on the turf and makes them not change location. Otherwise they change location and pixel shift with the original.
receiversAssociative list of world.time when created to a list of receivers.
saved_appearancesAll the saved appearances, keyed by icon-icon_state.
white_matrixA matrix that turns everything into pure white.

Var Details

allowed_paths

Typecache of all the allowed paths to render.

black_white_matrix

A matrix that turns everything except #ffffff into pure blackness, used for our images (the outlines are #ffffff).

client_color

Ref of the client color we give to the echolocator.

cooldown_last

Cooldown for the echolocation.

cooldown_time

Time between echolocations.

danger_turfs

Typecache of turfs that are dangerous, to give them a special icon.

echo_group

With mobs that have this echo group in their echolocation receiver trait, we share echo images.

echo_range

Current radius, will set itself to default

fade_in_time

Time for the image to fade in.

fade_out_time

Time for the image to fade out and delete itself.

image_expiry_time

Time for the image to start fading out.

images

Associative list of world.time when created to a list of the images.

images_are_static

Are images static? If yes, spawns them on the turf and makes them not change location. Otherwise they change location and pixel shift with the original.

receivers

Associative list of world.time when created to a list of receivers.

saved_appearances

All the saved appearances, keyed by icon-icon_state.

white_matrix

A matrix that turns everything into pure white.