Guide to circuits: Difference between revisions
Jump to navigation
Jump to search
imported>Supermichael777 (Barebones but its a start) |
imported>Supermichael777 No edit summary |
||
Line 1: | Line 1: | ||
{{Under construction | |||
|reason = This feature is new and requires detailed writeups. | |||
}} | |||
Circuits and devices are a new system for creating programmable objects from predefined modules. Currently unavailable in game | Circuits and devices are a new system for creating programmable objects from predefined modules. Currently unavailable in game | ||
==Terms== | ==Terms== |
Revision as of 17:09, 16 November 2017
Circuits and devices are a new system for creating programmable objects from predefined modules. Currently unavailable in game
Terms
Circuits work with two kinds of signals.
- Pulses: used to coordinate the device and tell circuits to act.
- Data: a value that the circuits store act, with, modify, and transmit as outputs.
- Strings are plain text values.
- Numbers are a numerical value that can have math done on it.
- Booleans are a special Number expecting any number >=1(True) or 0(False)
- Refs are references to specific objects in the world.
I/O
Every circuit has at least one of the following.
- Data input: These take data values that the device preforms functions with. Has a buffer that can store a single value
- Data output: these send values to inputs wired to them, overwriting the buffer.
- Pulse input: these take a pulse and trigger a function on the circuit such as doing math.
- Pulse output: these send out pulses based on some event, such as new data being written to outputs, a button on the device being pressed, or an internal clock ticking.
Tools
The primary method for interacting with devices is through specialized tools.
- Circuit printer: makes all the bits for your cool new toys as well as all the tools
- Wiring tool: allows you to wire and unwire inputs and outputs. Outputs should only be wired to Inputs of a compatible type!
- Debug tool: allows you write Refs, Strings, numbers or the null value to any buffer and send pulses
- Copy tool: Allows you to get a text string used to copy devices.
- Multitool: writes to bools and pulses
- crowbar: lets you open the device shells to modify them