Actions

Difference between revisions of "Autolathe"

From Unofficial Stationeers Wiki

(Update to use the new Structurebox syntax)
(Update to use the new Data Network templates and fix collapsing divs)
Line 2: Line 2:
 
<translate>
 
<translate>
 
<!--T:1-->
 
<!--T:1-->
[[Category:Machines]][[Category:Data Network]]
+
[[Category:Machines]]
 
{{Itembox
 
{{Itembox
 
  | name        = Kit (Autolathe)
 
  | name        = Kit (Autolathe)
Line 24: Line 24:
 
'''Warning: Machine will continue to craft until button is pushed again, machine is turned off or loses power.'''
 
'''Warning: Machine will continue to craft until button is pushed again, machine is turned off or loses power.'''
 
== Recipes == <!--T:2-->
 
== Recipes == <!--T:2-->
'''Used to create:'''
+
<div class="toccolours mw-collapsible mw-collapsed">
 +
Expand to see the recipes.
 +
<div class="mw-collapsible-content">
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 143: Line 145:
 
| {{Icon|wall light|1}}
 
| {{Icon|wall light|1}}
 
|}
 
|}
 +
</div>
 +
</div>
  
=== Data Network Properties ===
 
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
These are all [[:Category:Data Network|Data Network]] properties of this device.
+
{{Data Network Header}}
 +
Expand to see the properties.
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
  
=== Data Parameters ===
+
{{Data Parameters}}
These are all parameters, that can be written to with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]]. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 164: Line 167:
 
|}
 
|}
  
=== Data Outputs ===
+
{{Data Outputs}}
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]]. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 194: Line 196:
 
| [[RecipeHash]] || Integer || Set machine to recipe <small>Number is calculated using hash on prefabname</small>
 
| [[RecipeHash]] || Integer || Set machine to recipe <small>Number is calculated using hash on prefabname</small>
 
|}
 
|}
 +
</div>
 +
</div>
  
 
== 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.
 
* 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 04:49, 8 July 2018

Other languages:
English • ‎español • ‎русский
Kit (Autolathe)
ItemKitAutolathe.png
Recipe
Created With Autolathe, Fabricator
Cost 20g Iron, 10g Copper, 2g Gold
Autolathe
Autolathe.jpg
Operation
Power Usage 5W + Recipe Usage
Construction
Placed with Kit (Autolathe)
Placed on Small Grid
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Autolathe)


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

Data Network Properties

These are all Data Network properties of this device. Expand to see the properties.

Data Parameters

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


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 or a Slot 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)