Difference between revisions of "Autolathe"
From Unofficial Stationeers Wiki
F1r3w4rr10r (talk | contribs) m (Change Logic to Data Network) |
|||
Line 122: | Line 122: | ||
|} | |} | ||
− | == Data Network Properties == | + | === Data Network Properties === |
+ | <div class="toccolours mw-collapsible mw-collapsed"> | ||
These are all [[:Category:Data Network|Data Network]] properties of this device. | These are all [[:Category:Data Network|Data Network]] properties of this device. | ||
+ | <div class="mw-collapsible-content"> | ||
=== Data Parameters === | === Data Parameters === | ||
Line 136: | Line 138: | ||
|- | |- | ||
| On || Boolean || Turns the Autolathe on, when set to 1. Turns it off, when set to 0. | | On || Boolean || Turns the Autolathe on, when set to 1. Turns it off, when set to 0. | ||
+ | |- | ||
+ | | [[RecipeHash]] || Integer || Read recipehash of selected recipe <small>Number is calculated using hash on prefabname</small> | ||
|} | |} | ||
Line 165: | Line 169: | ||
|- | |- | ||
| RequiredPower || Integer || Returns the current amount of power, required by the Autolathe, in Watts. '''Note''': This will not update when active (See [[#Bugs|Bugs]]). | | RequiredPower || Integer || Returns the current amount of power, required by the Autolathe, in Watts. '''Note''': This will not update when active (See [[#Bugs|Bugs]]). | ||
+ | |- | ||
+ | | [[RecipeHash]] || Integer || Set machine to recipe <small>Number is calculated using hash on prefabname</small> | ||
|} | |} | ||
Line 170: | Line 176: | ||
* 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. | * 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. (Still present in version 0.1.1234.6112) | * 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. (Still present in version 0.1.1234.6112) | ||
+ | </div> | ||
+ | </div> | ||
</translate> | </translate> |
Revision as of 15:24, 25 June 2018
Recipe | |
---|---|
Created With | Autolathe, Fabricator |
Cost | 10g Copper, 2g Gold |
Construction | |
---|---|
Placed with | {{{placed_with_item}}} |
Placed on | {{{placed_on_grid}}} |
Contents
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:
Data Network Properties
These are all Data Network properties of this device.
Data 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. |
RecipeHash | Integer | Read recipehash of selected recipe Number is calculated using hash on prefabname |
Data 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 and receives power. (0 for no, 1 for yes) |
Open | Boolean | Returns whether the Autolathe is open. (0 for no, 1 for yes) |
Error | Boolean | Returns whether the Autolathe is flashing an error. (0 for no, 1 for yes) |
Activate | Boolean | Returns whether the Autolathe is active. (0 for no, 1 for yes) |
Reagents | Integer | Returns the total amount of all contents, in the Autolathe, in grams. |
On | Boolean | Returns whether the Autolathe is on. (0 for no, 1 for yes) |
ImportQuantity | (Unknown) | (Unknown) |
ImportSlotOccupant | Boolean | Returns whether there is something in the Autolathe import slot. (0 for no, 1 for yes) 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. (0 for no, 1 for yes) 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). |
RecipeHash | Integer | Set machine to recipe Number is calculated using hash on prefabname |
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. (Still present in version 0.1.1234.6112)