Space: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
mNo edit summary
Line 10: Line 10:
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Terrains]]
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Terrains]]


'''Space''' (ID 0, <code>Space</code>) is the default floor type used in new boards.
'''Space''' (ID 0, <code>Space</code>) is a [[built-in]] [[terrain]] and is the default floor type used in every new board.


When provided as the replacement type for the [[CHANGE]] command, they are special in that changing something to a Space will instead remove the object being replaced, preserving whatever floor is beneath that object.
When provided as the replacement type for the [[CHANGE]] command, they are special in that changing something to a Space will instead remove the object being replaced, preserving whatever floor is beneath that object.

Revision as of 23:50, 30 May 2025

Space # 0 Id0.png
Robotic name Space
Default color none
Default param none
ID char 32 (#0)
Attributes Floor

Space (ID 0, Space) is a built-in terrain and is the default floor type used in every new board.

When provided as the replacement type for the CHANGE command, they are special in that changing something to a Space will instead remove the object being replaced, preserving whatever floor is beneath that object.

If the board option Explosions to... is set to Explosions to space, Explosions will leave the floor beneath where they were created unmodified.

If the board option Fire burns space is enabled, Fire can spread onto any Space.

ZZT connection

In ZZT, the equivalent element to Space is zzt:Space.