<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Binary_Countoffs</id>
		<title>Binary Countoffs - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Binary_Countoffs"/>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Binary_Countoffs&amp;action=history"/>
		<updated>2026-04-09T14:56:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Binary_Countoffs&amp;diff=609&amp;oldid=prev</id>
		<title>Zurg: updating hyperlink</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Binary_Countoffs&amp;diff=609&amp;oldid=prev"/>
				<updated>2019-02-13T00:27:44Z</updated>
		
		<summary type="html">&lt;p&gt;updating hyperlink&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:27, 13 February 2019&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-l126&quot; &gt;Line 126:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Adding more triggers increases the number range exponentially.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Adding more triggers increases the number range exponentially.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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 binary countoff like this can be useful for various things, such as [[counter arithmetic]], or almost anything else.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 binary countoff like this can be useful for various things, such as [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Counter Arithmetic|&lt;/ins&gt;counter arithmetic]], or almost anything else.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:StarCraft]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:StarCraft]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Reference]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Reference]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Zurg</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Binary_Countoffs&amp;diff=124&amp;oldid=prev</id>
		<title>DevliN: 1 revision imported: Restoring SC1 backup</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Binary_Countoffs&amp;diff=124&amp;oldid=prev"/>
				<updated>2015-03-21T04:31:17Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported: Restoring SC1 backup&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:31, 21 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>DevliN</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Binary_Countoffs&amp;diff=123&amp;oldid=prev</id>
		<title>DevliN at 11:28, 23 November 2012</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Binary_Countoffs&amp;diff=123&amp;oldid=prev"/>
				<updated>2012-11-23T11:28:51Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A '''binary countoff''' is used to move the value of one counter to another counter with as few triggers as possible. It is important to know how the binary, or base 2, number system works. The reason for knowing how binary works is to help you understand how this trigger system works.&lt;br /&gt;
&lt;br /&gt;
==Triggers==&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Neutral}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current player accumulates at least 16 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Set Resources for current player: Add 16 minerals.&lt;br /&gt;
*Set Resources for current player: Subtract 16 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Neutral}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current player accumulates at least 8 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Set Resources for current player: Add 8 minerals.&lt;br /&gt;
*Set Resources for current player: Subtract 8 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Neutral}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current player accumulates at least 4 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Set Resources for current player: Add 4 minerals.&lt;br /&gt;
*Set Resources for current player: Subtract 4 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Neutral}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current player accumulates at least 2 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Set Resources for current player: Add 2 minerals.&lt;br /&gt;
*Set Resources for current player: Subtract 2 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Neutral}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current player accumulates at least 1 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Set Resources for current player: Add 1 minerals.&lt;br /&gt;
*Set Resources for current player: Subtract 1 gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As you can see the triggers take this form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Neutral}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current player accumulates at least 2^x gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Set Resources for current player: Add 2^x minerals.&lt;br /&gt;
*Set Resources for current player: Subtract 2^x gas.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where x keeps going down until it reaches 0. In the previous example x goes from 4 to 0.&lt;br /&gt;
&lt;br /&gt;
Notice that the numbers are powers of 2 (1, 2, 4, 8, 16, etc) in reverse order. In order to calculate the maximum number transferable per trigger run, take the sum of the same value from each trigger. A simpler way to calculate it would be to take the next power of 2 higher than the highest power of 2 in the countoff (2^5 in the example) and subtract 1. In the above case, 31 gas will be converted into minerals per trigger run.&lt;br /&gt;
Because of the use of powers of two in the order shown, any number between 0 and 31 can be transferred in one trigger cycle with just these 5 triggers.&lt;br /&gt;
&lt;br /&gt;
Adding more triggers increases the number range exponentially.&lt;br /&gt;
&lt;br /&gt;
A binary countoff like this can be useful for various things, such as [[counter arithmetic]], or almost anything else.&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Reference]]&lt;/div&gt;</summary>
		<author><name>DevliN</name></author>	</entry>

	</feed>