<?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=Quevin</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=Quevin"/>
	<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Special:Contributions/Quevin"/>
	<updated>2026-06-05T04:20:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=User:Quevin&amp;diff=25924</id>
		<title>User:Quevin</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=User:Quevin&amp;diff=25924"/>
		<updated>2021-07-07T03:54:51Z</updated>

		<summary type="html">&lt;p&gt;Quevin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dropdown&lt;br /&gt;
| Material&lt;br /&gt;
| Aegisium&lt;br /&gt;
| Ajatite&lt;br /&gt;
| Arkanium&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;infobox&amp;quot; style=&amp;quot;float: right; clear: right; margin: 0 0 1em 1em; width: 300px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-size: 90%;&amp;quot; |[[File:Quevin_Avatar.jpg|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;width: 300px; margin: 0 auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color: #5794D5; font-size: 120%; text-align: center;&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;span style=&amp;quot;color: #FFFFFF;&amp;quot;&amp;gt; Contact Information &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''In-game'''||Quevin&lt;br /&gt;
|-&lt;br /&gt;
|'''Discord'''||Quevin#8621&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color: #000000; font-size: 120%; text-align: center;&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;span style=&amp;quot;color: #FFFFFF;&amp;quot;&amp;gt; WIP &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''N/A'''||N/A&lt;br /&gt;
|-&lt;br /&gt;
|'''N/A'''||N/A&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=User:Quevin&amp;diff=25923</id>
		<title>User:Quevin</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=User:Quevin&amp;diff=25923"/>
		<updated>2021-07-07T03:43:28Z</updated>

		<summary type="html">&lt;p&gt;Quevin: Created page with &amp;quot;{| class=&amp;quot;infobox&amp;quot; style=&amp;quot;float: right; clear: right; margin: 0 0 1em 1em; width: 300px;&amp;quot; |- | style=&amp;quot;text-align: center; font-size: 90%;&amp;quot; |300px |-...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;infobox&amp;quot; style=&amp;quot;float: right; clear: right; margin: 0 0 1em 1em; width: 300px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-size: 90%;&amp;quot; |[[File:Quevin_Avatar.jpg|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;width: 300px; margin: 0 auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color: #5794D5; font-size: 120%; text-align: center;&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;span style=&amp;quot;color: #FFFFFF;&amp;quot;&amp;gt; Contact Information &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''In-game'''||Quevin&lt;br /&gt;
|-&lt;br /&gt;
|'''Discord'''||Quevin#8621&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color: #000000; font-size: 120%; text-align: center;&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;span style=&amp;quot;color: #FFFFFF;&amp;quot;&amp;gt; WIP &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''N/A'''||N/A&lt;br /&gt;
|-&lt;br /&gt;
|'''N/A'''||N/A&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=File:Quevin_Avatar.jpg&amp;diff=25922</id>
		<title>File:Quevin Avatar.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=File:Quevin_Avatar.jpg&amp;diff=25922"/>
		<updated>2021-07-07T03:40:06Z</updated>

		<summary type="html">&lt;p&gt;Quevin: File uploaded with MsUpload&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;File uploaded with MsUpload&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=Rail_cannon&amp;diff=19846</id>
		<title>Rail cannon</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Rail_cannon&amp;diff=19846"/>
		<updated>2021-02-14T11:02:33Z</updated>

		<summary type="html">&lt;p&gt;Quevin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|de=Rail_cannon:de&lt;br /&gt;
|fr=Rail_cannon:fr&lt;br /&gt;
|zh-cn=轨道炮&lt;br /&gt;
|ru=Рельсотрон&lt;br /&gt;
|ua=Рельсова гармата&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;
| Rate of Fire:&lt;br /&gt;
| 11.25 rpm (0.188 rps)&lt;br /&gt;
|-&lt;br /&gt;
| Muzzle velocity:&lt;br /&gt;
| 1000 m/s&lt;br /&gt;
|-&lt;br /&gt;
| Heat generated: &lt;br /&gt;
| 800 per shot&lt;br /&gt;
|-&lt;br /&gt;
| Heat dissipation rate: &lt;br /&gt;
| 150 per second&lt;br /&gt;
|-&lt;br /&gt;
| Power draw:&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| - max charge&lt;br /&gt;
| 8360 per second&lt;br /&gt;
|-&lt;br /&gt;
| - maintaining charge&lt;br /&gt;
| 1501 per second&lt;br /&gt;
|-&lt;br /&gt;
| Bullet mass: &lt;br /&gt;
| 31&lt;br /&gt;
|-&lt;br /&gt;
| Lifetime:&lt;br /&gt;
| 6 seconds&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;
&lt;br /&gt;
Requires 1 '''Rail Cannon Mag''' and 4 '''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;
* [[Knight]]&lt;br /&gt;
* [[Spatha]]&lt;br /&gt;
* [[Veles]]&lt;br /&gt;
&lt;br /&gt;
== Device fields ==&lt;br /&gt;
&lt;br /&gt;
To learn more about the usage of fields, consult these wiki pages:&lt;br /&gt;
* [[Universal tool|Universal Tool]]&lt;br /&gt;
* [[Data networks|Data networks]]&lt;br /&gt;
* [[YOLOL|YOLOL]]&lt;br /&gt;
&lt;br /&gt;
'''Rail Cannon 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;
| 1&lt;br /&gt;
|-&lt;br /&gt;
! '''RailgunChargeLimit'''&lt;br /&gt;
| Maximum speed the Railgun will charge up&lt;br /&gt;
| 0 - 100&lt;br /&gt;
|-&lt;br /&gt;
! '''RailgunChargeSpeed'''&lt;br /&gt;
| Current charge rate of Railgun&lt;br /&gt;
| 0 - 100&lt;br /&gt;
|-&lt;br /&gt;
! '''RailgunCharge'''&lt;br /&gt;
| Current Charge of the railgun&lt;br /&gt;
| 0 - 100&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxRailgunCharge'''&lt;br /&gt;
| Maximum charge of the railgun&lt;br /&gt;
| 100&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Rail Cannon 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;
| 1000&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Rail Cannon Ammo Structure'''&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;
! '''AvailableRailgunAmmo'''&lt;br /&gt;
| How much inactive ammo is left&lt;br /&gt;
| 0 - 100&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxAvailableRailgunAmmo'''&lt;br /&gt;
| Maximum amount of inactive ammo that can be stored&lt;br /&gt;
| 100&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Rail Cannon Mag'''&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;
| 100&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Utility Ammo Mag'''&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;
! '''StoredLocalPower'''&lt;br /&gt;
| How much power is stored in the utility ammo&lt;br /&gt;
| 0 - 4000&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxLocalPower'''&lt;br /&gt;
| Maximum amount of power ammo that can be stored&lt;br /&gt;
| 4000&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Mounted weapons|Rail gun]]&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=Modular_ore_cargo_crate&amp;diff=18629</id>
		<title>Modular ore cargo crate</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Modular_ore_cargo_crate&amp;diff=18629"/>
		<updated>2020-10-27T16:37:25Z</updated>

		<summary type="html">&lt;p&gt;Quevin: Made an oopsie with the picture for the infobox, its fixed now.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|de=Modular_ore_cargo_crate:de&lt;br /&gt;
|fr=Modular_ore_cargo_crate:fr&lt;br /&gt;
|ru=Модульный контейнер для руды&lt;br /&gt;
|zh-cn=模块化矿石货箱&lt;br /&gt;
|ua=Модульний контейнер для руди&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{|{{Infobox ship begin}}&lt;br /&gt;
{{Infobox ship image&lt;br /&gt;
|Ship image=Starbase modular crates.jpg&lt;br /&gt;
|Ship caption=Modular Cargo Crates&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox ship career&lt;br /&gt;
|Hide header=&lt;br /&gt;
|Ship class=Modular Cargo Crates&lt;br /&gt;
|Ship name=Cargo Crates&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| General use:&lt;br /&gt;
|Storing Items, Ore or other goods&lt;br /&gt;
|-&lt;br /&gt;
| Disclaimer:&lt;br /&gt;
|Values might be incorrect, its not final design!&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 72 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 48 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 110.592 kv&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 144 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 120 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 1728.000 kv&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 288 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 264 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 18399.744 kv&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 432 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 408 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 67917.312 kv&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 576 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 552 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 168196.608 kv&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
[[File:starbase_devices_ore_crate.png|400px]]&lt;br /&gt;
&lt;br /&gt;
A modular storage unit that stores ore and materials.&lt;br /&gt;
&lt;br /&gt;
Crates can be stacked to form larger storage unit.&lt;br /&gt;
&lt;br /&gt;
They share power, data and pipe network when stacked.&lt;br /&gt;
&lt;br /&gt;
Crates are interacted with through a conection with a [[Resource_Bridge|resource bridge]].&lt;br /&gt;
&lt;br /&gt;
== Basic information ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# A modular storage unit is one that holds ore and materials. It's maximum capacity is 1728 kv (the equivalent of a 120cm x 120cm x 120cm material cube).&lt;br /&gt;
# One crate can store only one material type at a time.&lt;br /&gt;
#* Requires power to be able to transfer ore within.&lt;br /&gt;
#* Does not require power for storing the ore.&lt;br /&gt;
#* Has sockets for cable and pipe connections on each side.&lt;br /&gt;
# Cargo crates can be attached to one another to create larger storage units. No cables or pipes needed between the crates.&lt;br /&gt;
&lt;br /&gt;
== Interaction ==&lt;br /&gt;
&lt;br /&gt;
Cargo crate interaction is done with any inventory connection established with the crates.&lt;br /&gt;
* For example, a Mining Backpack connection will show cargo crates as slots in the backpack inventory and ore can be pulled to the game world as material cubes.&lt;br /&gt;
&lt;br /&gt;
'''User Interface'''&lt;br /&gt;
* Each cargo crate is represented as an inventory slot in any interface they are shown.&lt;br /&gt;
&lt;br /&gt;
== Example usage ==&lt;br /&gt;
&lt;br /&gt;
* Correct setup for interacting with the crates:&lt;br /&gt;
** Crate should have access to electricity (cables from the crate to power source like generator or battery).&lt;br /&gt;
** Crate should have pipe connection to device hardpoint which has resource bridge bolted to it.&lt;br /&gt;
*** The device hardpoint should have access to electricity (cables from the crate to power source like generator or battery.)&lt;br /&gt;
** Player should have a Mining Backpack equipped.&lt;br /&gt;
* With the above setup, player should be able to activate tether connection to the resource bridge by pointing the resource bridge and pressing F.&lt;br /&gt;
** When connection is established, player should see the crates in the mining backpack inventory.&lt;br /&gt;
&lt;br /&gt;
== Device fields ==&lt;br /&gt;
&lt;br /&gt;
To learn more about how to use fields, consult these wiki pages:&lt;br /&gt;
* [[Universal tool|Universal Tool]]&lt;br /&gt;
* [[Data networks|Data networks]]&lt;br /&gt;
* [[YOLOL|YOLOL]]&lt;br /&gt;
&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;
! '''Priority'''&lt;br /&gt;
| Crates with a lower priority get used first&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- modular ore cargo crate --&amp;gt;&lt;br /&gt;
[[Category:Devices and machines|Modular ore cargo crate]]&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=Modular_ore_cargo_crate&amp;diff=18627</id>
		<title>Modular ore cargo crate</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Modular_ore_cargo_crate&amp;diff=18627"/>
		<updated>2020-10-26T07:58:52Z</updated>

		<summary type="html">&lt;p&gt;Quevin: Added an infobox with upcoming changes to Cargo Crates, these values might be incorrect and changing before being released to Alpha build. I had to select image was of my own creation this is not the case.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Starbase modular crates.jpg|thumb]]&lt;br /&gt;
{{Otherlang2&lt;br /&gt;
|de=Modular_ore_cargo_crate:de&lt;br /&gt;
|fr=Modular_ore_cargo_crate:fr&lt;br /&gt;
|ru=Модульный контейнер для руды&lt;br /&gt;
|zh-cn=模块化矿石货箱&lt;br /&gt;
|ua=Модульний контейнер для руди&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{|{{Infobox ship begin}}&lt;br /&gt;
{{Infobox ship image&lt;br /&gt;
|Ship image=Starbase modular crates.jpg.png&lt;br /&gt;
|Ship caption=Modular Cargo Crates&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox ship career&lt;br /&gt;
|Hide header=&lt;br /&gt;
|Ship class=Modular Cargo Crates&lt;br /&gt;
|Ship name=Cargo Crates&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| General use:&lt;br /&gt;
|Storing Items, Ore or other goods&lt;br /&gt;
|-&lt;br /&gt;
| Disclaimer:&lt;br /&gt;
|Values might be incorrect, its not final design!&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 72 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 48 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 110.592 kv&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 144 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 120 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 1728.000 kv&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 288 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 264 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 18399.744 kv&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 432 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 408 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 67917.312 kv&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Size:&lt;br /&gt;
| 576 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Material Cube:&lt;br /&gt;
| 552 cm³&lt;br /&gt;
|-&lt;br /&gt;
| Max Capacity:&lt;br /&gt;
| 168196.608 kv&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
[[File:starbase_devices_ore_crate.png|400px]]&lt;br /&gt;
&lt;br /&gt;
A modular storage unit that stores ore and materials.&lt;br /&gt;
&lt;br /&gt;
Crates can be stacked to form larger storage unit.&lt;br /&gt;
&lt;br /&gt;
They share power, data and pipe network when stacked.&lt;br /&gt;
&lt;br /&gt;
Crates are interacted with through a conection with a [[Resource_Bridge|resource bridge]].&lt;br /&gt;
&lt;br /&gt;
== Basic information ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# A modular storage unit is one that holds ore and materials. It's maximum capacity is 1728 kv (the equivalent of a 120cm x 120cm x 120cm material cube).&lt;br /&gt;
# One crate can store only one material type at a time.&lt;br /&gt;
#* Requires power to be able to transfer ore within.&lt;br /&gt;
#* Does not require power for storing the ore.&lt;br /&gt;
#* Has sockets for cable and pipe connections on each side.&lt;br /&gt;
# Cargo crates can be attached to one another to create larger storage units. No cables or pipes needed between the crates.&lt;br /&gt;
&lt;br /&gt;
== Interaction ==&lt;br /&gt;
&lt;br /&gt;
Cargo crate interaction is done with any inventory connection established with the crates.&lt;br /&gt;
* For example, a Mining Backpack connection will show cargo crates as slots in the backpack inventory and ore can be pulled to the game world as material cubes.&lt;br /&gt;
&lt;br /&gt;
'''User Interface'''&lt;br /&gt;
* Each cargo crate is represented as an inventory slot in any interface they are shown.&lt;br /&gt;
&lt;br /&gt;
== Example usage ==&lt;br /&gt;
&lt;br /&gt;
* Correct setup for interacting with the crates:&lt;br /&gt;
** Crate should have access to electricity (cables from the crate to power source like generator or battery).&lt;br /&gt;
** Crate should have pipe connection to device hardpoint which has resource bridge bolted to it.&lt;br /&gt;
*** The device hardpoint should have access to electricity (cables from the crate to power source like generator or battery.)&lt;br /&gt;
** Player should have a Mining Backpack equipped.&lt;br /&gt;
* With the above setup, player should be able to activate tether connection to the resource bridge by pointing the resource bridge and pressing F.&lt;br /&gt;
** When connection is established, player should see the crates in the mining backpack inventory.&lt;br /&gt;
&lt;br /&gt;
== Device fields ==&lt;br /&gt;
&lt;br /&gt;
To learn more about how to use fields, consult these wiki pages:&lt;br /&gt;
* [[Universal tool|Universal Tool]]&lt;br /&gt;
* [[Data networks|Data networks]]&lt;br /&gt;
* [[YOLOL|YOLOL]]&lt;br /&gt;
&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;
! '''Priority'''&lt;br /&gt;
| Crates with a lower priority get used first&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- modular ore cargo crate --&amp;gt;&lt;br /&gt;
[[Category:Devices and machines|Modular ore cargo crate]]&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=File:Starbase_modular_crates.jpg&amp;diff=18626</id>
		<title>File:Starbase modular crates.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=File:Starbase_modular_crates.jpg&amp;diff=18626"/>
		<updated>2020-10-26T07:12:57Z</updated>

		<summary type="html">&lt;p&gt;Quevin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Starbase modular crates&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=Battery&amp;diff=18625</id>
		<title>Battery</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Battery&amp;diff=18625"/>
		<updated>2020-10-26T06:11:14Z</updated>

		<summary type="html">&lt;p&gt;Quevin: Added a infobox to battery with an overview of its specifications&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|de=Battery:de&lt;br /&gt;
|fr=Battery:fr&lt;br /&gt;
|zh-cn=电池&lt;br /&gt;
|ru=Батарея&lt;br /&gt;
|ua=Батареї&lt;br /&gt;
}}&lt;br /&gt;
{|{{Infobox ship begin}}&lt;br /&gt;
{{Infobox ship image&lt;br /&gt;
|Ship image=Battery_nov_2019.png&lt;br /&gt;
|Ship caption=Small Battery&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox ship career&lt;br /&gt;
|Hide header=&lt;br /&gt;
|Ship class=Device&lt;br /&gt;
|Ship name=Small Rechargable Battery&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| General use:&lt;br /&gt;
|Power storage&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Max capacity:&lt;br /&gt;
| 10 000&lt;br /&gt;
|-&lt;br /&gt;
| Weight:&lt;br /&gt;
| 3 236.75&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
[[File:Battery_nov_2019.png|300px]]&lt;br /&gt;
&lt;br /&gt;
The battery holds up to 10000 energy for use by devices connected to the same device network. &lt;br /&gt;
&lt;br /&gt;
== Basic information ==&lt;br /&gt;
Batteries are modular - adjacent batteries connect to each other and can share a single power connection. Smaller ships can run entirely on batteries, but most ships use them as a buffer to handle periods of higher energy use without wasting [[Generator]] output.&amp;lt;br&amp;gt;&lt;br /&gt;
Batteries with energy stored inside explode when damaged.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Device fields ==&lt;br /&gt;
&lt;br /&gt;
To learn more about the usage of fields, consult these wiki pages:&lt;br /&gt;
* [[Universal tool]]&lt;br /&gt;
* [[Data networks]]&lt;br /&gt;
* [[YOLOL]]&lt;br /&gt;
&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;
! '''BatteryPriority'''&lt;br /&gt;
| Batteries with a lower priority get used first&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! '''StoredBatteryPower'''&lt;br /&gt;
| Current charge level of the battery&lt;br /&gt;
| 0 - 10 000&lt;br /&gt;
|-&lt;br /&gt;
! '''MaxBatteryPower'''&lt;br /&gt;
| Maximum charge level of the battery&lt;br /&gt;
| 10 000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Devices and machines|Battery]]&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=Thrusters&amp;diff=18624</id>
		<title>Thrusters</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Thrusters&amp;diff=18624"/>
		<updated>2020-10-26T06:02:21Z</updated>

		<summary type="html">&lt;p&gt;Quevin: Give all thrusters an Infobox for addition information. All information for thrusters are now outdated and should be changed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|de=Thrusters:de&lt;br /&gt;
|fr=Thrusters:fr&lt;br /&gt;
|zh-cn=推进器&lt;br /&gt;
|ru=Ускорители&lt;br /&gt;
|ua=Прискорювачі&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:Starbase_devices_thrusters_box.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Thrusters are a mandatory part of spaceships in order for them to be able to fly. At least one thruster is required in each ship.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
Thrusters determine which directions spaceships can be flown and at what speed, and they require power and propellant to function.&amp;lt;br&amp;gt; &lt;br /&gt;
A cable drawn from the power source must be attached to the base of the thruster for correct distribution of power.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* There are three different thruster types available:&lt;br /&gt;
** Box thrusters&lt;br /&gt;
** Triangle thrusters&lt;br /&gt;
** Maneuver thrusters&lt;br /&gt;
&lt;br /&gt;
== Basic information ==&lt;br /&gt;
&lt;br /&gt;
* To be able to fly, a spaceship needs at least a one thruster.&lt;br /&gt;
** Box and triangle thrusters are big &amp;quot;main&amp;quot; thrusters and consist of multiple parts that need to be bolted together.&lt;br /&gt;
** Maneuver thrusters enable small movements of the ship such as adjusting yaw and pitch, though they can still be used as main thrusters on smaller ships.&lt;br /&gt;
** Thrusters need to be [[Bolt tool|bolted]] to a base plate that has access to propellant and electricity.&lt;br /&gt;
&lt;br /&gt;
* Thrusters need to be in the same [[Data networks|data network]] as the FCU [[Flight control unit|flight control unit]].&lt;br /&gt;
&lt;br /&gt;
* Thrusters require power to function.&lt;br /&gt;
** To get power, a [[Cable tool|cable]] has to be drawn from a power source, such as a [[Generator]] or [[Battery]] to the thruster's socket. &lt;br /&gt;
&lt;br /&gt;
* A thruster also requires [[Propellant|propellant]] to function.&lt;br /&gt;
** To get propellant, a [[Pipe tool|pipe]] has to be drawn between the device hardpoint and a gas container.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * Propellant consumption isn't linear with the sweetspot around 70-80% thrust. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Thruster types ==&lt;br /&gt;
&lt;br /&gt;
=== Box thruster ===&lt;br /&gt;
{|{{Infobox ship begin}}&lt;br /&gt;
{{Infobox ship image&lt;br /&gt;
|Ship image=Thruster_with_base.png&lt;br /&gt;
|Ship caption=Box Thruster&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox ship career&lt;br /&gt;
|Hide header=&lt;br /&gt;
|Ship class=Mounted thruster&lt;br /&gt;
|Ship name=Box Thruster&lt;br /&gt;
}}&lt;br /&gt;
|-General use:&lt;br /&gt;
|To fly&lt;br /&gt;
|-&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Thrust:&lt;br /&gt;
| 500 000&lt;br /&gt;
|-&lt;br /&gt;
| Energy per Second:&lt;br /&gt;
| 140 per second&lt;br /&gt;
|-&lt;br /&gt;
| Propellant per Second:&lt;br /&gt;
| 23.3 per second&lt;br /&gt;
|-&lt;br /&gt;
| Weight (Kg):&lt;br /&gt;
| 18 882.812 Kg&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Thruster_with_base.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Box Thrusters with regular and corner base variants.&lt;br /&gt;
&lt;br /&gt;
* Box thrusters provide 500 000 thrust&lt;br /&gt;
* At maximum thrust Box thrusters use 23.3 propellant per second and 140 electricity per second.&lt;br /&gt;
* The price for a box thruster is around 180,000 credits but this price is subject to large changes and this may not be accurate.&lt;br /&gt;
&lt;br /&gt;
=== Triangle thruster ===&lt;br /&gt;
{|{{Infobox ship begin}}&lt;br /&gt;
{{Infobox ship image&lt;br /&gt;
|Ship image=Starbase_Triangle_thruster_stacks.png&lt;br /&gt;
|Ship caption=Triangle Thruster&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox ship career&lt;br /&gt;
|Hide header=&lt;br /&gt;
|Ship class=Mounted thruster&lt;br /&gt;
|Ship name=Triangle Thruster&lt;br /&gt;
}}&lt;br /&gt;
|-General use:&lt;br /&gt;
|To fly&lt;br /&gt;
|-&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Thrust:&lt;br /&gt;
| 300 000&lt;br /&gt;
|-&lt;br /&gt;
| Energy per Second:&lt;br /&gt;
| 17.5 per second&lt;br /&gt;
|-&lt;br /&gt;
| Propellant per Second:&lt;br /&gt;
| 35 per second&lt;br /&gt;
|-&lt;br /&gt;
| Weight (Kg):&lt;br /&gt;
| 11 516.343 Kg&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Starbase_Triangle_thruster_stacks.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Triangle thrusters. The sides with a hexagon on them can be used to stack multiple thrusters to one base.&lt;br /&gt;
&lt;br /&gt;
* Triangle thrusters provide 300 000 thrust&lt;br /&gt;
* At maximum thrust Triangle thrusters use 35 propellant per second and 17.5 electricity per second.&lt;br /&gt;
&lt;br /&gt;
=== Maneuver thruster ===&lt;br /&gt;
{|{{Infobox ship begin}}&lt;br /&gt;
{{Infobox ship image&lt;br /&gt;
|Ship image=Starbase_maneuver_thruster.png&lt;br /&gt;
|Ship caption=Maneuver Thruster&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox ship career&lt;br /&gt;
|Hide header=&lt;br /&gt;
|Ship class=Mounted thruster&lt;br /&gt;
|Ship name=Maneuver Thruster&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| General use: &lt;br /&gt;
|To fly&lt;br /&gt;
|-&lt;br /&gt;
{{Infobox ship characteristics&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| Thrust:&lt;br /&gt;
| 50 000&lt;br /&gt;
|-&lt;br /&gt;
| Energy per Second:&lt;br /&gt;
| 5 per second&lt;br /&gt;
|-&lt;br /&gt;
| Propellant per Second:&lt;br /&gt;
| 11.7 per second&lt;br /&gt;
|-&lt;br /&gt;
| Weight (Kg):&lt;br /&gt;
| 458.375 Kg&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Starbase_maneuver_thruster.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Small thrusters meant for maneuvering the ship.&lt;br /&gt;
&lt;br /&gt;
* Maneuver thrusters provide 50 000 thrust&lt;br /&gt;
* At maximum thrust Maneuver thrusters use 11.7 propellant per second and 5 electricity per second.&lt;br /&gt;
&lt;br /&gt;
== Resource efficiency ==&lt;br /&gt;
Graphs showing thruster resource efficiencies per thrust level, electricity per second (eps) in blue and propellant per second (pps) in orange.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Box_Thruster_Usage.jpg|400px]] [[File:Triangle_Thruster_Usage.jpg|400px]] [[File:Maneuver_Thruster_Usage.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
== Device fields ==&lt;br /&gt;
&lt;br /&gt;
To learn more about how to use fields, consult these wiki pages:&lt;br /&gt;
* [[Universal tool|Universal Tool]]&lt;br /&gt;
* [[Data networks|Data networks]]&lt;br /&gt;
* [[YOLOL|YOLOL]]&lt;br /&gt;
&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;
! '''ThrusterState'''&lt;br /&gt;
| Requested output of the thruster&lt;br /&gt;
| 0 - 10 000&lt;br /&gt;
|-&lt;br /&gt;
! '''ThrusterCurrentThrust'''&lt;br /&gt;
| Current output of the thruster&lt;br /&gt;
| 0 - 10 000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Devices and machines|Thrusters]]&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=Kingdom&amp;diff=17277</id>
		<title>Kingdom</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=Kingdom&amp;diff=17277"/>
		<updated>2020-08-27T07:53:58Z</updated>

		<summary type="html">&lt;p&gt;Quevin: Removed my name from the page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|de=Kingdom:de&lt;br /&gt;
|fr=Kingdom:fr&lt;br /&gt;
|zh-cn=王国&lt;br /&gt;
|ru=Королевство&lt;br /&gt;
|pl=Kingdom:pl&lt;br /&gt;
}}&lt;br /&gt;
{| class=&amp;quot;infobox&amp;quot; style=&amp;quot;float: right; clear: right; margin: 0 0 1em 1em; width: 22em;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color: #FFFFFF; font-size: 120%; text-align: center;&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;span style=&amp;quot;color: #000000;&amp;quot;&amp;gt;'''The Kingdom'''&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-size: 90%;&amp;quot; |[[File:Logo_of_kingdom.png|up|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background: none; width: 22em; margin: 0 auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color: #FFFFF; font-size: 120%; text-align: center;&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;span style=&amp;quot;color: #000000;&amp;quot; text-align=&amp;quot;center&amp;quot;&amp;gt; Leadership Structure&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''Monarch'''||Joel the Just&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''Chancellor'''||Zigon&lt;br /&gt;
|- style=&amp;quot;vertical-align: center;&amp;quot;&lt;br /&gt;
|'''Ministers'''||Auxiy&lt;br /&gt;
|- style=&amp;quot;vertical-align: center;&lt;br /&gt;
|&lt;br /&gt;
|Blight of Powers&lt;br /&gt;
|- style=&amp;quot;vertical-align: center;&lt;br /&gt;
|&lt;br /&gt;
|Enyo&lt;br /&gt;
|- style=&amp;quot;vertical-align: center;&lt;br /&gt;
|&lt;br /&gt;
|Myst von Gavreau&lt;br /&gt;
|- style=&amp;quot;vertical-align: center;&lt;br /&gt;
|&lt;br /&gt;
|Supercat&lt;br /&gt;
|- style=&amp;quot;vertical-align: center;&lt;br /&gt;
|'''Government Type'''||[https://en.wikipedia.org/wiki/Federalism Federal] [https://en.wikipedia.org/wiki/Semi-direct_democracy semi-direct democracy] under a [https://en.wikipedia.org/wiki/Parliamentary_system parliamentary] [https://en.wikipedia.org/wiki/Constitutional_monarchy constitutional monarchy]&lt;br /&gt;
|-&lt;br /&gt;
|'''Legislature'''&lt;br /&gt;
|&lt;br /&gt;
* Parliament&lt;br /&gt;
* Citizens of the Kingdom&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;background: none; width: 22em; margin: 0 auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color: #FFFFFF; font-size: 120%; text-align: center;&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;span style=&amp;quot;color: #000000;&amp;quot;&amp;gt; Faction Information&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''Official Colors:'''||''(De facto) '' Blue, white, red&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''Official Motto/Slogan'''||''None''&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''Date of founding:'''||January 31, 2020 (Independence declared)&lt;br /&gt;
&lt;br /&gt;
February 14, 2020 (Constitution ratified)&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''Membership strength'''||164 &amp;lt;ref&amp;gt;Taken from Kingdom discord server, June 24th 2020&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|'''Discord Link'''&lt;br /&gt;
|https://discord.gg/ceJvk5s&lt;br /&gt;
|-&lt;br /&gt;
|'''Foreign Affairs Discord Link'''&lt;br /&gt;
|https://discord.gg/H98SQaN&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;background: none; width: 22em; margin: 0 auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color: #FFFFFF; font-size: 120%; text-align: center;&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;span style=&amp;quot;color: #000000;&amp;quot;&amp;gt; Foreign Affairs&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''[[Player alliances|Alliances]]'''||N/A&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|'''Enemies'''||[[Empire]] (armistice)&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
__TOC__&lt;br /&gt;
== Faction description ==&lt;br /&gt;
[[File:Logo_of_kingdom.png|up|250px]]&amp;lt;br&amp;gt;&lt;br /&gt;
The Kingdom is one of the largest factions in the universe, ruled by King Joel the Just.&amp;lt;br&amp;gt;&lt;br /&gt;
Their symbol is the crest of the royal house, which shows the Red Star Shield adorned with red wings. The crest is granted to important personnel and ships within the faction. &amp;lt;br&amp;gt;&lt;br /&gt;
The Kingdom is currently at war with the [[Empire]], the other largest faction in the universe.&lt;br /&gt;
&lt;br /&gt;
== Government ==&lt;br /&gt;
&lt;br /&gt;
=== Overview === &lt;br /&gt;
The Kingdom's government is a constitutional monarchy, their powers granted from King Joel for the people to rule their own government, as described by the constitution. &amp;lt;br&amp;gt;&lt;br /&gt;
* The Legislative consists of a chamber of Parliament, as well as a constituency that makes up all voters of the Kingdom. These two are the law-making and driving forces of the Kingdom. &amp;lt;br&amp;gt;&lt;br /&gt;
* The Executive is led by the chancellor, whom all citizens elect every 4 months to act as their ruler, who enacts their vision for the Kingdom and act as commander-in-chief. Six ministers carry out his vision. &amp;lt;br&amp;gt;&lt;br /&gt;
* The Judiciary is a group titled the Civil Service, who acts both as facilitators of government processes as well as judges. They also manage social platforms such as Discord. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Constitution ===&lt;br /&gt;
:''Main article: [[Constitution of Kingdom]]'' &amp;lt;blockquote&amp;gt; Since the declaration of independence, there have been many unknowns regarding how to continue from there. Only a few things were clear to all founding endos of the Kingdom. We would grant equal rights to all sentient robots, give them a voice in matters concerning them and the right to fair punishment for crimes committed. The goal of our great nation would be to work towards the betterment of all robots, together, in harmony.&amp;lt;/blockquote&amp;gt;''The first paragraph of the Kingdom's constitution''&amp;lt;br&amp;gt;&lt;br /&gt;
There has been one bill changing the constitution. It mainly attempts to make the constitution a more authoritative document that will contribute to a more stable Kingdom.&lt;br /&gt;
&lt;br /&gt;
=== Ministries === &lt;br /&gt;
[[File:Kingdom_defense_symbol.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
'''Ministry of Defense''' &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Minister: Blight of Powers&lt;br /&gt;
&lt;br /&gt;
The ministry of defense is arguably one of the most powerful ministries due to its scope and importance, managing the entire Royal Army. &amp;lt;br&amp;gt;&lt;br /&gt;
They are the main executive force in military action. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Kingdom_fa_symbol.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
'''Ministry of Foreign Affairs''' &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Minister: Myst von Gavreau&lt;br /&gt;
&lt;br /&gt;
The ministry of foreign affairs is the face of the Kingdom outside of its borders and acts as the main bridge between us and other non-Kingdom parties. &amp;lt;br&amp;gt;&lt;br /&gt;
Being diplomats, they are one of the least employed ministries. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Kingdom_infrastructure_symbol.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
''''Ministry of Infrastructure''' &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Minister: Supercat&lt;br /&gt;
&lt;br /&gt;
The ministry of infrastructure has a great responsibility of overseeing almost all official Kingdom construction, this includes both the planning and execution of said construction. &amp;lt;br&amp;gt;&lt;br /&gt;
It is comprised of Kingdom's greatest builders and architects. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Kingdom_rd_symbol.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
'''Ministry of Research &amp;amp; Development''' &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Minister: N/A&lt;br /&gt;
&lt;br /&gt;
The ministry of research &amp;amp; technology takes lead in creating the golden standard for ship design and defensive measures, working to create what the Kingdom will mass-produce while staying in the lead of advancing technologies. &amp;lt;br&amp;gt;&lt;br /&gt;
A brilliant group of engineers, programmers, and designers take the stead. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Kingdom_production_symbol.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
'''Ministry of Production &amp;amp; Resources''' &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Minister: Auxiy&lt;br /&gt;
&lt;br /&gt;
The ministry of production and resources has the role of both producing the nuts, bolts, and parts for official Kingdom projects; as well as acquiring the resources to do so. &amp;lt;br&amp;gt;&lt;br /&gt;
It is made up of a collection of miners, laborers, and citizens simply making extra credits.  &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Kingdom_trade_symbol.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
'''Ministry of Trade''' &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Minister: Enyo&lt;br /&gt;
&lt;br /&gt;
The ministry of trade fills the role of a treasury, as well as the creation of trade deals and contracts within the Kingdom and its companies. &amp;lt;br&amp;gt; &lt;br /&gt;
Fiscally minded individuals make up the small group that represents this ministry. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Politics ==&lt;br /&gt;
=== Elections ===&lt;br /&gt;
As written in the [[Constitution of Kingdom|constitution]], a chancellor is to be elected every 4 months. The first chancellor has a unique term, as it ends 2 months after EA release.&amp;lt;br&amp;gt;&lt;br /&gt;
==== 1st Election ====&lt;br /&gt;
The first chancellor election occurred on February 17th-19th 2020.&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Qualifier round&lt;br /&gt;
|-&lt;br /&gt;
!Candidate&lt;br /&gt;
!Votes&lt;br /&gt;
|-&lt;br /&gt;
|Lord of cheese&lt;br /&gt;
|23&lt;br /&gt;
|-&lt;br /&gt;
|Myst von Gavreau&lt;br /&gt;
|9&lt;br /&gt;
|-&lt;br /&gt;
|Supercat&lt;br /&gt;
|7&lt;br /&gt;
|-&lt;br /&gt;
|Fongsturion&lt;br /&gt;
|4&lt;br /&gt;
|-&lt;br /&gt;
|Kratex&amp;lt;ref&amp;gt;Archived in the Civil council&amp;lt;/ref&amp;gt;&lt;br /&gt;
|0-2*&lt;br /&gt;
|}&lt;br /&gt;
''*It is unknown how many votes Kratex got.''&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2nd round&lt;br /&gt;
|-&lt;br /&gt;
!Candidate&lt;br /&gt;
!Votes&lt;br /&gt;
|-&lt;br /&gt;
|Lord of cheese&lt;br /&gt;
|27&lt;br /&gt;
|-&lt;br /&gt;
|Myst von Gavreau&lt;br /&gt;
|12&lt;br /&gt;
|-&lt;br /&gt;
|Supercat&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|Fongsturion&lt;br /&gt;
|4&lt;br /&gt;
|}&lt;br /&gt;
==== 2nd Election ====&lt;br /&gt;
The second chancellor election occured prematurely due to the resignation of the first chancellor, Lord of Cheese.&amp;lt;br&amp;gt;The election occurred during 9th to the 15th June of 2020&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Qualifier round&lt;br /&gt;
|-&lt;br /&gt;
!Candidate&lt;br /&gt;
!Votes&lt;br /&gt;
|-&lt;br /&gt;
|Zigon&lt;br /&gt;
|32&lt;br /&gt;
|-&lt;br /&gt;
|Woodz&lt;br /&gt;
|9&lt;br /&gt;
|-&lt;br /&gt;
|Starfflame&lt;br /&gt;
|*&lt;br /&gt;
|}&lt;br /&gt;
''*Starfflame withdrew from the election.''&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ 2nd round&lt;br /&gt;
|-&lt;br /&gt;
!Candidate&lt;br /&gt;
!Votes&lt;br /&gt;
|-&lt;br /&gt;
|Zigon&lt;br /&gt;
|37&lt;br /&gt;
|-&lt;br /&gt;
|Woodz&lt;br /&gt;
|9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Military==&lt;br /&gt;
[[File:Arms_of_the_king_sleeve.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
'''Arms of the King'''&amp;lt;br&amp;gt;&lt;br /&gt;
The Arms of the King comprises of soldiers from the military and is responsible for all military and policing actions. They are split into two branches: the Royal Army, and the Peacekeepers. The Royal Army is the fighting force of Kingdom's military, while the Peacekeepers are station defense and policing. The Royal Police Force is as the name applies the police force of Kingdom, it is a branch under the Peacekeepers.&amp;lt;br&amp;gt; &lt;br /&gt;
The Kingdom has a number of [[:Category:Kingdom_spaceships|ships]] that they commandeer. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Relief_company_sleeve.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
'''Maintenance Company'''&amp;lt;br&amp;gt;&lt;br /&gt;
The Maintenance Company is responsible for the physical and mental well being of the Royal Army soldiers and accountable for the ammunition and weaponry of the army. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Royal_engineers_sleeve.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
'''Royal Engineers'''&amp;lt;br&amp;gt;&lt;br /&gt;
The Royal Engineers are the maintenance force of the Royal Army, taking care of the technological equipment, vehicles and [[:Category:Kingdom_spaceships|ships]] of the Kingdom's military.&amp;lt;br&amp;gt; &lt;br /&gt;
The Royal Engineers are also mostly delegated explosive combat roles and are expected to support multiple fighting squads. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ranks ===&lt;br /&gt;
&lt;br /&gt;
Kingdom forces are given different ranks based on their performance, service time, and military branch.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Kingdom_ranks_final_fonts.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Culture ==&lt;br /&gt;
Despite being a monarchy, the Kingdom has long been more interested in the ideals of fairness, freedom and fraternity than it's Imperial counterpart. While some would call this idealistic at best, most Kingdomites take pride in their democratic society and its tolerant attitudes. Being polite and good-natured are seen to be better qualities than success or power in the Kingdom. Those robots that are sociable with their fellows and good-natured tend to get on well in society. For those that are well-liked enough they may find themselves honoured with one of a growing array of titles bestowed by the King, the most prestigious of which being the Paladinhood. In this the Kingdom finds itself sentimental towards tradition while still keen to preserve the liberty of its citizens. For some such a contradiction seems impossible yet, somehow, and seemingly without effort, the balance is achieved.&amp;lt;br&amp;gt;To be a Kingdomite is not simply to live on the right megastation or to fly the right flag - it is a way of being. A way which can only be achieved by working with those around you.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Factions|Kingdom]]&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL&amp;diff=9324</id>
		<title>YOLOL</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL&amp;diff=9324"/>
		<updated>2020-03-13T21:19:22Z</updated>

		<summary type="html">&lt;p&gt;Quevin: /* Goto */ Added specific information about the value input of the Goto statement.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|ru=YOLOL:ru&lt;br /&gt;
}}&lt;br /&gt;
== Summary ==&lt;br /&gt;
YOLOL is a programming language used to control and manage electrical [[Devices and machines|devices]].&amp;lt;br&amp;gt;&lt;br /&gt;
The code is written on lines in [[YOLOL Chip|YOLOL chips]] which are then inserted into [[Chip socket|chip sockets]], that read and relay their messages.&amp;lt;br&amp;gt;&lt;br /&gt;
The programming language enables the programming and controlling of almost any device within the known universe.&lt;br /&gt;
&lt;br /&gt;
== Basic information ==&lt;br /&gt;
&lt;br /&gt;
=== How it works? ===&lt;br /&gt;
The code is written to and executed from programmable chips, and can be used to both monitor and control electrical [[Devices and machines|devices]] connected to a [[Data networks|data network]].&amp;lt;br&amp;gt;&lt;br /&gt;
Lines of code are executed in sequence from top to bottom, repeating the cycle of the chip after the last line has been executed, unless the script includes programmed instructions for specific line changes or stopping the execution completely.&lt;br /&gt;
&lt;br /&gt;
To put it simply:&lt;br /&gt;
&lt;br /&gt;
# Code execution starts from line 1&lt;br /&gt;
# After reading line 1, it proceeds to the next line based on the chip's time interval&lt;br /&gt;
# The process is then repeated for the line 2, 3, 4... etc.&lt;br /&gt;
# The chip will begin executing line 1 again after the last line has been executed (unless the last line contains a goto statement or execution has been paused)&lt;br /&gt;
&lt;br /&gt;
So blank lines still use 0.2 seconds, and can be used as a brief execution delay. (lines with only a comment are effectively the same as a blank line.)&lt;br /&gt;
&lt;br /&gt;
=== Related pages ===&lt;br /&gt;
&lt;br /&gt;
* [[Data networks]]&lt;br /&gt;
* [[Devices and machines]]&lt;br /&gt;
* [[Device fields]]&lt;br /&gt;
* [[Universal tool|Universal tool]]&lt;br /&gt;
* [[YOLOL Chip]]&lt;br /&gt;
* [[Memory chip]]&lt;br /&gt;
&lt;br /&gt;
== Command references ==&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
The programming language is fully case '''insensitive'''.&amp;lt;br&amp;gt;&lt;br /&gt;
This means that the following two example scripts function identically to each other:&lt;br /&gt;
&lt;br /&gt;
 if '''ButtonState''' == 1 then '''DoorState''' = 1 end&lt;br /&gt;
&lt;br /&gt;
 IF '''buttonstate''' == 1 THEN '''doorstate''' = 1 END&lt;br /&gt;
* Both scripts set the '''doorstate''' into 1, if '''buttonstate''' value is 1.&lt;br /&gt;
* The characters in the programming language can be written in either lowercase or uppercase letters.&lt;br /&gt;
** They are still parsed as case insensitive.&lt;br /&gt;
** This way it's possible to have the code look a bit more organized.&lt;br /&gt;
&lt;br /&gt;
=== Variables ===&lt;br /&gt;
&lt;br /&gt;
* The variables in the programming language are weakly typed (don't enforce type validity), and support two data types: '''Fixed-point decimals''' (up to 0.001 precision) and '''Strings'''.&lt;br /&gt;
** To put it simply, the variables can either be introduced as strings or numbers, ignoring the earlier variable type if the previous type is not identical, without causing an error.&lt;br /&gt;
* Each variable is always of a single type, though it will be implicitly converted when required.&lt;br /&gt;
* The default value of an uninitialized variable is 0, and null values are not supported.&lt;br /&gt;
* True/False are numerical values of non-0 and 0.&lt;br /&gt;
** True =! 0&lt;br /&gt;
** False == 0&lt;br /&gt;
&lt;br /&gt;
Assigning a value to a variable always converts the variable to the newly assigned value's type.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
 ultimateAutopilot= 128.643&lt;br /&gt;
* This results in the variable '''ultimateAutopilot''' containing a numeric value of 128.643&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ultimateAutopilot= &amp;quot;Error prone&amp;quot;&lt;br /&gt;
* This results in the variable '''ultimateAutopilot''' to be a string variable &amp;quot;''Error prone''&amp;quot;, and numeric value of 128.643 is removed.&lt;br /&gt;
&lt;br /&gt;
==== Decimals ====&lt;br /&gt;
&lt;br /&gt;
Numeric values in the programming language are 64-bit fixed-point decimals.&amp;lt;br&amp;gt;&lt;br /&gt;
The variables hold decimal numbers up to three decimal accuracy.&amp;lt;br&amp;gt;&lt;br /&gt;
As a result, the maximum value range (even during operations) is [-9223372036854775.808, 9223372036854775.807]&lt;br /&gt;
&lt;br /&gt;
 pieVariable= 3.142&lt;br /&gt;
* The above script assigns a numeric value of 3.142 to the variable '''pieVariable'''.&lt;br /&gt;
** Supplying more precise values than the variables can store works, but doesn't affect the end result.&lt;br /&gt;
&lt;br /&gt;
 notPieVariable= 0.5772156649&lt;br /&gt;
* The above script attempts to assign a numeric value of 0.5772156649 to the variable '''notPieVariable'''.&lt;br /&gt;
* The end result however is notPieVariable == 0.577&lt;br /&gt;
** Here, the more precise values are cut, leaving only three decimals behind.&lt;br /&gt;
&lt;br /&gt;
==== Strings ====&lt;br /&gt;
&lt;br /&gt;
To specify a string literal in the programming language, the desired string value must be surrounded with double quotation marks.&lt;br /&gt;
&lt;br /&gt;
 badRobots= &amp;quot;saltberia&amp;quot; &lt;br /&gt;
* This script assigns the string value of &amp;quot;''saltberia''&amp;quot; to the variable '''badRobots'''.&lt;br /&gt;
&lt;br /&gt;
==== Device fields / External variables ====&lt;br /&gt;
&lt;br /&gt;
External variables and device fields can be used in the programming language with the following syntax:&amp;lt;br&amp;gt;&lt;br /&gt;
* ''':variableName'''&lt;br /&gt;
**'''variableName''' being the configured device field id.&lt;br /&gt;
A colon prefix  ''':'''  is used to tell the script that an externable variable is being accessed, instead of using one that may or may not be declared or used in the script.&amp;lt;br&amp;gt;&lt;br /&gt;
A programmable [[YOLOL Chip|chip]] that is connected to a [[Devices and machines|device]] has access to all the devices in the same [[Data networks|network]].&amp;lt;br&amp;gt;&lt;br /&gt;
It can then modify and listen to any device fields it has access to.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 if ''':ButtonState''' == 1 then ''':DoorState''' = 1 end&lt;br /&gt;
* The script above will send the value of 1 to any devices listening to the device field '''DoorState''' if the value of '''ButtonState''' is 1 in the data network.&lt;br /&gt;
&lt;br /&gt;
== Operators and commands ==&lt;br /&gt;
&lt;br /&gt;
Note that the available operators may be limited by the type of the programmable [[YOLOL Chip|chip]].&amp;lt;br&amp;gt;&lt;br /&gt;
Basic chips have a limited selection of functions while more advanced ones can perform more complex operations natively.&lt;br /&gt;
&lt;br /&gt;
=== Basic arithmetic and assignment operators ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Operation || Numeric operation || String operation&lt;br /&gt;
|-&lt;br /&gt;
| A + B || Addition || String A is appended by String B.&lt;br /&gt;
|-&lt;br /&gt;
| A - B || Subtraction || The last appearance of String B in String A is removed from String A.&lt;br /&gt;
|-&lt;br /&gt;
| A * B || Multiplication || Runtime error. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A / B || Division || Runtime error. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A ++ || PostIncrement (A=A+1) || Appends a space to String A. Evaluates to the original value.&lt;br /&gt;
|-&lt;br /&gt;
| A -- || PostDecrement (A=A-1) || Removes the last character of the string. Results in runtime error when trying to remove &amp;quot;&amp;quot;. Evaluates to the original value.&lt;br /&gt;
|-&lt;br /&gt;
| ++ A  || PreIncrement (A=A+1) || Appends a space to String A. Evaluates to the modified value.&lt;br /&gt;
|-&lt;br /&gt;
| -- A || PreDecrement (A=A-1) || Removes the last character of the string. Results in runtime error when trying to remove &amp;quot;&amp;quot;. Evaluates to the modified value.&lt;br /&gt;
|-&lt;br /&gt;
| A = B || Assignment (Variable A is set to the value of variable B) || Assignment&lt;br /&gt;
|-&lt;br /&gt;
| A += B || Addition-assignment (A=A+B) || A is assigned the value of string-operation A+B&lt;br /&gt;
|-&lt;br /&gt;
| A -= B || Subtraction-assignment (A=A-B) || A is assigned the value of string-operation A-B&lt;br /&gt;
|-&lt;br /&gt;
| A *= B || Multiplication-assignment (A=A*B) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A /= B || Division-assignment (A=A/B) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A %= B || Modulo-assignment (A=A%B) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A ^ B || Exponentiation || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A % B || Modulo || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| ABS A || Modulus (absol value) (A=A if A&amp;gt;=0, else A=-A) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A! || Factorial || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| SQRT A || Square root of A || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| SIN A || Sine of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| COS A || Cosine of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| TAN A || Tangent of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| ASIN A || Inverse sine of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| ACOS A || Inverse cosine of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| ATAN A || Inverse tangent of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Logical operators ===&lt;br /&gt;
&lt;br /&gt;
Logical operators are checks that identify if the statement is true or false.&amp;lt;br&amp;gt;&lt;br /&gt;
All logical operations return either '''&amp;quot;0 for False&amp;quot;''' or '''&amp;quot;1 for True&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Operation || Numeric operation || String operation&lt;br /&gt;
|-&lt;br /&gt;
| A &amp;lt; B || Less than || returns 1 if String A is first in alphabetical order, returns 0 if not.&lt;br /&gt;
|-&lt;br /&gt;
| A &amp;gt; B || Greater than || returns 0 if String A is first in alphabetical order, returns 1 if not.&lt;br /&gt;
|-&lt;br /&gt;
| A &amp;lt;= B ||Less than or equal to || returns 1 if String A is first in alphabetical order or identical to String B, returns 0 if not.&lt;br /&gt;
|-&lt;br /&gt;
| A &amp;gt;= B || Greater than or equal to || returns 0 if String A is first in alphabetical order or identical to String B, returns 1 if not.&lt;br /&gt;
|-&lt;br /&gt;
| A != B || Not equal to || returns 1 if String A is not equal to String B, 0 if it is.&lt;br /&gt;
|-&lt;br /&gt;
| A == B || Equal to || returns 1 if String A is equal to String B, 0 if not.&lt;br /&gt;
|}&lt;br /&gt;
It's also possible to use '''not''', '''and''' and '''or''' keywords to set up more complicated conditions than simple variable value checks.&lt;br /&gt;
&lt;br /&gt;
=== Mixing variable types in operations ===&lt;br /&gt;
&lt;br /&gt;
Mixing variable types in an operation handles the operation using all parameters as ''strings''.&lt;br /&gt;
&lt;br /&gt;
 previouslyNumber= &amp;quot;10&amp;quot; + 15&lt;br /&gt;
* The above script results in '''previouslyNumber''' containing the string value &amp;quot;1015&amp;quot;.&lt;br /&gt;
** Note that the involved parameters themselves don't change types, their values are just cast as strings for the purpose of the operation:&lt;br /&gt;
 &lt;br /&gt;
 purelyNumber = 15&lt;br /&gt;
 purelyString = &amp;quot;10&amp;quot; + purelyNumber&lt;br /&gt;
* When this script has executed, '''purelyString''' contains the string value of &amp;quot;1015&amp;quot;, while '''purelyNumber''' still contains the numeric value of 15.&lt;br /&gt;
&lt;br /&gt;
=== Goto ===&lt;br /&gt;
&lt;br /&gt;
Goto syntax is used when the normal script reading order from 1-&amp;gt;20 is not desired, or needs to be altered.&lt;br /&gt;
&lt;br /&gt;
Goto is used with the following syntax:&lt;br /&gt;
*'''goto lineNumber'''&lt;br /&gt;
** lineNumber is the line which this command will take the script execution.&amp;lt;br&amp;gt;&lt;br /&gt;
** Any remaining script that is on the same line after the goto-command will not be executed.&lt;br /&gt;
*** using if statements before goto ignores goto syntax, assuming the if-statement is false&lt;br /&gt;
** Multiple goto commands can be added on the same line using conditionals, as '''False''' goto commands are skipped.&lt;br /&gt;
** Numeric values outside the [1,20] range are clamped to this range.&lt;br /&gt;
** Non-integer values are floored.&lt;br /&gt;
** String values will result in a Runtime Error.&lt;br /&gt;
&lt;br /&gt;
 if variable == 5 then '''goto 4''' end '''goto 6'''&lt;br /&gt;
&lt;br /&gt;
The script above will go to line number 4, if '''variable''' has a value of 5.&amp;lt;br&amp;gt;&lt;br /&gt;
Otherwise it will go to line number 6.&lt;br /&gt;
&lt;br /&gt;
=== If-else conditional ===&lt;br /&gt;
&lt;br /&gt;
If-else statements are used to branch out the script into different paths.&amp;lt;br&amp;gt;&lt;br /&gt;
They use the following syntax:&lt;br /&gt;
* '''if ''condition'' then ''statement'' else ''statement'' end'''&lt;br /&gt;
** Condition is a statement that results in a numeric value (where 0 is parsed as False, anything else as True), and statements are pieces of script that are run.&lt;br /&gt;
** All If-else conditional stations must have '''end''' syntax written after statement is complete.&lt;br /&gt;
&lt;br /&gt;
If can be used to branch script execution into two possible outcomes temporarily based on variable value(s).&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example:'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''if''' variable != 2 '''then''' endResult = 3 '''else''' endResult = 4 '''end'''&lt;br /&gt;
&lt;br /&gt;
* This script sets the value of '''endResult''' to 3 if '''variable''' does not have the value of 2.&lt;br /&gt;
* If '''variable''''s value is 2, '''endResult''' is set to the value of 4.&lt;br /&gt;
&lt;br /&gt;
Note that the else statement -part can be left out if not needed.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example:'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''if''' variable != 2 '''then''' endResult = 3 '''end'''&lt;br /&gt;
*This script only sets the value of 3 to '''endResult''' if '''variable''' does not have a value of 2, and doesn't do anything else.&lt;br /&gt;
&lt;br /&gt;
==== Nesting if statements ====&lt;br /&gt;
&lt;br /&gt;
It is possible to place if-conditionals inside the true/false statement blocks to achieve further branching of execution.&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
 '''if''' variable == 0 '''then''' endResult = 1 '''else''' '''if''' variable == 1 '''then''' endResult = 2 '''end end''' &lt;br /&gt;
* This script sets '''endResult''' to 1 if '''variable''' equals 0.&lt;br /&gt;
* If '''variable''' doesn't equal 0, but it equals 1, '''endResult''' is set to 2.&lt;br /&gt;
&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
 '''if''' variable == 0 '''then''' '''if''' endResult == 1 '''then''' endResult = 2 '''end''' '''else''' endResult = 1 '''end'''&lt;br /&gt;
* This script sets '''endResult''' to 2 if '''variable''' has a value of 0, and '''endResult''' equals to 1.&lt;br /&gt;
* Otherwise it sets '''endResult''' to 1.&lt;br /&gt;
&lt;br /&gt;
Note that it may be easier to plan and debug the script flow by formatting the script containing nested if-statements to a neater indented form.&amp;lt;br&amp;gt;&lt;br /&gt;
Also note that writing the script like this won't work on the [[YOLOL Chip|chip]], but doing this can still be useful when debugging scripts.&lt;br /&gt;
&lt;br /&gt;
This is the second nested example formatted:&lt;br /&gt;
&lt;br /&gt;
 '''if''' variable == 0 '''then'''&lt;br /&gt;
     '''if''' otherVariable == 1 '''then'''&lt;br /&gt;
         otherVariable = 2&lt;br /&gt;
     '''end'''&lt;br /&gt;
 '''else'''&lt;br /&gt;
     otherVariable = 1&lt;br /&gt;
 '''end'''&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
Comments are useful when writing code that is used by a lot of programmers.&amp;lt;br&amp;gt;&lt;br /&gt;
Note that comments also use up space from the pre-determined 70 character line limit and are not excluded from it.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Commenting is used with the following syntax:&lt;br /&gt;
*// '''text'''&lt;br /&gt;
** Text can be any single-line set of characters.&lt;br /&gt;
&lt;br /&gt;
 '''//''' This is a comment. It will explain how other lines of script work.&lt;br /&gt;
* An example of a possible comment syntax&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
&lt;br /&gt;
There are two types of errors that can happen with the programming language.&lt;br /&gt;
# Syntax errors&lt;br /&gt;
# Runtime errors&lt;br /&gt;
&lt;br /&gt;
* Syntax errors come from invalid and unparseable script and will result in the whole line not being executed.&lt;br /&gt;
* Runtime errors are only catchable while the script is being executed. They result in the execution of the line being interrupted, but any effects until the error will remain.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
	<entry>
		<id>https://wiki.starbasegame.com/index.php?title=YOLOL&amp;diff=6606</id>
		<title>YOLOL</title>
		<link rel="alternate" type="text/html" href="https://wiki.starbasegame.com/index.php?title=YOLOL&amp;diff=6606"/>
		<updated>2019-12-02T13:56:46Z</updated>

		<summary type="html">&lt;p&gt;Quevin: Grammar edit: &amp;quot;paused execution&amp;quot; =&amp;gt; &amp;quot;execution has been paused&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Otherlang2&lt;br /&gt;
|ru=YOLOL:ru&lt;br /&gt;
}}&lt;br /&gt;
== Summary ==&lt;br /&gt;
YOLOL is a programming language used to control and manage electrical [[Devices and machines|devices]].&amp;lt;br&amp;gt;&lt;br /&gt;
The code is written on lines in [[YOLOL Chip|YOLOL chips]] which are then inserted into [[Chip socket|chip sockets]], that read and relay their messages.&amp;lt;br&amp;gt;&lt;br /&gt;
The programming language enables the programming and controlling of almost any device within the known universe.&lt;br /&gt;
&lt;br /&gt;
== Basic information ==&lt;br /&gt;
&lt;br /&gt;
=== How it works? ===&lt;br /&gt;
The code is written to and executed from programmable chips, and can be used to both monitor and control electrical [[Devices and machines|devices]] connected to a [[Data networks|data network]].&amp;lt;br&amp;gt;&lt;br /&gt;
Lines of code are executed in sequence from top to bottom, repeating the cycle of the chip after the last line has been executed, unless the script includes programmed instructions for specific line changes or stopping the execution completely.&lt;br /&gt;
&lt;br /&gt;
To put it simply:&lt;br /&gt;
&lt;br /&gt;
# Code execution starts from line 1&lt;br /&gt;
# After reading line 1, it proceeds to the next line based on the chip's time interval&lt;br /&gt;
# The process is then repeated for the line 2, 3, 4... etc.&lt;br /&gt;
# The chip will begin executing line 1 again after the last line has been executed (unless the last line contains a goto statement or execution has been paused)&lt;br /&gt;
&lt;br /&gt;
So blank lines still use 0.2 seconds, and can be used as a brief execution delay. (lines with only a comment are effectively the same as a blank line.)&lt;br /&gt;
&lt;br /&gt;
=== Related pages ===&lt;br /&gt;
&lt;br /&gt;
* [[Data networks]]&lt;br /&gt;
* [[Devices and machines]]&lt;br /&gt;
* [[Universal tool|Universal tool]]&lt;br /&gt;
* [[YOLOL Chip|Chip]]&lt;br /&gt;
&lt;br /&gt;
== Command references ==&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
The programming language is fully case '''insensitive'''.&amp;lt;br&amp;gt;&lt;br /&gt;
This means that the following two example scripts function identically to each other:&lt;br /&gt;
&lt;br /&gt;
 if '''ButtonState''' == 1 then '''DoorState''' = 1 end&lt;br /&gt;
&lt;br /&gt;
 IF '''buttonstate''' == 1 THEN '''doorstate''' = 1 END&lt;br /&gt;
* Both scripts set the '''doorstate''' into 1, if '''buttonstate''' value is 1.&lt;br /&gt;
* The characters in the programming language can be written in either lowercase or uppercase letters.&lt;br /&gt;
** They are still parsed as case insensitive.&lt;br /&gt;
** This way it's possible to have the code look a bit more organized.&lt;br /&gt;
&lt;br /&gt;
=== Variables ===&lt;br /&gt;
&lt;br /&gt;
* The variables in the programming language are weakly typed (don't enforce type validity), and support two data types: '''Fixed-point decimals''' (up to 0.001 precision) and '''Strings'''.&lt;br /&gt;
** To put it simply, the variables can either be introduced as strings or numbers, ignoring the earlier variable type if the previous type is not identical, without causing an error.&lt;br /&gt;
* Each variable is always of a single type, though it will be implicitly converted when required.&lt;br /&gt;
* The default value of an uninitialized variable is 0, and null values are not supported.&lt;br /&gt;
* True/False are numerical values of non-0 and 0.&lt;br /&gt;
** True =! 0&lt;br /&gt;
** False == 0&lt;br /&gt;
&lt;br /&gt;
Assigning a value to a variable always converts the variable to the newly assigned value's type.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
 ultimateAutopilot= 128.643&lt;br /&gt;
* This results in the variable '''ultimateAutopilot''' containing a numeric value of 128.643&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ultimateAutopilot= &amp;quot;Error prone&amp;quot;&lt;br /&gt;
* This results in the variable '''ultimateAutopilot''' to be a string variable &amp;quot;''Error prone''&amp;quot;, and numeric value of 128.643 is removed.&lt;br /&gt;
&lt;br /&gt;
==== Decimals ====&lt;br /&gt;
&lt;br /&gt;
Numeric values in the programming language are 64-bit fixed-point decimals.&amp;lt;br&amp;gt;&lt;br /&gt;
The variables hold decimal numbers up to three decimal accuracy.&amp;lt;br&amp;gt;&lt;br /&gt;
As a result, the maximum value range (even during operations) is [-9223372036854775.808, 9223372036854775.807]&lt;br /&gt;
&lt;br /&gt;
 pieVariable= 3.142&lt;br /&gt;
* The above script assigns a numeric value of 3.142 to the variable '''pieVariable'''.&lt;br /&gt;
** Supplying more precise values than the variables can store works, but doesn't affect the end result.&lt;br /&gt;
&lt;br /&gt;
 notPieVariable= 0.5772156649&lt;br /&gt;
* The above script attempts to assign a numeric value of 0.5772156649 to the variable '''notPieVariable'''.&lt;br /&gt;
* The end result however is notPieVariable == 0.577&lt;br /&gt;
** Here, the more precise values are cut, leaving only three decimals behind.&lt;br /&gt;
&lt;br /&gt;
==== Strings ====&lt;br /&gt;
&lt;br /&gt;
To specify a string literal in the programming language, the desired string value must be surrounded with double quotation marks.&lt;br /&gt;
&lt;br /&gt;
 badRobots= &amp;quot;saltberia&amp;quot; &lt;br /&gt;
* This script assigns the string value of &amp;quot;''saltberia''&amp;quot; to the variable '''badRobots'''.&lt;br /&gt;
&lt;br /&gt;
==== Device fields / External variables ====&lt;br /&gt;
&lt;br /&gt;
External variables and device fields can be used in the programming language with the following syntax:&amp;lt;br&amp;gt;&lt;br /&gt;
* ''':variableName'''&lt;br /&gt;
**'''variableName''' being the configured device field id.&lt;br /&gt;
A colon prefix  ''':'''  is used to tell the script that an externable variable is being accessed, instead of using one that may or may not be declared or used in the script.&amp;lt;br&amp;gt;&lt;br /&gt;
A programmable [[YOLOL Chip|chip]] that is connected to a [[Devices and machines|device]] has access to all the devices in the same [[Data networks|network]].&amp;lt;br&amp;gt;&lt;br /&gt;
It can then modify and listen to any device fields it has access to.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 if ''':ButtonState''' == 1 then ''':DoorState''' = 1 end&lt;br /&gt;
* The script above will send the value of 1 to any devices listening to the device field '''DoorState''' if the value of '''ButtonState''' is 1 in the data network.&lt;br /&gt;
&lt;br /&gt;
== Operators and commands ==&lt;br /&gt;
&lt;br /&gt;
Note that the available operators may be limited by the type of the programmable [[YOLOL Chip|chip]].&amp;lt;br&amp;gt;&lt;br /&gt;
Basic chips have a limited selection of functions while more advanced ones can perform more complex operations natively.&lt;br /&gt;
&lt;br /&gt;
=== Basic arithmetic and assignment operators ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Operation || Numeric operation || String operation&lt;br /&gt;
|-&lt;br /&gt;
| A + B || Addition || String A is appended by String B.&lt;br /&gt;
|-&lt;br /&gt;
| A - B || Subtraction || The last appearance of String B in String A is removed from String A.&lt;br /&gt;
|-&lt;br /&gt;
| A * B || Multiplication || Runtime error. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A / B || Division || Runtime error. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A ++ || PostIncrement (A=A+1) || Appends a space to String A. Evaluates to the original value.&lt;br /&gt;
|-&lt;br /&gt;
| A -- || PostDecrement (A=A-1) || Removes the last character of the string. Results in runtime error when trying to remove &amp;quot;&amp;quot;. Evaluates to the original value.&lt;br /&gt;
|-&lt;br /&gt;
| ++ A  || PreIncrement (A=A+1) || Appends a space to String A. Evaluates to the modified value.&lt;br /&gt;
|-&lt;br /&gt;
| -- A || PreDecrement (A=A-1) || Removes the last character of the string. Results in runtime error when trying to remove &amp;quot;&amp;quot;. Evaluates to the modified value.&lt;br /&gt;
|-&lt;br /&gt;
| A = B || Assignment (Variable A is set to the value of variable B) || Assignment&lt;br /&gt;
|-&lt;br /&gt;
| A += B || Addition-assignment (A=A+B) || A is assigned the value of string-operation A+B&lt;br /&gt;
|-&lt;br /&gt;
| A -= B || Subtraction-assignment (A=A-B) || A is assigned the value of string-operation A-B&lt;br /&gt;
|-&lt;br /&gt;
| A *= B || Multiplication-assignment (A=A*B) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A /= B || Division-assignment (A=A/B) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A %= B || Modulo-assignment (A=A%B) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A ^ B || Exponentiation || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A % B || Modulo || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| ABS A || Modulus (absol value) (A=A if A&amp;gt;=0, else A=-A) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| A! || Factorial || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| SQRT A || Square root of A || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| SIN A || Sine of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| COS A || Cosine of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| TAN A || Tangent of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| ASIN A || Inverse sine of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| ACOS A || Inverse cosine of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|-&lt;br /&gt;
| ATAN A || Inverse tangent of A (degrees) || Runtime error for string variables. The rest of the line is skipped.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Logical operators ===&lt;br /&gt;
&lt;br /&gt;
Logical operators are checks that identify if the statement is true or false.&amp;lt;br&amp;gt;&lt;br /&gt;
All logical operations return either '''&amp;quot;0 for False&amp;quot;''' or '''&amp;quot;1 for True&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Operation || Numeric operation || String operation&lt;br /&gt;
|-&lt;br /&gt;
| A &amp;lt; B || Less than || returns 1 if String A is first in alphabetical order, returns 0 if not.&lt;br /&gt;
|-&lt;br /&gt;
| A &amp;gt; B || Greater than || returns 0 if String A is first in alphabetical order, returns 1 if not.&lt;br /&gt;
|-&lt;br /&gt;
| A &amp;lt;= B ||Less than or equal to || returns 1 if String A is first in alphabetical order or identical to String B, returns 0 if not.&lt;br /&gt;
|-&lt;br /&gt;
| A &amp;gt;= B || Greater than or equal to || returns 0 if String A is first in alphabetical order or identical to String B, returns 1 if not.&lt;br /&gt;
|-&lt;br /&gt;
| A != B || Not equal to || returns 1 if String A is not equal to String B, 0 if it is.&lt;br /&gt;
|-&lt;br /&gt;
| A == B || Equal to || returns 1 if String A is equal to String B, 0 if not.&lt;br /&gt;
|}&lt;br /&gt;
It's also possible to use '''not''', '''and''' and '''or''' keywords to set up more complicated conditions than simple variable value checks.&lt;br /&gt;
&lt;br /&gt;
=== Mixing variable types in operations ===&lt;br /&gt;
&lt;br /&gt;
Mixing variable types in an operation handles the operation using all parameters as ''strings''.&lt;br /&gt;
&lt;br /&gt;
 previouslyNumber= &amp;quot;10&amp;quot; + 15&lt;br /&gt;
* The above script results in '''previouslyNumber''' containing the string value &amp;quot;1015&amp;quot;.&lt;br /&gt;
** Note that the involved parameters themselves don't change types, their values are just cast as strings for the purpose of the operation:&lt;br /&gt;
 &lt;br /&gt;
 purelyNumber = 15&lt;br /&gt;
 purelyString = &amp;quot;10&amp;quot; + purelyNumber&lt;br /&gt;
* When this script has executed, '''purelyString''' contains the string value of &amp;quot;1015&amp;quot;, while '''purelyNumber''' still contains the numeric value of 15.&lt;br /&gt;
&lt;br /&gt;
=== Goto ===&lt;br /&gt;
&lt;br /&gt;
Goto syntax is used when the normal script reading order from 1-&amp;gt;20 is not desired, or needs to be altered.&lt;br /&gt;
&lt;br /&gt;
Goto is used with the following syntax:&lt;br /&gt;
*'''goto lineNumber'''&lt;br /&gt;
** lineNumber is the line which the command will take the script execution.&amp;lt;br&amp;gt;&lt;br /&gt;
** Any remaining script that is on the same line after the goto-command will not be executed.&lt;br /&gt;
*** using if statements before goto ignores goto syntax, assuming the if-statement is false&lt;br /&gt;
** Multiple goto commands can be added on the same line using conditionals, as '''False''' goto commands are skipped.&lt;br /&gt;
&lt;br /&gt;
 if variable == 5 then '''goto 4''' end '''goto 6'''&lt;br /&gt;
&lt;br /&gt;
The script above will go to line number 4, if '''variable''' has a value of 5.&amp;lt;br&amp;gt;&lt;br /&gt;
Otherwise it will go to line number 6.&lt;br /&gt;
&lt;br /&gt;
=== If-else conditional ===&lt;br /&gt;
&lt;br /&gt;
If-else statements are used to branch out the script into different paths.&amp;lt;br&amp;gt;&lt;br /&gt;
They use the following syntax:&lt;br /&gt;
* '''if ''condition'' then ''statement'' else ''statement'' end'''&lt;br /&gt;
** Condition is a statement that results in a numeric value (where 0 is parsed as False, anything else as True), and statements are pieces of script that are run.&lt;br /&gt;
** All If-else conditional stations must have '''end''' syntax written after statement is complete.&lt;br /&gt;
&lt;br /&gt;
If can be used to branch script execution into two possible outcomes temporarily based on variable value(s).&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example:'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''if''' variable != 2 '''then''' endResult = 3 '''else''' endResult = 4 '''end'''&lt;br /&gt;
&lt;br /&gt;
* This script sets the value of '''endResult''' to 3 if '''variable''' does not have the value of 2.&lt;br /&gt;
* If '''variable''''s value is 2, '''endResult''' is set to the value of 4.&lt;br /&gt;
&lt;br /&gt;
Note that the else statement -part can be left out if not needed.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example:'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''if''' variable != 2 '''then''' endResult = 3 '''end'''&lt;br /&gt;
*This script only sets the value of 3 to '''endResult''' if '''variable''' does not have a value of 2, and doesn't do anything else.&lt;br /&gt;
&lt;br /&gt;
==== Nesting if statements ====&lt;br /&gt;
&lt;br /&gt;
It is possible to place if-conditionals inside the true/false statement blocks to achieve further branching of execution.&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
 '''if''' variable == 0 '''then''' endResult = 1 '''else''' '''if''' variable == 1 '''then''' endResult = 2 '''end end''' &lt;br /&gt;
* This script sets '''endResult''' to 1 if '''variable''' equals 0.&lt;br /&gt;
* If '''variable''' doesn't equal 0, but it equals 1, '''endResult''' is set to 2.&lt;br /&gt;
&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
 '''if''' variable == 0 '''then''' '''if''' endResult == 1 '''then''' endResult = 2 '''end''' '''else''' endResult = 1 '''end'''&lt;br /&gt;
* This script sets '''endResult''' to 2 if '''variable''' has a value of 0, and '''endResult''' equals to 1.&lt;br /&gt;
* Otherwise it sets '''endResult''' to 1.&lt;br /&gt;
&lt;br /&gt;
Note that it may be easier to plan and debug the script flow by formatting the script containing nested if-statements to a neater indented form.&amp;lt;br&amp;gt;&lt;br /&gt;
Also note that writing the script like this won't work on the [[YOLOL Chip|chip]], but doing this can still be useful when debugging scripts.&lt;br /&gt;
&lt;br /&gt;
This is the second nested example formatted:&lt;br /&gt;
&lt;br /&gt;
 '''if''' variable == 0 '''then'''&lt;br /&gt;
     '''if''' otherVariable == 1 '''then'''&lt;br /&gt;
         otherVariable = 2&lt;br /&gt;
     '''end'''&lt;br /&gt;
 '''else'''&lt;br /&gt;
     otherVariable = 1&lt;br /&gt;
 '''end'''&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
Comments are useful when writing code that is used by a lot of programmers.&amp;lt;br&amp;gt;&lt;br /&gt;
Note that comments also use up space from the pre-determined 70 character line limit and are not excluded from it.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Commenting is used with the following syntax:&lt;br /&gt;
*// '''text'''&lt;br /&gt;
** Text can be any single-line set of characters.&lt;br /&gt;
&lt;br /&gt;
 '''//''' This is a comment. It will explain how other lines of script work.&lt;br /&gt;
* An example of a possible comment syntax&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
&lt;br /&gt;
There are two types of errors that can happen with the programming language.&lt;br /&gt;
# Syntax errors&lt;br /&gt;
# Runtime errors&lt;br /&gt;
&lt;br /&gt;
* Syntax errors come from invalid and unparseable script and will result in the whole line not being executed.&lt;br /&gt;
* Runtime errors are only catchable while the script is being executed. They result in the execution of the line being interrupted, but any effects until the error will remain.&lt;br /&gt;
&lt;br /&gt;
[[Category:Networks|YOLOL]]&lt;/div&gt;</summary>
		<author><name>Quevin</name></author>
	</entry>
</feed>