<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.zzt.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rbts</id>
	<title>Wiki of ZZT - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zzt.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rbts"/>
	<link rel="alternate" type="text/html" href="https://wiki.zzt.org/wiki/Special:Contributions/Rbts"/>
	<updated>2026-04-15T02:49:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Color&amp;diff=453</id>
		<title>Color</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Color&amp;diff=453"/>
		<updated>2021-04-30T02:03:29Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &amp;quot;dark brown&amp;quot; -&amp;gt; &amp;quot;brown&amp;quot;. Added alternative way to get blinking white on brown via bears.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[ZZT-OOP]] has seven named colors: blue, green, cyan, red, purple, yellow and white. These correspond to the seven bright colors in the default 16-color CGA palette. With the exception of [[door|doors]], named colors apply to an element&#039;s foreground color, and are paired with a black background. A handful of additional colors can be obtained through ZZT-OOP by using the [[change]] and [[put]] commands on built-in entities with hard-coded colors.&lt;br /&gt;
&lt;br /&gt;
Below are examples of how to obtain [[gem|gems]] of various colors using ZZT-OOP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dark colors on black ==&lt;br /&gt;
&lt;br /&gt;
=== Brown on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[torch]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change torch gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Alternatively:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[bear]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change bear gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dark cyan on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[ammo]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change ammo gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dark purple on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[energizer]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change energizer gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Gray on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[shark]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change shark gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Black on dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== Black on dark green ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[forest]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change forest gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Black on gray ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[empty]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== White on dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== White on gray ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark blue ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e blue [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark green ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e green [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark red ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e red [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark purple ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e purple [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on brown ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e yellow [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Blinking white on black and dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e forest&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change forest door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on dark cyan ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e ammo&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note&#039;&#039;: The ammo won&#039;t automatically be overwritten by the newly-created door. You can delete it with &amp;lt;code&amp;gt;#change ammo empty&amp;lt;/code&amp;gt;, or put the object next to an obstacle such that the ammo gets crushed when the door is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on dark purple ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e energizer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on brown ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e torch&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Alternatively:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e bear&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note&#039;&#039;: The bear needs to be crushed by an obstacle when the door is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on gray ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e shark&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://museumofzzt.com/file/m/Mwencv14.zip?file=%24MWENC_B.ZZT&amp;amp;board=7#19,10 Mystical Winds Encyclopedia v1.4: $MWENC_B.ZZT: 7. MW More In-Game Colors]&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Talk:Stat_order&amp;diff=452</id>
		<title>Talk:Stat order</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Talk:Stat_order&amp;diff=452"/>
		<updated>2021-04-25T20:58:59Z</updated>

		<summary type="html">&lt;p&gt;Rbts: strikethrough &amp;#039;add a gif&amp;#039; bullet point&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Todo:&lt;br /&gt;
* Stat bugs related to deleting entries in the list&lt;br /&gt;
* &amp;lt;s&amp;gt;Maybe a GIF of objects demonstrating gaps in movement, versus no gaps depending on the stat order&amp;lt;/s&amp;gt;&lt;br /&gt;
* Origin of the term &#039;&#039;stat&#039;&#039; in this context (KevEdit?)&lt;br /&gt;
&lt;br /&gt;
[[User:Rbts|Rbts]] ([[User talk:Rbts|talk]]) 20:21, 25 April 2021 (UTC)&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Stat_order&amp;diff=451</id>
		<title>Stat order</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Stat_order&amp;diff=451"/>
		<updated>2021-04-25T20:57:16Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Add gif&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;stat order&#039;&#039;&#039; or &#039;&#039;&#039;stat list&#039;&#039;&#039; refers to a ZZT [[board]]&#039;s internal array of &amp;quot;active&amp;quot; entities. Stats provide additional state for map elements, and the list serves as a way for the engine to identify which elements require updates on a per-frame basis. Up to 150 stats can exist on a ZZT board, with the [[player]]&#039;s stat occupying the first index.&lt;br /&gt;
&lt;br /&gt;
The stat order is not exposed to the user in the [[built-in editor]]. Nonetheless, the order of stats can affect how quickly entities respond to certain events. Given two [[object|objects]] running at Cycle 1, the object first appearing in the list can send a message to the second object and have the latter react to it on the same frame. On the other hand, if the second object sends a message to the first, it will not react until the following frame.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Stat_order_move_gaps.gif|thumb|Top row: objects attempt to step forward, but are blocked by the objects in front of them which appear later in the stat order. Bottom row: all objects move on the same frame.|alt=|left]]&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=File:Stat_order_move_gaps.gif&amp;diff=450</id>
		<title>File:Stat order move gaps.gif</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=File:Stat_order_move_gaps.gif&amp;diff=450"/>
		<updated>2021-04-25T20:53:23Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Animated .gif showing gaps in movement caused by the order of objects in the stat list. Top row: objects attempt to step forward, but are blocked by the objects in front of them. Bottom row: all objects move on the same frame. Uploaded by the author.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Animated .gif showing gaps in movement caused by the order of objects in the stat list. Top row: objects attempt to step forward, but are blocked by the objects in front of them. Bottom row: all objects move on the same frame. Uploaded by the author.&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{CC-BY-SA-4.0}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Talk:Stat_order&amp;diff=449</id>
		<title>Talk:Stat order</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Talk:Stat_order&amp;diff=449"/>
		<updated>2021-04-25T20:22:17Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;Todo: * Stat bugs related to deleting entries in the list * Maybe a GIF of objects demonstrating gaps in movement, versus no gaps depending on the stat order * Origin of the t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Todo:&lt;br /&gt;
* Stat bugs related to deleting entries in the list&lt;br /&gt;
* Maybe a GIF of objects demonstrating gaps in movement, versus no gaps depending on the stat order&lt;br /&gt;
* Origin of the term &#039;&#039;stat&#039;&#039; in this context (KevEdit?)&lt;br /&gt;
&lt;br /&gt;
[[User:Rbts|Rbts]] ([[User talk:Rbts|talk]]) 20:21, 25 April 2021 (UTC)&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Stat_order&amp;diff=448</id>
		<title>Stat order</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Stat_order&amp;diff=448"/>
		<updated>2021-04-25T20:15:49Z</updated>

		<summary type="html">&lt;p&gt;Rbts: stub&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;stat order&#039;&#039;&#039; or &#039;&#039;&#039;stat list&#039;&#039;&#039; refers to a ZZT [[board]]&#039;s internal array of &amp;quot;active&amp;quot; entities. Stats provide additional state for map elements, and the list serves as a way for the engine to identify which elements require updates on a per-frame basis. Up to 150 stats can exist on a ZZT board, with the [[player]]&#039;s stat occupying the first index.&lt;br /&gt;
&lt;br /&gt;
The stat order is not exposed to the user in the [[built-in editor]]. Nonetheless, the order of stats can affect how quickly entities respond to certain events. Given two [[object|objects]] running at Cycle 1, the object first appearing in the list can send a message to the second object and have the latter react to it on the same frame. On the other hand, if the second object sends a message to the first, it will not react until the following frame.&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Board&amp;diff=447</id>
		<title>Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Board&amp;diff=447"/>
		<updated>2021-04-25T20:06:23Z</updated>

		<summary type="html">&lt;p&gt;Rbts: 151 stats -&amp;gt; 150&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Boards&#039;&#039;&#039; are ZZT&#039;s playable map regions. Boards are 60x25 in size, and can contain up to 150 [[stat list|entities with stats]]. They are also used for the [[title screen]].&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Title&#039;&#039;&#039;: What the board is called in the editor&#039;s &#039;&#039;Switch Boards&#039;&#039; menu.&lt;br /&gt;
* &#039;&#039;&#039;Can Fire&#039;&#039;&#039; (0-255): How many [[bullet|bullets]] fired by the [[player]] are permitted at any one time.&lt;br /&gt;
* &#039;&#039;&#039;Board is dark&#039;&#039;&#039;: If yes, requires the player to light a [[torch]] to see.&lt;br /&gt;
* &#039;&#039;&#039;Board ↑↓←→&#039;&#039;&#039;: Allows linking this board to others by their [[edge|edges]]. These links are not automatically reciprocated in the [[built-in editor]].&lt;br /&gt;
* &#039;&#039;&#039;Re-enter when zapped&#039;&#039;&#039;: When the player takes built-in damage, place them where they first entered the board.&lt;br /&gt;
* &#039;&#039;&#039;Time limit&#039;&#039;&#039; (0-32767): When active, the board will display a timer that counts down in seconds. When the time runs out, the player takes damage. This is typically used with &#039;&#039;Re-enter when zapped&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Storage and Persistence =&lt;br /&gt;
&lt;br /&gt;
Boards maintain their state as the player travels from area to area, but there is only one board context active at a time. They are stored in a compressed form using a run-length encoding scheme, and decompressed into the active board context as needed. When the [[player]] travels to a new board, the old board&#039;s content is compressed and stored again.&lt;br /&gt;
&lt;br /&gt;
Boards are limited to 20000 bytes in size, and exceeding this amount can lead to ZZT crashing.&lt;br /&gt;
&lt;br /&gt;
= Perimeter =&lt;br /&gt;
&lt;br /&gt;
The current active board has an additional hidden perimeter of [[edge|board edge tiles]]. These tiles are part of the system that allows the player to move across boards via edge links. They also serve as a barrier to prevent entities from stepping out of bounds. If a user [[cheat|zaps]] the edge of a board, they will create a hole in the perimeter which can allow entities to leave the board, typically resulting in memory corruption. Entities with tweaked [[step value|step values]] can also phase through the barrier.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[ZZT file format]]&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Color&amp;diff=446</id>
		<title>Color</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Color&amp;diff=446"/>
		<updated>2021-04-25T01:37:07Z</updated>

		<summary type="html">&lt;p&gt;Rbts: high-intensity -&amp;gt; bright&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[ZZT-OOP]] has seven named colors: blue, green, cyan, red, purple, yellow and white. These correspond to the seven bright colors in the default 16-color CGA palette. With the exception of [[door|doors]], named colors apply to an element&#039;s foreground color, and are paired with a black background. A handful of additional colors can be obtained through ZZT-OOP by using the [[change]] and [[put]] commands on built-in entities with hard-coded colors.&lt;br /&gt;
&lt;br /&gt;
Below are examples of how to obtain [[gem|gems]] of various colors using ZZT-OOP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dark colors on black ==&lt;br /&gt;
&lt;br /&gt;
=== Dark brown on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[torch]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change torch gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Alternatively:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[bear]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change bear gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dark cyan on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[ammo]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change ammo gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dark purple on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[energizer]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change energizer gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Gray on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[shark]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change shark gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Black on dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== Black on dark green ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[forest]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change forest gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Black on gray ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[empty]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== White on dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== White on gray ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark blue ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e blue [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark green ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e green [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark red ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e red [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark purple ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e purple [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on brown ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e yellow [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Blinking white on black and dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e forest&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change forest door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on dark cyan ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e ammo&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note&#039;&#039;: The ammo won&#039;t automatically be overwritten by the newly-created door. You can delete it with &amp;lt;code&amp;gt;#change ammo empty&amp;lt;/code&amp;gt;, or put the object next to an obstacle such that the ammo gets crushed when the door is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on dark purple ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e energizer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on brown ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e torch&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on gray ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e shark&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://museumofzzt.com/file/m/Mwencv14.zip?file=%24MWENC_B.ZZT&amp;amp;board=7#19,10 Mystical Winds Encyclopedia v1.4: $MWENC_B.ZZT: 7. MW More In-Game Colors]&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Color&amp;diff=445</id>
		<title>Color</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Color&amp;diff=445"/>
		<updated>2021-04-25T01:35:59Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;ZZT-OOP has seven named colors: blue, green, cyan, red, purple, yellow and white. These correspond to the seven high-intensity colors in the default 16-color CGA palette....&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[ZZT-OOP]] has seven named colors: blue, green, cyan, red, purple, yellow and white. These correspond to the seven high-intensity colors in the default 16-color CGA palette. With the exception of [[door|doors]], named colors apply to an element&#039;s foreground color, and are paired with a black background. A handful of additional colors can be obtained through ZZT-OOP by using the [[change]] and [[put]] commands on built-in entities with hard-coded colors.&lt;br /&gt;
&lt;br /&gt;
Below are examples of how to obtain [[gem|gems]] of various colors using ZZT-OOP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dark colors on black ==&lt;br /&gt;
&lt;br /&gt;
=== Dark brown on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[torch]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change torch gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Alternatively:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[bear]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change bear gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dark cyan on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[ammo]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change ammo gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dark purple on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[energizer]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change energizer gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Gray on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[shark]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change shark gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Black on dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== Black on dark green ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[forest]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change forest gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Black on gray ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[empty]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== White on dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== White on gray ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark blue ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e blue [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark green ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e green [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark red ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e red [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on dark purple ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e purple [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== White on brown ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e yellow [[door]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Blinking white on black and dark colors ==&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on black ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e forest&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change forest door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on dark cyan ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e ammo&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note&#039;&#039;: The ammo won&#039;t automatically be overwritten by the newly-created door. You can delete it with &amp;lt;code&amp;gt;#change ammo empty&amp;lt;/code&amp;gt;, or put the object next to an obstacle such that the ammo gets crushed when the door is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on dark purple ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e energizer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on brown ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e torch&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blinking white on gray ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e shark&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;put e door&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;change door gem&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://museumofzzt.com/file/m/Mwencv14.zip?file=%24MWENC_B.ZZT&amp;amp;board=7#19,10 Mystical Winds Encyclopedia v1.4: $MWENC_B.ZZT: 7. MW More In-Game Colors]&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Title_screen&amp;diff=444</id>
		<title>Title screen</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Title_screen&amp;diff=444"/>
		<updated>2021-04-23T20:33:37Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;The ZZT &amp;#039;&amp;#039;&amp;#039;Title Screen&amp;#039;&amp;#039;&amp;#039; is the game state which appears after the configuration screen. It displays the first board of the currently-loaded world, and provides...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The ZZT &#039;&#039;&#039;Title Screen&#039;&#039;&#039; is the game state which appears after the [[configuration screen]]. It displays the first [[board]] of the currently-loaded [[world]], and provides options to select and play a world, restore from a [[saved game]], display info about ZZT, list [[high scores]], adjust the [[game speed]], and access the [[built-in editor]].&lt;br /&gt;
&lt;br /&gt;
While in Title Screen mode, the [[player]] is replaced by a [[monitor]].&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
* The user can access the ZZT [[cheats|cheat]] menu on the Title Screen by pressing the pipe key (&amp;quot;|&amp;quot;).&lt;br /&gt;
* If the first character in the ZZT [[ZZT.CFG|config file]] is &amp;quot;&#039;&#039;&#039;*&#039;&#039;&#039;&amp;quot;, then the editor is disabled.&lt;br /&gt;
* When the user ends a game session and returns to the title screen, their [[counters]] and [[flags]] will persist. Starting a new game or loading another world will reset them.&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Board&amp;diff=443</id>
		<title>Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Board&amp;diff=443"/>
		<updated>2021-04-22T22:21:59Z</updated>

		<summary type="html">&lt;p&gt;Rbts: board edge perimeter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Boards&#039;&#039;&#039; are ZZT&#039;s playable map regions. Boards are 60x25 in size, and can contain up to 151 [[stat list|entities with stats]]. They are also used for the [[title screen]].&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Title&#039;&#039;&#039;: What the board is called in the editor&#039;s &#039;&#039;Switch Boards&#039;&#039; menu.&lt;br /&gt;
* &#039;&#039;&#039;Can Fire&#039;&#039;&#039; (0-255): How many [[bullet|bullets]] fired by the [[player]] are permitted at any one time.&lt;br /&gt;
* &#039;&#039;&#039;Board is dark&#039;&#039;&#039;: If yes, requires the player to light a [[torch]] to see.&lt;br /&gt;
* &#039;&#039;&#039;Board ↑↓←→&#039;&#039;&#039;: Allows linking this board to others by their [[edge|edges]]. These links are not automatically reciprocated in the [[built-in editor]].&lt;br /&gt;
* &#039;&#039;&#039;Re-enter when zapped&#039;&#039;&#039;: When the player takes built-in damage, place them where they first entered the board.&lt;br /&gt;
* &#039;&#039;&#039;Time limit&#039;&#039;&#039; (0-32767): When active, the board will display a timer that counts down in seconds. When the time runs out, the player takes damage. This is typically used with &#039;&#039;Re-enter when zapped&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Storage and Persistence =&lt;br /&gt;
&lt;br /&gt;
Boards maintain their state as the player travels from area to area, but there is only one board context active at a time. They are stored in a compressed form using a run-length encoding scheme, and decompressed into the active board context as needed. When the [[player]] travels to a new board, the old board&#039;s content is compressed and stored again.&lt;br /&gt;
&lt;br /&gt;
Boards are limited to 20000 bytes in size, and exceeding this amount can lead to ZZT crashing.&lt;br /&gt;
&lt;br /&gt;
= Perimeter =&lt;br /&gt;
&lt;br /&gt;
The current active board has an additional hidden perimeter of [[edge|board edge tiles]]. These tiles are part of the system that allows the player to move across boards via edge links. They also serve as a barrier to prevent entities from stepping out of bounds. If a user [[cheat|zaps]] the edge of a board, they will create a hole in the perimeter which can allow entities to leave the board, typically resulting in memory corruption. Entities with tweaked [[step value|step values]] can also phase through the barrier.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[ZZT file format]]&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Board&amp;diff=442</id>
		<title>Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Board&amp;diff=442"/>
		<updated>2021-04-22T18:12:39Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Boards&amp;#039;&amp;#039;&amp;#039; are ZZT&amp;#039;s playable map regions. Every board in ZZT is 60x25 in size, and can contain up to 151 entities with stats. They are also used for the tit...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Boards&#039;&#039;&#039; are ZZT&#039;s playable map regions. Every board in ZZT is 60x25 in size, and can contain up to 151 [[stat list|entities with stats]]. They are also used for the [[title screen]].&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Title&#039;&#039;&#039;: What the board is called in the editor&#039;s &#039;&#039;Switch Boards&#039;&#039; menu.&lt;br /&gt;
* &#039;&#039;&#039;Can Fire&#039;&#039;&#039; (0-255): How many [[bullet|bullets]] fired by the [[player]] are permitted at any one time.&lt;br /&gt;
* &#039;&#039;&#039;Board is dark&#039;&#039;&#039;: If yes, requires the player to light a [[torch]] to see.&lt;br /&gt;
* &#039;&#039;&#039;Board ↑↓←→&#039;&#039;&#039;: Allows linking this board to others by their [[edge|edges]]. These links are not automatically reciprocated in the [[built-in editor]].&lt;br /&gt;
* &#039;&#039;&#039;Re-enter when zapped&#039;&#039;&#039;: When the player takes built-in damage, place them where they first entered the board.&lt;br /&gt;
* &#039;&#039;&#039;Time limit&#039;&#039;&#039; (0-32767): When active, the board will display a timer that counts down in seconds. When the time runs out, the player takes damage. This is typically used with &#039;&#039;Re-enter when zapped&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Storage and Persistence =&lt;br /&gt;
&lt;br /&gt;
Boards maintain their state as the player travels from area to area, but there is only one board context active at a time. They are stored in a compressed form using a run-length encoding scheme, and decompressed into the active board context as needed. When the [[player]] travels to a new board, the old board&#039;s content is compressed and stored again.&lt;br /&gt;
&lt;br /&gt;
Boards are limited to 20000 bytes in size, and exceeding this amount can lead to ZZT crashing.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[ZZT file format]]&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Monitor&amp;diff=441</id>
		<title>Monitor</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Monitor&amp;diff=441"/>
		<updated>2021-04-21T21:58:22Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{Element |name=Monitor |zzt-oop name=monitor |id={{Byte|3}} |color={{ColorSwatch|fg=gray|bg=black}} |char={{CharSwatch|32}} |stats=yes |cycle=1 |destructible=no |effect on mo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Monitor&lt;br /&gt;
|zzt-oop name=monitor&lt;br /&gt;
|id={{Byte|3}}&lt;br /&gt;
|color={{ColorSwatch|fg=gray|bg=black}}&lt;br /&gt;
|char={{CharSwatch|32}}&lt;br /&gt;
|stats=yes&lt;br /&gt;
|cycle=1&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=wall&lt;br /&gt;
|uses zzt-oop color=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Monitors&#039;&#039;&#039; stand in for the [[player]] on [[title screen|title screens]]. They watch for keyboard input.&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
&lt;br /&gt;
There is no option to create new monitors in ZZT&#039;s [[built-in editor]], but they can be placed with [[external editor|external editors]]. Objects can create new monitors at run-time with [[ZZT-OOP]] (ie &#039;&#039;&#039;#put [dir] monitor&#039;&#039;&#039;). Placing a monitor in-game will not enable title screen features, though.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Pusher&amp;diff=440</id>
		<title>Pusher</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Pusher&amp;diff=440"/>
		<updated>2021-04-20T18:49:53Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{Element |name=Pusher |zzt-oop name=pusher |category=creature |id={{Byte|40}} |char={{CharSwatch|16}}, {{CharSwatch|17}}, {{CharSwatch|30}}, {{CharSwatch|31}} |stats=yes |cyc...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Pusher&lt;br /&gt;
|zzt-oop name=pusher&lt;br /&gt;
|category=creature&lt;br /&gt;
|id={{Byte|40}}&lt;br /&gt;
|char={{CharSwatch|16}}, {{CharSwatch|17}}, {{CharSwatch|30}}, {{CharSwatch|31}}&lt;br /&gt;
|stats=yes&lt;br /&gt;
|cycle=4&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=wall&lt;br /&gt;
|uses zzt-oop color=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pushers&#039;&#039;&#039; are built-in ZZT creatures. They move in one direction, displacing any pushable entities in their path until they become blocked by a wall or other unmovable obstacle. They are typically used as a component of [[slider]] puzzles.&lt;br /&gt;
&lt;br /&gt;
Pushers are not inherently dangerous, but once in motion, they cannot be reset short of restoring from a previous save.&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
&lt;br /&gt;
* Statless Pushers and Pushers created with [[ZZT-OOP]] (&#039;&#039;&#039;#put &amp;lt;dir&amp;gt; [color] pusher&#039;&#039;&#039;) are immobile and always display char 31 (down-arrow.)&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Player&amp;diff=439</id>
		<title>Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Player&amp;diff=439"/>
		<updated>2021-04-19T16:11:02Z</updated>

		<summary type="html">&lt;p&gt;Rbts: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Player&lt;br /&gt;
|zzt-oop name=player&lt;br /&gt;
|category=item&lt;br /&gt;
|id={{Byte|4}}&lt;br /&gt;
|color={{ColorSwatch|fg=white|bg=blue}}&lt;br /&gt;
|char={{CharSwatch|2}}&lt;br /&gt;
|stats=yes&lt;br /&gt;
|cycle=1&lt;br /&gt;
|destructible=yes&lt;br /&gt;
|effect on movement=&lt;br /&gt;
|uses zzt-oop color=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Player&#039;&#039;&#039; is the user&#039;s in-game avatar.&lt;br /&gt;
&lt;br /&gt;
= Capabilities =&lt;br /&gt;
&lt;br /&gt;
Besides the [[monitor|title screen monitor]], the player is the only in-game ZZT element that responds directly to user input. It&#039;s also the only element that can collect items, unlock [[door|doors]], and issue [[touch]] events to [[object|objects]]. It can change the current active [[board]] by touching [[passage|passages]] and [[edge|board edges]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Appearances =&lt;br /&gt;
&lt;br /&gt;
During a game session, ZZT assumes that only one player exists and that it occupies slot 0 in the [[stat list]]. Additional player entities (colloquially referred to as &#039;&#039;player clones&#039;&#039;) can be placed in the editor or created at run-time with [[ZZT-OOP]].&lt;br /&gt;
&lt;br /&gt;
The player is meant to effectively be indestructible, even on [[game over]], but can be erased from a board as a result of the [[conveyor|conveyor stat glitch]]. The player&#039;s tick function handles input, so if the player is destroyed in this manner, ZZT itself will become unresponsive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Player&amp;diff=438</id>
		<title>Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Player&amp;diff=438"/>
		<updated>2021-04-19T16:09:51Z</updated>

		<summary type="html">&lt;p&gt;Rbts: My bad, just realized &amp;#039;destructible&amp;#039; in the infobox is referring to a field in elementDefs in the source&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Player&lt;br /&gt;
|zzt-oop name=player&lt;br /&gt;
|category=item&lt;br /&gt;
|id={{Byte|4}}&lt;br /&gt;
|color={{ColorSwatch|fg=white|bg=blue}}&lt;br /&gt;
|char={{CharSwatch|2}}&lt;br /&gt;
|stats=yes&lt;br /&gt;
|cycle=1&lt;br /&gt;
|destructible=yes&lt;br /&gt;
|effect on movement=&lt;br /&gt;
|uses zzt-oop color=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Player&#039;&#039;&#039; is the user&#039;s in-game avatar.&lt;br /&gt;
&lt;br /&gt;
= Capabilities =&lt;br /&gt;
&lt;br /&gt;
Besides the [[monitor|title screen monitor]], the player is the only in-game ZZT element that responds directly to user input. It&#039;s also also the only element that can collect items, unlock [[door|doors]], and issue [[touch]] events to [[object|objects]]. It can change the current active [[board]] by touching [[passage|passages]] and [[edge|board edges]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Appearances =&lt;br /&gt;
&lt;br /&gt;
During a game session, ZZT assumes that only one player exists and that it occupies slot 0 in the [[stat list]]. Additional player entities (colloquially referred to as &#039;&#039;player clones&#039;&#039;) can be placed in the editor or created at run-time with [[ZZT-OOP]].&lt;br /&gt;
&lt;br /&gt;
The player is meant to effectively be indestructible, even on [[game over]], but can be erased from a board as a result of the [[conveyor|conveyor stat glitch]]. The player&#039;s tick function handles input, so if the player is destroyed in this manner, ZZT itself will become unresponsive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Player&amp;diff=437</id>
		<title>Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Player&amp;diff=437"/>
		<updated>2021-04-19T15:52:51Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Player&lt;br /&gt;
|zzt-oop name=player&lt;br /&gt;
|category=item&lt;br /&gt;
|id={{Byte|4}}&lt;br /&gt;
|color={{ColorSwatch|fg=white|bg=blue}}&lt;br /&gt;
|char={{CharSwatch|2}}&lt;br /&gt;
|stats=yes&lt;br /&gt;
|cycle=1&lt;br /&gt;
|destructible=&lt;br /&gt;
|effect on movement=&lt;br /&gt;
|uses zzt-oop color=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Player&#039;&#039;&#039; is the user&#039;s in-game avatar.&lt;br /&gt;
&lt;br /&gt;
= Capabilities =&lt;br /&gt;
&lt;br /&gt;
The player is the only in-game ZZT element that responds directly to user input, and also the only element that can collect items, unlock [[door|doors]], and issue [[touch]] events to [[object|objects]]. It can change the current active [[board]] by touching [[passage|passages]] and [[edge|board edges]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Appearances =&lt;br /&gt;
&lt;br /&gt;
During a game session, ZZT assumes that only one player exists and that it occupies slot 0 in the [[stat list]]. Additional player entities (colloquially referred to as &#039;&#039;player clones&#039;&#039;) can be placed in the editor or created at run-time with [[ZZT-OOP]].&lt;br /&gt;
&lt;br /&gt;
The player is intended to be indestructible, even on [[game over]], but can be erased from a board as a result of the [[conveyor|conveyor stat glitch]]. The player&#039;s tick function handles input, so if the player is destroyed in this manner, ZZT itself will become unresponsive.&lt;br /&gt;
&lt;br /&gt;
On [[title screen|title screens]], a [[monitor]] exists in place of the player to handle keyboard input.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Slime&amp;diff=436</id>
		<title>Slime</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Slime&amp;diff=436"/>
		<updated>2021-04-18T22:54:51Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Slime&lt;br /&gt;
|zzt-oop name=slime&lt;br /&gt;
|category=creature&lt;br /&gt;
|id={{Byte|37}}&lt;br /&gt;
|color=&lt;br /&gt;
|char={{CharSwatch|42}}&lt;br /&gt;
|stats=yes&lt;br /&gt;
|x-y step=&lt;br /&gt;
|cycle=3&lt;br /&gt;
|p1=Cloning counter&lt;br /&gt;
|p2=Cloning threshold&lt;br /&gt;
|score=&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=&lt;br /&gt;
|uses zzt-oop color=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Slimes&#039;&#039;&#039; are creatures which clone themselves across empties and fake floors, leaving [[breakable|breakable tiles]] in their place. The player can destroy a single slime by touching it. They cannot be harmed by bullets or bomb blasts, though they may incidentally disappear without cloning if they happen to be blocked at the right moment.&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Slime&amp;diff=435</id>
		<title>Slime</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Slime&amp;diff=435"/>
		<updated>2021-04-18T22:50:53Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{Element |name=Slime |zzt-oop name=slime |category=creature |id={{Byte|37}} |color= |char={{CharSwatch|42}} |stats=yes |x-y step= |cycle=3 |p1=Cloning counter |p2=Cloning thr...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Slime&lt;br /&gt;
|zzt-oop name=slime&lt;br /&gt;
|category=creature&lt;br /&gt;
|id={{Byte|37}}&lt;br /&gt;
|color=&lt;br /&gt;
|char={{CharSwatch|42}}&lt;br /&gt;
|stats=yes&lt;br /&gt;
|x-y step=&lt;br /&gt;
|cycle=3&lt;br /&gt;
|p1=Cloning counter&lt;br /&gt;
|p2=Cloning threshold&lt;br /&gt;
|score=&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=&lt;br /&gt;
|uses zzt-oop color=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Slimes&#039;&#039;&#039; are creatures which clone themselves across empties and fake floors, leaving breakable blocks in their place. The player can destroy a single slime by touching it. They cannot be harmed by bullets or bomb blasts, though they may incidentally disappear without cloning if they happen to be blocked at the right moment.&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Object&amp;diff=434</id>
		<title>Object</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Object&amp;diff=434"/>
		<updated>2021-04-18T22:16:26Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Object&lt;br /&gt;
|zzt-oop name=object&lt;br /&gt;
|category=creature&lt;br /&gt;
|id={{Byte|36}}&lt;br /&gt;
|color=&lt;br /&gt;
|char=&lt;br /&gt;
|stats=yes&lt;br /&gt;
|x-y step=Yes&lt;br /&gt;
|cycle=3&lt;br /&gt;
|p1=Character graphic&lt;br /&gt;
|p2=Message [[lock]]&lt;br /&gt;
|score=&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=&lt;br /&gt;
|uses zzt-oop color=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Objects&#039;&#039;&#039; are ZZT&#039;s general-purpose, customizable entity. While objects do nothing on their own, they can be programmed with [[ZZT-OOP]] to perform simple tasks such as moving, shooting and displaying text. It&#039;s possible to build more complex mechanisms using [[if|conditional statements]], [[label|label manipulation]] and [[send|object-to-object communication]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
&lt;br /&gt;
=== Dynamic Object Creation ===&lt;br /&gt;
&lt;br /&gt;
Objects created with ZZT-OOP (like executing &#039;&#039;&#039;#put [dir] object&#039;&#039;&#039; in the direction of an empty space) have no ZZT-OOP program and default to a blank graphic (char 1). Objects can be cloned with their state and program intact via [[duplicator|duplicators]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Changing an Object&#039;s Color ===&lt;br /&gt;
&lt;br /&gt;
Objects cannot change their own color, and &#039;&#039;&#039;#become [color] object&#039;&#039;&#039; will delete the object&#039;s ZZT-OOP program and assign it char 1. All objects of a given color on the board can be changed at the same time using &#039;&#039;&#039;#change [old_color] object [new_color] object&#039;&#039;&#039;. One object may &#039;&#039;&#039;#put [dir] [color] object&#039;&#039;&#039; in the direction of an existing object and change its color that way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Gameplay ===&lt;br /&gt;
&lt;br /&gt;
* The [[player]] cannot shoot an object while standing directly next to it: there must be at least one space between them and the object. The reverse is &#039;&#039;not&#039;&#039; true for objects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Object&amp;diff=433</id>
		<title>Object</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Object&amp;diff=433"/>
		<updated>2021-04-18T22:15:42Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{Element |name=Object |zzt-oop name=object |category=creature |id={{Byte|36}} |color= |char= |stats=yes |x-y step=Yes |cycle=3 |p1=Character graphic |p2=Message lock |sco...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Object&lt;br /&gt;
|zzt-oop name=object&lt;br /&gt;
|category=creature&lt;br /&gt;
|id={{Byte|36}}&lt;br /&gt;
|color=&lt;br /&gt;
|char=&lt;br /&gt;
|stats=yes&lt;br /&gt;
|x-y step=Yes&lt;br /&gt;
|cycle=3&lt;br /&gt;
|p1=Character graphic&lt;br /&gt;
|p2=Message [[lock]]&lt;br /&gt;
|score=&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=&lt;br /&gt;
|uses zzt-oop color=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Objects&#039;&#039;&#039; are ZZT&#039;s general-purpose, customizable entity. While objects do nothing on their own, they can be programmed with [[ZZT-OOP]] to perform simple tasks such as moving, shooting and displaying text. It&#039;s possible to build more complex mechanisms using [[if|conditional statements]], [[label|label jumps]] and [[send|object-to-object communication]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
&lt;br /&gt;
=== Dynamic Object Creation ===&lt;br /&gt;
&lt;br /&gt;
Objects created with ZZT-OOP (like executing &#039;&#039;&#039;#put [dir] object&#039;&#039;&#039; in the direction of an empty space) have no ZZT-OOP program and default to a blank graphic (char 1). Objects can be cloned with their state and program intact via [[duplicator|duplicators]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Changing an Object&#039;s Color ===&lt;br /&gt;
&lt;br /&gt;
Objects cannot change their own color, and &#039;&#039;&#039;#become [color] object&#039;&#039;&#039; will delete the object&#039;s ZZT-OOP program and assign it char 1. All objects of a given color on the board can be changed at the same time using &#039;&#039;&#039;#change [old_color] object [new_color] object&#039;&#039;&#039;. One object may &#039;&#039;&#039;#put [dir] [color] object&#039;&#039;&#039; in the direction of an existing object and change its color that way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Gameplay ===&lt;br /&gt;
&lt;br /&gt;
* The [[player]] cannot shoot an object while standing directly next to it: there must be at least one space between them and the object. The reverse is &#039;&#039;not&#039;&#039; true for objects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Kangaroo_effect&amp;diff=432</id>
		<title>Kangaroo effect</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Kangaroo_effect&amp;diff=432"/>
		<updated>2021-04-18T15:36:16Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;The &amp;#039;&amp;#039;Kangaroo Effect&amp;#039;&amp;#039; is a visual technique for displaying art on dark boards outside the field of vision of the player entity. For gameplay reasons, torches,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;Kangaroo Effect&#039;&#039; is a visual technique for displaying art on dark boards outside the field of vision of the [[player]] entity. For gameplay reasons, [[torch|torches]], [[passage|passages]], and the player are unconditionally visible on dark boards. By placing large quantities of these entities with the same foreground and background color, one can depict inaccessible regions as solid bodies.&lt;br /&gt;
&lt;br /&gt;
A precursor to the effect is found in [https://museumofzzt.com/file/d/catalog.zip?file=CATALOG.ZZT&amp;amp;board=5 some early ZZT worlds], where plain brown-on-black torches are used on dark boards to suggest a thick forested area.&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Player&amp;diff=431</id>
		<title>Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Player&amp;diff=431"/>
		<updated>2021-04-18T15:34:53Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{Element |name=Player |zzt-oop name=player |category=item |id={{Byte|4}} |color={{ColorSwatch|fg=white|bg=blue}} |char={{CharSwatch|2}} |stats=yes |cycle=1 |destructible=no |...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|name=Player&lt;br /&gt;
|zzt-oop name=player&lt;br /&gt;
|category=item&lt;br /&gt;
|id={{Byte|4}}&lt;br /&gt;
|color={{ColorSwatch|fg=white|bg=blue}}&lt;br /&gt;
|char={{CharSwatch|2}}&lt;br /&gt;
|stats=yes&lt;br /&gt;
|cycle=1&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=&lt;br /&gt;
|uses zzt-oop color=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Player&#039;&#039;&#039; is the user&#039;s in-game avatar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Torch&amp;diff=363</id>
		<title>Torch</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Torch&amp;diff=363"/>
		<updated>2021-02-13T13:08:50Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|zzt-oop name=torch&lt;br /&gt;
|id={{Byte|6}}&lt;br /&gt;
|char={{CharSwatch|157}}&lt;br /&gt;
|color={{ColorSwatch|fg=brown|bg=black}}&lt;br /&gt;
|category=item&lt;br /&gt;
|stats=no&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=solid, collectible by the player&lt;br /&gt;
|uses zzt-oop color=no&lt;br /&gt;
|visible in dark=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;torch&#039;&#039;&#039; element is ZZT&#039;s built-in method for giving the player torches. Touching a torch will add 1 to your torch counter and display the message &amp;quot;Torch - used for lighting in the underground.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Pressing the &amp;quot;T&amp;quot; key in a dark room will light a torch for 200 ticks. Pressing &amp;quot;T&amp;quot; in a non-dark room will display the message &amp;quot;Don&#039;t need torch - room is not dark!&amp;quot; In either case, if you don&#039;t have any torches then pressing &amp;quot;T&amp;quot; will display the message &amp;quot;You don&#039;t have any torches!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
When a torch is active, the game will draw a circle around the player that is roughly 50 pixels in diameter. At its widest points, the lit portion of the room extends 4 tiles north and south of the player, and 7 tiles east and west of the player. (Interestingly, the shape of the torchlight is the exact same shape as a [[bomb]] explosion.)&lt;br /&gt;
&lt;br /&gt;
Each extra [[player|player clone]] on a board will exhaust an extra torch tick every cycle.&lt;br /&gt;
&lt;br /&gt;
Since torches are one of the few elements that are visible in the dark, they can be used to give dark rooms decorative contours and shape. This is colloquially referred to as &amp;quot;The Kangaroo Effect.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Torches are also useful as a means of programmatically obtaining brown, e.g., by [[change|#changing]] another item to a torch and back.&lt;br /&gt;
&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Send&amp;diff=352</id>
		<title>Send</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Send&amp;diff=352"/>
		<updated>2021-02-13T01:45:00Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:send}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#send&#039;&#039;&#039; is a [[ZZT-OOP]] command that provides a means of directing one or multiple [[object|objects.]] When an object receives a message from &#039;&#039;&#039;#send&#039;&#039;&#039;, it checks its program for a matching [[label]], and if found, continues program execution from that point. ZZT&#039;s manual compares it to the GOTO statement in BASIC.&lt;br /&gt;
&lt;br /&gt;
Objects can send messages to themselves to control their own program flow, as well as send to other objects. An object can manage multiple instances of a label with [[zap|#zap and #restore]], allowing different reactions to the same received message string. If an object needs to perform a task without interruption, it can turn off all incoming messages with the [[lock|#lock]] command.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
* Object sending a label to itself: &amp;lt;code&amp;gt;#send self:&amp;lt;label&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Object sending a label to multiple objects (and possibly itself as well): &amp;lt;code&amp;gt;#send &amp;lt;all|others|[[Object Name|name]]&amp;gt;:&amp;lt;label&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#send&#039;&#039;&#039; is unique among ZZT-OOP commands in that the command part can be omitted as a shortcut: &amp;lt;code&amp;gt;#label&amp;lt;/code&amp;gt; is functionally identical to &amp;lt;code&amp;gt;#send self:label&amp;lt;/code&amp;gt;, so long as &amp;lt;code&amp;gt;:label&amp;lt;/code&amp;gt; exists somewhere in the code and &#039;&#039;label&#039;&#039; isn&#039;t the name of a command like &amp;lt;code&amp;gt;[[die|#die]]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
* A locked object will not receive external messages, but it can still &#039;&#039;&#039;#send&#039;&#039;&#039; messages to itself. This includes when sending to all objects with &amp;lt;code&amp;gt;#send all:label&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Send&amp;diff=351</id>
		<title>Send</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Send&amp;diff=351"/>
		<updated>2021-02-13T01:43:46Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:send}}  &amp;#039;&amp;#039;&amp;#039;#send&amp;#039;&amp;#039;&amp;#039; is a ZZT-OOP command that provides a means of directing one or multiple objects. When an object receives a message from &amp;#039;&amp;#039;&amp;#039;#s...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:send}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#send&#039;&#039;&#039; is a [[ZZT-OOP]] command that provides a means of directing one or multiple [[object|objects.]] When an object receives a message from &#039;&#039;&#039;#send&#039;&#039;&#039;, it checks its program for a matching [[label]], and if found, continues program execution from that point. ZZT&#039;s manual compares it to the GOTO statement in BASIC.&lt;br /&gt;
&lt;br /&gt;
Objects can send messages to themselves to control their own program flow, as well as send to other objects. An object can manage multiple instances of a label with [[zap|#zap and #restore]], allowing different reactions to the same received message string. If an object needs to perform a task without interruption, it can temporarily turn off all incoming messages with the [[lock|#lock]] command.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
* Object sending a label to itself: &amp;lt;code&amp;gt;#send self:&amp;lt;label&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Object sending a label to multiple objects (and possibly itself as well): &amp;lt;code&amp;gt;#send &amp;lt;all|others|[[Object Name|name]]&amp;gt;:&amp;lt;label&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#send&#039;&#039;&#039; is unique among ZZT-OOP commands in that the command part can be omitted as a shortcut: &amp;lt;code&amp;gt;#label&amp;lt;/code&amp;gt; is functionally identical to &amp;lt;code&amp;gt;#send self:label&amp;lt;/code&amp;gt;, so long as &amp;lt;code&amp;gt;:label&amp;lt;/code&amp;gt; exists somewhere in the code and &#039;&#039;label&#039;&#039; isn&#039;t the name of a command like &amp;lt;code&amp;gt;[[die|#die]]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
* A locked object will not receive external messages, but it can still &#039;&#039;&#039;#send&#039;&#039;&#039; messages to itself. This includes when sending to all objects with &amp;lt;code&amp;gt;#send all:label&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Set&amp;diff=350</id>
		<title>Set</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Set&amp;diff=350"/>
		<updated>2021-02-13T00:46:11Z</updated>

		<summary type="html">&lt;p&gt;Rbts: valid zzt flag: ::::::::::::::::::::&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[ZZT-OOP]] commands &#039;&#039;&#039;#set&#039;&#039;&#039; and &#039;&#039;&#039;#clear&#039;&#039;&#039; are used to set and clear flags from the world&#039;s flag list. Flags are strings limited to 20 characters in length, and only 10 flags can be set at a time. Internally, flags are converted into uppercase when set.&lt;br /&gt;
&lt;br /&gt;
When using &amp;lt;code&amp;gt;#set flag&amp;lt;/code&amp;gt;, ZZT checks to see if the flag has already been set. If it has been set already, then it does not set the flag again. If the flag has not been already set, then the flag is set in the first open flag slot. If no flag slot is open, then the last flag is overwritten.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;#clear flag&amp;lt;/code&amp;gt; command removes the flag from the flag list, replacing it with an empty string. Given how small the flag limit is, be sure to &#039;&#039;&#039;#clear&#039;&#039;&#039; flags when you are done with them. (If the flag list has been modified in an external editor to have multiple flags with the same name, then the last flag with the name will be removed.)&lt;br /&gt;
&lt;br /&gt;
The presence of a flag can be detected using the [[if|#if]] command. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#set flag&lt;br /&gt;
#if flag /e&lt;br /&gt;
#if not flag /w&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The object in this scenario will move east, but will not move west.&lt;br /&gt;
&lt;br /&gt;
Using the &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; cheat prompt, the player can type &amp;lt;code&amp;gt;+flag&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-flag&amp;lt;/code&amp;gt; to set and clear flags manually. Several games have the player use this feature intentionally (eg to open an inventory menu) and not as a cheat.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;Super ZZT&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
In [[Super ZZT]] the flag limit has been increased to 16. Additionally, a flag prefixed with the letter &amp;quot;Z&amp;quot; can serve as the name for the [[Stones of Power]] counter. (Note that Super ZZT expects the initial &amp;quot;Z&amp;quot; to be uppercase, so keep that in mind if you choose to use an external editor to have the name of the Stones counter be mixed-case.)&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
* Due to how the interpreter works, flags set with ZZT-OOP are limited to letters (a-z), numbers (0-9), colons (:) and underscores (_). The first character is not allowed to be a number. Other symbols will cut the string off: for example, &amp;lt;code&amp;gt;#set brick-wall&amp;lt;/code&amp;gt; will assign the flag &amp;quot;BRICK&amp;quot;.&lt;br /&gt;
* ZZT will technically allow setting flags with the same names as built-ins ([[contact]], [[blocked]], etc.), but attempting to read them with &amp;lt;code&amp;gt;[[if|#if]]&amp;lt;/code&amp;gt; statements will always query the state of the built-in flag.&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Go&amp;diff=341</id>
		<title>Go</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Go&amp;diff=341"/>
		<updated>2021-02-11T22:26:59Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:go}} &amp;#039;&amp;#039;&amp;#039;#go&amp;#039;&amp;#039;&amp;#039; (Shortened: &amp;#039;&amp;#039;&amp;#039;/&amp;#039;&amp;#039;&amp;#039;) is a ZZT-OOP movement command which makes an object move one step. If the destination is blocked by an...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:go}}&lt;br /&gt;
&#039;&#039;&#039;#go&#039;&#039;&#039; (Shortened: &#039;&#039;&#039;[[Movement|/]]&#039;&#039;&#039;) is a [[ZZT-OOP]] movement command which makes an [[object]] move one step. If the destination is blocked by an obstacle, the object will wait until the path is clear before stepping into the spot and continuing on with program execution.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
Full form: &amp;lt;code&amp;gt;#go &amp;lt;direction&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shortened form: &amp;lt;code&amp;gt;/&amp;lt;direction&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Try&amp;diff=340</id>
		<title>Try</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Try&amp;diff=340"/>
		<updated>2021-02-11T22:19:34Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:try}} &amp;#039;&amp;#039;&amp;#039;#try&amp;#039;&amp;#039;&amp;#039; (Shortened: &amp;#039;&amp;#039;&amp;#039;?&amp;#039;&amp;#039;&amp;#039;) is a ZZT-OOP movement command which attempts to move an object one step in a given direction. Unlike...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:try}}&lt;br /&gt;
&#039;&#039;&#039;#try&#039;&#039;&#039; (Shortened: &#039;&#039;&#039;[[Movement|?]]&#039;&#039;&#039;) is a [[ZZT-OOP]] movement command which attempts to move an [[object]] one step in a given direction. Unlike [[go|#go]], &#039;&#039;&#039;#try&#039;&#039;&#039; will not block program execution if the object is incapable of moving to its destination.&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;&#039;#try&#039;&#039;&#039; is unsuccessful, an optional command can be executed, similar to [[give|#give]] and [[take|#take]]. This is not supported with the shortened variant.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
Full form: &amp;lt;code&amp;gt;#try &amp;lt;direction&amp;gt; [&amp;lt;failure_command&amp;gt;]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shortened form: &amp;lt;code&amp;gt;?&amp;lt;direction&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Lock&amp;diff=339</id>
		<title>Lock</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Lock&amp;diff=339"/>
		<updated>2021-02-11T16:28:24Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:lock}} &amp;#039;&amp;#039;&amp;#039;#lock&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;#unlock&amp;#039;&amp;#039;&amp;#039; are ZZT-OOP commands that control whether an object receives messages from external sources.  While locked, an...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:lock}}&lt;br /&gt;
&#039;&#039;&#039;#lock&#039;&#039;&#039; and &#039;&#039;&#039;#unlock&#039;&#039;&#039; are [[ZZT-OOP]] commands that control whether an [[object]] receives [[messages]] from external sources.&lt;br /&gt;
&lt;br /&gt;
While locked, an object will not receive incoming messages from other objects, or built-in messages such as &amp;lt;code&amp;gt;[[touch|#touch]]&amp;lt;/code&amp;gt;. A locked object can still &amp;lt;code&amp;gt;[[send|#send]]&amp;lt;/code&amp;gt; messages to itself, as well as send outgoing messages to other objects. This allows objects to complete sequences of commands without interruption.&lt;br /&gt;
&lt;br /&gt;
If a locked object reaches an &amp;lt;code&amp;gt;[[end|#end]]&amp;lt;/code&amp;gt; command (or the end of its program) without unlocking, it will become unresponsive, as there is no way to unlock an object remotely.&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
* A locked object executing &amp;lt;code&amp;gt;[[send|#send all:&amp;lt;message&amp;gt;]]&amp;lt;/code&amp;gt; will send &amp;lt;message&amp;gt; to itself as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Unlock&amp;diff=338</id>
		<title>Unlock</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Unlock&amp;diff=338"/>
		<updated>2021-02-11T15:54:41Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Redirected page to Lock&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[lock]]&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Restart&amp;diff=329</id>
		<title>Restart</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Restart&amp;diff=329"/>
		<updated>2021-02-11T00:00:25Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:restart}}  &amp;#039;&amp;#039;&amp;#039;restart&amp;#039;&amp;#039;&amp;#039; is a built-in ZZT-OOP message that resets an object&amp;#039;s instruction counter, making it continue execution from the top of its program...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:restart}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;restart&#039;&#039;&#039; is a built-in [[ZZT-OOP]] message that resets an object&#039;s instruction counter, making it continue execution from the top of its program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
Object restarting itself: &amp;lt;code&amp;gt;#restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restarting any objects called &amp;lt;code&amp;gt;@bandit&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;#bandit:restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restarting all objects on the board: &amp;lt;code&amp;gt;#all:restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Object restarting other objects on the board: &amp;lt;code&amp;gt;#others:restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Walk&amp;diff=328</id>
		<title>Walk</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Walk&amp;diff=328"/>
		<updated>2021-02-10T23:20:40Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:walk}}  &amp;#039;&amp;#039;&amp;#039;walk&amp;#039;&amp;#039;&amp;#039; is a ZZT-OOP command that makes an object move automatically, independent of conventional movement commands (&amp;lt;code&amp;gt;#go&amp;lt;/code&amp;gt;,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:walk}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;walk&#039;&#039;&#039; is a [[ZZT-OOP]] command that makes an [[object]] move automatically, independent of conventional movement commands (&amp;lt;code&amp;gt;[[go|#go]]&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;[[try|#try]]&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;code&amp;gt;#walk&amp;lt;/code&amp;gt; is executed, the object will move in the specified direction on every cycle tick. If a walking object is blocked by an obstacle, it will send a [[thud]] message to itself, unless it&#039;s [[lock|locked]].&lt;br /&gt;
&lt;br /&gt;
To stop walking, use &amp;lt;code&amp;gt;#walk [[idle]]&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;#walk [[idle|i]]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#walk &amp;lt;direction&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Objects will not push other entities as a result of walking.&lt;br /&gt;
* &amp;lt;code&amp;gt;#walk&amp;lt;/code&amp;gt; operates independently of other movement commands, so an object can appear to move diagonally by walking along one axis and using &amp;lt;code&amp;gt;#go&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;#try&amp;lt;/code&amp;gt; on the other.&lt;br /&gt;
* [[flow]] refers to an object&#039;s current walking direction, and can be used in conjunction with [[Direction modifiers]] to steer it. For example, &amp;lt;code&amp;gt;#walk cw flow&amp;lt;/code&amp;gt; will make an object turn clockwise.&lt;br /&gt;
* Internally, ZZT object walking is implemented with two delta variables. Modifying these variables with an enhanced editor beyond the ranges of -1 to +1 will cause the object to skip across terrain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Direction_modifiers&amp;diff=327</id>
		<title>Direction modifiers</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Direction_modifiers&amp;diff=327"/>
		<updated>2021-02-10T23:06:04Z</updated>

		<summary type="html">&lt;p&gt;Rbts: #move -&amp;gt; #go&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[ZZT-OOP]], a direction modifier is a word that prefixes a direction to create a new direction. If you like, you may think of them (in math terms) as relations which take a given &amp;quot;input&amp;quot; direction and produce an &amp;quot;output.&amp;quot; They are explained in detail below.&lt;br /&gt;
&lt;br /&gt;
==cw and ccw==&lt;br /&gt;
&#039;&#039;&#039;cw&#039;&#039;&#039; and &#039;&#039;&#039;ccw&#039;&#039;&#039; are ZZT-OOP direction modifiers which modify the direction clockwise and counter-clockwise, respectively. For example, &amp;lt;code&amp;gt;cw n&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;e&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;ccw n&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;w&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==opp==&lt;br /&gt;
&#039;&#039;&#039;opp&#039;&#039;&#039; is a ZZT-OOP direction modifier which evaluates to the exact opposite of the given direction. For example, &amp;lt;code&amp;gt;opp n&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;s&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==rndp==&lt;br /&gt;
&#039;&#039;&#039;rndp&#039;&#039;&#039; is a ZZT-OOP direction modifier which causes the object to choose a random direction perpendicular to the succeeding direction, rather than simply use the succeeding direction. For example, &amp;lt;code&amp;gt;#go rndp e&amp;lt;/code&amp;gt; causes the object to attempt to move one of two directions perpendicular to east, that is, randomly north or south. For more information, see [[Random directions#rndp|rndp]].&lt;br /&gt;
&lt;br /&gt;
==Combining Direction Modifiers==&lt;br /&gt;
Multiple direction modifiers can be combined in a single line. Lines written this way will cause the object to treat each modifier as &amp;quot;modifying&amp;quot; the rest of the written direction, so that it is &amp;quot;evaluated&amp;quot; in pairs from right-to-left. As a concrete example, the following combination &amp;lt;code&amp;gt;opp cw n&amp;lt;/code&amp;gt; evaluates like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
opp cw n&lt;br /&gt;
= opp (cw n)&lt;br /&gt;
= opp e&lt;br /&gt;
= w&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And &amp;lt;code&amp;gt;opp ccw rndne&amp;lt;/code&amp;gt; would evaluate this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
opp ccw rndne&lt;br /&gt;
= opp (cw (randomly n or e))&lt;br /&gt;
= opp (randomly e or s)&lt;br /&gt;
= randomly w or n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Seek&amp;diff=309</id>
		<title>Seek</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Seek&amp;diff=309"/>
		<updated>2021-02-10T00:06:00Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:seek}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;seek&#039;&#039;&#039; is a [[ZZT-OOP]] direction token which points towards the [[player]].&lt;br /&gt;
&lt;br /&gt;
When an [[object]] and the player are aligned horizontally or vertically, &#039;&#039;&#039;seek&#039;&#039;&#039; will point directly to the player. When not aligned, it will randomly pick one of two directions (with a 50-50 chance) that generally lead to the player. For example, if an object is located to the northeast of the player, the command &amp;lt;code&amp;gt;#go seek&amp;lt;/code&amp;gt; will make the object step south &#039;&#039;or&#039;&#039; west.&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
* &#039;&#039;&#039;seek&#039;&#039;&#039; is reversed when the player is [[Energizer|energized]]. One can work around this by checking the [[energized|energized flag]] and branching to alternate commands that use &#039;&#039;[[opp]] seek&#039;&#039; instead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Seek&amp;diff=308</id>
		<title>Seek</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Seek&amp;diff=308"/>
		<updated>2021-02-10T00:04:13Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:seek}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;seek&#039;&#039;&#039; is a [[ZZT-OOP]] direction token which points towards the [[player]].&lt;br /&gt;
&lt;br /&gt;
When an [[object]] and the player are aligned horizontally or vertically, seek will point directly to the player. When not aligned, seek will randomly pick one of two directions (with a 50-50 chance) that generally lead to the player. For example, if an object is located to the northeast of the player, the command &amp;lt;code&amp;gt;#go seek&amp;lt;/code&amp;gt; will make the object step south &#039;&#039;or&#039;&#039; west.&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
* &#039;&#039;&#039;seek&#039;&#039;&#039; is reversed when the player is [[Energizer|energized]]. One can work around this by checking the [[energized|energized flag]] and branching to alternate commands that use &#039;&#039;[[opp]] seek&#039;&#039; instead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Seek&amp;diff=307</id>
		<title>Seek</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Seek&amp;diff=307"/>
		<updated>2021-02-10T00:03:34Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:seek}}  &amp;#039;&amp;#039;&amp;#039;seek&amp;#039;&amp;#039;&amp;#039; is a ZZT-OOP direction token which points towards the player.  When the object and player are aligned horizontally or vertically,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:seek}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;seek&#039;&#039;&#039; is a [[ZZT-OOP]] direction token which points towards the [[player]].&lt;br /&gt;
&lt;br /&gt;
When the [[object]] and player are aligned horizontally or vertically, seek will point directly to the player. When not aligned, seek will randomly pick one of two directions (with a 50-50 chance) that generally lead to the player. For example, if an object is located to the northeast of the player, the command &amp;lt;code&amp;gt;#go seek&amp;lt;/code&amp;gt; will make the object step south &#039;&#039;or&#039;&#039; west.&lt;br /&gt;
&lt;br /&gt;
== Quirks ==&lt;br /&gt;
* &#039;&#039;&#039;seek&#039;&#039;&#039; is reversed when the player is [[Energizer|energized]]. One can work around this by checking the [[energized|energized flag]] and branching to alternate commands that use &#039;&#039;[[opp]] seek&#039;&#039; instead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Idle&amp;diff=306</id>
		<title>Idle</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Idle&amp;diff=306"/>
		<updated>2021-02-09T18:48:36Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:idle}}  &amp;#039;&amp;#039;&amp;#039;idle&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;(shortened: &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;)&amp;#039;&amp;#039; is a ZZT-OOP direction token which does not point in any direction. It can be used with go and try to make t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:idle}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;idle&#039;&#039;&#039; &#039;&#039;(shortened: &#039;&#039;&#039;i&#039;&#039;&#039;)&#039;&#039; is a ZZT-OOP direction token which does not point in any direction. It can be used with [[go]] and [[try]] to make the object delay execution for one cycle, or with [[walk]] to stop the object from automatically walking.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Comment&amp;diff=305</id>
		<title>Comment</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Comment&amp;diff=305"/>
		<updated>2021-02-09T15:42:54Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Not sure how to word this&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any [[ZZT-OOP]] line beginning with an apostrophe (&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;) is treated as a &#039;&#039;&#039;comment&#039;&#039;&#039; and ignored by the interpreter. Comments provide a way for the programmer to document their code, or to quickly disable lines of code without deleting the text.&lt;br /&gt;
&lt;br /&gt;
Comments are used in the implementation of [[zap|zapping and restoring labels]].&lt;br /&gt;
&lt;br /&gt;
The apostrophe must be the first character on the line. Any leading whitespace will cause the line to be treated as display text. Text placed after commands may be ignored in a manner similar to comments due to how the interpreter parses code lines.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Comment&amp;diff=304</id>
		<title>Comment</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Comment&amp;diff=304"/>
		<updated>2021-02-09T15:38:37Z</updated>

		<summary type="html">&lt;p&gt;Rbts: leading space note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any [[ZZT-OOP]] line beginning with an apostrophe (&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;) is treated as a &#039;&#039;&#039;comment&#039;&#039;&#039; and ignored by the interpreter. Comments provide a way for the programmer to document their code, or to quickly disable lines of code without deleting the text.&lt;br /&gt;
&lt;br /&gt;
Comments are used in the implementation of [[zap|zapping and restoring labels]].&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* The apostrophe must be the first character on the line. Any leading whitespace will cause the line to be treated as display text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Comment&amp;diff=303</id>
		<title>Comment</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Comment&amp;diff=303"/>
		<updated>2021-02-09T15:36:23Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;Any ZZT-OOP line beginning with an apostrophe (&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;#039;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;) is treated as a &amp;#039;&amp;#039;&amp;#039;comment&amp;#039;&amp;#039;&amp;#039; and ignored by the interpreter. Comments provide a way for the progr...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any [[ZZT-OOP]] line beginning with an apostrophe (&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;) is treated as a &#039;&#039;&#039;comment&#039;&#039;&#039; and ignored by the interpreter. Comments provide a way for the programmer to document their code, or to quickly disable lines of code without deleting the text.&lt;br /&gt;
&lt;br /&gt;
Comments are used in the implementation of [[zap|zapping and restoring labels]].&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Energizer&amp;diff=302</id>
		<title>Energizer</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Energizer&amp;diff=302"/>
		<updated>2021-02-09T12:53:53Z</updated>

		<summary type="html">&lt;p&gt;Rbts: energized player vulnerable to bomb blasts&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Element&lt;br /&gt;
|zzt-oop name=energizer&lt;br /&gt;
|id={{Byte|14}}&lt;br /&gt;
|char={{CharSwatch|127}}&lt;br /&gt;
|color={{ColorSwatch|fg=dark purple|bg=black}}&lt;br /&gt;
|category=item&lt;br /&gt;
|stats=no&lt;br /&gt;
|destructible=no&lt;br /&gt;
|effect on movement=solid, collectable by the player&lt;br /&gt;
|uses zzt-oop color=no&lt;br /&gt;
}}&lt;br /&gt;
The &#039;&#039;&#039;energizer&#039;&#039;&#039; element is a single-use invincibility item that operates similarly to the &#039;&#039;power pellet&#039;&#039; from &#039;&#039;Pac Man&#039;&#039; or the &#039;&#039;starman&#039;&#039; from &#039;&#039;Super Mario Bros.&#039;&#039; When collected, the player is &amp;quot;energized&amp;quot; for 75 ticks. Collecting another energizer while still energized will reset the energizer counter to 75 ticks.&lt;br /&gt;
&lt;br /&gt;
While energized, the player is invincible against all built-in damage sources except for [[bomb|bomb blasts]], and is able to safely destroy all enemies on contact. However, objects are still able to use [[take|#take health]] or [[endgame|#endgame]] to hurt the player. Also while energized, the [[seek]] direction is reversed, so that objects that go &amp;lt;code&amp;gt;/seek&amp;lt;/code&amp;gt; or built-in enemies that seek towards the player will go away from the player instead.&lt;br /&gt;
&lt;br /&gt;
[[ZZT-OOP]] provides two ways to detect if a player is energized. When the player picks up an energizer the message [[energize]] is sent to all objects on the board. Also, the internal flag [[energized]] is set for the duration of the player being energized.&lt;br /&gt;
&lt;br /&gt;
Energizers are useful as a means of programmatically obtaining dark purple, e.g., by [[change|#changing]] another item to an energizer and back.&lt;br /&gt;
&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=If&amp;diff=293</id>
		<title>If</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=If&amp;diff=293"/>
		<updated>2021-02-08T22:25:41Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:if}} &amp;#039;&amp;#039;&amp;#039;if&amp;#039;&amp;#039;&amp;#039; is a built-in ZZT-OOP command which evaluates the state of a flag, conditionally executing another command if it is true.  &amp;#039;&amp;#039;&amp;#039;if&amp;#039;&amp;#039;&amp;#039; can te...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:if}}&lt;br /&gt;
&#039;&#039;&#039;if&#039;&#039;&#039; is a built-in [[ZZT-OOP]] command which evaluates the state of a [[flag]], conditionally executing another command if it is true.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;if&#039;&#039;&#039; can test the status of internal flags ([[alligned]], [[blocked]], etc.), and also a set of user-assigned flags, of which ten can be active at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;code&amp;gt;#if &amp;lt;flag&amp;gt; [then] &amp;lt;command&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* &amp;quot;then&amp;quot; is decorative and can be omitted.&lt;br /&gt;
* The final command does not require a &amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;#&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt; symbol.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Chaining if Commands ==&lt;br /&gt;
&lt;br /&gt;
Multiple &#039;&#039;&#039;if&#039;&#039;&#039; commands can be chained together on one line to test more than one flag at once. The rightmost command will execute only when all preceding &#039;&#039;&#039;if&#039;&#039;&#039;s evaluate to true, similar to a logical AND operator in other languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#if &amp;lt;flag1&amp;gt; if &amp;lt;flag2&amp;gt; &amp;lt;command&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Cycle&amp;diff=292</id>
		<title>Cycle</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Cycle&amp;diff=292"/>
		<updated>2021-02-08T20:26:55Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Minor typo fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Cycle&#039;&#039;&#039; can refer to an element&#039;s &#039;&#039;&#039;cycle parameter&#039;&#039;&#039; (which dictates how often a statted element updates), or the [[ZZT-OOP]] command &#039;&#039;&#039;#cycle n&#039;&#039;&#039; (which sets an object&#039;s cycle parameter to n). An element with a cycle parameter of &#039;&#039;n&#039;&#039; updates once every &#039;&#039;n&#039;&#039; ticks. The exception is for elements with a cycle of zero, which never update themselves.&lt;br /&gt;
&lt;br /&gt;
For objects placed with the default editor, the default cycle value is 3. Thus, for games made with the default editor, it is common to see &amp;lt;code&amp;gt;#cycle 1&amp;lt;/code&amp;gt; as the first line of ZZT-OOP in order initialize the object. External editors can modify the cycle parameter, usually rendering that code unnecessary.&lt;br /&gt;
&lt;br /&gt;
Note that elements with the same cycle number do not necessarily execute on the same tick. The element&#039;s index on the stat list is also a factor. The exact formula used to determine if a statted element executes on a given tick is &amp;lt;code&amp;gt;(CurrentTick mod Cycle) = (CurrentStatTicked mod Cycle)&amp;lt;/code&amp;gt;. Note that &amp;lt;code&amp;gt;CurrentTick&amp;lt;/code&amp;gt; is reset to a value of 1 whenever it exceeds 420 (not a joke), so elements with a cycle value greater than 420 will never update.&lt;br /&gt;
&lt;br /&gt;
The command &#039;&#039;&#039;#cycle&#039;&#039;&#039; will silently ignore non-positive values - that is, values smaller than 1.&lt;br /&gt;
&lt;br /&gt;
== Bugs and Quirks ==&lt;br /&gt;
&lt;br /&gt;
* Due to a division-by-zero error, cycle 0 [[Transporter|transporters]] will crash the game when rendered.&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Touch&amp;diff=289</id>
		<title>Touch</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Touch&amp;diff=289"/>
		<updated>2021-02-08T18:24:23Z</updated>

		<summary type="html">&lt;p&gt;Rbts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:touch}}&lt;br /&gt;
&#039;&#039;&#039;:touch&#039;&#039;&#039; is a built-in [[ZZT-OOP]] label that triggers when the [[player]] touches (bumps into) an [[object]].&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Object-to-object collisions do not emit &#039;&#039;:touch&#039;&#039; events.&lt;br /&gt;
* [[lock|Locked]] objects do not emit &#039;&#039;:touch&#039;&#039; events, and therefore won&#039;t react to the player touching them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Touch&amp;diff=288</id>
		<title>Touch</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Touch&amp;diff=288"/>
		<updated>2021-02-08T18:22:42Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:touch}} &amp;#039;&amp;#039;&amp;#039;:touch&amp;#039;&amp;#039;&amp;#039; is a built-in ZZT-OOP label that triggers when the player touches (bumps into) an object.  == Notes == * Object-to-object colli...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:touch}}&lt;br /&gt;
&#039;&#039;&#039;:touch&#039;&#039;&#039; is a built-in [[ZZT-OOP]] label that triggers when the [[player]] touches (bumps into) an [[object]].&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Object-to-object collisions do not emit &#039;&#039;:touch&#039;&#039; events.&lt;br /&gt;
* Locked objects do not emit &#039;&#039;:touch&#039;&#039; events, and therefore won&#039;t react to the player touching them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Not&amp;diff=287</id>
		<title>Not</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Not&amp;diff=287"/>
		<updated>2021-02-08T17:55:31Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:not}} &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; is an internal flag in ZZT-OOP. It negates the result of condition checks which follow it within an #if statement. For example, &amp;lt;code...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:not}}&lt;br /&gt;
&#039;&#039;&#039;not&#039;&#039;&#039; is an internal flag in [[ZZT-OOP]]. It negates the result of condition checks which follow it within an [[if|#if]] statement. For example, &amp;lt;code&amp;gt;#if not foo give torches 1&amp;lt;/code&amp;gt; will add 1 to the [[Torches]] counter if no flag named &amp;quot;foo&amp;quot; is set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Any&amp;diff=255</id>
		<title>Any</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Any&amp;diff=255"/>
		<updated>2021-02-08T03:17:55Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:any}} &amp;#039;&amp;#039;&amp;#039;any&amp;#039;&amp;#039;&amp;#039; is an internal flag in ZZT-OOP. When called, it scans the entire board for matching entities, and evaluates to true if at least one instance...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:any}}&lt;br /&gt;
&#039;&#039;&#039;any&#039;&#039;&#039; is an internal flag in [[ZZT-OOP]]. When called, it scans the entire board for matching entities, and evaluates to true if at least one instance is found. &#039;&#039;&#039;any&#039;&#039;&#039; can detect anything with a [[ZZT-OOP name]], and a color argument can be specified as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;any&#039;&#039;&#039; does not look beneath statted entities, so it&#039;s possible for it to miss things that are under objects, such as fake walls.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
This object changes its char graphic whenever there is at least one (bright) red gem on-screen.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@object&lt;br /&gt;
#cycle 1&lt;br /&gt;
&lt;br /&gt;
:loop&lt;br /&gt;
#if any red gem char 2&lt;br /&gt;
#if not any red gem char 1&lt;br /&gt;
/i#loop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Energized&amp;diff=254</id>
		<title>Energized</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Energized&amp;diff=254"/>
		<updated>2021-02-08T02:54:47Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:energized}} &amp;#039;&amp;#039;&amp;#039;energized&amp;#039;&amp;#039;&amp;#039; is an internal object flag in ZZT-OOP. This flag is true when the player has temporary invincibility from having touched an En...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:energized}}&lt;br /&gt;
&#039;&#039;&#039;energized&#039;&#039;&#039; is an internal object flag in [[ZZT-OOP]]. This flag is true when the player has temporary invincibility from having touched an [[Energizer]].&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
This object shoots randomly when the player is energized:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@object&lt;br /&gt;
#cycle 1&lt;br /&gt;
&lt;br /&gt;
:loop&lt;br /&gt;
#if energized shoot rnd&lt;br /&gt;
/i#loop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Contact&amp;diff=253</id>
		<title>Contact</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Contact&amp;diff=253"/>
		<updated>2021-02-08T02:46:51Z</updated>

		<summary type="html">&lt;p&gt;Rbts: Created page with &amp;quot;{{DISPLAYTITLE:contact}} &amp;#039;&amp;#039;&amp;#039;contact&amp;#039;&amp;#039;&amp;#039; is an internal object flag in ZZT-OOP. This flag is true for an object when it is standing directly next to the player, and false ot...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:contact}}&lt;br /&gt;
&#039;&#039;&#039;contact&#039;&#039;&#039; is an internal object flag in [[ZZT-OOP]]. This flag is true for an object when it is standing directly next to the player, and false otherwise.&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
This object walks toward the player until it&#039;s standing next to them.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@object&lt;br /&gt;
#cycle 1&lt;br /&gt;
&lt;br /&gt;
:loop&lt;br /&gt;
#if not contact ?seek&lt;br /&gt;
/i#loop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Rbts</name></author>
	</entry>
</feed>