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

palette

A component that stores colors for use by painting-related items like spraycans or palettes which can be accessed through a radial menu by right clicking the item while it's held by the user mob. Right-clicking a color will open a color input prompt to edit it. Left clicking will instead select it and call set_painting_tool_color() on the parent for more specific object behavior.

Vars

color_picker_menuThe persistent radial menu for this component.
menu_choicesThe radial menu choice datums are stored here as a microop to avoid generating new ones every time the menu is opened or updated.

Procs

DestroyThis component means nothing if there's no space for colors

Var Details

color_picker_menu

The persistent radial menu for this component.

menu_choices

The radial menu choice datums are stored here as a microop to avoid generating new ones every time the menu is opened or updated.

Proc Details

Destroy

This component means nothing if there's no space for colors