Difference between revisions of "Autolathe"
From Unofficial Stationeers Wiki
F1r3w4rr10r (talk | contribs) m (Change RequiredPower output description) |
F1r3w4rr10r (talk | contribs) m (Improve logic descriptions) |
||
Line 150: | Line 150: | ||
| Error || Boolean || Returns whether the Autolathe is flashing an error. (0 when no error, 1 when flashing an error) | | Error || Boolean || Returns whether the Autolathe is flashing an error. (0 when no error, 1 when flashing an error) | ||
|- | |- | ||
− | | Activate || Boolean || Returns whether the Autolathe is | + | | Activate || Boolean || Returns whether the Autolathe is active. (0 is not active, 1 is active) |
|- | |- | ||
− | | Reagents || Integer || Returns the total amount of all contents in the Autolathe in grams. | + | | Reagents || Integer || Returns the total amount of all contents, in the Autolathe, in grams. |
|- | |- | ||
| On || Boolean || Returns whether the Autolathe is on. (0 is off, 1 is on) | | On || Boolean || Returns whether the Autolathe is on. (0 is off, 1 is on) | ||
Line 158: | Line 158: | ||
| ImportQuantity || (Unknown) || (Unknown) | | ImportQuantity || (Unknown) || (Unknown) | ||
|- | |- | ||
− | | ImportSlotOccupant || Boolean || Returns whether there is something in the Autolathe | + | | ImportSlotOccupant || Boolean || Returns whether there is something in the Autolathe import slot. (0 if empty, 1 if there is something) This outputs 1 only briefly, every time something is inserted in the Autolathe. |
|- | |- | ||
| ExportQuantity || Integer || Returns how many items are in the export slot. This will usually only briefly turn 1, shortly before dropping something out of the export slot. | | ExportQuantity || Integer || Returns how many items are in the export slot. This will usually only briefly turn 1, shortly before dropping something out of the export slot. |
Revision as of 11:07, 25 March 2018
Recipe | |
---|---|
Created With | Autolathe, Fabricator |
Cost | 10g Copper, 2g Gold |
Construction | |
---|---|
Placed with | {{{placed_with_item}}} |
Placed on | {{{placed_on_grid}}} |
Description
Used to craft a variety of items. Takes ingots in the left and spits product out of the right. Power button toggles machine power state. Lever will eject materials inside if machine is powered. Arrow buttons select recipe, push the square button in between to craft.
Warning: Machine will continue to craft until button is pushed again, machine is turned off or loses power.
Recipes
Used to create:
Logic Properties
These are all logic properties of this device.
Logic Parameters
These are all parameters, that can be written to with a Logic Writer or a Batch Writer. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.
Parameter Name | Data Type | Description |
---|---|---|
Open | Boolean | Opens the Autolathe, when set to 1. Closes the Autolathe, when set to 0. |
Activate | Boolean | Activates the Autolathe, when set to 1. Deactivates the Autolathe, when set to 0. Note: This can cause a minor bug to occur. (See #Bugs) |
On | Boolean | Turns the Autolathe on, when set to 1. Turns it off, when set to 0. |
Logic Outputs
These are all parameters, that can be read with a Logic Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
Output Name | Data Type | Description |
---|---|---|
Power | Boolean | Returns whether the Autolathe is turned on. (0 is off, 1 is on) (Identical to "On" output. This might be intended to output whether the device is receiving power or not.) |
Open | Boolean | Returns whether the Autolathe is open. (0 is closed, 1 is open) |
Error | Boolean | Returns whether the Autolathe is flashing an error. (0 when no error, 1 when flashing an error) |
Activate | Boolean | Returns whether the Autolathe is active. (0 is not active, 1 is active) |
Reagents | Integer | Returns the total amount of all contents, in the Autolathe, in grams. |
On | Boolean | Returns whether the Autolathe is on. (0 is off, 1 is on) |
ImportQuantity | (Unknown) | (Unknown) |
ImportSlotOccupant | Boolean | Returns whether there is something in the Autolathe import slot. (0 if empty, 1 if there is something) This outputs 1 only briefly, every time something is inserted in the Autolathe. |
ExportQuantity | Integer | Returns how many items are in the export slot. This will usually only briefly turn 1, shortly before dropping something out of the export slot. |
ExportSlotOccupant | Boolean | Returns whether there is something in the Autolathe export slot. This will usually only briefly turn 1, shortly before dropping something out of the export slot. |
RequiredPower | Integer | Returns the current amount of power, required by the Autolathe, in Watts. Note: This will not update when active (See #Bugs). |
Bugs
- Setting the "Activate" parameter to 1, can cause the Autolathe to activate, even when it is empty. Nothing is dropped from the output, once the production is finished in this case and the Autolathe will stop after one production run.
- The "RequiredPower" output only ever outputs 5, when the Autolathe is turned on, 0 otherwise. It does not take into account the raised power required when active.