Empty: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Flesh out the article)
m (correct char (use a font that alters character 32 / 0x20 to see this))
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|name=Empty
|name=Empty
|zzt-oop name=empty
|zzt-oop name=empty
|id=0 (00h)
|id={{Byte|0}}
|behavior=acts as empty space
|char={{CharSwatch|32}}
|color=black on light gray (70h)
|color={{ColorSwatch|bg=light gray|fg=black}}
|char=0 (00h)
|stats=no
|stats=no
|movement effect=floor
|effect on movement=floor
|put color=default
|uses zzt-oop color=no
}}
}}
An '''empty''' behaves like empty space. Empties are the default material for floors in ZZT, and alongside [[Fake|fakes]], are the only two elements that permit free movement of all creatures.
An '''empty''' behaves like empty space. Empties are the default material for floors in ZZT, and alongside [[Fake|fakes]], are the only two elements that permit free movement of all creatures.


Line 17: Line 15:
Empties always appear blank on screen and do not show their color. This makes it possible to conceal non-[[STK colors]]: e.g., a game might simulate dark red blood by [[Putting|#putting]] a fake over a dark red empty.
Empties always appear blank on screen and do not show their color. This makes it possible to conceal non-[[STK colors]]: e.g., a game might simulate dark red blood by [[Putting|#putting]] a fake over a dark red empty.


== Black holes ==
==Black holes==
A '''black hole''' is an empty that has been artificially given a stat.
A '''black hole''' is an empty that has been artificially given a stat.


Black holes affect [[player]] movement by giving the player an extra move when stepped on. A player stepping onto a black hole will cause the black hole's stat to behave like a player stat, usually resulting in the user's movement command being executed again in the same [[cycle]]. The effect is that the player seems to "jump over" the black hole tile.
Black holes affect [[player]] movement by giving the player an extra move when stepped on. A player stepping onto a black hole will cause the black hole's stat to behave like a player stat, usually resulting in the user's movement command being executed again in the same [[cycle]]. The effect is that the player seems to "jump over" the black hole tile.
[[Category:Elements]]
[[Category:Elements]]
{{ElementsNavbox}}

Latest revision as of 19:25, 13 February 2021

Empty
ZZT-OOP nameempty
Internal ID0 (0x00)
Character#char 32 (0x20)
Default colorblack on light gray (0x70)
Stats?no
Other traits
Effect on movementfloor
Uses ZZT-OOP color names?no

An empty behaves like empty space. Empties are the default material for floors in ZZT, and alongside fakes, are the only two elements that permit free movement of all creatures.

Because they are the default floor material, empties are often produced by behavior within ZZT. For example, the #die command turns the current object into an empty, and many stat-less elements (such as keys and doors) are replaced with empties when they disappear from the board.

Empties always appear blank on screen and do not show their color. This makes it possible to conceal non-STK colors: e.g., a game might simulate dark red blood by #putting a fake over a dark red empty.

Black holes

A black hole is an empty that has been artificially given a stat.

Black holes affect player movement by giving the player an extra move when stepped on. A player stepping onto a black hole will cause the black hole's stat to behave like a player stat, usually resulting in the user's movement command being executed again in the same cycle. The effect is that the player seems to "jump over" the black hole tile.