Difference between revisions of "User:TheSmallBlue/Sandbox"

From /tg/station 13 Wiki
Jump to navigation Jump to search
(Created page with "{{Needs revision |reason = WIP :) }} '''Circuits''' are a way to automate different actions extensively and easily! You can make a circuit that opens a door when you say a se...")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Needs revision
+
Drone exploration is a side job for the cargo department. Its main benefit is the fact that you can acquire rare items through it, such as bananium, or even some drugs! (allegedly)
|reason = WIP :)
 
}}
 
  
'''Circuits''' are a way to automate different actions extensively and easily! You can make a circuit that opens a door when you say a secret code to it, or a circuit that follows anyone you want while yelling obscenities at them, or well, anything really!
+
== Getting started ==
Before starting to code with circuits, you'll need a few things:
 
 
 
= Necessary Items =
 
 
 
==[[File:Integrated_circuit.png]] Integrated Circuit ==
 
The integrated circuit is the foundation for all circuits. Your entire build will we based around this little guy. However, it can't work by itself.
 
First and foremost, it requires power, which you can provide to it via a [[File:Powercell.png]]'''Power Cell'''. Once you're sure that the power cell you're gonna use is charged, just {{Leftclick}} '''use it''' on the integrated circuit. If you ever want to change the power cell or take it out for charging, you may take out by using a [[File:Screwdriver tool.png]] '''Screwdriver''' on it.
 
