/tg/ Station 13 - Modules - TypesProc Details

universal_icon

This is intended to replace /icon, allowing rustg to generate icons much faster than DM can at scale. Construct these with the uni_icon() proc, in the same manner as BYOND's icon() proc. Additionally supports a number of transform procs (lowercase, rather than BYOND's uppercase) such as Crop, Scale, and Blend (as blend_icon/blend_color).

Procs

NewDon't instantiate these yourself, use uni_icon.
change_opacityInternally performs a color blend. Amount ranges from 0-1 (100% opacity)
shiftInternally performs a crop.

Proc Details

New

Don't instantiate these yourself, use uni_icon.

change_opacity

Internally performs a color blend. Amount ranges from 0-1 (100% opacity)

shift

Internally performs a crop.