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

client_image_holder

Simple effect that holds an image to be shown to one or multiple clients only.

Pass a list of mobs in initialize() that corresponds to all mobs that can see it.

Vars

image_colorOptional, the color of the image
image_iconThe icon file the image uses. If null, we have no image
image_layerThe layer of the image
image_pixel_xThe x pixel offset of the image
image_pixel_yThe y pixel offset of the image
image_planeThe plane of the image
image_stateThe icon state the image uses
shown_imageThe created image, what we look like.
who_sees_usA list of mobs which can see us.

Procs

generate_imageGenerates the image which we take on.
hide_image_fromHides the image we generated from the passed mob
regenerate_imageSimple helper for refreshing / showing the image to everyone in our list.
remove_seerSignal proc to clean up references if people who see us are deleted.
show_image_toShows the image we generated to the passed mob

Var Details

image_color

Optional, the color of the image

image_icon

The icon file the image uses. If null, we have no image

image_layer

The layer of the image

image_pixel_x

The x pixel offset of the image

image_pixel_y

The y pixel offset of the image

image_plane

The plane of the image

image_state

The icon state the image uses

shown_image

The created image, what we look like.

who_sees_us

A list of mobs which can see us.

Proc Details

generate_image

Generates the image which we take on.

hide_image_from

Hides the image we generated from the passed mob

regenerate_image

Simple helper for refreshing / showing the image to everyone in our list.

remove_seer

Signal proc to clean up references if people who see us are deleted.

show_image_to

Shows the image we generated to the passed mob