Solid: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(█)
 
m (byte)
 
Line 1: Line 1:
{{Element
{{Element
|zzt-oop name=solid
|zzt-oop name=solid
|id=21
|id={{Byte|21}}
|char={{CharSwatch|219}}
|char={{CharSwatch|219}}
|stats=no
|stats=no

Latest revision as of 19:08, 13 February 2021

Solid
ZZT-OOP namesolid
Internal ID21 (0x15)
Character#char 219 (0xDB)
Categoryterrain
Stats?no
Other traits
Effect on movementwall
Destructible?no
Uses ZZT-OOP color names?yes

The solid element is one of the built-in wall elements in ZZT. It cannot be moved and is impervious to all damage. It is functionally identical to the normal except for using #char 219 (0xDB), resulting in a solid block of the foreground color in most fonts. Solids can be placed in all of the default ZZT-OOP colors and can be placed in any of the available colors with an external editor. However, should a solid be targeted by a #put or a #change, care should be taken to make sure its background color is what the designer wants it to be, even if it is not initially visible.