/tg/ Station 13 - Modules - Types

modular_nova/modules/holosynth/code/holoray_trail.dm

/obj/effect/overlay/holoray/holosynthHoloray variant that replaces the base class's render-step glow with a plain emissive appearance. The base glow uses RESET_TRANSFORM + pixel_x/y = 32, which leaves a phantom un-transformed copy of the ray one tile NE of the source. The holopad hides that under its own machine sprite; a bare pen doesn't. A mutable_appearance on EMISSIVE_PLANE inherits our transform and renders in the same place as the main sprite.
/datum/component/holoray_trailRenders a holopad-style holoray from the parent item to a linked mob. The ray follows the pen, the linked mob, and any non-linked mob carrying the pen. Right-click while held toggles the trail; examine shows the current state.