Once you have a powercell you may place your integrated circuit into a [[File:Shell_bot.png]][[Guide_to_Circuits#Shell|Shell]].
 
 
 
==[[File:Shell_bot.png]] Shell ==
 
The shell will make it possible for you to add components to the integrated circuit, it'll let you access the circuitry, and it'll add input options for you to interface with your circuit with.
 
Depending on the shell, you might need to use a [[File:Screwdriver tool.png]] '''Screwdriver''' on it to assemble it before you're able to {{Leftclick}} '''use''' the [[File:Integrated_circuit.png]][[Guide_to_Circuits#Integrated Circuit|Integrated Circuit]] on said shell to add it.
 
If you ever want to remove the Integrated Circuit from it, just use a [[File:Screwdriver tool.png]] '''Screwdriver''' on it.
 
 
 
Different shells have varying size. Size represents how many components you're able to place inside a shell. There are four sizes:
 
* '''Small''': Allows up to 25 components
 
* '''Medium''': Allows up to 50 components
 
* '''Large''': Allows up to 100 components
 
* '''Very large''': Allows up to 500 components
 
 
 
There are many kinds of circuits, each with their special features:
 
(If you're confused by what "output signals" or "entities" are, go down to [[Guide_to_Circuits#Signal types|Signal types]])
 
{| class="wikitable"
 
|-
 
! Name || Description || Size || Required Research || Requires assembly
 
|-
 
| Compact Remote || The simplest handheld shell out there. Has one output signal that activates when you {{Leftclick}} '''use''' it on your hand.|| Small || None || No
 
|-
 
| Bot || The simplest stationary shell. Has one output signal that activates when you {{Leftclick}} '''use''' it. || Large || Advanced Shell Research || Yes
 
|-
 
| Airlock || A circuit-controllable airlock. '''To insert an integrated circuit, {{Leftclick}} Left click while on {{Combat Mode}}'''. Has many input signals that let you open it, close it, bolt it, and unbolt it. Also has output signals that notify you when said actions are performed, plus two output numbers that return 1 or 0 if they're closed/bolted depending on the output.|| Large || Advanced Shell Research || Yes
 
|-
 
| Controller || Another handheld shell like the Compact Remote, but unlike the Compact Remote this one has multiple buttons: {{Leftclick}} Use it on your hand to activate the primary button (Known as "Signal" in the circuit), Alt-{{Leftclick}}Click it on your hand to activate the alternative button, and {{Rightclick}} Right click it on your hand to activate the extra button. || Medium || Advanced Shell Research || No
 
|-
 
| Money Bot || Stationary like the Bot component, but allows taking and dispensing credits! Has output signals that tell you when money has been inserted, how much money has been inserted and how much money the machine has in general.|| Large || Advanced Shell Research || Yes
 
|-
 
| Scanner Gate || Very simple shell that returns any entity that walks through it. || Large || Advanced Shell Research || Yes
 
|-
 
| Scanner || Another handheld shell. {{Leftclick}} Use it on anything to output that thing as an entity. || Large || Advanced Shell Research || No
 
|-
 
| Drone || This little guy is able to move around just like you! Has many signal inputs, with each representing each direction in which it can go.|| Large || Movable Shell Research || Yes
 
|-
 
| Brain-Computer Interface || Circuits, but in your BRAIN! For more information on Brain-Computer Interfaces (Also known as BCI), go [[Guide_to_Circuits#Brain-Computer Interfaces|here]]|| Small || Brain-Computer Interfaces || Yes
 
|-
 
| Server || Basically the same as the Bot shell, but bigger and better || Very large || Server Technology Research || Yes
 
|}
 
 
 
Once you have a shell with an integrated circuit in it, you may access the circuit in it by using a [[File:Multitool.png]] on it, and you may also begin to add [[File:Circuit_component.png]][[Guide_to_Circuits#Components|Components]] to your circuit.
 
 
 
=[[File:Circuit_component.png]] Components =
 
 
 
== Signal types ==
 
Every single thing in circuits revolves around these signal types. They send either information or triggers, which is the bases of circuits. There are 7 types of signals:
 
* '''Signal''': Think of these as a pulse of electricity or a shockwave. They are NOT binary, when you activate one a chain reaction begins throughout the rest. Can easily be turned into numbers but you should only do so for checking whether its 0 or not, since the value itself makes no sense.
 
* '''Number''': Any number your heart desires. Can also be used as a signal component, with any number above 0 activating a signal. You can also connect them to a string input.
 
* '''String''': Any ascii character. If you try to write numbers in this, they will not be classified as numbers, so you can't do arithmetic equations with them.
 
* '''Entity''': If you know DM, this is the equivalent to an atom. Can be any single item or living thing.
 
* '''List''': Any of the above data types, joined into a single element. You access said data types by indexing the list. You cannot make a list of lists, that's what tables are for.
 
* '''Table''': A list of lists, usually used in databases such as the security arrests one. If a component provides a Table, you'll usually be able to see what each entry in said table is by clicking the information icon in the component.
 
* '''Any''': Usually used in inputs, signifies that it can take any of the signal types above.
 
* '''Options''': Changes what the component does, or what inputs it takes in. Can be changed with a string signal type.
 
 
 
== Available Components ==
 
{| class="wikitable"
 
|-
 
! Name || Description || Inputs || Outputs
 
|-
 
| Arithmetic || Basic mathematical operations: Adding, substracting, multiplying, getting the minimum and getting the maximum.||
 
* Options (Options)
 
** Add
 
** Subtract
 
** Multiply
 
** Divide
 
** Minimum
 
** Maximum
 
* A (Number)
 
* B (Number)
 
* C (Number)
 
* D (Number)
 
* Trigger (Trigger)
 
||
 
* Output (Number)
 
* Triggered (Trigger)
 
|-
 
| Clock || When the input is any number above 0, it'll begin sending the output signal every 0.9 seconds. ||
 
* On (Number)
 
||
 
* Signal (Signal)
 
|-
 
| Comparison || Checks two of the inputs to see if they're equal, not equal, lesser than or bigger than the other. ||
 
* Options (Options)
 
** =
 
** !=
 
** >
 
** <
 
** >=
 
** <=
 
* A (Any)
 
* B (Any)
 
* Compare (Signal)
 
|}
 
=[[File:bci.png]]Brain-Computer interfaces=
 
TBA
 
 
 
[[Category: Guides]]
 

Latest revision as of 05:23, 16 June 2022

Drone exploration is a side job for the cargo department. Its main benefit is the fact that you can acquire rare items through it, such as bananium, or even some drugs! (allegedly)

Getting started