Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Autolathe/Data Network: Difference between revisions

From Stationeers Community Wiki
Smodd (talk | contribs)
migrated data into subpage
Added missing parameter
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Data Parameters}}
<noinclude>
{| class="wikitable"
These are all of the [[Autolathe]] parameter in the game.
</noinclude>
<div style="width:auto; overflow:auto;">
=== Input Data (Write) ===
These are all parameters, that can be written to with different means of using logic.
 
{| class="wikitable sortable" style="width:100%;"
! Parameter Name
! class="unsortable" | Data Type
! class="unsortable" | ValueAutolathe
! class="unsortable" | Description
|-
 
! rowspan="2" | On
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| Turns the device off. Also toggles the switch accordingly.
|-
| style="text-align:center;" | 1
| Turns the device on. Also toggles the switch accordingly.
|-
 
! rowspan="2" | Open
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| Stops purging of stored materials in the structure. Also resets the lever accordingly.
|-
|-
! Parameter Name !! Data Type !! Description
| style="text-align:center;" | 1
| Starts purging of stored materials in the structure. Also pulls the lever accordingly. Without powering the structure it won't purge anything.
|-
|-
| Open || Boolean || Opens the Autolathe, when set to 1. Closes the Autolathe, when set to 0.
 
! rowspan="2" | Activate
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| Writing a 0 to the device stops the construction of the chosen item.
|-
|-
| Activate || Boolean || Activates the Autolathe, when set to 1 '''Note''': This can cause a minor bug to occur. (See [[#Bugs|Bugs]]). '''Does not''' deactivates the Autolathe, when set to 0, you have to set On to 0 instead.
| style="text-align:center;" | 1
| Writing a 1 to the device starts the construction of the chosen item. If there are not enough materials inside the structure it will starts to fabricate the item anyway, but won't actually produce the item and won't consume any stored resources.
|-
|-
| On || Boolean || Turns the Autolathe on, when set to 1. Turns it off, when set to 0.  
 
! rowspan="2" | Lock
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| Allows manual interaction with the structure.
|-
|-
| ClearMemory || Boolean trigger || Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
| style="text-align:center;" | 1
| Completely blocks any manual interaction with the structure. This doesn't inculdes interaction by logic.
|-
|-
| [[RecipeHash]] || Integer || Set machine to recipe <small>Number is calculated using hash on prefabname</small>
 
! rowspan="2" | ClearMemory
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| Writing a 0 to a structure doesn't have any impact.
|-
|-
| Lock || Boolean || Does nothing.
| style="text-align:center;" | 1
| Clears the counter memory. Will set itself back to 0 when actioned.
|-
 
! RecipeHash
| Integer
|
| Sets the machine to the recipe corresponding to the written hash number.
|-
 
! colspan="4" | <i>Update 0.2.4677.21598 - Fri 29/12/2023</i> <span class="right">[[Autolathe/Data Network|/Data_Network]]</span>
|}
|}


{{Data Outputs}}
=== Output Data (Read) ===
{| class="wikitable"
These are all parameters, that can be read by using different means of logic.
{| class="wikitable sortable" style="width:100%;"
! Parameter Name
! class="unsortable" | Data Type
! class="unsortable" | Value
! class="unsortable" | Description
|-
|-
! Output Name !! Data Type !! Description
 
! rowspan="2" | On
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| The <b>Autolathe</b> is not powered. This is the same as the physical red powerswitch located on the structure.
|-
|-
| Power || Boolean || Returns whether the Autolathe is turned on and receives power. (0 for no, 1 for yes)
| style="text-align:center;" | 1
| The <b>Autolathe</b> is powered. This is the same as the physical red powerswitch located on the structure.
|-
|-
| Open || Boolean || Returns whether the Autolathe is open. (0 for no, 1 for yes)
 
! rowspan="2" | Open
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| Output of the <b>Autolathe</b> is closed. This is the same as the physical lever located on the structure.
|-
|-
| Error || Boolean || Returns whether the Autolathe is flashing an error. (0 for no, 1 for yes)
| style="text-align:center;" | 1
| Output of the <b>Autolathe</b> is opened. This is the same as the physical lever located on the structure.
|-
|-
| Activate || Boolean || Returns whether the Autolathe is active. (0 for no, 1 for yes)
 
! rowspan="2" | Activate
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| The structure is currently producing nothing.
|-
|-
| Reagents || Integer || Returns the total amount of all contents, in the Autolathe, in grams.
| style="text-align:center;" | 1
| The structure is currently producing something.
|-
|-
| On || Boolean || Returns whether the Autolathe is on. (0 for no, 1 for yes)
 
! rowspan="2" | Lock
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| 1 if device is locked, otherwise 0, can be set in most devices and prevents the user from access the values.
|-
|-
| ImportQuantity || (Unknown) || (Unknown)
| style="text-align:center;" | 1
| 1 if device is locked, otherwise 0, can be set in most devices and prevents the user from access the values.
|-
|-
| 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.
 
! rowspan="2" | Power
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and O if not.
|-
|-
| 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.
| style="text-align:center;" | 1
| Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and O if not.
|-
|-
| 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.
 
! rowspan="2" | Error
| rowspan="2" | Boolean
| style="text-align:center;" | 0
| 1 if device is in error state, otherwise 0.
|-
|-
| RequiredPower || Integer || Returns the current amount of power, required by the Autolathe, in Watts. '''Note''': This will not update when active (See [[#Bugs|Bugs]]).
| style="text-align:center;" | 1
| 1 if device is in error state, otherwise 0.
|-
|-
| [[RecipeHash]] || Integer || Reads recipehash of selected recipe <small>Number is calculated using hash on prefabname</small>
 
! RecipeHash
| Integer
|
| Current hash of the recipe the device is set to produce.
|-
 
! Reagents
| Integer
|  
| Total number of reagents inside the device (e.g. 90g of iron + 2g of copper = 92).
|-
 
! RequiredPower
| Integer
|
| Idle operating power quantity. Does not include extra power demanded during recipe fabrication.
|-
 
! CompletionRatio
| Integer
|
| How complete the current production is for this device, between 0 and 1.
|-
 
! ExportCount
| Integer
|
| How many items exported since last ClearMemory. This count is based on every ouput stack of items (e.g. 1 item and 12g of iron = 2).
|-
 
! ImportCount
| Integer
|
| How many items imported since last ClearMemory. The count is based on stacks (e.g. 92g of iron in on stack = 1).
|-
 
! PrefabHash
| Integer
|
| The hash of the structure.
|-
 
! Referenceld
| Integer
|
| Unique Reference Identifier for this object.
|-
!StackSize
|Integer
|
|The stack size of the devices internal memory.
|-
 
! colspan="4" | <i>Update 0.2.4677.21598 - Fri 29/12/2023</i> <span class="right">[[Autolathe/Data Network|/Data_Network]]</span>
|}
|}
</div>

Latest revision as of 07:48, 30 April 2026

These are all of the Autolathe parameter in the game.

Input Data (Write)

These are all parameters, that can be written to with different means of using logic.

Parameter Name Data Type ValueAutolathe Description
On Boolean 0 Turns the device off. Also toggles the switch accordingly.
1 Turns the device on. Also toggles the switch accordingly.
Open Boolean 0 Stops purging of stored materials in the structure. Also resets the lever accordingly.
1 Starts purging of stored materials in the structure. Also pulls the lever accordingly. Without powering the structure it won't purge anything.
Activate Boolean 0 Writing a 0 to the device stops the construction of the chosen item.
1 Writing a 1 to the device starts the construction of the chosen item. If there are not enough materials inside the structure it will starts to fabricate the item anyway, but won't actually produce the item and won't consume any stored resources.
Lock Boolean 0 Allows manual interaction with the structure.
1 Completely blocks any manual interaction with the structure. This doesn't inculdes interaction by logic.
ClearMemory Boolean 0 Writing a 0 to a structure doesn't have any impact.
1 Clears the counter memory. Will set itself back to 0 when actioned.
RecipeHash Integer Sets the machine to the recipe corresponding to the written hash number.
Update 0.2.4677.21598 - Fri 29/12/2023 /Data_Network

Output Data (Read)

These are all parameters, that can be read by using different means of logic.

Parameter Name Data Type Value Description
On Boolean 0 The Autolathe is not powered. This is the same as the physical red powerswitch located on the structure.
1 The Autolathe is powered. This is the same as the physical red powerswitch located on the structure.
Open Boolean 0 Output of the Autolathe is closed. This is the same as the physical lever located on the structure.
1 Output of the Autolathe is opened. This is the same as the physical lever located on the structure.
Activate Boolean 0 The structure is currently producing nothing.
1 The structure is currently producing something.
Lock Boolean 0 1 if device is locked, otherwise 0, can be set in most devices and prevents the user from access the values.
1 1 if device is locked, otherwise 0, can be set in most devices and prevents the user from access the values.
Power Boolean 0 Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and O if not.
1 Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and O if not.
Error Boolean 0 1 if device is in error state, otherwise 0.
1 1 if device is in error state, otherwise 0.
RecipeHash Integer Current hash of the recipe the device is set to produce.
Reagents Integer Total number of reagents inside the device (e.g. 90g of iron + 2g of copper = 92).
RequiredPower Integer Idle operating power quantity. Does not include extra power demanded during recipe fabrication.
CompletionRatio Integer How complete the current production is for this device, between 0 and 1.
ExportCount Integer How many items exported since last ClearMemory. This count is based on every ouput stack of items (e.g. 1 item and 12g of iron = 2).
ImportCount Integer How many items imported since last ClearMemory. The count is based on stacks (e.g. 92g of iron in on stack = 1).
PrefabHash Integer The hash of the structure.
Referenceld Integer Unique Reference Identifier for this object.
StackSize Integer The stack size of the devices internal memory.
Update 0.2.4677.21598 - Fri 29/12/2023 /Data_Network