Actions

Template

Difference between revisions of "LoHead/doc"

From Unofficial Stationeers Wiki

< Template:LoHead
m
 
Line 8: Line 8:
 
<pre style="width: 700px">
 
<pre style="width: 700px">
 
{{LoHead}}
 
{{LoHead}}
{{Lo|Power|bool|r|Can be read to return if the device is correctly powered or not, set via the power system.}}
+
{{LoPowered|mode|error}}
{{Lo|Mode|int|r|Integer for mode state, different devices will have different mode states available to them.}}
+
{{Lo|LineNumber|bool|r|Current line of the IC Program.}}
{{Lo|Error|bool|r| }}
 
{{Lo|Lock|bool|r/w|Can be set in most devices and prevents the user from modifying the object's state.}}
 
 
{{LoFoot}}
 
{{LoFoot}}
 
</pre>
 
</pre>
 
;produces
 
;produces
 
{{LoHead}}
 
{{LoHead}}
{{Lo|Power|bool|r|Can be read to return if the device is correctly powered or not, set via the power system.}}
+
{{LoPowered|mode=1|error=1}}
{{Lo|Mode|int|r|Integer for mode state, different devices will have different mode states available to them.}}
+
{{Lo|LineNumber|bool|r|Current line of the IC Program.}}
{{Lo|Lock|bool|r/w|Can be set in most devices and prevents the user from modifying the object's state.}}
 
{{Lo|Error|bool|r| }}
 
 
{{LoFoot}}
 
{{LoFoot}}
 
<includeonly>
 
<includeonly>
 
[[Category:Documentation templates]]
 
[[Category:Documentation templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 22:46, 30 August 2025

This template is used to display the data network parameters of structures or objects that support it.

An alternate to Template:Data_Parameters This template works with Template:LoDefault for default/generic device logic and Template:LoPowered for powered devices

Examples[edit]

{{LoHead}}
{{LoPowered|mode|error}}
{{Lo|LineNumber|bool|r|Current line of the IC Program.}}
{{LoFoot}}
produces

Logic

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

Click here to see/hide all the data network properties
Parameter Type R/W? Description
PrefabHash
int
r The prefab hash of this device. Same for all devices with the same type.
Lock
bool
r/w Can be set in most devices and prevents the user from modifying the object's state.
Hash
int
r The hash of this device, derived from it's name.
On
bool
r/w Enable/disables the device.
Power
bool
r Can be read to return if the device is correctly powered or not, set via the power system.
Mode
int
r Integer for mode state, different devices will have different mode states available to them.
Error
bool
r
LineNumber
bool
r Current line of the IC Program.