Space: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
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]] which is used as the default floor type 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.
Line 18: Line 18:
If the board option [[Fire burns space]] is enabled, [[Fire]] can spread onto any Space.
If the board option [[Fire burns space]] is enabled, [[Fire]] can spread onto any Space.


===ZZT connection===
== ZZT connection ==
In [[ZZT]], the equivalent element to Space is [[zzt:Space]].
In [[ZZT]], the equivalent element to Space is [[zzt:Empty]].

Latest revision as of 06:42, 13 June 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 which is used as the default floor type 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:Empty.