voxolith
API reference@voxolith/gen-creatureFunctions

buildRoles()

The creature's role table in voxel-value order, coloured from colors (usually skinFor), with glossy material hints on the eyes, organs and blood. A role colors leaves out shows magenta.

function buildRoles(colors: ColorSet): Role[];

Defined in: roles.ts:52

Parameters

ParameterType
colorsColorSet

Returns

Role[]

On this page