Difference between revisions of "Kit (Logic Processor)"
From Unofficial Stationeers Wiki
Evie.codes (talk | contribs) (Added Math Unit and Unary Math Unit) |
Evie.codes (talk | contribs) (Added remaining Logic Processor Units) |
||
Line 49: | Line 49: | ||
* Exp: '''Can someone that understands Math edit this with an explanation please?''' | * Exp: '''Can someone that understands Math edit this with an explanation please?''' | ||
* Round: Rounds the input to the closest whole integer. | * Round: Rounds the input to the closest whole integer. | ||
+ | |||
+ | == Min/Max Unit == | ||
+ | |||
+ | [[File:MinMaxUnit.png|Logic Processor Variation: Min/Max Unit]] | ||
+ | |||
+ | === Connectors === | ||
+ | |||
+ | * Top: Power | ||
+ | * Left: Input 1 | ||
+ | * Right: Input 2 | ||
+ | * Bottom: Output | ||
+ | |||
+ | === Screws (options) === | ||
+ | |||
+ | * Bottom Left: Input 1 Selector. Click with screwdriver to select the "left" operand | ||
+ | * Bottom Right: Input 2 Selector. Click with screwdriver to select the "right" operand | ||
+ | * Bottom Center: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs. | ||
+ | |||
+ | === Available Operations === | ||
+ | |||
+ | * Less: '''Can someone that understands Math edit this with an explanation please?''' | ||
+ | * Greater: '''Can someone that understands Math edit this with an explanation please?''' | ||
+ | |||
+ | == Logic Select Unit == | ||
+ | |||
+ | [[File:SelectUnit.png|Logic Processor Variant: Select Unit]] | ||
+ | |||
+ | === Connectors === | ||
+ | |||
+ | * Top: Power and Selector Input | ||
+ | * Left: Input 1 | ||
+ | * Right: Input 2 | ||
+ | * Bottom: Output | ||
+ | |||
+ | === Screws (options) === | ||
+ | |||
+ | * Top: Selector Input. Use Screwdriver to select what input is used to flip the selection. This should usually be a unit that outputs a true/false value (0 for false, 1 for true), such as a Logic Compare unit. | ||
+ | * Bottom Left: Input 1 Selector. Use Screwdriver to select what value to use when the Selector Input value is 0 (false). | ||
+ | * Bottom Right: Input 2 Selector. Use Screwdriver to select what value to use when the Selector Input value is 1 (true). | ||
+ | |||
+ | == Compare Unit == | ||
+ | |||
+ | [[File:CompareUnit.png|Logic Processor Variant: Compare Unit]] | ||
+ | |||
+ | === Connectors === | ||
+ | |||
+ | * Top: Power | ||
+ | * Left: Input 1 | ||
+ | * Right: Input 2 | ||
+ | * Bottom: Output | ||
+ | |||
+ | === Screws (options) === | ||
+ | |||
+ | * Bottom Left: Input 1 Selector. Click with screwdriver to select the "left" operand | ||
+ | * Bottom Right: Input 2 Selector. Click with screwdriver to select the "right" operand | ||
+ | * Bottom Center: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs. | ||
+ | |||
+ | === Available Operations === | ||
+ | |||
+ | '''Note:''' This is a floating point comparison and is very precise! | ||
+ | |||
+ | * Equals: Outputs 1 (true) if Input 1 is exactly equal to Input 2, otherwise outputs 0 (false). | ||
+ | * NotEquals: Outputs 1 (true) if Input 1 has a different value than Input 2, otherwise outputs 0 (false). | ||
+ | * Greater: Outputs 1 (true) if Input 1 is greater than Input 2, otherwise outputs 0 (false). | ||
+ | * Lesser: Outputs 1 (true) if Input 1 is smaller/lesser than Input 2, otherwise outputs 0 (false). |
Revision as of 13:26, 27 December 2017
The Logic Processor is a multi-purpose Logic Circuit unit that has variants, all related to some mathematical operation.
Math Unit
Connectors
- Top: Power
- Left: Input 1
- Right: Input 2
- Bottom: Output
Screws (options)
- Left: Input 1 Selector. Click with screwdriver to select the "left" operand
- Right: Input 2 Selector. Click with screwdriver to select the "right" operand
- Bottom: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs.
Available Operations
- Add: Adds the two inputs together. (output = i1 + i2)
- Subtract: Substract the right operand from the left one. (output: i1 - i2)
- Multiply: Multiplies the two inputs (output = i1 x i2)
- Divide: Divides the left operand by the right operand (output = i1 / i2)
- Mod: Runs the modulo function such that output = i1 % i2, where the output is the remainder of the division of the left operand by the right operand.
Unary Math Unit
Connectors
- Top: Power
- Left: Input
- Right: Output
Screws (options)
- Left: Input Selector. Click with the Screwdriver to select the input data.
- Right: Operation Selector. Click with Screwdriver to select what operation to run on the Input.
Available Operations
- Ceil: Rounds the input Up to the closest whole integer.
- Floor: Rounds the input Down to the closest whole integer.
- Abs: Ensures the input is Positive and not Negative (converts -1 to 1, -123.456 to 123.456, etc). Has not effect on positive numbers.
- Log: Can someone that understands Math edit this with an explanation please?
- Exp: Can someone that understands Math edit this with an explanation please?
- Round: Rounds the input to the closest whole integer.
Min/Max Unit
Connectors
- Top: Power
- Left: Input 1
- Right: Input 2
- Bottom: Output
Screws (options)
- Bottom Left: Input 1 Selector. Click with screwdriver to select the "left" operand
- Bottom Right: Input 2 Selector. Click with screwdriver to select the "right" operand
- Bottom Center: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs.
Available Operations
- Less: Can someone that understands Math edit this with an explanation please?
- Greater: Can someone that understands Math edit this with an explanation please?
Logic Select Unit
Connectors
- Top: Power and Selector Input
- Left: Input 1
- Right: Input 2
- Bottom: Output
Screws (options)
- Top: Selector Input. Use Screwdriver to select what input is used to flip the selection. This should usually be a unit that outputs a true/false value (0 for false, 1 for true), such as a Logic Compare unit.
- Bottom Left: Input 1 Selector. Use Screwdriver to select what value to use when the Selector Input value is 0 (false).
- Bottom Right: Input 2 Selector. Use Screwdriver to select what value to use when the Selector Input value is 1 (true).
Compare Unit
Connectors
- Top: Power
- Left: Input 1
- Right: Input 2
- Bottom: Output
Screws (options)
- Bottom Left: Input 1 Selector. Click with screwdriver to select the "left" operand
- Bottom Right: Input 2 Selector. Click with screwdriver to select the "right" operand
- Bottom Center: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs.
Available Operations
Note: This is a floating point comparison and is very precise!
- Equals: Outputs 1 (true) if Input 1 is exactly equal to Input 2, otherwise outputs 0 (false).
- NotEquals: Outputs 1 (true) if Input 1 has a different value than Input 2, otherwise outputs 0 (false).
- Greater: Outputs 1 (true) if Input 1 is greater than Input 2, otherwise outputs 0 (false).
- Lesser: Outputs 1 (true) if Input 1 is smaller/lesser than Input 2, otherwise outputs 0 (false).