byond - Modules - TypesVar Details - Proc Details

greyscale_layer

Vars

blend_modeThe selected blend mode.
blend_modesThis list is for converting json entries into the correct defines to be used on blend_mode
color_idsThe list of colors to be used.
layer_typeThis is the layer type that is used to generate these greyscale layers. It should be the same as the typepath after the base type here.

Procs

GenerateUsed to actualy create the layer using the given colors Do not override, use InternalGenerate instead

Var Details

blend_mode

The selected blend mode.

blend_modes

This list is for converting json entries into the correct defines to be used on blend_mode

color_ids

The list of colors to be used.

layer_type

This is the layer type that is used to generate these greyscale layers. It should be the same as the typepath after the base type here.

Proc Details

Generate

Used to actualy create the layer using the given colors Do not override, use InternalGenerate instead