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

decal

Vars

color_listList of color options as list(user-friendly label, color value to return)
decal_listList of decal options as list(user-friendly label, icon state base value to return)
dir_listList of direction options as list(user-friendly label, dir value to return)
spritesheet_typeThe type path of the spritesheet being used for the frontend.
stored_colorThe current color of the decal being printed.
stored_custom_colorCurrent custom color
stored_decalThe current base icon state of the decal being printed.
stored_decal_totalThe full icon state of the decal being printed.
stored_dirThe current direction of the decal being printed
supports_custom_colorDoes this printer implementation support custom colors?

Procs

get_decal_pathReturn the final icon_state for the given decal options
paint_floorActually add current decal to the floor.

Var Details

color_list

List of color options as list(user-friendly label, color value to return)

decal_list

List of decal options as list(user-friendly label, icon state base value to return)

dir_list

List of direction options as list(user-friendly label, dir value to return)

spritesheet_type

The type path of the spritesheet being used for the frontend.

stored_color

The current color of the decal being printed.

stored_custom_color

Current custom color

stored_decal

The current base icon state of the decal being printed.

stored_decal_total

The full icon state of the decal being printed.

stored_dir

The current direction of the decal being printed

supports_custom_color

Does this printer implementation support custom colors?

Proc Details

get_decal_path

Return the final icon_state for the given decal options

Arguments:

paint_floor

Actually add current decal to the floor.

Responsible for actually adding the element to the turf for maximum flexibility.area Can be overridden for different decal behaviors. Arguments: