Space Station 13 - Modules - TypesVar Details - Proc Details

vis_overlays

Vars

currentrunList of currently processed overlays during a run
vis_overlay_cacheCache for visual overlays

Procs

_create_new_vis_overlayCreates a new visual overlay with the specified parameters.
add_vis_overlayAdds a visual overlay to a given atom.
remove_vis_overlayRemoves specified visual overlays from an atom.

Var Details

currentrun

List of currently processed overlays during a run

vis_overlay_cache

Cache for visual overlays

Proc Details

_create_new_vis_overlay

Creates a new visual overlay with the specified parameters.

This procedure initializes a new visual overlay object with the given attributes.

Arguments:

Returns the newly created overlay.

add_vis_overlay

Adds a visual overlay to a given atom.

This procedure creates and adds a visual overlay to the specified object. It can either create a unique overlay or reuse an existing one based on the provided parameters.

Arguments:

Returns the overlay that was added.

remove_vis_overlay

Removes specified visual overlays from an atom.

This procedure removes the given overlays from the atom's visual contents and also updates the managed overlays list if applicable.

Arguments: