<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.starbasegame.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zijkhal</id>
	<title>Starbase wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.starbasegame.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zijkhal"/>
	<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Special:Contributions/Zijkhal"/>
	<updated>2026-04-20T15:31:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=20043</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=20043"/>
		<updated>2021-03-01T09:24:40Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: Update to Contains&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|ru=Фишки YOLOL&lt;br /&gt;
|ua=Особливості YOLOL&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[YOLOL]] is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;~meh~foo~bar~&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s!=s-(&amp;quot;~&amp;quot;+t+&amp;quot;~&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;Alternatively, if the values in the string to test ('''s''') are arranged in alphabetically descending order, '''s&amp;gt;s-(&amp;quot;~&amp;quot;+t+&amp;quot;~&amp;quot;)''' can also be used.&amp;lt;br/&amp;gt;For non-distinct values, (for example searching for '''&amp;quot;tin&amp;quot;''' in the string '''&amp;quot;non-distinct values&amp;quot;''') the delimiter ('''&amp;quot;~&amp;quot;''') can be omitted. &amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters ('''&amp;quot;~&amp;quot;''') can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Number tricks ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Not || '''0^b'''&amp;lt;br/&amp;gt;'''1-b'''&amp;lt;br/&amp;gt;'''b==0''' || Used to negate a '''0''' or '''1''' value.&amp;lt;br/&amp;gt;'''0^b''': Does not need parenthesis when used in a multiplication. Works any non-negative input value, not only '''0''' and '''1'''. Requires an Advanced or Professional chip&amp;lt;br/&amp;gt;'''1-b''': Works '''only''' with '''0''' and '''1'''. Works on all chips.&amp;lt;br/&amp;gt;'''b==0''': Works with all input values, not only '''0''' and '''1'''. Works on all chips.&lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a+(b-a)*s'''&amp;lt;br/&amp;gt;'''a*0^s+b*s''' || Select one of '''a''' or '''b''' based on a '''0''' or '''1''', '''s''' select signal.&amp;lt;br/&amp;gt;Equivalent to '''if s then result=b else result=a end'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=19865</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=19865"/>
		<updated>2021-02-17T11:45:11Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: Added Select. Clarified description of Not&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|ru=Фишки YOLOL&lt;br /&gt;
|ua=Особливості YOLOL&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[YOLOL]] is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;~meh~foo~bar~&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s&amp;gt;s-(&amp;quot;~&amp;quot;+t+&amp;quot;~&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;Alternatively, '''!=''' can be used instead of '''&amp;gt;''', in which case, this is more flexible with regards to the values in '''s'''&amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters '''&amp;quot;~&amp;quot;''' can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Number tricks ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Not || '''0^b'''&amp;lt;br/&amp;gt;'''1-b'''&amp;lt;br/&amp;gt;'''b==0''' || Used to negate a '''0''' or '''1''' value.&amp;lt;br/&amp;gt;'''0^b''': Does not need parenthesis when used in a multiplication. Works any non-negative input value, not only '''0''' and '''1'''. Requires an Advanced or Professional chip&amp;lt;br/&amp;gt;'''1-b''': Works '''only''' with '''0''' and '''1'''. Works on all chips.&amp;lt;br/&amp;gt;'''b==0''': Works with all input values, not only '''0''' and '''1'''. Works on all chips.&lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a+(b-a)*s'''&amp;lt;br/&amp;gt;'''a*0^s+b*s''' || Select one of '''a''' or '''b''' based on a '''0''' or '''1''', '''s''' select signal.&amp;lt;br/&amp;gt;Equivalent to '''if s then result=b else result=a end'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=19859</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=19859"/>
		<updated>2021-02-15T21:26:22Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: Separated Not into its own Number Tricks section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|ru=Фишки YOLOL&lt;br /&gt;
|ua=Особливості YOLOL&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[YOLOL]] is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;~meh~foo~bar~&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s&amp;gt;s-(&amp;quot;~&amp;quot;+t+&amp;quot;~&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;Alternatively, '''!=''' can be used instead of '''&amp;gt;''', in which case, this is more flexible with regards to the values in '''s'''&amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters '''&amp;quot;~&amp;quot;''' can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Number tricks ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Not || '''0^b'''&amp;lt;br/&amp;gt;'''1-b'''&amp;lt;br/&amp;gt;'''b==0''' || Used to negate a '''0''' or '''1''' value.&amp;lt;br/&amp;gt;'''0^b''': Does not need parenthesis when used in a multiplication. Works with values other than only '''0''' and '''1'''. Requires an Advanced or Professional chip&amp;lt;br/&amp;gt;'''1-b''': Works '''only''' with '''0''' and '''1'''. Works on all chips.&amp;lt;br/&amp;gt;'''b==0''': Works with values other than only '''0''' and '''1'''. Works on all chips.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;For '''0^b''' and '''b==0''', any '''non-0''' input will give '''0''' as the output&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=19858</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=19858"/>
		<updated>2021-02-15T21:18:02Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: Negation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|ru=Фишки YOLOL&lt;br /&gt;
|ua=Особливості YOLOL&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[YOLOL]] is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;~meh~foo~bar~&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s&amp;gt;s-(&amp;quot;~&amp;quot;+t+&amp;quot;~&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;Alternatively, '''!=''' can be used instead of '''&amp;gt;''', in which case, this is more flexible with regards to the values in '''s'''&amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters '''&amp;quot;~&amp;quot;''' can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|-&lt;br /&gt;
| Not || '''0^b'''&amp;lt;br/&amp;gt;'''1-b'''&amp;lt;br/&amp;gt;'''b==0''' || Used to negate a '''0''' or '''1''' value.&amp;lt;br/&amp;gt;'''0^b''': Does not need parenthesis when used in a multiplication. Works with values other than only '''0''' and '''1'''. Requires an Advanced or Professional chip&amp;lt;br/&amp;gt;'''1-b''': Works '''only''' with '''0''' and '''1'''. Works on all chips.&amp;lt;br/&amp;gt;'''b==0''': Works with values other than only '''0''' and '''1'''. Works on all chips.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;For '''0^b''' and '''b==0''', any '''non-0''' input will give '''0''' as the output.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18354</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18354"/>
		<updated>2020-09-24T23:05:15Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: Contains fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[YOLOL]] is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;~meh~foo~bar~&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s&amp;gt;s-(&amp;quot;~&amp;quot;+t+&amp;quot;~&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;Alternatively, '''!=''' can be used instead of '''&amp;gt;''', in which case, this is more flexible with regards to the values in '''s'''&amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters '''&amp;quot;~&amp;quot;''' can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18353</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18353"/>
		<updated>2020-09-24T22:58:27Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: Undo revision 18352 by Zijkhal (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[YOLOL]] is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;;meh;foo;bar;&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s&amp;gt;s-(&amp;quot;;&amp;quot;+t+&amp;quot;;&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;'''IMPORTANT:'''the items in '''s''' need to be in descending order.&amp;lt;br/&amp;gt;Alternatively, '''!=''' can be used instead of '''&amp;gt;''', in which case, the order of items in '''s''' does not matter.&amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters '''&amp;quot;;&amp;quot;''' can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18352</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18352"/>
		<updated>2020-09-24T22:57:48Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: /* String Manipulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[YOLOL]] is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;;meh;;foo;;bar;&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s&amp;gt;s-(&amp;quot;;&amp;quot;+t+&amp;quot;;&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;'''IMPORTANT:'''the items in '''s''' need to be in descending order.&amp;lt;br/&amp;gt;Alternatively, '''!=''' can be used instead of '''&amp;gt;''', in which case, the order of items in '''s''' does not matter.&amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters '''&amp;quot;;&amp;quot;''' can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18329</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18329"/>
		<updated>2020-09-21T18:31:17Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: slightly modified Contains code to be 1 char shorter, adjusted description accordingly&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;YOLOL is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;;meh;foo;bar;&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s&amp;gt;s-(&amp;quot;;&amp;quot;+t+&amp;quot;;&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;'''IMPORTANT:'''the items in '''s''' need to be in descending order.&amp;lt;br/&amp;gt;Alternatively, '''!=''' can be used instead of '''&amp;gt;''', in which case, the order of items in '''s''' does not matter.&amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters '''&amp;quot;;&amp;quot;''' can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18323</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18323"/>
		<updated>2020-09-19T21:57:07Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: Reintroduced accidentally deleted contrib, expanded description of Contains code&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;YOLOL is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one. If one index is a substring of another then the order of the strings will matter.&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;;foo;bar;meh;&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s!=s-(&amp;quot;;&amp;quot;+t+&amp;quot;;&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&amp;lt;br/&amp;gt;Depending on the values that can occur in '''s''' and '''t''', some or all of the delimiters '''&amp;quot;;&amp;quot;''' can be omitted, or changed into other values, such as numbers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18322</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18322"/>
		<updated>2020-09-19T21:42:41Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: Added Contains&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;YOLOL is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one&lt;br /&gt;
|-&lt;br /&gt;
| Contains || '''s=&amp;quot;;foo;bar;meh;&amp;quot;&amp;lt;br/&amp;gt;t=&amp;quot;foo&amp;quot;&amp;lt;br/&amp;gt;c=s!=s-(&amp;quot;;&amp;quot;+t+&amp;quot;;&amp;quot;)''' || Evaluates to 1 if '''t''' is present in test set '''s''', and 0 if not&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18321</id>
		<title>YOLOL Tricks</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL_Tricks&amp;diff=18321"/>
		<updated>2020-09-19T21:24:09Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: fixed description of string-(string+otherstring)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;YOLOL is a rather constrained language. The line and chip length limits and slow execution speed incentivize clever shortcuts. The small math library and limited operation space require building larger operations from smaller building blocks. To those ends, this page serves to catalog a variety of things you can accomplish with YOLOL that might not be obvious from the main [YOLOL] documentation.&lt;br /&gt;
&lt;br /&gt;
== String Manipulation ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Nickname !! Code !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| Pop || '''string---string''' || Evaluates to the last character in '''string''' and removes that character, &amp;quot;abcd&amp;quot; becomes &amp;quot;abc&amp;quot; while evaluating to &amp;quot;d&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| If Empty || '''string-(string+otherstring)''' || If '''otherstring''' is empty then this evaluates to an empty string, else it evaluates to '''string''' &lt;br /&gt;
|-&lt;br /&gt;
| Select || '''a=&amp;quot;foo1&amp;quot; b=&amp;quot;bar2&amp;quot; c=&amp;quot;meh3&amp;quot;&amp;lt;br/&amp;gt;x=2&amp;lt;br/&amp;gt;s=a+b+c-x-a-b-c&amp;lt;br/&amp;gt;s==&amp;quot;bar&amp;quot;''' || One string from a set can be selected by concatenating them with indices, then removing an index, then removing all the strings which will fail for the un-indexed one&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Golf ==&lt;br /&gt;
If you want to develop readable code and only shorten it for deployment, consider using [https://github.com/dbaumgarten/yodk yodk] or [https://github.com/martindevans/Yolol Yololc] which can minify your code for you.&lt;br /&gt;
&lt;br /&gt;
Shortening identifiers to one character saves bytes, use '''f=b''' rather than '''foo=bar'''.&lt;br /&gt;
&lt;br /&gt;
Reassigning fields to identifiers saves bytes if you use them more than a few times. '''f=:f f f f f f f f f''' is shorter than ''':f :f :f :f :f :f :f :f '''.&lt;br /&gt;
&lt;br /&gt;
Most whitespace is optional. You only actually need a space when code would be ambiguous without it. Spaces can almost always be omitted before ''':''', after '''if''' or '''then''' or '''end''', between a number or symbol and a letter, and in various other places.&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=Laser_cannon&amp;diff=14107</id>
		<title>Laser cannon</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Laser_cannon&amp;diff=14107"/>
		<updated>2020-05-21T00:48:13Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: /* Device fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|fr=Laser_cannon:fr&lt;br /&gt;
|zh-cn=激光炮&lt;br /&gt;
|ru=Лазерная пушка&lt;br /&gt;
}}&lt;br /&gt;
{|{{Infobox ship begin}}&lt;br /&gt;
{{Infobox ship image&lt;br /&gt;
|Ship image=Laser weapon.png&lt;br /&gt;
|Ship caption=Laser cannon parts&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox ship career&lt;br /&gt;
|Hide header=&lt;br /&gt;
|Ship class=Mounted weapon, energy&lt;br /&gt;
|Ship name=Laser cannon&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| General use: &lt;br /&gt;
|Obliterating fast spaceships&lt;br /&gt;
|-&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Caliber:&lt;br /&gt;
| Laser cell&lt;br /&gt;
|-&lt;br /&gt;
| Muzzle velocity:&lt;br /&gt;
| 1,000&lt;br /&gt;
|-&lt;br /&gt;
| Rounds per minute:&lt;br /&gt;
| 1,200&lt;br /&gt;
|-&lt;br /&gt;
| Bullet mass: &lt;br /&gt;
| 5&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Laser weapon.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Laser cannons are mounted energy weapons that are generally used in warfare to take out fast and agile spaceships.&lt;br /&gt;
&lt;br /&gt;
''Basics''&lt;br /&gt;
* Rate of fire: Very fast&lt;br /&gt;
* Spread: Minimal&lt;br /&gt;
* Projectile speed: Fast&lt;br /&gt;
* Ammunition type: Energy cell. Feeds from reactor or external power source.&lt;br /&gt;
&lt;br /&gt;
== Ship usage ==&lt;br /&gt;
&lt;br /&gt;
Laser weapons can be found on following ships either by default, or as a variant:&lt;br /&gt;
* [[Spatha|Spatha]]&lt;br /&gt;
* [[Knight|Knight]]&lt;br /&gt;
&lt;br /&gt;
== Device fields ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Ammo box'''&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! YOLOL field&lt;br /&gt;
! description&lt;br /&gt;
! range&lt;br /&gt;
|-&lt;br /&gt;
! '''StoredLaserAmmo'''&lt;br /&gt;
| How much inactive ammo is left&lt;br /&gt;
| 0 - 200&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxLaserAmmo'''&lt;br /&gt;
| Maximum amount of inactive ammo that can be stored&lt;br /&gt;
| 0 - 200&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
'''Barrel'''&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! YOLOL field&lt;br /&gt;
! description&lt;br /&gt;
! range&lt;br /&gt;
|-&lt;br /&gt;
! '''MountedWeaponFire'''&lt;br /&gt;
| &amp;quot;Trigger pull&amp;quot;, Often renamed to shoot or fire&lt;br /&gt;
| 0 - 1&lt;br /&gt;
|-&lt;br /&gt;
! '''StoredActiveLaserAmmo'''&lt;br /&gt;
| Amount of ammo ready to fire in the weapon's barrel&lt;br /&gt;
| 0 - 1&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxActiveLaserAmmo'''&lt;br /&gt;
| Maximum amount of ammo that fits in the barrel&lt;br /&gt;
| 0 - 1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Body'''&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! YOLOL field&lt;br /&gt;
! description&lt;br /&gt;
! range&lt;br /&gt;
|-&lt;br /&gt;
! '''StoredHeat'''&lt;br /&gt;
| How much heat is currently in the system&lt;br /&gt;
| 0 - 1000&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxHeat'''&lt;br /&gt;
| Maximum amount of heat that the system can withstand&lt;br /&gt;
| 0 - 1000&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Mounted weapons|Laser weapon]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=Rail_cannon&amp;diff=14106</id>
		<title>Rail cannon</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Rail_cannon&amp;diff=14106"/>
		<updated>2020-05-21T00:45:27Z</updated>

		<summary type="html">&lt;p&gt;Zijkhal: /* Device fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|fr=Rail_cannon:fr&lt;br /&gt;
|zh-cn=轨道炮&lt;br /&gt;
|ru=Рельсотрон&lt;br /&gt;
}}&lt;br /&gt;
{|{{Infobox ship begin}}&lt;br /&gt;
{{Infobox ship image&lt;br /&gt;
|Ship image=Rail weapon.png&lt;br /&gt;
|Ship caption=Rail cannon parts&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox ship career&lt;br /&gt;
|Hide header=&lt;br /&gt;
|Ship class=Mounted weapon, slug&lt;br /&gt;
|Ship name=Rail cannon&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| General use: &lt;br /&gt;
|Heavy armor destruction&lt;br /&gt;
|-&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Caliber:&lt;br /&gt;
| Railgun slug&lt;br /&gt;
|-&lt;br /&gt;
| Muzzle velocity:&lt;br /&gt;
| 1,000&lt;br /&gt;
|-&lt;br /&gt;
| Rounds per minute:&lt;br /&gt;
| 12&lt;br /&gt;
|-&lt;br /&gt;
| Produced heat per shot:&lt;br /&gt;
| 800&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Rail weapon.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''Basics''&lt;br /&gt;
* Rate of fire: Single shot, slow&lt;br /&gt;
* Spread: None&lt;br /&gt;
* Projectile speed: Fast&lt;br /&gt;
*'''Note! Requires a charge-up!'''&lt;br /&gt;
*'''Note! Produces heat after shot!'''&lt;br /&gt;
&lt;br /&gt;
Requires 1 [[Rail Cannon Mag]] and 4 [[Utility Ammo|Utility Ammo Mags]] installed into [[Rail Cannon Ammo Structure]].&lt;br /&gt;
&lt;br /&gt;
== Ship usage ==&lt;br /&gt;
&lt;br /&gt;
Rail cannons can be found on following ships either by default, or as a variant:&lt;br /&gt;
* [[Spatha|Spatha]]&lt;br /&gt;
&lt;br /&gt;
== Device fields ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Ammo box'''&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! YOLOL field&lt;br /&gt;
! description&lt;br /&gt;
! range&lt;br /&gt;
|-&lt;br /&gt;
! '''StoredRailgunAmmo'''&lt;br /&gt;
| How much inactive ammo is left&lt;br /&gt;
| 0 - 100&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxRailgunAmmo'''&lt;br /&gt;
| Maximum amount of inactive ammo that can be stored&lt;br /&gt;
| 0 - 100&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
'''Barrel'''&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! YOLOL field&lt;br /&gt;
! description&lt;br /&gt;
! range&lt;br /&gt;
|-&lt;br /&gt;
! '''MountedWeaponFire'''&lt;br /&gt;
| &amp;quot;Trigger pull&amp;quot;. Often renamed to shoot or fire&lt;br /&gt;
| 0 - 1&lt;br /&gt;
|-&lt;br /&gt;
! '''StoredActiveRailgunAmmo'''&lt;br /&gt;
| Amount of ammo ready to be fired in the weapon's barrel&lt;br /&gt;
| 0 - 1&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxActiveRailgunAmmo'''&lt;br /&gt;
| Maximum amount of ammo that fits in the barrel&lt;br /&gt;
| 0 - 1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Body'''&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! YOLOL field&lt;br /&gt;
! description&lt;br /&gt;
! range&lt;br /&gt;
|-&lt;br /&gt;
! '''StoredHeat'''&lt;br /&gt;
| How much heat is currently in the system&lt;br /&gt;
| 0 - 1000&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxHeat'''&lt;br /&gt;
| Maximum amount of heat that can be in the system&lt;br /&gt;
| 0 - 1000&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Mounted weapons|Rail gun]]&lt;/div&gt;</summary>
		<author><name>Zijkhal</name></author>
	</entry>
</feed>