Terrains: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
Line 91: Line 91:
== Thick Web ==
== Thick Web ==
'''Thick Web''' (ID 19, <code>ThickWeb</code>) is a generic floor type with the default color 7. A Thick Web uses the configured [[thick lines]] ID chars (144-159) to determine its display character.
'''Thick Web''' (ID 19, <code>ThickWeb</code>) is a generic floor type with the default color 7. A Thick Web uses the configured [[thick lines]] ID chars (144-159) to determine its display character.
[[Spider|Spiders]] can be configured to move exclusively on Web types.


== Forest ==
== Forest ==

Revision as of 02:29, 29 May 2025

Terrains are a category of built-in things that generally perform no autonomous actions, interactions, or animations on the board. They can be placed in the editor by pressing F3 and selecting a thing.

Space

Space (ID 0, Space) is the default floor type and uses char 32 by default.

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

Space is analogous to ZZT's Space.

Normal

Normal (ID 1, Normal) is a generic wall type that uses char 178 by default.

ZZT connection

Normal is analogous to ZZT's Normal.

Solid

Solid (ID 2, Solid) is a generic wall type that uses char 219 by default.

ZZT connection

Solid is analogous to ZZT's Solid.

Tree

Tree (ID 3, Tree) is a generic wall type that uses char 6 and color 10 by default.

If the board option Fire burns trees is enabled, Fire can spread onto Trees.

Line

Line (ID 4, Line) is a generic wall type. A Line uses the configured thick lines ID chars (144-159) to determine its display character.

ZZT connection

Line is analogous to ZZT's Linewalls.

Custom Block

Main page: Custom Block

Custom Block (ID 5, CustomBlock) is a generic wall type. Its parameter is used to select its display character.

Breakaway

Breakaway (ID 6, Breakaway) is a generic breakable wall type. It is like a regular wall except that it will be destroyed when shot, revealing whatever floor was beneath it.

ZZT connection

Breakaway is analogous to ZZT's Breakable.

Custom Break

Main page: Custom Break

Custom Break (ID 7, CustomBreak) is a generic breakable wall type. It is the same as Breakaway, except its parameter is used to select its display character.

Fake

Fake (ID 13, Fake) is a generic floor type that uses char 178 by default.

If the board option Fire burns fakes is enabled, Fire can spread onto any Fake.

ZZT connection

Fake is analogous to ZZT's Fake.

Carpet

Carpet (ID 14, Carpet) is a generic floor type that uses char 177 by default.

If the board option Fire burns fakes is enabled, Fire can spread onto any Carpet.

Floor

Floor (ID 15, Floor) is a generic floor type that uses char 176 by default.

If the board option Explosions to... is set to Explosions to ash, Explosions will leave color 8 Floor beneath where they were created.

If the board option Fire burns fakes is enabled, Fire can spread onto any Floor.

Tiles

Tiles (ID 16, Tiles) is a generic floor type that uses char 254 by default.

If the board option Fire burns fakes is enabled, Fire can spread onto any Tiles.

Custom Floor

Main page: Custom Floor

Custom Floor (ID 17, CustomFloor) is a generic floor type that uses the value of its parameter to select its display character.

If the board option Fire burns fakes is enabled, Fire can spread onto any Custom Floor.

Web

Web (ID 18, Web) is a generic floor type with the default color 7. A Web uses the configured thin lines ID chars (128-143) to determine its display character.

Spiders can be configured to move exclusively on different Web types.

Thick Web

Thick Web (ID 19, ThickWeb) is a generic floor type with the default color 7. A Thick Web uses the configured thick lines ID chars (144-159) to determine its display character.

Spiders can be configured to move exclusively on Web types.

Forest

Forest (ID 65, Forest) is a wall type with the default char 178 and color 2 by default. When touched by the Player, the Player will move onto the Forest, which will turn into a Floor of the same color and play SFX 13.

ZZT connection

Forest is analogous to ZZT's Forest.

Invis. Wall

Invis. Wall, (ID 71, InvisWall) is a wall type with the default char 32, which makes it indistinguishable from Space of the same color ("invisible"). When touched by the Player, the Invis. Wall will turn into a Normal of the same color, play SFX 12, and display the message "Oof! You ran into an invisible wall".

ZZT connection

Invis. Wall is analogous to ZZT's Invisible.