<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.zzt.org/w/index.php?action=history&amp;feed=atom&amp;title=Scroll</id>
	<title>Scroll - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zzt.org/w/index.php?action=history&amp;feed=atom&amp;title=Scroll"/>
	<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Scroll&amp;action=history"/>
	<updated>2026-07-03T10:24:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Scroll&amp;diff=428&amp;oldid=prev</id>
		<title>The Green Herring at 05:25, 18 February 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Scroll&amp;diff=428&amp;oldid=prev"/>
		<updated>2021-02-18T05:25:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:25, 18 February 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;While the internal editor&amp;#039;s help files only say that the scroll shows a message to the player, it does so by executing the text as a [[ZZT-OOP]] program. This makes it the only element to allow the writing and execution of [[ZZT-OOP]] commands other than the [[object]]. However, because the scroll is immediately consumed on use, this feature is best used to turn the scroll into a collectible item with special effects, such as [[Send|#send]]ing a command to an object or [[set|#set]]ting a flag.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;While the internal editor&amp;#039;s help files only say that the scroll shows a message to the player, it does so by executing the text as a [[ZZT-OOP]] program. This makes it the only element to allow the writing and execution of [[ZZT-OOP]] commands other than the [[object]]. However, because the scroll is immediately consumed on use, this feature is best used to turn the scroll into a collectible item with special effects, such as [[Send|#send]]ing a command to an object or [[set|#set]]ting a flag.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A scroll can be programmatically placed, but doing so will produce a scroll with no text. Using [[Change|#change]] on a scroll will produce an element of whatever color the scroll currently is, if the element does not have a predefined color. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It &lt;/del&gt;cannot be pushed directly by the player since they will automatically collect it on touch, but it can be moved by a player or creature pushing a [[boulder]] or [[slider]] against it, and it is affected by [[pusher]]s.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A scroll can be programmatically placed, but doing so will produce a scroll with no text. Using [[Change|#change]] on a scroll will produce an element of whatever color the scroll currently is, if the element does not have a predefined color. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A scroll &lt;/ins&gt;cannot be pushed directly by the player since they will automatically collect it on touch, but it can be moved by a player or creature pushing a [[boulder]] or [[slider]] against it, and it is affected by [[pusher]]s.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Scroll crash ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Scroll crash ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key zztwiki:diff:1.41:old-427:rev-428:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>The Green Herring</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Scroll&amp;diff=427&amp;oldid=prev</id>
		<title>The Green Herring: Edit text of scroll</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Scroll&amp;diff=427&amp;oldid=prev"/>
		<updated>2021-02-18T05:24:13Z</updated>

		<summary type="html">&lt;p&gt;Edit text of scroll&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Element&lt;br /&gt;
|zzt-oop name=scroll&lt;br /&gt;
|name=Scroll&lt;br /&gt;
|id={{byte|10}}&lt;br /&gt;
|char={{CharSwatch|232}}&lt;br /&gt;
|color={{ColorSwatch|fg=white|bg=black}}&lt;br /&gt;
|category=item&lt;br /&gt;
|stats=yes&lt;br /&gt;
|cycle=1&lt;br /&gt;
|data=scroll text&lt;br /&gt;
|effect on movement=pushable&lt;br /&gt;
|uses zzt-oop color=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;scroll&amp;#039;&amp;#039;&amp;#039; is one of the built-in items in [[ZZT]]. When placed in a world in the editor, the designer is prompted to write text on it. In-game, the scroll flashes all of the default ZZT colors; when collected by the [[player]], it cues a special [[sound effects|sound effect]], displays whatever text is written in it, and is removed from play. The engine will display the text at the bottom of the screen if it is one line long, or open a text window to show it if it is two lines or longer. If there is no text in the scroll, the sound effect will play but nothing else will happen.&lt;br /&gt;
&lt;br /&gt;
While the internal editor&amp;#039;s help files only say that the scroll shows a message to the player, it does so by executing the text as a [[ZZT-OOP]] program. This makes it the only element to allow the writing and execution of [[ZZT-OOP]] commands other than the [[object]]. However, because the scroll is immediately consumed on use, this feature is best used to turn the scroll into a collectible item with special effects, such as [[Send|#send]]ing a command to an object or [[set|#set]]ting a flag.&lt;br /&gt;
&lt;br /&gt;
A scroll can be programmatically placed, but doing so will produce a scroll with no text. Using [[Change|#change]] on a scroll will produce an element of whatever color the scroll currently is, if the element does not have a predefined color. It cannot be pushed directly by the player since they will automatically collect it on touch, but it can be moved by a player or creature pushing a [[boulder]] or [[slider]] against it, and it is affected by [[pusher]]s.&lt;br /&gt;
&lt;br /&gt;
== Scroll crash ==&lt;br /&gt;
If the text of a scroll contains a command to [[go|#go]], [[try|#try]] or [[become|#become]], collecting the scroll will crash ZZT. This is because in processing it, the engine attempts to directly affect a stat that no longer exists.&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements]]&lt;br /&gt;
{{ElementsNavbox}}&lt;/div&gt;</summary>
		<author><name>The Green Herring</name></author>
	</entry>
</feed>