Element

From Wiki of ZZT
Jump to navigation Jump to search

An element is the building block of a ZZT board; each has its own distinct type and color. The engine defines a table of elements indexed by their type; any additional information beyond the color requires the element to have an attached stat.

Note that text elements, as well as any element ID beyond text, uses the color value as an 8-bit character code instead.