Terrains: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Terrain|Terrains]] are a category of [[built-in]] [[thing|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.
#REDIRECT [[Category:Terrains]]
 
== Space ==
{{ID
|name = Space
|id = 0
|robotic = Space
|color = none
|param = none
|idchar = 32
|floor = y
}}
'''Space''' (ID 0, <code>Space</code>) is the default floor type used in new boards.
 
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'', [[Explosion|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 ==
{{ID
|name = Normal
|id = 1
|robotic = Normal
|color = none
|param = none
|idchar = 178
}}
'''Normal''' (ID 1, <code>Normal</code>) is a generic wall type that uses char 178 by default.
 
===ZZT connection===
Normal is analogous to [[ZZT]]'s Normal.
 
== Solid ==
{{ID
|name = Solid
|id = 2
|robotic = Solid
|color = none
|param = none
|idchar = 219
}}
'''Solid''' (ID 2, <code>Solid</code>) is a generic wall type that uses char 219 by default.
 
===ZZT connection===
Solid is analogous to [[ZZT]]'s Solid.
 
== Tree ==
{{ID
|name = Tree
|id = 3
|robotic = Tree
|color = 10
|param = none
|idchar = 6
}}
'''Tree''' (ID 3, <code>Tree</code>) 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 ==
{{ID
|name = Line
|id = 4
|robotic = Line
|color = none
|param = none
|idchar = 0
|idanim_chars = Thick lines (#144-#159)
}}
'''Line''' (ID 4, <code>Line</code>) 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 ==
{{ID
|name = Custom Block
|id = 5
|robotic = CustomBlock
|color = none
|param = select
|idchar = 255 - use param
}}
{{main|[[Custom Block]]}}
 
'''Custom Block''' (ID 5, <code>CustomBlock</code>) is a generic wall type. Its [[parameter]] is used to select its display character.
 
== Breakaway ==
{{ID
|name = Breakaway
|id = 6
|robotic = Breakaway
|color = none
|param = 0
|idchar = 177
|break_shot = y
|break_bombed = y
}}
'''Breakaway''' (ID 6, <code>Breakaway</code>) 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 ==
{{ID
|name = Custom Break
|id = 7
|robotic = CustomBreak
|color = none
|param = select
|idchar = 255 - use param
|break_shot = y
|break_bombed = y
}}
{{main|[[Custom Break]]}}
 
'''Custom Break''' (ID 7, <code>CustomBreak</code>) is a generic breakable wall type. It is the same as [[Breakaway]], except its [[parameter]] is used to select its display character.
 
== Fake ==
{{ID
|name = Fake
|id = 13
|robotic = Fake
|color = none
|param = none
|idchar = 178
|floor = y
}}
'''Fake''' (ID 13, <code>Fake</code>) 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 ==
{{ID
|name = Carpet
|id = 14
|robotic = Carpet
|color = none
|param = none
|idchar = 177
|floor = y
}}
'''Carpet''' (ID 14, <code>Carpet</code>) 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 ==
{{ID
|name = Floor
|id = 15
|robotic = Floor
|color = none
|param = none
|idchar = 176
|floor = y
}}
'''Floor''' (ID 15, <code>Floor</code>) is a generic floor type that uses char 176 by default.
 
If the board option [[Explosions to...]] is set to ''Explosions to ash'', [[Explosion|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 ==
{{ID
|name = Tiles
|id = 16
|robotic = Tiles
|color = none
|param = none
|idchar = 254
|floor = y
}}
'''Tiles''' (ID 16, <code>Tiles</code>) 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 ==
{{ID
|name = Custom Floor
|id = 17
|robotic = CustomFloor
|color = none
|param = select
|idchar = 255 - use param
|floor = y
}}
{{main|[[Custom Floor]]}}
 
'''Custom Floor''' (ID 17, <code>CustomFloor</code>) 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 ==
{{ID
|name = Web
|id = 18
|robotic = Web
|color = 7
|param = none
|idchar = 0
|idanim_chars = Thin lines (#128-#143)
|floor = y
|break_bombed = y
}}
'''Web''' (ID 18, <code>Web</code>) 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.
 
If the board option [[Fire burns fakes]] is enabled, [[Fire]] can spread onto any Web.
 
[[Spider|Spiders]] can be configured to move exclusively on different Web types.
 
== Thick Web ==
{{ID
|name = Thick Web
|id = 19
|robotic = ThickWeb
|color = 7
|param = none
|idchar = 0
|idanim_chars = Thick lines (#144-#159)
|floor = y
|break_bombed = y
}}
'''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.
 
If the board option [[Fire burns fakes]] is enabled, [[Fire]] can spread onto any Thick Web.
 
[[Spider|Spiders]] can be configured to move exclusively on Web types.
 
== Forest ==
{{ID
|name = Forest
|id = 65
|robotic = Forest
|color = 2
|param = none
|idchar = 178
|effect_touch = Become [[Space]] or [[Floor]], move player on top
}}
'''Forest''' (ID 65, <code>Forest</code>) 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 (or a [[Space]] if the board setting [[Forest to floor]] is unset) and play [[SFX]] 13.
 
===ZZT connection===
Forest is analogous to [[ZZT]]'s Forest.
 
== Invis. Wall ==
{{ID
|name = Invis. Wall
|id = 71
|robotic = InvisWall
|color = none
|param = none
|idchar = 32
|effect_touch = Become [[Normal]]
}}
'''Invis. Wall''', (ID 71, <code>InvisWall</code>) 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 Line|message]] "Oof! You ran into an invisible wall".
 
===ZZT connection===
Invis. Wall is analogous to [[ZZT]]'s Invisible.


[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]]
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]]

Latest revision as of 00:20, 31 May 2025

Redirect to: