User:TheSmallBlue/Sandbox

From /tg/station 13 Wiki
Revision as of 18:26, 27 August 2021 by TheSmallBlue (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "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! Before starting to code with circuits, you'll need a few things:

Necessary Items

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 Powercell.pngPower Cell. Once you're sure that the power cell you're gonna use is charged, just Leftclick.pngOrdinary left-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not. 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 Screwdriver tool.png Screwdriver on it. Once you have a powercell you may place your integrated circuit into a Shell bot.pngShell.

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 Screwdriver tool.png Screwdriver on it to assemble it before you're able to Leftclick.pngOrdinary left-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not. use the Integrated circuit.pngIntegrated Circuit on said shell to add it. If you ever want to remove the Integrated Circuit from it, just use a 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 Signal types)

Name Description Size Required Research Requires assembly
Compact Remote The simplest handheld shell out there. Has one output signal that activates when you Leftclick.pngOrdinary left-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not. use it on your hand. Small None No
Bot The simplest stationary shell. Has one output signal that activates when you Leftclick.pngOrdinary left-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not. use it. Large Advanced Shell Research Yes
Airlock A circuit-controllable airlock. To insert an integrated circuit, Leftclick.pngOrdinary left-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not. Left click while on Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. . 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.pngOrdinary left-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not. Use it on your hand to activate the primary button (Known as "Signal" in the circuit), Alt-Leftclick.pngOrdinary left-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not.Click it on your hand to activate the alternative button, and Rightclick.pngOrdinary right-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not. 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.pngOrdinary left-click. It doesn't matter if Combat Mode Combat 32.pngEnable with 4, disable with 1 or toggle with F by default. Left-clicking people with an empty hand will Harm Harm 32.png them if on, or Help Help 32.png them if off. Prevents you from switching places or being pushed when colliding with people. is on or not. 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 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 Multitool.png on it, and you may also begin to add Circuit component.pngComponents to your circuit.

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

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)

Bci.pngBrain-Computer interfaces

TBA