<?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=Counter</id>
	<title>Counter - 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=Counter"/>
	<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Counter&amp;action=history"/>
	<updated>2026-08-21T23:41:03Z</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=Counter&amp;diff=722&amp;oldid=prev</id>
		<title>RT-55J at 08:25, 26 December 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Counter&amp;diff=722&amp;oldid=prev"/>
		<updated>2025-12-26T08:25:39Z</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 08:25, 26 December 2025&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;blockquote&amp;gt;&#039;&#039;This article is about numerical counters representing the player&#039;s state. For the element with the ZZT-OOP name &quot;counter,&quot; see [[conveyor]].&#039;&#039;&amp;lt;/blockquote&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&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;div&gt;A counter is a numeric value that can be manipulated in [[ZZT-OOP]] using the [[Give|#give]] and [[Take|#take]] commands.&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;A counter is a numeric value that can be manipulated in [[ZZT-OOP]] using the [[Give|#give]] and [[Take|#take]] commands.&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;!-- diff cache key zztwiki:diff:1.41:old-663:rev-722:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>RT-55J</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Counter&amp;diff=663&amp;oldid=prev</id>
		<title>Asie at 13:02, 24 December 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Counter&amp;diff=663&amp;oldid=prev"/>
		<updated>2025-12-24T13:02:34Z</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 13:02, 24 December 2025&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-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&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;Other than &amp;#039;&amp;#039;&amp;#039;time&amp;#039;&amp;#039;&amp;#039;, which is specific to the current board and reset on every entry, each counter&amp;#039;s value is persistent throughout the entire [[world]].&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;Other than &amp;#039;&amp;#039;&amp;#039;time&amp;#039;&amp;#039;&amp;#039;, which is specific to the current board and reset on every entry, each counter&amp;#039;s value is persistent throughout the entire [[world]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Bugs/Quirks ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TODO: Document the consequences of the counter being a signed 16-bit value?&lt;/ins&gt;&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;{{ZZT-OOP navbox}}&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;{{ZZT-OOP navbox}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key zztwiki:diff:1.41:old-662:rev-663:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Asie</name></author>
	</entry>
	<entry>
		<id>https://wiki.zzt.org/w/index.php?title=Counter&amp;diff=662&amp;oldid=prev</id>
		<title>Asie: Created page with &quot;A counter is a numeric value that can be manipulated in ZZT-OOP using the #give and #take commands.  ZZT provides six counters:  * &#039;&#039;&#039;health&#039;&#039;&#039; - the player&#039;s health, * &#039;&#039;&#039;ammo&#039;&#039;&#039; - the number of ammunition held by the player, * &#039;&#039;&#039;gems&#039;&#039;&#039; - the number of gems held by the player, * &#039;&#039;&#039;torches&#039;&#039;&#039; - the number of torches held by the player, * &#039;&#039;&#039;score&#039;&#039;&#039; - the player&#039;s total score,  * &#039;&#039;&#039;time&#039;&#039;&#039; - the &#039;&#039;elapsed&#039;&#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.zzt.org/w/index.php?title=Counter&amp;diff=662&amp;oldid=prev"/>
		<updated>2025-12-24T13:02:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A counter is a numeric value that can be manipulated in &lt;a href=&quot;/wiki/ZZT-OOP&quot; title=&quot;ZZT-OOP&quot;&gt;ZZT-OOP&lt;/a&gt; using the &lt;a href=&quot;/wiki/Give&quot; title=&quot;Give&quot;&gt;#give&lt;/a&gt; and &lt;a href=&quot;/wiki/Take&quot; class=&quot;mw-redirect&quot; title=&quot;Take&quot;&gt;#take&lt;/a&gt; commands.  ZZT provides six counters:  * &amp;#039;&amp;#039;&amp;#039;health&amp;#039;&amp;#039;&amp;#039; - the &lt;a href=&quot;/wiki/Player&quot; title=&quot;Player&quot;&gt;player&amp;#039;s&lt;/a&gt; health, * &amp;#039;&amp;#039;&amp;#039;ammo&amp;#039;&amp;#039;&amp;#039; - the number of &lt;a href=&quot;/wiki/Ammo&quot; title=&quot;Ammo&quot;&gt;ammunition&lt;/a&gt; held by the player, * &amp;#039;&amp;#039;&amp;#039;gems&amp;#039;&amp;#039;&amp;#039; - the number of &lt;a href=&quot;/wiki/Gem&quot; title=&quot;Gem&quot;&gt;gems&lt;/a&gt; held by the player, * &amp;#039;&amp;#039;&amp;#039;torches&amp;#039;&amp;#039;&amp;#039; - the number of &lt;a href=&quot;/wiki/Torch&quot; title=&quot;Torch&quot;&gt;torches&lt;/a&gt; held by the player, * &amp;#039;&amp;#039;&amp;#039;score&amp;#039;&amp;#039;&amp;#039; - the player&amp;#039;s total score,  * &amp;#039;&amp;#039;&amp;#039;time&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;elapsed&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A counter is a numeric value that can be manipulated in [[ZZT-OOP]] using the [[Give|#give]] and [[Take|#take]] commands.&lt;br /&gt;
&lt;br /&gt;
ZZT provides six counters:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;health&amp;#039;&amp;#039;&amp;#039; - the [[player|player&amp;#039;s]] health,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ammo&amp;#039;&amp;#039;&amp;#039; - the number of [[ammo|ammunition]] held by the player,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;gems&amp;#039;&amp;#039;&amp;#039; - the number of [[gem|gems]] held by the player,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;torches&amp;#039;&amp;#039;&amp;#039; - the number of [[torch|torches]] held by the player,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;score&amp;#039;&amp;#039;&amp;#039; - the player&amp;#039;s total score, &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;time&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;elapsed&amp;#039;&amp;#039; time on the [[board]], if the board has a time limit. Not used if the board does not have a time limit.&lt;br /&gt;
&lt;br /&gt;
Other than &amp;#039;&amp;#039;&amp;#039;time&amp;#039;&amp;#039;&amp;#039;, which is specific to the current board and reset on every entry, each counter&amp;#039;s value is persistent throughout the entire [[world]].&lt;br /&gt;
&lt;br /&gt;
{{ZZT-OOP navbox}}&lt;/div&gt;</summary>
		<author><name>Asie</name></author>
	</entry>
</feed>