Kind

From Wiki of ZZT
Jump to navigation Jump to search

A kind is a type of ZZT-OOP argument that refers to a type of element. It consists of an element name, optionally prefixed by a color; for example, red solid refers to a red solid, while normal refers to normals of any color.

Only seven colors are supported, matching the seven colors exposed by the built-in editor: blue, green, cyan, red, purple, yellow and white. The only way to place additional kinds of colors using ZZT-OOP is to rely on the default colors of other built-in elements.

Quirks

  • An empty string refers to the first element in the engine without a name, which happens to be the board edge,