/tg/ Station 13 - Modules - Types — Var Details - Proc Details

neon

Recolourable headphones with neon lights: a steady glow when on, animated while a song plays; switched off, dark glass and tg's own notes. Alt-right-click switches the lights.

Vars

lights_onThe lights glow, and play their animation while a song plays.
notes_channelWhile lit, the notes are this colour id (the light) for their navy, and for tg's grey highlight that colour through the GAGS glint the sprites use: floor(colour * notes_glint / 255) + notes_glint_add. From the lab's export.
notes_glintSee notes_channel.
notes_glint_addSee notes_channel.

Procs

unlit_greysHow the lights go dark: null keeps dark copies of the sprites ("_unlit"); otherwise the lit sprites redrawn with each light colour darkened, as colour id = grey (out of 255). From the lab's export.

Var Details

lights_on

The lights glow, and play their animation while a song plays.

notes_channel

While lit, the notes are this colour id (the light) for their navy, and for tg's grey highlight that colour through the GAGS glint the sprites use: floor(colour * notes_glint / 255) + notes_glint_add. From the lab's export.

notes_glint

See notes_channel.

notes_glint_add

See notes_channel.

Proc Details

unlit_greys

How the lights go dark: null keeps dark copies of the sprites ("_unlit"); otherwise the lit sprites redrawn with each light colour darkened, as colour id = grey (out of 255). From the lab's export.