/tg/ Station 13 - Modules - TypesVar Details

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).
blocking_traitThis trait blocks us from receiving echolocation.
client_colorRef of the client color we give to the echolocator.
cooldown_lastCooldown for the echolocation.
cooldown_timeTime between echolocations. IMPORTANT!! The effective time in local and the effective time in live are very different. The second is noticeably slower,
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_rangeRadius of our view.
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.
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 receivers to lists of atoms they are rendering (those atoms are associated to data of the image and time they were rendered at).
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).

blocking_trait

This trait blocks us from receiving echolocation.

client_color

Ref of the client color we give to the echolocator.

cooldown_last

Cooldown for the echolocation.

cooldown_time

Time between echolocations. IMPORTANT!! The effective time in local and the effective time in live are very different. The second is noticeably slower,

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

Radius of our view.

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_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 receivers to lists of atoms they are rendering (those atoms are associated to data of the image and time they were rendered at).

saved_appearances

All the saved appearances, keyed by icon-icon_state.

white_matrix

A matrix that turns everything into pure white.